* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: linear-gradient(to bottom, #FEF3C7 0%, #FDE68A 50%, #FCD34D 100%);
    color: #374151;
    line-height: 1.6;
}

.site-nav {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.site-name {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #8B5CF6;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-btn span {
    width: 24px;
    height: 3px;
    background: #8B5CF6;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-menu {
    display: flex;
    gap: 2rem;
}

.nav-item {
    font-family: 'Nunito', sans-serif;
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: #F3E8FF;
    color: #8B5CF6;
}

.nav-item.is-active {
    background: #8B5CF6;
    color: white;
}

.welcome-banner {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.2) 0%, rgba(252, 211, 77, 0.2) 100%);
    text-align: center;
}

.banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.main-title {
    font-family: 'Nunito', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: #8B5CF6;
    margin-bottom: 1.5rem;
}

.banner-text {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: #4B5563;
}

.btn-primary {
    display: inline-block;
    background: #8B5CF6;
    color: white;
    padding: 1.2rem 3rem;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    background: #7C3AED;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.intro-area {
    padding: 4rem 2rem;
    background: white;
}

.section-container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #8B5CF6;
    text-align: center;
    margin-bottom: 2rem;
}

.intro-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.intro-card {
    background: #F9FAFB;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #E5E7EB;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.intro-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4B5563;
}

.important-info {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.info-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    border-top: 5px solid;
    overflow: hidden;
}

.card-pink { border-top-color: #EC4899; }
.card-blue { border-top-color: #3B82F6; }
.card-purple { border-top-color: #8B5CF6; }

.card-icon {
    font-size: 3rem;
    text-align: center;
    padding: 2rem 2rem 1rem;
}

.card-body {
    padding: 0 2rem 2rem;
}

.card-body h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: #1F2937;
    margin-bottom: 1rem;
    font-weight: 700;
}

.card-body p {
    color: #4B5563;
    line-height: 1.7;
}

.featured-game {
    padding: 4rem 2rem;
    background: white;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 2.5rem;
}

.game-container {
    background: #1F2937;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.game-frame {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #F9FAFB;
    border-radius: 10px;
    border: 2px solid #E5E7EB;
}

.feature-icon {
    font-size: 2rem;
}

.feature-label {
    font-weight: 600;
    color: #374151;
}

.benefits-area {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #F3E8FF 0%, #FEF3C7 100%);
}

.benefits-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.4rem;
    color: #8B5CF6;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-card p {
    color: #4B5563;
    line-height: 1.7;
}

.responsible-play {
    padding: 4rem 2rem;
    background: white;
}

.responsible-card {
    background: linear-gradient(135deg, #E0E7FF 0%, #F3E8FF 100%);
    border-radius: 20px;
    padding: 3rem;
    border: 3px solid #8B5CF6;
    max-width: 900px;
    margin: 0 auto;
}

.responsible-card h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.2rem;
    color: #8B5CF6;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.responsible-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #4B5563;
}

.responsible-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.tip {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    font-weight: 500;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-top {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
    text-align: center;
}

.page-title {
    font-family: 'Nunito', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.page-intro {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.how-to-play {
    padding: 4rem 2rem;
    background: white;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.instruction {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #8B5CF6;
}

.instruction-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.instruction h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    color: #8B5CF6;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.instruction p {
    color: #4B5563;
    line-height: 1.6;
}

.play-area {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #F3E8FF 0%, #FEF3C7 100%);
}

.game-box {
    background: #1F2937;
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.game-frame-full {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
}

.play-reminder {
    padding: 3rem 2rem;
    background: white;
}

.reminder-box {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 3px solid #FCD34D;
    border-radius: 15px;
    padding: 2.5rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.reminder-box h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.8rem;
    color: #8B5CF6;
    margin-bottom: 1rem;
    font-weight: 700;
}

.reminder-box p {
    color: #4B5563;
    font-size: 1.1rem;
    line-height: 1.7;
}

.legal-content {
    padding: 4rem 2rem;
    background: white;
}

.legal-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.legal-wrapper h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.9rem;
    color: #8B5CF6;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.legal-wrapper h3 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    color: #7C3AED;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.legal-wrapper p {
    color: #4B5563;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.legal-wrapper ul {
    margin-bottom: 1.5rem;
    margin-left: 2rem;
}

.legal-wrapper li {
    color: #4B5563;
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.legal-box {
    background: linear-gradient(135deg, #F3E8FF 0%, #E0E7FF 100%);
    border: 3px solid #8B5CF6;
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.important-notice {
    background: #FEF2F2;
    border: 3px solid #EF4444;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.important-notice h2 {
    color: #DC2626 !important;
    margin-top: 0 !important;
}

.site-footer {
    background: linear-gradient(135deg, #A78BFA 0%, #8B5CF6 100%);
    color: white;
    padding: 3rem 2rem 2rem;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.footer-col h4 {
    font-family: 'Nunito', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-text {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-copy {
    margin-top: 1.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 92, 246, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(8px);
}

.age-overlay.hidden {
    display: none;
}

.age-dialog {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
}

.age-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.age-dialog h2 {
    font-family: 'Nunito', sans-serif;
    font-size: 2rem;
    color: #8B5CF6;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.age-dialog p {
    font-size: 1.1rem;
    color: #4B5563;
    margin-bottom: 1rem;
}

.age-notice {
    font-size: 0.95rem;
    color: #6B7280;
    margin-bottom: 2rem;
}

.age-choice {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-yes,
.btn-no {
    padding: 1rem 2.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-yes {
    background: #8B5CF6;
    color: white;
}

.btn-yes:hover {
    background: #7C3AED;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-no {
    background: transparent;
    color: #6B7280;
    border: 2px solid #D1D5DB;
}

.btn-no:hover {
    background: #F3F4F6;
    border-color: #9CA3AF;
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .site-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .site-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .banner-text {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .intro-cards {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 400px;
    }

    .game-frame-full {
        height: 500px;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .age-dialog {
        margin: 1rem;
        padding: 2rem;
    }

    .age-choice {
        flex-direction: column;
    }
}
