@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: #8b5cf6;
    --secondary: #06b6d4;
    --dark: #0f0a1f;
    --darker: #070412;
    --accent: #f472b6;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: var(--darker);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        var(--darker);
    z-index: -1;
}

.stars-bg::before {
    content: '';
    position: absolute;
    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 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, #fff, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 350px 200px, #fff, transparent);
    background-size: 400px 400px;
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

header {
    background: rgba(15, 10, 31, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 48px;
    height: 48px;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: 0.3s;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 100%;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.6);
}

.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.notice-card {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

.notice-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.notice-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.notice-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.game-section {
    background: rgba(15, 10, 31, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 2rem;
    margin: 3rem 0;
}

.game-section h2 {
    font-family: 'Orbitron', sans-serif;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 16px;
    background: #000;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature {
    background: linear-gradient(145deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.05));
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.feature .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.feature p {
    color: var(--text-muted);
    line-height: 1.7;
}

.info-section {
    background: rgba(6, 182, 212, 0.05);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.info-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.info-section p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.page-header {
    text-align: center;
    padding: 3rem 0;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 3rem;
}

.page-header h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    color: var(--primary);
}

.content-section {
    background: rgba(15, 10, 31, 0.6);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.content-section h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-section p, .content-section li {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 1.5rem;
}

footer {
    background: rgba(7, 4, 18, 0.95);
    border-top: 1px solid rgba(139, 92, 246, 0.3);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.responsible-gaming {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
}

.responsible-gaming p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.responsible-gaming a {
    color: var(--secondary);
    text-decoration: none;
    margin: 0 1rem;
}

.responsible-gaming a:hover {
    text-decoration: underline;
}

.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 4, 18, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-popup-content {
    background: linear-gradient(145deg, var(--dark), var(--darker));
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    max-width: 500px;
    margin: 1rem;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.3);
}

.age-popup-content h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.age-popup-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.3s;
}

.btn-yes {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-no {
    background: transparent;
    border: 2px solid var(--accent) !important;
    color: var(--accent);
}

.age-buttons button:hover {
    transform: scale(1.05);
}

.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(15, 10, 31, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-150%);
        transition: transform 0.3s;
        border-bottom: 1px solid rgba(139, 92, 246, 0.3);
    }
    
    nav ul.active {
        transform: translateY(0);
    }
    
    nav a {
        display: block;
        padding: 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    main {
        padding: 1rem;
    }
}
