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

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

:root {
    --violet: #8b5cf6;
    --violet-dark: #6d28d9;
    --violet-light: #c4b5fd;
    --bg-cream: #faf9f7;
    --bg-white: #ffffff;
    --text-dark: #1f1f2e;
    --text-muted: #6b7280;
    --accent-pink: #ec4899;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.65;
}

.navbar {
    background: var(--bg-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-circle {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--violet), var(--accent-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text-dark);
}

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

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.25s;
}

.main-nav a:hover {
    color: var(--violet);
}

.burger {
    display: none;
    cursor: pointer;
    padding: 8px;
}

.burger-line {
    width: 24px;
    height: 2px;
    background: var(--violet);
    margin: 6px 0;
    border-radius: 2px;
}

.sidebar-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    padding: 2rem;
    transition: right 0.35s ease;
}

.sidebar-nav.open {
    right: 0;
}

.sidebar-close {
    font-size: 1.8rem;
    color: var(--violet);
    cursor: pointer;
    display: block;
    text-align: right;
    margin-bottom: 2rem;
}

.sidebar-nav a {
    display: block;
    padding: 1rem 0;
    color: var(--text-dark);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1500;
    display: none;
}

.overlay.visible {
    display: block;
}

.hero {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-cream) 100%);
    text-align: center;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--violet);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--violet), var(--violet-dark));
    color: white;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-decoration: none;
    border-radius: 100px;
    transition: transform 0.25s, box-shadow 0.25s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.35);
}

.badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 3rem 2rem;
    background: var(--bg-white);
}

.badge-item {
    background: var(--bg-cream);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    min-width: 180px;
}

.badge-item .icon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.badge-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--violet-dark);
    margin-bottom: 0.25rem;
}

.badge-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.game-area {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f5f3ff 0%, #fdf4ff 100%);
}

.game-area h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.game-container {
    max-width: 950px;
    margin: 0 auto;
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

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

.about-block {
    padding: 4rem 2rem;
    background: var(--bg-white);
}

.about-inner {
    max-width: 800px;
    margin: 0 auto;
}

.about-inner h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--violet-dark);
    margin-bottom: 1rem;
}

.about-inner p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--violet), var(--violet-dark));
}

.stat-box {
    text-align: center;
    color: white;
}

.stat-box .number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
}

.stat-box .desc {
    font-size: 0.9rem;
    opacity: 0.85;
}

.page-title {
    padding: 6rem 2rem 3rem;
    background: linear-gradient(135deg, var(--violet), var(--accent-pink));
    text-align: center;
}

.page-title h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: white;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.text-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--violet-dark);
    margin: 2rem 0 0.75rem;
}

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

.text-content ul {
    list-style: none;
    margin-bottom: 1rem;
}

.text-content ul li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    padding-left: 1.5rem;
    position: relative;
}

.text-content ul li::before {
    content: '●';
    color: var(--violet);
    position: absolute;
    left: 0;
}

.site-footer {
    background: var(--text-dark);
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.7);
}

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

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

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--violet-light);
}

.responsible-links {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
}

.responsible-links p {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.responsible-links a {
    color: var(--violet-light);
    margin: 0 0.5rem;
    font-size: 0.85rem;
}

.age-marker {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid var(--accent-pink);
    color: var(--accent-pink);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 1rem;
}

.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(31, 31, 46, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-gate.dismissed {
    display: none;
}

.age-modal {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 24px;
    text-align: center;
    max-width: 420px;
    margin: 1rem;
}

.age-modal h2 {
    font-family: 'Poppins', sans-serif;
    color: var(--violet-dark);
    margin-bottom: 1rem;
}

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

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

.age-btns button {
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.age-confirm {
    background: linear-gradient(135deg, var(--violet), var(--violet-dark));
    color: white;
}

.age-deny {
    background: transparent;
    border: 2px solid #dc2626 !important;
    color: #dc2626;
}

.denied-msg {
    display: none;
    padding: 2rem;
    text-align: center;
}

.denied-msg h3 {
    color: #dc2626;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-container iframe {
        height: 420px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }
}
