* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: #1f2937;
    background: #f0fdfa;
}

.wrapper {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

h1, h2, h3, h4 {
    font-family: 'Righteous', cursive;
    font-weight: 400;
}

/* Age Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.age-modal.show {
    display: flex;
}

.age-modal-box {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    padding: 60px 50px;
    border-radius: 25px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.6);
    border: 3px solid #5eead4;
}

.age-modal-box h2 {
    font-size: 2.3rem;
    margin-bottom: 25px;
    color: #ffffff;
}

.age-modal-box p {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: #f0fdfa;
}

.age-question {
    font-weight: 600;
    margin-top: 20px;
    font-size: 1.2rem;
}

.age-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-top: 35px;
}

.age-btn {
    padding: 16px 45px;
    font-size: 1.15rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

.yes-btn {
    background: #fb923c;
    color: white;
}

.yes-btn:hover {
    background: #f97316;
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(251, 146, 60, 0.5);
}

.no-btn {
    background: #6b7280;
    color: white;
}

.no-btn:hover {
    background: #4b5563;
}

/* Header */
.site-header {
    background: white;
    padding: 22px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand h1 {
    font-size: 2.2rem;
    color: #14b8a6;
    cursor: pointer;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
}

.nav-link:hover {
    color: #14b8a6;
    border-bottom-color: #14b8a6;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle .bar {
    width: 32px;
    height: 4px;
    background: #14b8a6;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 4px;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 6px);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -6px);
}

/* Banner Section */
.banner-section {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #14b8a6 100%);
    padding: 120px 0;
    text-align: center;
    color: white;
}

.banner-content h2 {
    font-size: 3.8rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.35rem;
    max-width: 850px;
    margin: 0 auto 45px;
    line-height: 1.9;
}

.primary-btn {
    display: inline-block;
    background: #fb923c;
    color: white;
    padding: 20px 55px;
    font-size: 1.25rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.primary-btn:hover {
    background: #f97316;
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}

/* Welcome Section */
.welcome-section {
    padding: 90px 0;
    background: white;
}

.welcome-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 70px;
}

.welcome-intro h2 {
    font-size: 3rem;
    color: #14b8a6;
    margin-bottom: 25px;
}

.welcome-intro p {
    font-size: 1.2rem;
    color: #4b5563;
    line-height: 1.9;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.feature-card {
    background: #f0fdfa;
    padding: 45px 35px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid #99f6e4;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(20, 184, 166, 0.1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(20, 184, 166, 0.25);
    border-color: #14b8a6;
}

.card-emoji {
    font-size: 4rem;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-size: 1.8rem;
    color: #0f766e;
    margin-bottom: 18px;
}

.feature-card p {
    color: #374151;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Game Showcase */
.game-showcase {
    padding: 90px 0;
    background: linear-gradient(180deg, #f0fdfa 0%, #ccfbf1 100%);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    color: #14b8a6;
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #4b5563;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
}

.game-embed {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: 4px solid #14b8a6;
}

.game-iframe {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.game-info-box {
    max-width: 1200px;
    margin: 35px auto 0;
    padding: 25px;
    background: #fed7aa;
    border-left: 6px solid #fb923c;
    border-radius: 10px;
}

.game-info-box p {
    color: #7c2d12;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Benefits Section */
.benefits-section {
    padding: 90px 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.benefit-item {
    padding: 35px 30px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%);
    border-radius: 15px;
    border: 2px solid #5eead4;
}

.benefit-item h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0f766e;
}

.benefit-item p {
    color: #374151;
    line-height: 1.7;
}

/* Notice Section */
.notice-section {
    padding: 70px 0;
    background: #fef3c7;
}

.notice-panel {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 50px 45px;
    border-radius: 20px;
    border: 4px solid #fb923c;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
}

.notice-panel h3 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #ea580c;
    text-align: center;
}

.notice-items {
    margin-bottom: 25px;
}

.notice-item {
    padding: 18px;
    margin-bottom: 15px;
    background: #fef3c7;
    border-left: 5px solid #fb923c;
    border-radius: 8px;
    color: #78350f;
    font-size: 1.08rem;
}

.notice-footer {
    text-align: center;
    margin-top: 25px;
    color: #6b7280;
}

.notice-footer a {
    color: #14b8a6;
    text-decoration: none;
    font-weight: 700;
}

.notice-footer a:hover {
    text-decoration: underline;
}

/* Play Page */
.play-banner {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    padding: 90px 0 50px;
    text-align: center;
    color: white;
}

.play-banner h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.play-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

.play-area {
    padding: 60px 0 90px;
    background: #f0fdfa;
}

.gameplay-tips {
    max-width: 1200px;
    margin: 40px auto 0;
    background: white;
    padding: 40px;
    border-radius: 15px;
    border: 3px solid #5eead4;
}

.gameplay-tips h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #14b8a6;
}

.tips-list {
    list-style: none;
}

.tips-list li {
    padding: 15px 0;
    color: #374151;
    font-size: 1.08rem;
    border-bottom: 1px solid #e5e7eb;
}

.tips-list li:last-child {
    border-bottom: none;
}

.play-notice {
    max-width: 1200px;
    margin: 35px auto 0;
    padding: 30px;
    background: #fed7aa;
    border-left: 6px solid #fb923c;
    border-radius: 10px;
}

.play-notice p {
    color: #7c2d12;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Legal Pages */
.legal-page {
    padding: 90px 0;
    background: #f0fdfa;
    min-height: 75vh;
}

.legal-page h2 {
    font-size: 3.2rem;
    margin-bottom: 50px;
    color: #14b8a6;
    text-align: center;
}

.legal-content {
    max-width: 950px;
    margin: 0 auto;
    background: white;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 3px solid #99f6e4;
}

.legal-content h3 {
    font-size: 1.9rem;
    margin-top: 35px;
    margin-bottom: 18px;
    color: #0f766e;
}

.legal-content h4 {
    font-size: 1.5rem;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #14b8a6;
}

.legal-content p {
    margin-bottom: 20px;
    color: #374151;
    line-height: 1.9;
    font-size: 1.05rem;
}

.legal-content ul {
    margin-left: 30px;
    margin-bottom: 20px;
    color: #374151;
}

.legal-content ul li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.legal-content a {
    color: #14b8a6;
    text-decoration: none;
    font-weight: 700;
}

.legal-content a:hover {
    text-decoration: underline;
}

.date-updated {
    font-style: italic;
    color: #9ca3af;
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.warning-box {
    background: #fed7aa;
    padding: 35px;
    border-left: 6px solid #fb923c;
    border-radius: 12px;
    margin: 35px 0;
}

.warning-box h3 {
    color: #ea580c;
    margin-top: 0;
}

.warning-box p {
    color: #78350f;
}

.warning-box ul li {
    color: #78350f;
}

/* Footer */
.site-footer {
    background: #115e59;
    padding: 70px 0 35px;
    color: #ccfbf1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 45px;
    margin-bottom: 45px;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 22px;
    color: #5eead4;
}

.footer-col p {
    line-height: 1.8;
    color: #ccfbf1;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #99f6e4;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.05rem;
}

.footer-links a:hover {
    color: #5eead4;
}

.footer-bar {
    text-align: center;
    padding-top: 35px;
    border-top: 2px solid #0f766e;
    color: #99f6e4;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 75%;
        height: calc(100vh - 75px);
        background: white;
        flex-direction: column;
        padding: 35px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    }

    .main-nav.open {
        right: 0;
    }

    .nav-link {
        padding: 18px 0;
        font-size: 1.25rem;
        border-bottom: 2px solid #e5e7eb;
    }

    .banner-content h2 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.15rem;
    }

    .game-iframe {
        height: 500px;
    }

    .legal-content {
        padding: 40px 25px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .age-modal-box {
        margin: 25px;
        padding: 40px 25px;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .banner-content h2 {
        font-size: 2rem;
    }

    .game-iframe {
        height: 400px;
    }

    .brand h1 {
        font-size: 1.7rem;
    }

    .section-title {
        font-size: 2.2rem;
    }
}