@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;800&family=Oxygen:wght@300;400&display=swap');

:root {
    --neon-pink: #ff10f0;
    --neon-blue: #00d4ff;
    --neon-green: #39ff14;
    --neon-yellow: #ffff00;
    --dark-bg: #0d0221;
    --grid-purple: #190b28;
    --text-light: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Oxygen', sans-serif;
    background: 
        linear-gradient(45deg, rgba(255, 16, 240, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 212, 255, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(57, 255, 20, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 0, 0.1) 75%),
        linear-gradient(to bottom, #0d0221, #190b28);
    background-size: 50px 50px, 50px 50px, 50px 50px, 50px 50px, 100% 100%;
    background-position: 0 0, 25px 0, 25px -25px, 0 25px, 0 0;
    color: var(--text-light);
    min-height: 100vh;
}

.top-bar {
    background: linear-gradient(135deg, rgba(255, 16, 240, 0.2), rgba(0, 212, 255, 0.2));
    border-bottom: 3px solid var(--neon-pink);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 5px 30px rgba(255, 16, 240, 0.4);
}

.nav-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.title-icon {
    font-size: 2.8rem;
    animation: rotate-icon 4s linear infinite;
}

@keyframes rotate-icon {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.site-title h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    border-radius: 5px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.main-nav a:hover {
    border-color: var(--neon-blue);
    background: rgba(0, 212, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.menu-btn {
    display: none;
    background: var(--neon-pink);
    border: none;
    padding: 0.8rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 16, 240, 0.5);
}

.menu-btn div {
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    transition: 0.3s;
}

.content-area {
    max-width: 1800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.banner-section {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.banner-section h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-yellow), var(--neon-green), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(30deg); }
}

.banner-section p {
    font-size: 1.3rem;
    color: var(--neon-blue);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

.warning-panel {
    background: linear-gradient(135deg, rgba(255, 16, 240, 0.15), rgba(57, 255, 20, 0.15));
    border: 3px solid var(--neon-green);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.3);
}

.warning-panel h2 {
    font-family: 'Exo 2', sans-serif;
    color: var(--neon-yellow);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.warning-panel p {
    font-size: 1.15rem;
    line-height: 1.8;
}

.flex-layout {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
}

.main-col {
    flex: 2;
}

.side-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.box {
    background: rgba(25, 11, 40, 0.7);
    border: 2px solid var(--neon-blue);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.box h2 {
    font-family: 'Exo 2', sans-serif;
    color: var(--neon-pink);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.box h3 {
    font-family: 'Exo 2', sans-serif;
    color: var(--neon-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.box p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.box ul {
    list-style: none;
    padding: 0;
}

.box li {
    padding: 0.7rem 0;
    padding-left: 2rem;
    position: relative;
}

.box li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: var(--neon-green);
    font-size: 1.2rem;
}

.game-container {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
    background: #000;
    margin-top: 1.5rem;
    box-shadow: 0 0 40px rgba(255, 16, 240, 0.4);
}

.info-box {
    background: rgba(25, 11, 40, 0.7);
    border: 2px solid var(--neon-green);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.info-box h3 {
    font-family: 'Exo 2', sans-serif;
    color: var(--neon-yellow);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.page-footer {
    background: linear-gradient(135deg, rgba(255, 16, 240, 0.2), rgba(0, 212, 255, 0.2));
    border-top: 3px solid var(--neon-blue);
    padding: 2.5rem 2rem;
    margin-top: 5rem;
}

.footer-wrapper {
    max-width: 1800px;
    margin: 0 auto;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--neon-green);
    text-decoration: none;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-nav a:hover {
    color: var(--neon-yellow);
    text-shadow: 0 0 15px rgba(255, 255, 0, 0.7);
}

.age-check {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 2, 33, 0.97);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.age-check.active {
    display: flex;
}

.age-dialog {
    background: linear-gradient(135deg, #190b28, #0d0221);
    border: 4px solid var(--neon-pink);
    border-radius: 25px;
    padding: 3.5rem;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 0 60px rgba(255, 16, 240, 0.7);
    position: relative;
}

.age-dialog::before {
    content: '🎮';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
}

.age-dialog h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.8rem;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.age-dialog p {
    margin-bottom: 1.2rem;
    font-size: 1.15rem;
    line-height: 1.7;
}

.age-actions {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
}

.action-btn {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    font-family: 'Exo 2', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}

.btn-yes {
    background: var(--neon-green);
    color: #000;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

.btn-yes:hover {
    background: var(--neon-yellow);
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.7);
}

.btn-no {
    background: var(--neon-pink);
    color: white;
    box-shadow: 0 0 20px rgba(255, 16, 240, 0.5);
}

.btn-no:hover {
    background: #cc0dbb;
    transform: scale(1.08);
}

@media (max-width: 1200px) {
    .flex-layout {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }
    
    .main-nav ul {
        position: fixed;
        top: 85px;
        left: -100%;
        flex-direction: column;
        background: rgba(13, 2, 33, 0.98);
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        transition: left 0.3s;
        border-top: 3px solid var(--neon-pink);
    }
    
    .main-nav ul.show {
        left: 0;
    }
    
    .banner-section h1 {
        font-size: 2.5rem;
    }
    
    .content-area {
        padding: 2rem 1rem;
    }
    
    .game-container {
        height: 450px;
    }
}
