* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #fef3c7;
    color: #78350f;
    line-height: 1.6;
}

/* Age Overlay */
.age-overlay {
    position: fixed;
    inset: 0;
    background: rgba(120, 53, 15, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-overlay.hidden {
    display: none;
}

.age-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 3rem;
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border: 3px solid #f59e0b;
    text-align: center;
}

.age-title {
    color: #92400e;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.age-text {
    color: #78350f;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.age-button-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.age-btn {
    flex: 1;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.age-btn-yes {
    background: #10b981;
    color: white;
}

.age-btn-yes:hover {
    background: #059669;
    transform: scale(1.05);
}

.age-btn-no {
    background: #ef4444;
    color: white;
}

.age-btn-no:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    padding: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0.75rem;
    border-radius: 8px;
    cursor: pointer;
}

.menu-line {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.main-navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.25);
}

/* Main Content */
.banner {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    padding: 5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.banner-content {
    max-width: 1000px;
    margin: 0 auto;
}

.banner-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-text {
    font-size: 1.4rem;
    color: #fef3c7;
}

.content-wrapper {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.intro-block {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 6px solid #f59e0b;
}

.block-title {
    font-size: 2.2rem;
    color: #92400e;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.intro-block p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1rem;
    color: #78350f;
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.principle-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-top: 5px solid #f59e0b;
    transition: transform 0.3s;
}

.principle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.principle-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.principle-emoji {
    font-size: 2.5rem;
}

.principle-header h3 {
    font-size: 1.6rem;
    color: #92400e;
    font-weight: 600;
}

.principle-card p {
    color: #78350f;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Game Area */
.game-area {
    margin: 3rem 0;
}

.section-heading {
    font-size: 2.5rem;
    color: #92400e;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtext {
    text-align: center;
    font-size: 1.15rem;
    color: #78350f;
    margin-bottom: 2rem;
}

.game-frame-wrapper {
    background: #92400e;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 8px;
    display: block;
    background: #000;
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.4rem;
    color: #92400e;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.benefit-item p {
    color: #78350f;
    line-height: 1.7;
}

/* Tips Section */
.tips-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #f59e0b;
}

.tip-card h3 {
    font-size: 1.5rem;
    color: #92400e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tip-card p {
    color: #78350f;
    line-height: 1.8;
}

/* Legal Content */
.legal-content {
    margin: 2rem auto;
}

.legal-article {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
    border-left: 5px solid #f59e0b;
}

.legal-article h2 {
    font-size: 1.9rem;
    color: #92400e;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.legal-article p {
    color: #78350f;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.warning-article {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 5px solid #dc2626;
}

.warning-article h2 {
    color: #991b1b;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #d97706, #b45309);
    padding: 3rem 2rem;
    margin-top: 4rem;
    color: white;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-section {
    margin-top: 1.5rem;
}

.footer-label {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-link {
    color: #fef3c7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.footer-link:hover {
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 84px;
        left: -100%;
        width: 100%;
        background: rgba(217, 119, 6, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 0;
        transition: left 0.3s;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .main-navigation.open {
        left: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 1rem;
        margin: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .banner-heading {
        font-size: 2.2rem;
    }

    .banner-text {
        font-size: 1.1rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .content-wrapper {
        padding: 0 1rem;
    }

    .principles-grid,
    .benefits-grid,
    .tips-section {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 450px;
    }

    .age-box {
        padding: 2rem;
    }

    .age-button-group {
        flex-direction: column;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}
