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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.7;
    color: #374151;
    background: #ffffff;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.page-header {
    background: #10b981;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.toggle-line {
    width: 26px;
    height: 3px;
    background: white;
    transition: 0.3s;
}

.primary-nav {
    display: flex;
    gap: 0.5rem;
}

.nav-a {
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.3rem;
    border-radius: 6px;
    font-weight: 700;
    transition: background 0.3s;
}

.nav-a:hover,
.nav-a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Age Prompt */
.age-prompt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

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

.age-prompt-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.age-dove {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.age-prompt-card h2 {
    color: #10b981;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.age-prompt-card p {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #374151;
}

.age-small {
    font-weight: 700;
}

.age-smaller {
    font-size: 0.95rem !important;
    color: #6b7280 !important;
}

.age-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.age-button {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: 'Lato', sans-serif;
}

.age-confirm {
    background: #10b981;
    color: white;
}

.age-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.age-decline {
    background: #ef4444;
    color: white;
}

.age-decline:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(239, 68, 68, 0.3);
}

/* Intro Hero */
.intro-hero {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 5rem 2rem;
    color: white;
}

.hero-box {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-box h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
}

.hero-text {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-badges {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    backdrop-filter: blur(5px);
}

/* Sections */
.about-block,
.key-points,
.game-block,
.benefits-section {
    padding: 5rem 0;
}

.about-block {
    background: #f9fafb;
}

h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #10b981;
    text-align: center;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.2rem;
    color: #6b7280;
    text-align: center;
    margin-bottom: 3.5rem;
    line-height: 1.9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.qualities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.quality {
    text-align: center;
}

.quality-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.quality h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1rem;
}

.quality p {
    color: #6b7280;
    line-height: 1.9;
}

/* Key Points */
.points-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.point-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-top: 4px solid;
}

.point-green {
    border-top-color: #10b981;
}

.point-teal {
    border-top-color: #14b8a6;
}

.point-emerald {
    border-top-color: #059669;
}

.point-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.point-card p {
    color: #6b7280;
    line-height: 1.9;
}

/* Game Block */
.game-block {
    background: #f9fafb;
}

.game-container {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.game-embed {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
}

.game-note {
    text-align: center;
    font-size: 1.05rem;
    color: #6b7280;
}

/* Advantages */
.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
}

.benefit-number {
    width: 50px;
    height: 50px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 0.7rem;
}

.benefit-text p {
    color: #6b7280;
    line-height: 1.9;
}

/* Page Title */
.page-title {
    background: #10b981;
    padding: 3rem 2rem;
    color: white;
    text-align: center;
}

.page-title h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.7rem;
}

.page-title p {
    font-size: 1.3rem;
    font-weight: 300;
}

/* How to Play */
.how-to-play {
    padding: 3.5rem 0;
    background: #f9fafb;
}

.guide-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.guide-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.guide-items {
    margin-bottom: 2rem;
}

.guide-item {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f9fafb;
    border-radius: 6px;
    color: #374151;
}

.guide-notice {
    background: #d1fae5;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #10b981;
    color: #065f46;
}

/* Play Section */
.play-section {
    padding: 3.5rem 0;
}

.play-wrapper {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.play-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 8px;
}

/* Playing Tips */
.playing-tips {
    padding: 3.5rem 0;
    background: #f9fafb;
}

.tips-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.tip-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tip-emoji {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
    display: block;
}

.tip-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #10b981;
    margin-bottom: 1rem;
}

.tip-card p {
    color: #6b7280;
    line-height: 1.9;
}

/* Text Section */
.text-section {
    padding: 3.5rem 0;
}

.text-container {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 850px;
    margin: 0 auto;
}

.text-container h2 {
    text-align: left;
    font-size: 1.8rem;
    color: #10b981;
    margin-bottom: 1rem;
    margin-top: 2.5rem;
}

.text-container h2:first-child {
    margin-top: 0;
}

.text-container p {
    color: #6b7280;
    line-height: 2;
    margin-bottom: 1rem;
}

.text-info {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.text-info p {
    color: #10b981;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.alert-notice {
    background: #10b981;
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2.5rem;
}

.alert-notice h2 {
    color: white;
    margin-bottom: 1rem;
}

.alert-notice p {
    color: white;
}

/* Footer */
.page-footer {
    background: #1f2937;
    color: white;
    padding: 3.5rem 0 1.5rem;
    margin-top: 5rem;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-col p {
    opacity: 0.9;
    line-height: 1.9;
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.7rem;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: white;
}

.footer-line {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-line p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .primary-nav {
        position: fixed;
        top: 68px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 68px);
        background: #10b981;
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: right 0.3s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    }

    .primary-nav.active {
        right: 0;
    }

    .nav-a {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-box h1 {
        font-size: 2.3rem;
    }

    .hero-text {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .qualities,
    .points-wrap,
    .tips-cards {
        grid-template-columns: 1fr;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .game-embed {
        height: 400px;
    }

    .play-frame {
        height: 500px;
    }

    .text-container {
        padding: 2rem 1.5rem;
    }

    .age-prompt-card {
        padding: 2rem 1.5rem;
    }

    .age-actions {
        flex-direction: column;
    }
}
