* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FCD34D 100%);
    color: #1F2937;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Quicksand', sans-serif;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Age Popup */
.age-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(251, 191, 36, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-popup.show {
    display: flex;
}

.popup-card {
    background: white;
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    max-width: 450px;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.popup-sun {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.popup-card h2 {
    color: #F59E0B;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.popup-card p {
    color: #4B5563;
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

.popup-note {
    font-style: italic;
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

.popup-buttons {
    display: flex;
    gap: 1rem;
}

.popup-card button {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 15px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.yes-btn {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    color: white;
}

.no-btn {
    background: #E5E7EB;
    color: #6B7280;
}

.popup-card button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #F59E0B;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #F59E0B;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.link {
    color: #4B5563;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
    position: relative;
}

.link:hover,
.link.active {
    color: #F59E0B;
}

.link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #F59E0B;
    border-radius: 2px;
}

/* Hero Area */
.hero-area {
    padding: 5rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
}

.hero-inner h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-inner p {
    font-size: 1.4rem;
    color: white;
    margin-bottom: 2rem;
}

.hero-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    color: #F59E0B;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Cards Section */
.cards-section {
    padding: 4rem 2rem;
    background: white;
}

.cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-8px);
}

.yellow-card {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
}

.blue-card {
    background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
}

.pink-card {
    background: linear-gradient(135deg, #FCE7F3, #FBCFE8);
}

.card-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: #1F2937;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #4B5563;
    line-height: 1.7;
}

/* About Section */
.about-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
}

.about-section h2 {
    text-align: center;
    color: white;
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

.about-text p {
    color: white;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* Game Section */
.game-section {
    padding: 5rem 2rem;
    background: white;
}

.game-section h2 {
    text-align: center;
    color: #F59E0B;
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.game-subtitle {
    text-align: center;
    color: #4B5563;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.game-box {
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(245, 158, 11, 0.2);
    margin-bottom: 2rem;
}

.game-embed {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

.game-tip {
    background: #FEF3C7;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 5px solid #F59E0B;
}

.game-tip p {
    color: #78350F;
    line-height: 1.7;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
}

.benefits-section h2 {
    text-align: center;
    color: #F59E0B;
    font-size: 2.8rem;
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit h3 {
    color: #F59E0B;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.benefit p {
    color: #4B5563;
    line-height: 1.7;
}

/* Wellbeing Section */
.wellbeing-section {
    padding: 5rem 2rem;
    background: white;
}

.wellbeing-section h2 {
    text-align: center;
    color: #F59E0B;
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

.wellbeing-section p {
    color: #4B5563;
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

/* Play Area */
.play-area {
    padding: 4rem 2rem;
    min-height: 100vh;
    background: white;
}

.play-area h1 {
    text-align: center;
    color: #F59E0B;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.play-intro {
    text-align: center;
    color: #4B5563;
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.how-to-play {
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.how-to-play h3 {
    color: #F59E0B;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.play-steps {
    list-style: none;
    margin-bottom: 1.5rem;
}

.play-steps li {
    color: #1F2937;
    font-size: 1.05rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.tech-info {
    color: #78350F;
    font-size: 0.95rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(245, 158, 11, 0.3);
}

.play-reminder {
    background: #DBEAFE;
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid #3B82F6;
    margin-top: 2rem;
}

.play-reminder h3 {
    color: #1E40AF;
    margin-bottom: 1rem;
}

.play-reminder p {
    color: #1E3A8A;
    line-height: 1.8;
}

/* Legal Content */
.legal-content {
    padding: 4rem 2rem;
    min-height: 100vh;
    background: white;
}

.legal-content h1 {
    color: #F59E0B;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.date-text {
    color: #9CA3AF;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-item {
    margin-bottom: 2.5rem;
}

.legal-item h2 {
    color: #F59E0B;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.legal-item p {
    color: #4B5563;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-item ul {
    margin: 1rem 0 1rem 2rem;
    color: #4B5563;
    line-height: 1.8;
}

.important-notice {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.important-notice h2 {
    color: white;
    margin-bottom: 1rem;
}

.summary-box {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
}

.summary-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.summary-box p {
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: #1F2937;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    color: #FCD34D;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-col p {
    opacity: 0.9;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.7rem;
}

.footer-col a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
}

.footer-note {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .link.active::after {
        display: none;
    }

    .hero-inner h1 {
        font-size: 2.5rem;
    }

    .game-embed {
        height: 400px;
    }

    .cards-row,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .popup-buttons {
        flex-direction: column;
    }
}
