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

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

:root {
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-600: #475569;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--slate-50);
    color: var(--slate-800);
    line-height: 1.7;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    z-index: 1000;
    padding: 16px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue-600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-600);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

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

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--slate-800);
    transition: 0.3s;
}

/* Hero */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    padding: 120px 24px 80px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: var(--blue-500);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 700px;
}

.hero-title span {
    color: var(--blue-500);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--slate-200);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--blue-600);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: background 0.2s;
}

.hero-cta:hover {
    background: var(--blue-700);
}

/* Info Cards */
.info-strip {
    background: white;
    padding: 60px 24px;
    border-bottom: 1px solid var(--slate-200);
}

.info-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.info-item {
    text-align: center;
    padding: 24px;
}

.info-item .ico {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.info-item h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--slate-900);
    margin-bottom: 8px;
}

.info-item p {
    color: var(--slate-600);
    font-size: 0.95rem;
}

/* Game Area */
.game-block {
    padding: 80px 24px;
    background: var(--slate-100);
}

.game-block h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    text-align: center;
    color: var(--slate-900);
    margin-bottom: 40px;
}

.game-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--slate-900);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

/* About */
.about-block {
    padding: 100px 24px;
    background: white;
}

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

.about-inner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    color: var(--slate-900);
    margin-bottom: 32px;
}

.about-inner p {
    color: var(--slate-600);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

/* Features */
.features-block {
    padding: 100px 24px;
    background: var(--slate-900);
}

.features-block h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 60px;
}

.features-row {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 32px;
}

.feature-box .ico {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-box h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--slate-200);
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Page Header */
.page-top {
    background: var(--slate-900);
    padding: 140px 24px 80px;
}

.page-top h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    color: white;
    text-align: center;
    margin-bottom: 12px;
}

.page-top p {
    color: var(--slate-200);
    text-align: center;
    font-size: 1.1rem;
}

/* Content */
.content-block {
    padding: 80px 24px;
    background: white;
}

.content-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrap h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--slate-900);
    margin-bottom: 16px;
    margin-top: 40px;
}

.content-wrap h2:first-child {
    margin-top: 0;
}

.content-wrap p {
    color: var(--slate-600);
    margin-bottom: 16px;
}

.content-wrap ul {
    margin: 16px 0 24px 20px;
}

.content-wrap li {
    color: var(--slate-600);
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: var(--slate-900);
    padding: 60px 24px;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand .brand {
    margin-bottom: 16px;
    color: white;
}

.footer-brand p {
    color: var(--slate-200);
    font-size: 0.9rem;
    max-width: 300px;
    opacity: 0.7;
}

.footer-links h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    margin-bottom: 16px;
    font-size: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--slate-200);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    display: block;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--slate-200);
    font-size: 0.85rem;
    opacity: 0.6;
}

/* Age Modal */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    display: grid;
    place-items: center;
    z-index: 10000;
}

.age-card {
    background: white;
    padding: 48px;
    border-radius: 16px;
    text-align: center;
    max-width: 440px;
    margin: 24px;
}

.age-card .ico {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.age-card h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    color: var(--slate-900);
    margin-bottom: 16px;
}

.age-card p {
    color: var(--slate-600);
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.age-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-confirm, .btn-deny {
    padding: 14px 36px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-confirm {
    background: var(--blue-600);
    color: white;
}

.btn-deny {
    background: var(--slate-100);
    color: var(--slate-600);
}

.btn-confirm:hover, .btn-deny:hover {
    transform: translateY(-2px);
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 900px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 32px;
        gap: 20px;
        transition: right 0.3s;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        font-size: 1rem;
    }
    
    .game-container iframe {
        height: 380px;
    }
    
    .page-top h1 {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
    }
    
    .age-card {
        padding: 32px 24px;
    }
    
    .age-btns {
        flex-direction: column;
    }
}
