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

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

:root {
    --coral: #ff6b6b;
    --coral-dark: #ee5a5a;
    --teal: #4ecdc4;
    --teal-dark: #3db8b0;
    --navy: #2c3e50;
    --cream: #fefefe;
    --light-gray: #f7f9fc;
    --text: #34495e;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.75;
}

/* Top Navigation */
.top-nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 12px 0;
}

.nav-wrap {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--coral);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-badge {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--coral), var(--teal));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-menu a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.main-menu a:hover {
    color: var(--coral);
}

.mobile-menu-btn {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.mobile-menu-btn span {
    width: 28px;
    height: 3px;
    background: var(--navy);
    border-radius: 3px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, var(--coral) 0%, var(--teal) 100%);
    min-height: 100vh;
    padding: 130px 25px 80px;
    display: flex;
    align-items: center;
}

.banner-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.banner-text {
    flex: 1;
    min-width: 300px;
}

.banner-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 20px;
}

.banner-text p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    max-width: 500px;
}

.banner-btn {
    display: inline-block;
    padding: 16px 40px;
    background: white;
    color: var(--coral);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.banner-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.banner-cards {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.highlight-card {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
}

.highlight-card .emoji {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.highlight-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.highlight-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
}

/* Game Panel */
.game-panel {
    padding: 80px 25px;
    background: var(--light-gray);
}

.game-panel h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    text-align: center;
    color: var(--navy);
    margin-bottom: 40px;
}

.game-box {
    max-width: 1050px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
}

.game-box iframe {
    width: 100%;
    height: 560px;
    border: none;
    border-radius: 16px;
}

/* Intro Section */
.intro-section {
    padding: 100px 25px;
    background: white;
}

.intro-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.intro-heading h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
}

.intro-heading h2 span {
    color: var(--coral);
}

.intro-text p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 20px;
}

/* Features Row */
.features-row {
    padding: 80px 25px;
    background: var(--navy);
}

.features-row h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

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

.feature-tile {
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-tile:hover {
    transform: translateY(-5px);
}

.feature-tile .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-tile h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: white;
    margin-bottom: 10px;
}

.feature-tile p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Page Title */
.page-title {
    background: linear-gradient(135deg, var(--coral), var(--teal));
    padding: 150px 25px 80px;
    text-align: center;
}

.page-title h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.page-title p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
}

/* Content Area */
.content-area {
    padding: 70px 25px;
    background: white;
}

.content-inner {
    max-width: 850px;
    margin: 0 auto;
}

.content-inner h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 18px;
    margin-top: 35px;
}

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

.content-inner p {
    margin-bottom: 18px;
}

.content-inner ul {
    margin: 18px 0 25px 22px;
}

.content-inner li {
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background: var(--navy);
    padding: 60px 25px;
}

.footer-wrap {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-about .site-logo {
    margin-bottom: 15px;
}

.footer-about p {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-nav h4, .footer-help h4 {
    font-family: 'Poppins', sans-serif;
    color: white;
    margin-bottom: 18px;
    font-size: 1rem;
}

.footer-nav ul, .footer-help ul {
    list-style: none;
}

.footer-nav a, .footer-help a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
    transition: color 0.2s;
}

.footer-nav a:hover, .footer-help a:hover {
    color: var(--teal);
}

.footer-copy {
    max-width: 1100px;
    margin: 40px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

/* Age Popup */
.age-popup {
    position: fixed;
    inset: 0;
    background: rgba(44, 62, 80, 0.95);
    display: grid;
    place-items: center;
    z-index: 10000;
}

.age-dialog {
    background: white;
    padding: 45px;
    border-radius: 24px;
    text-align: center;
    max-width: 420px;
    margin: 20px;
}

.age-dialog .icon {
    font-size: 4rem;
    margin-bottom: 18px;
}

.age-dialog h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.age-dialog p {
    color: var(--text);
    margin-bottom: 25px;
    font-size: 0.95rem;
}

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

.btn-yes, .btn-no {
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-yes {
    background: linear-gradient(135deg, var(--coral), var(--teal));
    color: white;
}

.btn-no {
    background: var(--light-gray);
    color: var(--text);
}

.btn-yes:hover, .btn-no:hover {
    transform: scale(1.03);
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .intro-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .footer-wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .main-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 30px;
        gap: 20px;
        transition: right 0.3s;
        box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    }
    
    .main-menu.show {
        right: 0;
    }
    
    .banner-text h1 {
        font-size: 2.4rem;
    }
    
    .banner-cards {
        grid-template-columns: 1fr;
    }
    
    .game-box iframe {
        height: 380px;
    }
    
    .page-title h1 {
        font-size: 2.2rem;
    }
    
    .age-dialog {
        padding: 30px 20px;
    }
    
    .age-actions {
        flex-direction: column;
    }
}
