@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

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

body {
    font-family: 'Press Start 2P', cursive;
    background: #000000;
    color: #00ff00;
    min-height: 100vh;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 255, 0, 0.03) 2px, rgba(0, 255, 0, 0.03) 4px);
    animation: scanlines 8s linear infinite;
}

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

.retro-header {
    background: #000000;
    border-bottom: 4px solid #00ff00;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.header-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.retro-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #00ff00;
    font-size: 1.2rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
}

.logo-pixel {
    width: 50px;
    height: 50px;
    background: #00ff00;
    position: relative;
    animation: blink 1s infinite;
    clip-path: polygon(
        0 0, 10% 0, 10% 10%, 20% 10%, 20% 20%, 30% 20%, 30% 30%,
        40% 30%, 40% 40%, 50% 40%, 50% 50%, 60% 50%, 60% 60%,
        70% 60%, 70% 70%, 80% 70%, 80% 80%, 90% 80%, 90% 90%,
        100% 90%, 100% 100%, 0 100%
    );
}

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

.arcade-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.arcade-nav a {
    color: #00ff00;
    text-decoration: none;
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
    border: 2px solid #00ff00;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px #00ff00;
}

.arcade-nav a:hover {
    background: #00ff00;
    color: #000000;
    box-shadow: 0 0 20px #00ff00;
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    border: 2px solid #00ff00;
}

.burger-btn span {
    width: 25px;
    height: 3px;
    background: #00ff00;
    transition: all 0.3s ease;
}

.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.hero-box {
    text-align: center;
    padding: 3rem 2rem;
    border: 4px solid #00ff00;
    margin-bottom: 3rem;
    background: rgba(0, 255, 0, 0.05);
    box-shadow: inset 0 0 50px rgba(0, 255, 0, 0.1), 0 0 20px rgba(0, 255, 0, 0.3);
}

.hero-box h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 
        3px 3px 0 #000000,
        -3px -3px 0 #000000,
        3px -3px 0 #000000,
        -3px 3px 0 #000000,
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 30px #00ff00,
        0 0 40px #00ff00;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { 
        text-shadow: 
            3px 3px 0 #000000,
            -3px -3px 0 #000000,
            3px -3px 0 #000000,
            -3px 3px 0 #000000,
            0 0 10px #00ff00,
            0 0 20px #00ff00,
            0 0 30px #00ff00,
            0 0 40px #00ff00;
    }
    50% { 
        text-shadow: 
            3px 3px 0 #000000,
            -3px -3px 0 #000000,
            3px -3px 0 #000000,
            -3px 3px 0 #000000,
            0 0 20px #00ff00,
            0 0 30px #00ff00,
            0 0 40px #00ff00,
            0 0 50px #00ff00;
    }
}

.hero-box p {
    font-size: 0.7rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.alert-box {
    background: #000000;
    border: 4px solid #ff0000;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.alert-box h2 {
    color: #ff0000;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-shadow: 0 0 10px #ff0000;
}

.alert-box ul {
    list-style: none;
}

.alert-box li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 0.65rem;
    line-height: 1.6;
    color: #00ff00;
    border-bottom: 2px solid #00ff00;
}

.alert-box li:last-child {
    border-bottom: none;
}

.alert-box li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #ff0000;
    font-size: 1rem;
}

.game-box {
    background: #000000;
    border: 4px solid #00ff00;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}

.game-box h2 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #00ff00;
    text-transform: uppercase;
    text-shadow: 0 0 10px #00ff00;
}

.game-screen {
    width: 100%;
    height: 700px;
    border: 4px solid #00ff00;
    background: #000000;
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.2);
}

.pixel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pixel-card {
    background: rgba(0, 255, 0, 0.05);
    border: 3px solid #00ff00;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.pixel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 0, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pixel-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.5);
}

.pixel-card:hover::before {
    opacity: 1;
}

.pixel-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #00ff00;
    text-transform: uppercase;
    text-shadow: 0 0 5px #00ff00;
}

.pixel-card p {
    font-size: 0.6rem;
    line-height: 1.7;
    color: #00ff00;
}

.text-box {
    background: rgba(0, 255, 0, 0.05);
    border: 4px solid #00ff00;
    padding: 2.5rem;
    margin: 2.5rem 0;
    line-height: 1.8;
}

.text-box h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #00ff00;
    text-transform: uppercase;
    text-shadow: 0 0 10px #00ff00;
}

.text-box h2 {
    font-size: 1.2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #00ff00;
    text-transform: uppercase;
}

.text-box p {
    margin-bottom: 1.5rem;
    font-size: 0.65rem;
    line-height: 1.8;
}

.text-box ul,
.text-box ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.text-box li {
    margin-bottom: 1rem;
    font-size: 0.6rem;
    line-height: 1.7;
}

.retro-footer {
    background: #000000;
    border-top: 4px solid #00ff00;
    padding: 3rem 2rem;
    margin-top: 4rem;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

.footer-wrap {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-head {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #00ff00;
    text-transform: uppercase;
    text-shadow: 0 0 10px #00ff00;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-menu a {
    color: #00ff00;
    text-decoration: none;
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
    border: 2px solid #00ff00;
    transition: all 0.3s ease;
}

.footer-menu a:hover {
    background: #00ff00;
    color: #000000;
    box-shadow: 0 0 20px #00ff00;
}

.footer-text {
    margin-top: 2rem;
    color: #00ff00;
    font-size: 0.5rem;
}

.age-screen {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-box {
    background: #000000;
    border: 4px solid #00ff00;
    padding: 3rem;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 0 50px rgba(0, 255, 0, 0.8);
}

.age-box h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #00ff00;
    text-transform: uppercase;
    text-shadow: 0 0 10px #00ff00;
}

.age-box p {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.age-action {
    padding: 1rem 2rem;
    font-size: 0.8rem;
    font-weight: bold;
    border: 3px solid;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Press Start 2P', cursive;
    text-transform: uppercase;
}

.age-action.confirm {
    color: #00ff00;
    border-color: #00ff00;
}

.age-action.confirm:hover {
    background: #00ff00;
    color: #000000;
    box-shadow: 0 0 30px #00ff00;
}

.age-action.reject {
    color: #ff0000;
    border-color: #ff0000;
}

.age-action.reject:hover {
    background: #ff0000;
    color: #000000;
    box-shadow: 0 0 30px #ff0000;
}

@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }

    .arcade-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #000000;
        transition: right 0.3s ease;
        padding: 5rem 2rem;
        border-left: 4px solid #00ff00;
    }

    .arcade-nav.active {
        right: 0;
    }

    .arcade-nav ul {
        flex-direction: column;
        gap: 2rem;
    }

    .arcade-nav a {
        display: block;
        font-size: 0.8rem;
        text-align: center;
    }

    .hero-box h1 {
        font-size: 1.2rem;
    }

    .hero-box p {
        font-size: 0.6rem;
    }

    .pixel-grid {
        grid-template-columns: 1fr;
    }

    .game-screen {
        height: 500px;
    }

    .age-box {
        margin: 2rem;
        padding: 2rem;
    }

    .age-box h2 {
        font-size: 1rem;
    }

    .age-box p {
        font-size: 0.6rem;
    }

    .age-actions {
        flex-direction: column;
    }

    .age-action {
        width: 100%;
        font-size: 0.7rem;
    }

    .text-box {
        padding: 1.5rem;
    }

    .text-box h1 {
        font-size: 1.2rem;
    }

    .text-box h2 {
        font-size: 0.9rem;
    }

    .retro-logo {
        font-size: 0.9rem;
    }
}
