@import url('https://fonts.googleapis.com/css2?family=Exo:wght@400;600;800&family=Nunito:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --electric-blue: #00d9ff;
    --neon-green: #39ff14;
    --deep-navy: #0a1828;
    --dark-slate: #1e2d3d;
    --bright-white: #f8fafc;
    --vivid-purple: #a855f7;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, var(--deep-navy) 0%, #000814 50%, var(--deep-navy) 100%);
    color: var(--bright-white);
    line-height: 1.7;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 217, 255, 0.03) 50%, transparent 100%),
        linear-gradient(0deg, transparent 0%, rgba(57, 255, 20, 0.03) 50%, transparent 100%);
    background-size: 100px 100px;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gridMove {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 100px 100px, 100px 100px; }
}

.navbar {
    background: linear-gradient(180deg, rgba(10, 24, 40, 0.95) 0%, rgba(30, 45, 61, 0.9) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--electric-blue);
    box-shadow: 0 5px 30px rgba(0, 217, 255, 0.4);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Exo', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--neon-green);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 0 20px rgba(57, 255, 20, 0.6);
}

.brand-logo {
    width: 50px;
    height: 50px;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 2.5rem;
}

.menu a {
    color: var(--bright-white);
    text-decoration: none;
    font-family: 'Exo', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-green), var(--electric-blue));
    transition: width 0.3s ease;
}

.menu a:hover::after {
    width: 100%;
}

.menu a:hover {
    color: var(--electric-blue);
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.burger span {
    width: 28px;
    height: 3px;
    background: var(--neon-green);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.header-section {
    max-width: 1400px;
    margin: 4rem auto 3rem;
    padding: 0 2rem;
    text-align: center;
}

h1 {
    font-family: 'Exo', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--electric-blue) 50%, var(--vivid-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

h2 {
    font-family: 'Exo', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--electric-blue);
    margin-bottom: 1.5rem;
    margin-top: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h3 {
    font-family: 'Exo', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-green);
    margin-bottom: 1rem;
}

.subheading {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    font-weight: 300;
}

.main-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

.game-container {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(57, 255, 20, 0.05) 100%);
    border: 2px solid var(--electric-blue);
    border-radius: 15px;
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 1300px;
    box-shadow: 0 0 50px rgba(0, 217, 255, 0.3);
}

.game-container iframe {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.card {
    background: linear-gradient(135deg, rgba(30, 45, 61, 0.8) 0%, rgba(10, 24, 40, 0.6) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--neon-green);
    box-shadow: 0 15px 40px rgba(57, 255, 20, 0.3);
}

.card h3 {
    margin-bottom: 1rem;
}

.alert {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(0, 217, 255, 0.1) 100%);
    border: 2px solid var(--vivid-purple);
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.alert ul {
    list-style: none;
    padding: 0;
}

.alert li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
}

.alert li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.footer {
    background: linear-gradient(180deg, rgba(30, 45, 61, 0.9) 0%, rgba(10, 24, 40, 0.95) 100%);
    padding: 3rem 2rem;
    margin-top: 5rem;
    border-top: 2px solid var(--electric-blue);
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--bright-white);
    text-decoration: none;
    font-family: 'Exo', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon-green);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 24, 40, 0.98);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-box {
    background: linear-gradient(135deg, var(--dark-slate) 0%, rgba(0, 217, 255, 0.2) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 550px;
    border: 3px solid var(--electric-blue);
    box-shadow: 0 0 80px rgba(0, 217, 255, 0.5);
}

.modal-box h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-family: 'Exo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--neon-green) 0%, var(--electric-blue) 100%);
    color: var(--deep-navy);
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(57, 255, 20, 0.5);
}

.btn-cancel {
    background: #475569;
    color: white;
}

.btn-cancel:hover {
    background: #64748b;
}

.content-box {
    background: rgba(30, 45, 61, 0.5);
    padding: 2.5rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    border-left: 4px solid var(--electric-blue);
}

.content-box p {
    margin-bottom: 1.2rem;
}

.content-box ul, .content-box ol {
    margin-left: 2rem;
    margin-bottom: 1.2rem;
}

.content-box li {
    margin-bottom: 0.7rem;
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }
    
    .menu ul {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 24, 40, 0.98);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 0;
        border-top: 2px solid var(--electric-blue);
    }
    
    .menu ul.active {
        left: 0;
    }
    
    .menu li {
        margin: 1.5rem 0;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .game-container iframe {
        height: 500px;
    }
    
    .navbar-content {
        padding: 0 1.5rem;
    }
    
    .main-section {
        padding: 2rem 1.5rem;
    }
    
    .header-section {
        padding: 0 1.5rem;
        margin: 3rem auto 2rem;
    }
    
    .modal-box {
        margin: 1.5rem;
        padding: 2.5rem;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
