@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600&display=swap');

:root {
    --primary-deep: #1a0a2e;
    --primary-purple: #4a1c6f;
    --accent-violet: #9d4edd;
    --accent-pink: #ff6ec7;
    --accent-cyan: #00d9ff;
    --text-light: #f0e6ff;
    --text-muted: #b8a8c8;
    --gradient-cosmic: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 50%, #4a1c6f 100%);
    --gradient-glow: linear-gradient(45deg, #9d4edd, #ff6ec7, #00d9ff);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--gradient-cosmic);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 160px 120px, #fff, transparent);
    background-size: 200px 200px;
    animation: twinkle 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 10, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    z-index: 1000;
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
}

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

.site-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--accent-violet);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a:hover {
    background: rgba(157, 78, 221, 0.3);
    color: var(--accent-pink);
}

.main-content {
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(157, 78, 221, 0.5);
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.notice-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin: 3rem 0;
    width: 100%;
    max-width: 1200px;
}

.notice-card {
    background: rgba(74, 28, 111, 0.4);
    border: 1px solid rgba(157, 78, 221, 0.4);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    backdrop-filter: blur(5px);
}

.notice-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.notice-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--accent-cyan);
}

.notice-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.game-section {
    padding: 4rem 2rem;
    max-width: 100%;
}

.game-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    background: rgba(45, 27, 78, 0.6);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(157, 78, 221, 0.3);
}

.game-wrapper h2 {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--accent-pink);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
    background: #000;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-box {
    background: linear-gradient(145deg, rgba(74, 28, 111, 0.5), rgba(26, 10, 46, 0.8));
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(157, 78, 221, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(157, 78, 221, 0.2);
}

.feature-box .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.feature-box p {
    color: var(--text-muted);
}

.content-section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.content-section h1,
.content-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-pink);
    margin-bottom: 1.5rem;
}

.content-section h1 {
    font-size: 2.5rem;
    text-align: center;
    padding-top: 2rem;
}

.content-section h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(157, 78, 221, 0.3);
}

.content-section p,
.content-section li {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.content-section ul {
    list-style: none;
    padding-left: 1.5rem;
}

.content-section ul li::before {
    content: '✦';
    color: var(--accent-violet);
    margin-right: 0.75rem;
}

.site-footer {
    background: rgba(26, 10, 46, 0.95);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(157, 78, 221, 0.3);
    position: relative;
    z-index: 1;
}

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

.footer-content h4 {
    font-family: 'Orbitron', sans-serif;
    color: var(--accent-cyan);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-pink);
}

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(157, 78, 221, 0.2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 10, 46, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-popup {
    background: linear-gradient(145deg, #2d1b4e, #4a1c6f);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 2px solid var(--accent-violet);
    box-shadow: 0 0 60px rgba(157, 78, 221, 0.4);
}

.age-popup .icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-popup h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-pink);
}

.age-popup p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-verify {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: var(--gradient-glow);
    color: #fff;
}

.btn-yes:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.5);
}

.btn-no {
    background: transparent;
    border: 2px solid var(--accent-violet);
    color: var(--text-light);
}

.btn-no:hover {
    background: rgba(157, 78, 221, 0.2);
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 10, 46, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav a {
        padding: 1rem;
        border-radius: 10px;
        background: rgba(74, 28, 111, 0.3);
    }
    
    .game-frame {
        height: 450px;
    }
    
    .notice-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .notice-card {
        max-width: 100%;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}
