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

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

:root {
    --primary: #ff2d75;
    --secondary: #00d4ff;
    --dark: #0a0a1a;
    --darker: #050510;
    --light: #f0f0ff;
    --accent: #8b5cf6;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--darker);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--darker) 100%);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 30px rgba(255, 45, 117, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo svg {
    width: 48px;
    height: 48px;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--secondary);
}

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

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

main {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

.hero {
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 50%, #0d0d2a 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 45, 117, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 212, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--light) 0%, var(--secondary) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: rgba(240, 240, 255, 0.8);
    position: relative;
    z-index: 1;
}

.notices {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.notice {
    background: rgba(255, 45, 117, 0.1);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    min-width: 200px;
}

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

.notice p {
    font-size: 1rem;
    margin: 0;
}

.game-section {
    padding: 4rem 2rem;
    background: var(--dark);
}

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

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 0 60px rgba(255, 45, 117, 0.4);
}

.game-container iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

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

.feature-card {
    background: linear-gradient(145deg, rgba(10, 10, 26, 0.9), rgba(5, 5, 16, 0.9));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

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

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

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

.content-section p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: rgba(240, 240, 255, 0.85);
}

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

.content-section li {
    margin-bottom: 0.75rem;
    color: rgba(240, 240, 255, 0.85);
}

footer {
    background: var(--darker);
    border-top: 2px solid var(--primary);
    padding: 3rem 2rem;
    text-align: center;
}

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

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

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

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

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

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

.age-popup-content {
    background: linear-gradient(145deg, var(--dark), var(--darker));
    border: 2px solid var(--primary);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    box-shadow: 0 0 80px rgba(255, 45, 117, 0.5);
}

.age-popup-content h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.age-popup-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(240, 240, 255, 0.9);
}

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

.age-btn {
    padding: 1rem 3rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.age-btn.yes:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 45, 117, 0.5);
}

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

.age-btn.no:hover {
    background: var(--secondary);
    color: var(--darker);
}

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

.play-page-game h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-align: center;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.play-note {
    text-align: center;
    color: rgba(240, 240, 255, 0.7);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--darker);
        flex-direction: column;
        align-items: center;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 2px solid var(--primary);
        transform: translateY(-150%);
        transition: transform 0.4s ease;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .notices {
        flex-direction: column;
        align-items: center;
    }
    
    .game-container iframe {
        height: 450px;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}
