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

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

:root {
    --teal: #0d9488;
    --teal-light: #14b8a6;
    --cyan: #06b6d4;
    --slate: #0f172a;
    --slate-light: #1e293b;
    --gray: #64748b;
    --white: #f8fafc;
    --off-white: #f1f5f9;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--off-white);
    color: var(--slate);
    min-height: 100vh;
    line-height: 1.6;
}

.navbar {
    background: var(--slate);
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.site-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-light);
    text-decoration: none;
    letter-spacing: -0.5px;
}

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.85;
    transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--teal-light);
}

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger svg {
    width: 24px;
    height: 24px;
    stroke: var(--teal-light);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--slate-light);
    padding: 1rem;
    flex-direction: column;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.mobile-menu a:hover {
    background: rgba(20, 184, 166, 0.1);
}

.hero-section {
    padding: 140px 1.5rem 80px;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-section h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--slate);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

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

.hero-section p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 680px;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--teal);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--teal-light);
    transform: translateY(-1px);
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 1.5rem 4rem;
    max-width: 1440px;
    margin: 0 auto;
}

.info-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.info-card .card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--teal), var(--cyan));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.info-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--slate);
}

.info-card p {
    font-size: 0.9rem;
    color: var(--gray);
    line-height: 1.7;
}

.game-container {
    background: var(--slate);
    padding: 4rem 1.5rem;
}

.game-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.game-inner h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
}

.game-embed {
    background: var(--slate-light);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(20, 184, 166, 0.2);
}

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

.features-section {
    padding: 4rem 1.5rem;
    max-width: 1440px;
    margin: 0 auto;
}

.features-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 2rem;
    color: var(--slate);
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.feature-item .icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item .text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--slate);
}

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

.page-wrapper {
    padding: 100px 1.5rem 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.page-wrapper h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    margin-bottom: 2rem;
    color: var(--slate);
}

.page-wrapper h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    margin: 2rem 0 0.75rem;
    color: var(--teal);
}

.page-wrapper p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.page-wrapper ul {
    margin: 1rem 0 1rem 1.25rem;
    color: var(--gray);
}

.page-wrapper li {
    margin-bottom: 0.5rem;
}

.game-tip {
    background: white;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--teal);
    padding: 1.25rem;
    border-radius: 0 8px 8px 0;
    margin-top: 1.5rem;
}

.game-tip h3 {
    font-size: 1rem;
    color: var(--teal);
    margin-bottom: 0.5rem;
}

.game-tip p {
    font-size: 0.9rem;
    color: var(--gray);
    margin: 0;
}

.site-footer {
    background: var(--slate);
    padding: 3rem 1.5rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--teal-light);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.2s;
}

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

.footer-col p {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--white);
    opacity: 0.5;
}

.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

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

.age-dialog {
    background: var(--slate-light);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 400px;
    margin: 1rem;
    text-align: center;
    border: 1px solid rgba(20, 184, 166, 0.3);
}

.age-dialog .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.age-dialog h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.age-dialog p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

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

.age-btns button {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s;
    border: none;
}

.age-btns .yes {
    background: var(--teal);
    color: white;
}

.age-btns .no {
    background: transparent;
    border: 1px solid var(--gray);
    color: white;
}

.age-btns button:hover {
    transform: scale(1.03);
}

@media (max-width: 1024px) {
    .cards-row {
        grid-template-columns: 1fr;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .burger {
        display: block;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .game-embed iframe {
        height: 400px;
    }
}
