* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #ecfdf5 0%, #d1fae5 50%, #a7f3d0 100%);
    color: #064e3b;
    line-height: 1.6;
    min-height: 100vh;
}

/* Age Barrier Modal */
.barrier-modal {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.95) 0%, rgba(4, 120, 87, 0.95) 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.barrier-modal.hidden {
    display: none;
}

.barrier-card {
    background: white;
    padding: 3rem;
    border-radius: 18px;
    max-width: 540px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.barrier-emoji {
    font-size: 4rem;
    display: block;
    margin-bottom: 1.5rem;
}

.barrier-card h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    color: #059669;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.barrier-card p {
    color: #475569;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.barrier-question {
    font-weight: 700;
    color: #047857;
    font-size: 1.2rem !important;
    margin-top: 1.5rem !important;
}

.barrier-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.barrier-button {
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Sora', sans-serif;
}

.barrier-button.positive {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(5, 150, 105, 0.3);
}

.barrier-button.positive:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(5, 150, 105, 0.4);
}

.barrier-button.negative {
    background: #f1f5f9;
    color: #64748b;
}

.barrier-button.negative:hover {
    background: #e2e8f0;
}

/* Top Bar */
.top-bar {
    background: white;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-element {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-decoration: none;
}

.brand-name {
    font-family: 'Sora', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: #059669;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    gap: 2.2rem;
}

.menu-link {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #10b981;
    transition: width 0.3s ease;
}

.menu-link:hover {
    color: #10b981;
}

.menu-link:hover::after {
    width: 100%;
}

.nav-trigger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.trigger-line {
    width: 28px;
    height: 3px;
    background: #059669;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-trigger.active .trigger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-trigger.active .trigger-line:nth-child(2) {
    opacity: 0;
}

.nav-trigger.active .trigger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Page Content */
.page-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

/* Welcome Banner */
.welcome-banner {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 18px;
    margin-bottom: 3rem;
    box-shadow: 0 15px 40px rgba(5, 150, 105, 0.25);
}

.welcome-banner h1 {
    font-family: 'Sora', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.banner-text {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.banner-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
}

.point-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.8rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.point-emoji {
    font-size: 2.5rem;
}

.point-details {
    display: flex;
    flex-direction: column;
}

.point-details strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.point-details span {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Description Area */
.description-area {
    background: white;
    padding: 3.5rem;
    border-radius: 18px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.description-area h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    color: #059669;
    margin-bottom: 2rem;
    font-weight: 700;
}

.description-text p {
    color: #475569;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Game Display */
.game-display {
    margin-bottom: 3rem;
}

.game-display h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.8rem;
    color: #059669;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 800;
}

.game-description {
    text-align: center;
    color: #64748b;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.game-frame-wrapper {
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    margin-bottom: 1.5rem;
}

.game-frame {
    width: 100%;
    height: 620px;
    border: none;
    display: block;
}

.game-note-box {
    background: white;
    padding: 1.8rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
}

.game-note-box p {
    color: #475569;
    font-size: 1.05rem;
}

/* Benefits Display */
.benefits-display {
    margin-bottom: 3rem;
}

.benefits-display h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.8rem;
    color: #059669;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 800;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-box {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-top: 4px solid #10b981;
}

.benefit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1.2rem;
}

.benefit-box h3 {
    font-family: 'Sora', sans-serif;
    color: #059669;
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.benefit-box p {
    color: #64748b;
    line-height: 1.7;
}

/* Key Information */
.key-information {
    margin-bottom: 3rem;
}

.key-information h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    color: #059669;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 800;
}

.info-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-panel {
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid;
}

.info-panel.age {
    background: #fef3c7;
    border-color: #f59e0b;
}

.info-panel.money {
    background: #dbeafe;
    border-color: #3b82f6;
}

.info-panel.purpose {
    background: #fce7f3;
    border-color: #ec4899;
}

.info-panel h3 {
    font-family: 'Sora', sans-serif;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.info-panel.age h3 {
    color: #92400e;
}

.info-panel.money h3 {
    color: #1e40af;
}

.info-panel.purpose h3 {
    color: #9f1239;
}

.info-panel p {
    line-height: 1.7;
}

.info-panel.age p {
    color: #78350f;
}

.info-panel.money p {
    color: #1e3a8a;
}

.info-panel.purpose p {
    color: #831843;
}

/* Responsibility Area */
.responsibility-area {
    background: white;
    padding: 3.5rem;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
    margin-bottom: 3rem;
    border: 3px solid #fbbf24;
}

.responsibility-area h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    color: #059669;
    margin-bottom: 2rem;
    font-weight: 700;
}

.responsibility-area p {
    color: #475569;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Play Pages */
.play-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.play-intro h1 {
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    color: #059669;
    margin-bottom: 1rem;
    font-weight: 800;
}

.play-intro p {
    font-size: 1.3rem;
    color: #64748b;
}

.play-game-area {
    margin-bottom: 3rem;
}

.play-instructions {
    background: white;
    padding: 3.5rem;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.play-instructions h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.5rem;
    color: #059669;
    margin-bottom: 2.5rem;
    font-weight: 700;
}

.instructions-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.instruction-block h3 {
    font-family: 'Sora', sans-serif;
    color: #059669;
    margin-bottom: 1rem;
    font-weight: 600;
}

.instruction-block ul {
    list-style: none;
    padding: 0;
}

.instruction-block ul li {
    color: #475569;
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    line-height: 1.6;
}

.instruction-block ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.play-alert {
    background: #fef3c7;
    padding: 1.8rem;
    border-radius: 12px;
    border: 2px solid #fbbf24;
}

.play-alert p {
    color: #78350f;
    line-height: 1.7;
}

/* Document Pages */
.document-page {
    background: white;
    padding: 3.5rem;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.document-page h1 {
    font-family: 'Sora', sans-serif;
    font-size: 3rem;
    color: #059669;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.document-page h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.8rem;
    color: #059669;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.document-page p,
.document-page ul,
.document-page li {
    color: #475569;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.document-page ul {
    margin-left: 2rem;
    list-style: disc;
}

.update-date {
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 2.5rem !important;
}

.highlight-box {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #ef4444;
    margin: 2rem 0;
}

.highlight-box h2 {
    margin-top: 0 !important;
    color: #991b1b !important;
}

.highlight-box ul {
    list-style: none;
    margin-left: 0;
}

.highlight-box li {
    padding: 0.5rem 0;
}

.summary-highlight {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #10b981;
    margin-top: 2.5rem;
    text-align: center;
}

.summary-highlight p {
    color: #065f46;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer */
.page-footer {
    background: white;
    border-top: 4px solid #10b981;
    padding: 3.5rem 2rem 2rem;
    margin-top: 4rem;
}

.footer-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    font-family: 'Sora', sans-serif;
    color: #059669;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.footer-col p {
    color: #64748b;
    line-height: 1.7;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-nav a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #10b981;
}

.footer-base {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #94a3b8;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .nav-trigger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 75px);
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-link {
        padding: 1.2rem 0;
        border-bottom: 1px solid #f1f5f9;
    }

    .welcome-banner h1 {
        font-size: 2.2rem;
    }

    .banner-text {
        font-size: 1.1rem;
    }

    .banner-points {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .benefits-grid,
    .info-panels,
    .instructions-layout {
        grid-template-columns: 1fr;
    }

    .page-content {
        padding: 2rem 1rem;
    }

    .description-area,
    .play-instructions,
    .document-page,
    .responsibility-area {
        padding: 2.5rem 1.5rem;
    }
}
