* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    color: #1a1a1a;
    line-height: 1.7;
}

/* Age Overlay */
.age-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.93);
    z-index: 99999;
    backdrop-filter: blur(12px);
}

.age-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-card {
    background: #fff;
    max-width: 550px;
    margin: 20px;
    border-radius: 25px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.age-header {
    background: linear-gradient(135deg, #2D5016 0%, #4A7C2D 100%);
    padding: 40px;
    text-align: center;
    color: #fff;
}

.panda-icon {
    font-size: 4.5rem;
    margin-bottom: 15px;
}

.age-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

.age-body {
    padding: 40px;
    text-align: center;
}

.age-body p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #444;
}

.age-requirement {
    font-size: 1.3rem;
    color: #2D5016;
    font-weight: 600;
}

.age-disclaimer {
    font-style: italic;
    color: #666;
}

.age-actions {
    padding: 0 40px 40px;
    display: flex;
    gap: 15px;
}

.btn-accept, .btn-decline {
    flex: 1;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.btn-accept {
    background: #2D5016;
    color: #fff;
}

.btn-accept:hover {
    background: #3d6b1e;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.4);
}

.btn-decline {
    background: #e0e0e0;
    color: #333;
}

.btn-decline:hover {
    background: #d0d0d0;
}

/* Top Header */
.top-header {
    background: #1a1a1a;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-hamburger span {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.nav-item {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: #4A7C2D;
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: #4A7C2D;
}

.nav-item:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2D5016 100%);
    padding: 120px 30px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: #fff;
    color: #2D5016;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: #1a1a1a;
}

/* Introduction Section */
.intro-section {
    padding: 90px 30px;
    background: #f9f9f9;
}

.intro-section .section-title {
    color: #2D5016;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 25px;
    color: #333;
}

/* Notices Section */
.notices-section {
    padding: 90px 30px;
    background: #fff;
}

.notices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.notice-box {
    padding: 40px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.notice-box:hover {
    transform: translateY(-8px);
}

.notice-box.green {
    background: linear-gradient(135deg, #2D5016 0%, #4A7C2D 100%);
}

.notice-box.black {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
}

.notice-box.bamboo {
    background: linear-gradient(135deg, #4A7C2D 0%, #689F38 100%);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.notice-emoji {
    font-size: 3rem;
}

.notice-box h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.notice-box p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Game Showcase */
.game-showcase {
    padding: 90px 30px;
    background: #f9f9f9;
}

.game-showcase .section-title {
    color: #2D5016;
}

.game-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.game-wrapper {
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.game-iframe {
    width: 100%;
    height: 100%;
}

.game-info-box {
    background: #fffbea;
    border: 3px solid #ffc107;
    padding: 25px;
    border-radius: 15px;
    margin-top: 35px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.game-info-box p {
    font-size: 1.1rem;
    color: #856404;
}

/* Features Section */
.features-section {
    padding: 90px 30px;
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.feature-card {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    border-color: #2D5016;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 30px;
    background: linear-gradient(135deg, #2D5016 0%, #1a1a1a 100%);
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #2D5016;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Page Specific */
.page-title-section {
    background: #2D5016;
    padding: 70px 30px;
    text-align: center;
    color: #fff;
}

.page-title-section h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-title-section p {
    font-size: 1.2rem;
}

.instructions-section {
    padding: 70px 30px;
    background: #fff;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.instruction-box {
    background: #f9f9f9;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
}

.instruction-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.instruction-box h3 {
    font-size: 1.3rem;
    color: #2D5016;
    margin-bottom: 15px;
}

.instruction-box p {
    color: #666;
    line-height: 1.7;
}

.play-section {
    padding: 70px 30px;
    background: #f9f9f9;
}

.game-wrapper.fullsize {
    max-width: 100%;
}

.play-disclaimer {
    background: #ffe6e6;
    border: 3px solid #ff4444;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    text-align: center;
}

.play-disclaimer h3 {
    color: #cc0000;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.play-disclaimer p {
    color: #cc0000;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Legal Section */
.legal-section {
    padding: 80px 30px;
    background: #fff;
}

.legal-section h1 {
    font-size: 3rem;
    color: #2D5016;
    margin-bottom: 15px;
}

.document-date {
    font-style: italic;
    color: #999;
    margin-bottom: 50px;
    font-size: 1.05rem;
}

.legal-document h2 {
    color: #1a1a1a;
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.legal-document p {
    margin-bottom: 20px;
    line-height: 1.9;
    color: #444;
}

.legal-document ul {
    margin: 20px 0 20px 40px;
    line-height: 1.9;
    color: #444;
}

.final-warning {
    background: #ffe6e6;
    border: 4px solid #ff4444;
    padding: 40px;
    border-radius: 20px;
    margin-top: 50px;
    text-align: center;
}

.final-warning h3 {
    color: #cc0000;
    font-size: 2rem;
    margin-bottom: 20px;
}

.final-warning p {
    color: #cc0000;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 70px 30px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: #4A7C2D;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-column p {
    line-height: 1.8;
    margin-bottom: 20px;
}

.support-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.support-links a:hover {
    color: #4A7C2D;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #4A7C2D;
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid #333;
    color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-hamburger {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        background: #1a1a1a;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transition: left 0.3s ease;
    }
    
    .main-nav.open {
        left: 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-tagline {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .game-wrapper {
        aspect-ratio: 3/4;
    }
    
    .age-actions {
        flex-direction: column;
    }
}
