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

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

:root {
    --primary: #7c3aed;
    --secondary: #a855f7;
    --accent: #c084fc;
    --dark: #0f0a1e;
    --darker: #080510;
    --light: #e9d5ff;
    --text: #f3e8ff;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, var(--darker) 0%, var(--dark) 50%, #1a0f2e 100%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.7;
}

.header {
    background: rgba(15, 10, 30, 0.95);
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}

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

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

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

.nav-desktop a {
    color: var(--text);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-desktop a:hover {
    color: var(--accent);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

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

.nav-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 10, 30, 0.98);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: var(--text);
    text-decoration: none;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.nav-mobile a:hover {
    background: rgba(124, 58, 237, 0.2);
}

main {
    padding-top: 90px;
}

.hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.6);
}

.notices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.notice-card {
    background: linear-gradient(145deg, rgba(124, 58, 237, 0.1), rgba(168, 85, 247, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.notice-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.notice-card p {
    font-size: 0.95rem;
    opacity: 0.85;
}

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

.game-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--accent);
}

.game-wrapper {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.game-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
}

.features {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.features h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-item {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), transparent);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
}

.feature-item .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.feature-item p {
    font-size: 0.85rem;
    opacity: 0.8;
}

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

.content-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent);
    text-align: center;
}

.content-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--light);
}

.content-section p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.content-section ul {
    margin: 1rem 0 1rem 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.footer {
    background: rgba(8, 5, 16, 0.9);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

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

.footer-col a {
    display: block;
    color: var(--text);
    text-decoration: none;
    margin-bottom: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-size: 0.9rem;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(124, 58, 237, 0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(8, 5, 16, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-popup.hidden {
    display: none;
}

.age-box {
    background: linear-gradient(145deg, var(--dark), #1a0f2e);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    margin: 1rem;
}

.age-box .icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

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

.age-box p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.age-btn {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s;
}

.age-btn.yes {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

.age-btn.no {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text);
}

.age-btn:hover {
    transform: scale(1.05);
}

.play-info {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.play-info h3 {
    color: var(--accent);
    margin-bottom: 0.8rem;
}

.play-info p {
    font-size: 0.9rem;
    opacity: 0.85;
}

@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .notices {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .game-wrapper iframe {
        height: 400px;
    }
}
