@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6b21a8;
    --secondary: #a855f7;
    --accent: #f0abfc;
    --dark: #1e1b4b;
    --light: #faf5ff;
    --gradient: linear-gradient(135deg, #6b21a8 0%, #a855f7 50%, #c084fc 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
}

.header {
    background: rgba(30, 27, 75, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--light);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-desktop a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-desktop a:hover {
    color: var(--secondary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary);
    border-radius: 3px;
    transition: 0.3s;
}

.nav-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(30, 27, 75, 0.98);
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(168, 85, 247, 0.3);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: var(--light);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.nav-mobile a:hover {
    background: rgba(168, 85, 247, 0.2);
}

main {
    padding-top: 90px;
}

.hero {
    background: var(--gradient);
    padding: 4rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    opacity: 0.95;
}

.badge-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section {
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.game-wrapper {
    background: #0f0d24;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 12px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-card {
    background: rgba(107, 33, 168, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.25);
    border-radius: 16px;
    padding: 2rem;
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--accent);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.info-card p {
    opacity: 0.85;
    font-size: 0.95rem;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.features-list li {
    background: rgba(168, 85, 247, 0.1);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.features-list li::before {
    content: '✦';
    color: var(--secondary);
}

.footer {
    background: rgba(15, 13, 36, 0.95);
    padding: 3rem 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(168, 85, 247, 0.2);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-text {
    opacity: 0.7;
    font-size: 0.9rem;
}

.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-popup-content {
    background: var(--dark);
    border: 2px solid var(--secondary);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 450px;
    margin: 1rem;
}

.age-popup-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-popup h2 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.age-popup p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
    background: var(--gradient);
    color: white;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.4);
}

.content-section {
    background: rgba(107, 33, 168, 0.08);
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
}

.content-section h2 {
    color: var(--secondary);
    margin-bottom: 1rem;
}

.page-header {
    background: var(--gradient);
    padding: 3rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
}

.legal-content {
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--secondary);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.legal-content p {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .game-frame {
        height: 400px;
    }

    .section {
        padding: 2rem 1rem;
    }

    .age-popup-content {
        padding: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .footer-links {
        gap: 1rem;
    }
}
