@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Sans:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal-primary: #00897b;
    --teal-dark: #00695c;
    --teal-light: #4db6ac;
    --white: #ffffff;
    --off-white: #f5f7f8;
    --gray-50: #eceff1;
    --gray-100: #cfd8dc;
    --gray-600: #546e7a;
    --gray-900: #263238;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--off-white);
    color: var(--gray-900);
    line-height: 1.7;
}

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.nav-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 6000;
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    padding: 1rem 2rem;
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--teal-primary);
    text-decoration: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--teal-primary);
    margin: 5px 0;
    transition: 0.3s;
}

.mobile-menu-btn.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--teal-primary);
}

.page-content {
    padding-top: 72px;
}

.hero-section {
    background: linear-gradient(135deg, var(--teal-primary) 0%, var(--teal-dark) 100%);
    padding: 5rem 2rem;
    color: var(--white);
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.hero-inner h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-inner p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.cards-section {
    padding: 4rem 2rem;
    background: var(--off-white);
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.info-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.info-card .icon {
    width: 56px;
    height: 56px;
    background: var(--teal-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.info-card h3 {
    color: var(--gray-900);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

.game-section {
    padding: 4rem 2rem;
    background: var(--white);
}

.game-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.game-header h2 {
    font-size: 2rem;
    color: var(--gray-900);
}

.game-frame {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--off-white);
    border: 1px solid var(--gray-100);
    border-radius: 16px;
    overflow: hidden;
}

.game-frame iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.features-section {
    padding: 4rem 2rem;
    background: var(--gray-50);
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.feature-box {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.feature-box .emoji {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-box h3 {
    color: var(--gray-900);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

.text-section {
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.text-section h1 {
    color: var(--teal-primary);
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.text-section h2 {
    color: var(--gray-900);
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
}

.text-section p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.text-section ul {
    color: var(--gray-600);
    margin: 1rem 0 1rem 1.5rem;
}

.text-section li {
    margin-bottom: 0.5rem;
}

.tip-box {
    background: var(--gray-50);
    border-left: 4px solid var(--teal-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.tip-box p {
    margin: 0.5rem 0;
    color: var(--gray-600);
}

.site-footer {
    background: var(--gray-900);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-responsible {
    margin-bottom: 1.5rem;
}

.footer-responsible h4 {
    color: var(--teal-light);
    font-family: 'Inter', sans-serif;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-responsible a {
    color: var(--gray-100);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-responsible a:hover {
    color: var(--teal-light);
}

.footer-copy {
    color: var(--gray-600);
    font-size: 0.85rem;
}

/* Age Modal */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(38, 50, 56, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 70000;
}

.age-overlay.hidden {
    display: none;
}

.age-modal {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 450px;
    margin: 1rem;
    text-align: center;
}

.age-modal h2 {
    color: var(--gray-900);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.age-modal > p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-btn {
    padding: 0.875rem 2rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.age-btn.confirm {
    background: var(--teal-primary);
    color: var(--white);
}

.age-btn.confirm:hover {
    background: var(--teal-dark);
}

.age-btn.deny {
    background: var(--gray-50);
    color: var(--gray-600);
}

.age-btn.deny:hover {
    background: var(--gray-100);
}

.deny-msg {
    display: none;
    margin-top: 1.5rem;
    color: #d32f2f;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        display: none;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 1rem;
    }
    
    .hero-inner h1 {
        font-size: 2rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
    
    .game-frame iframe {
        height: 480px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .age-btns {
        flex-direction: column;
    }
}
