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

body {
    background-color: #000;
    font-family: 'Courier New', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
    overflow: hidden;
}

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

.arcade-cabinet {
    text-align: center;
    padding: 2rem;
}

/* Title with green neon glow */
.arcade-title {
    font-size: 4rem;
    color: #00ff00;
    letter-spacing: 0.5rem;
    text-shadow:
        0 0 10px #00ff00,
        0 0 30px #00aa00,
        0 0 60px #006600;
    animation: titlePulse 2s ease-in-out infinite alternate;
    margin-bottom: 0.5rem;
}

.arcade-subtitle {
    color: #ffff00;
    font-size: 1.2rem;
    letter-spacing: 0.3rem;
    margin-bottom: 3rem;
    text-shadow: 0 0 8px #aaaa00;
}

/* Game card container */
.game-select {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Base game card */
.game-card {
    display: block;
    text-decoration: none;
    width: 220px;
    padding: 2rem 1.5rem;
    border: 3px solid #444;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.2s ease;
}

.game-card:hover {
    transform: scale(1.05);
}

/* Frogger card - green neon */
.frogger-card {
    border-color: #00ff00;
    box-shadow:
        0 0 15px rgba(0, 255, 0, 0.25),
        inset 0 0 15px rgba(0, 255, 0, 0.04);
}

.frogger-card:hover {
    box-shadow:
        0 0 30px rgba(0, 255, 0, 0.5),
        inset 0 0 30px rgba(0, 255, 0, 0.08);
}

.frogger-card .game-name {
    color: #00ff00;
    text-shadow: 0 0 8px #00aa00;
}

.frogger-card .game-year {
    color: #00aa00;
}

/* Asteroids card - white phosphor */
.asteroids-card {
    border-color: #777;
    box-shadow:
        0 0 15px rgba(255, 255, 255, 0.12),
        inset 0 0 15px rgba(255, 255, 255, 0.02);
}

.asteroids-card:hover {
    border-color: #fff;
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.35),
        inset 0 0 30px rgba(255, 255, 255, 0.06);
}

.asteroids-card .game-name {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.asteroids-card .game-year {
    color: #888;
}

/* Card contents */
.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.game-name {
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
    margin-bottom: 0.3rem;
}

.game-year {
    font-size: 0.8rem;
    letter-spacing: 0.15rem;
    margin-bottom: 1rem;
}

.game-tag {
    color: #666;
    font-size: 0.75rem;
    letter-spacing: 0.1rem;
}

/* Blinking INSERT COIN */
.insert-coin {
    margin-top: 3rem;
    color: #ffff00;
    font-size: 1rem;
    letter-spacing: 0.3rem;
    text-shadow: 0 0 6px #aaaa00;
    animation: blink 1s steps(2) infinite;
}

/* Animations */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes titlePulse {
    from {
        text-shadow:
            0 0 10px #00ff00,
            0 0 30px #00aa00;
    }
    to {
        text-shadow:
            0 0 20px #00ff00,
            0 0 50px #00aa00,
            0 0 80px #004400;
    }
}

/* Mobile responsive */
@media (max-width: 520px) {
    .arcade-title {
        font-size: 2.5rem;
        letter-spacing: 0.3rem;
    }

    .arcade-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .game-select {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .game-card {
        width: 80%;
        max-width: 280px;
    }
}
