:root {
    --bg-color: #0a0a0b;
    --accent-color: #00ff41; /* Classic Matrix/Terminal Green */
    --text-color: #00ff41;
    --secondary-text: rgba(0, 255, 65, 0.7);
}

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

body {
    font-family: 'VT323', monospace;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    text-shadow: 0 0 5px var(--accent-color);
}

/* CRT Scanline Effect */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(18, 16, 16, 0) 50%,
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    z-index: 10;
    pointer-events: none;
    animation: scanlineScroll 10s linear infinite;
}

.container {
    text-align: left;
    padding: 2rem;
    position: relative;
    z-index: 5;
}

h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 1rem;
    animation: flicker 0.15s infinite;
}

p {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--secondary-text);
}

/* Animations */
@keyframes flicker {
    0% { opacity: 0.97; }
    5% { opacity: 0.95; }
    10% { opacity: 0.9; }
    15% { opacity: 0.99; }
    20% { opacity: 0.9; }
    60% { opacity: 0.95; }
    100% { opacity: 1; }
}

@keyframes scanlineScroll {
    0% { background-position: 0 0; }
    100% { background-position: 0 100%; }
}

.fade-in-delayed {
    opacity: 0;
    animation: fadeIn 0.5s steps(10, end) 1s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }
}
