@import url('https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a2e;
    background-image: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 0, 255, 0.05) 2px,
            rgba(255, 0, 255, 0.05) 4px
        );
    color: #00ff00;
    font-family: 'Courier Prime', monospace;
    font-size: 14px;
    line-height: 1.6;
    overflow-x: hidden;
}

.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    z-index: 1;
}

.container {
    max-width: 900px;
    margin: 20px auto;
    padding: 20px;
    position: relative;
    z-index: 0;
}

header {
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    padding: 20px;
    border: 3px solid #ffff00;
    margin-bottom: 30px;
    box-shadow: 5px 5px 0px #ff00ff, 10px 10px 0px #00ffff;
    transform: rotate(-1deg);
}

h1 {
    color: #1a1a2e;
    font-size: 3em;
    text-shadow: 2px 2px 0px #ffff00;
    margin: 0;
    letter-spacing: 3px;
}

.tagline {
    color: #1a1a2e;
    font-size: 0.9em;
    margin-top: 5px;
    font-weight: bold;
}

nav {
    background: #00ff00;
    padding: 10px;
    margin-bottom: 30px;
    border: 2px dashed #ff00ff;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

nav a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 10px;
    background: #ffff00;
    border: 2px solid #ff00ff;
    cursor: pointer;
    transition: all 0.1s;
}

nav a:hover {
    background: #ff00ff;
    color: #00ff00;
    transform: rotate(2deg) scale(1.1);
}

.blink {
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.spinning {
    display: inline-block;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.post {
    background: #0f3460;
    border: 3px solid #00ff00;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 3px 3px 0px #ff00ff;
    transform: rotate(0.5deg);
}

.post h2 {
    color: #00ffff;
    font-size: 1.8em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0px #ff00ff;
    border-bottom: 2px dashed #ffff00;
    padding-bottom: 10px;
}

.post-date {
    color: #ff00ff;
    font-size: 0.85em;
    margin-bottom: 15px;
    font-weight: bold;
}

.post p {
    margin-bottom: 15px;
    color: #00ff00;
}

.post a {
    color: #00ffff;
    text-decoration: underline;
}

.post a:hover {
    background: #ff00ff;
    color: #00ff00;
}

.emoji-decor {
    font-size: 2em;
    display: inline-block;
    margin: 0 5px;
}

.sidebar {
    background: #ff00ff;
    border: 3px solid #00ff00;
    padding: 15px;
    margin-bottom: 25px;
    color: #1a1a2e;
    box-shadow: 3px 3px 0px #00ffff;
}

.sidebar h3 {
    background: #00ff00;
    padding: 5px;
    margin-bottom: 10px;
    border: 2px solid #ff00ff;
    font-size: 1.2em;
}

.sidebar p {
    margin-bottom: 10px;
    font-weight: bold;
}

.counter {
    background: #1a1a2e;
    color: #00ff00;
    padding: 10px;
    border: 2px solid #00ff00;
    text-align: center;
    margin: 15px 0;
    font-family: 'Courier New', monospace;
    font-size: 1.2em;
}

.gif-placeholder {
    background: #ffff00;
    border: 2px dashed #ff00ff;
    padding: 20px;
    text-align: center;
    margin: 15px 0;
    color: #1a1a2e;
    font-weight: bold;
}

footer {
    background: #00ffff;
    color: #1a1a2e;
    padding: 20px;
    text-align: center;
    border: 3px solid #ff00ff;
    margin-top: 40px;
    font-weight: bold;
}

.marquee {
    background: #ff00ff;
    color: #ffff00;
    padding: 10px;
    font-weight: bold;
    border: 2px solid #00ff00;
    margin-bottom: 20px;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: marquee 15s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.pixelated {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.button-90s {
    background: linear-gradient(135deg, #c0c0c0, #dfdfdf);
    border: 2px outset #dfdfdf;
    color: #000;
    padding: 5px 15px;
    cursor: pointer;
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
    margin: 5px;
    transition: all 0.1s;
}

.button-90s:active {
    border-style: inset;
}

.button-90s:hover {
    background: #e0e0e0;
}

.under-construction {
    text-align: center;
    color: #ffff00;
    font-size: 1.5em;
    margin: 20px 0;
    animation: blink 0.7s infinite;
}
