* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7;
    color: #1f2937;
    background: #f9fafb;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.age-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: white;
    max-width: 600px;
    margin: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    padding: 40px 50px 30px;
    text-align: center;
}

.modal-header h2 {
    color: white;
    font-size: 2.2em;
    font-weight: 800;
    margin-bottom: 15px;
}

.divider {
    width: 60px;
    height: 3px;
    background: #d1fae5;
    margin: 0 auto;
}

.modal-body {
    padding: 40px 50px;
}

.modal-body p {
    color: #555;
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

.modal-actions {
    padding: 0 50px 50px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 16px 36px;
    font-size: 1.05em;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #065f46;
    color: white;
}

.btn-primary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 95, 70, 0.4);
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background: #d1d5db;
}

.header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navigation {
    padding: 0;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    font-weight: 800;
    color: #065f46;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.toggle-line {
    width: 30px;
    height: 3px;
    background: #065f46;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active .toggle-line:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.nav-toggle.active .toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .toggle-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-item {
    color: #374151;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item:hover {
    color: #065f46;
}

.nav-item::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #065f46;
    transition: width 0.3s ease;
}

.nav-item:hover::before {
    width: 100%;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 85px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 0;
    }

    .nav-list.active {
        left: 0;
    }

    .nav-list li {
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .nav-item::before {
        display: none;
    }
}

.wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.full-wrapper {
    width: 100%;
    padding: 0 40px;
}

.hero-section {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    padding: 100px 40px;
    text-align: center;
    color: white;
}

.hero-inner h1 {
    font-size: 4em;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-lead {
    font-size: 1.4em;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.btn-hero {
    display: inline-block;
    background: white;
    color: #065f46;
    padding: 18px 45px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.introduction {
    background: white;
    padding: 90px 40px;
}

.intro-content h2 {
    font-size: 2.8em;
    color: #065f46;
    margin-bottom: 30px;
    font-weight: 800;
    text-align: center;
}

.intro-paragraph {
    color: #555;
    font-size: 1.15em;
    line-height: 1.9;
    margin-bottom: 25px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.principle-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.principle-card {
    background: #f9fafb;
    padding: 45px 35px;
    border-radius: 8px;
    border-top: 4px solid #065f46;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.principle-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.principle-card h3 {
    font-size: 1.6em;
    color: #065f46;
    margin-bottom: 15px;
    font-weight: 700;
}

.principle-card p {
    color: #555;
    line-height: 1.8;
}

.game-feature {
    background: #f9fafb;
    padding: 90px 40px;
}

.game-feature h2 {
    font-size: 2.8em;
    color: #065f46;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 800;
}

.feature-description {
    text-align: center;
    font-size: 1.15em;
    color: #555;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.game-display {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.game-embed {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-disclaimer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.game-disclaimer p {
    color: #555;
    font-size: 1.05em;
}

.legal-highlight {
    background: white;
    padding: 90px 40px;
}

.legal-panel {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid #f59e0b;
    border-radius: 8px;
    padding: 50px;
}

.legal-panel h3 {
    font-size: 2.2em;
    color: #f59e0b;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 800;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.legal-item h4 {
    font-size: 1.5em;
    color: #f59e0b;
    margin-bottom: 15px;
    font-weight: 700;
}

.legal-item p {
    color: #555;
    line-height: 1.8;
}

.philosophy {
    background: #f9fafb;
    padding: 90px 40px;
}

.philosophy-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.philosophy-text h2 {
    font-size: 2.5em;
    color: #065f46;
    margin-bottom: 30px;
    font-weight: 800;
}

.philosophy-text p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 25px;
    font-size: 1.05em;
}

.philosophy-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.highlight-box {
    background: white;
    padding: 35px;
    border-radius: 8px;
    border-left: 4px solid #065f46;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.highlight-box h3 {
    font-size: 1.6em;
    color: #065f46;
    margin-bottom: 15px;
    font-weight: 700;
}

.highlight-box p {
    color: #555;
    line-height: 1.8;
}

.benefits-section {
    background: white;
    padding: 90px 40px;
}

.benefits-section h2 {
    font-size: 2.8em;
    color: #065f46;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    align-items: center;
}

.benefit-number {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    font-weight: 800;
    color: #d1fae5;
    text-align: center;
}

.benefit-text h3 {
    font-size: 1.7em;
    color: #065f46;
    margin-bottom: 10px;
    font-weight: 700;
}

.benefit-text p {
    color: #555;
    line-height: 1.8;
}

.closing-cta {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    padding: 90px 40px;
    text-align: center;
    color: white;
}

.cta-inner h2 {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta-inner p {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-large {
    display: inline-block;
    background: white;
    color: #065f46;
    padding: 20px 50px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.footer {
    background: #1f2937;
    color: white;
    padding: 70px 40px 30px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-column h4 {
    font-size: 1.4em;
    margin-bottom: 20px;
    font-weight: 700;
    color: #d1fae5;
}

.footer-column p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}

.support-links, .footer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-links a, .footer-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-links a:hover, .footer-menu a:hover {
    color: #d1fae5;
}

.footer-legal {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.play-intro {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    padding: 80px 40px;
    text-align: center;
    color: white;
}

.play-intro h1 {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 20px;
}

.play-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.8;
}

.game-section {
    background: white;
    padding: 70px 0;
}

.game-frame-container {
    max-width: 100%;
    margin-bottom: 50px;
}

.game-frame {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.play-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.guide-card {
    background: #f9fafb;
    padding: 40px 35px;
    border-radius: 8px;
    border-top: 4px solid #065f46;
    text-align: center;
}

.guide-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.guide-card h3 {
    font-size: 1.5em;
    color: #065f46;
    margin-bottom: 15px;
    font-weight: 700;
}

.guide-card p {
    color: #555;
    line-height: 1.8;
}

.play-notice {
    background: #f9fafb;
    padding: 70px 40px;
}

.notice-block {
    background: white;
    padding: 45px;
    border-radius: 8px;
    text-align: center;
    border: 3px solid #065f46;
}

.notice-block h3 {
    font-size: 2em;
    color: #065f46;
    margin-bottom: 15px;
    font-weight: 800;
}

.notice-block p {
    font-size: 1.15em;
    color: #555;
    line-height: 1.8;
}

.legal-intro {
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    padding: 80px 40px;
    text-align: center;
    color: white;
}

.legal-intro h1 {
    font-size: 3.5em;
    font-weight: 800;
    margin-bottom: 15px;
}

.legal-updated {
    font-size: 1.1em;
    opacity: 0.9;
}

.legal-main {
    background: white;
    padding: 90px 40px;
}

.legal-content {
    max-width: 950px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 2em;
    color: #065f46;
    margin-top: 50px;
    margin-bottom: 20px;
    font-weight: 700;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.legal-content ul {
    margin: 20px 0 20px 30px;
}

.legal-content li {
    color: #555;
    line-height: 1.9;
    margin-bottom: 12px;
}

.legal-content a {
    color: #065f46;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #047857;
}

.legal-summary-box {
    background: #ecfdf5;
    border-left: 5px solid #065f46;
    padding: 35px;
    margin-top: 50px;
    border-radius: 6px;
}

.legal-summary-box h3 {
    font-size: 1.8em;
    color: #065f46;
    margin-bottom: 15px;
    font-weight: 700;
}

.legal-summary-box p {
    color: #555;
    font-size: 1.1em;
}

.legal-summary-box.warning {
    background: #fef3c7;
    border-left-color: #f59e0b;
}

.legal-summary-box.warning h3 {
    color: #f59e0b;
}

.legal-summary-box.warning ul {
    margin-top: 20px;
    list-style: none;
}

.legal-summary-box.warning li strong {
    color: #f59e0b;
}

@media (max-width: 968px) {
    .hero-inner h1, .play-intro h1, .legal-intro h1 {
        font-size: 2.5em;
    }

    .philosophy-layout {
        grid-template-columns: 1fr;
    }

    .benefit-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .benefit-number {
        font-size: 2.5em;
    }

    .game-embed, .game-frame {
        height: 500px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .wrapper, .full-wrapper {
        padding: 0 20px;
    }

    .hero-section, .play-intro, .legal-intro {
        padding: 60px 20px;
    }

    .hero-inner h1, .play-intro h1, .legal-intro h1 {
        font-size: 2em;
    }

    .hero-lead, .play-description {
        font-size: 1.1em;
    }

    .introduction, .game-feature, .legal-highlight, .philosophy, .benefits-section, .closing-cta, .legal-main, .game-section, .play-notice {
        padding: 60px 20px;
    }

    .modal-header, .modal-body, .modal-actions {
        padding-left: 30px;
        padding-right: 30px;
    }

    .game-embed, .game-frame {
        height: 400px;
    }
}
