* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: #f0f4f8;
    color: #2c3e50;
    line-height: 1.6;
}

/* Age Gate */
.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    backdrop-filter: blur(15px);
}

.age-gate.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-gate-box {
    background: linear-gradient(135deg, #00D9C0 0%, #FF6B9D 100%);
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.age-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.age-gate-box h2 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
}

.age-gate-box p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 15px;
}

.age-note {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
}

.age-buttons {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    justify-content: center;
}

.age-confirm, .age-deny {
    padding: 15px 35px;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.3s ease;
}

.age-confirm {
    background: #fff;
    color: #00D9C0;
}

.age-confirm:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.age-deny {
    background: #2c3e50;
    color: #fff;
}

.age-deny:hover {
    background: #34495e;
    transform: translateY(-3px);
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, #00D9C0 0%, #00A896 100%);
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.sidebar-header {
    padding: 30px 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 25px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-left: 35px;
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    border-left: 5px solid #FF6B9D;
}

.nav-icon {
    font-size: 1.5rem;
}

/* Main Content */
.main-content {
    margin-left: 280px;
    min-height: 100vh;
}

.content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #FF6B9D 0%, #FFA07A 100%);
    padding: 100px 30px;
    text-align: center;
    color: #fff;
}

.banner h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

.banner-text {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.banner-badge {
    display: inline-block;
    background: #fff;
    color: #FF6B9D;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    background: #fff;
    padding: 80px 30px;
}

.about-section h2 {
    font-size: 2.8rem;
    color: #00D9C0;
    margin-bottom: 30px;
    text-align: center;
}

.about-section p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 25px;
    color: #555;
}

/* Info Cards */
.info-cards {
    background: #f9f9f9;
    padding: 80px 30px;
}

.info-cards h2 {
    font-size: 2.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 50px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-8px);
}

.info-card.pink {
    background: linear-gradient(135deg, #FF6B9D 0%, #FF8FAB 100%);
    color: #fff;
}

.info-card.teal {
    background: linear-gradient(135deg, #00D9C0 0%, #00E5CC 100%);
    color: #fff;
}

.info-card.coral {
    background: linear-gradient(135deg, #FFA07A 0%, #FFB499 100%);
    color: #fff;
}

.card-emoji {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-card p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Featured Game */
.featured-game {
    background: #fff;
    padding: 80px 30px;
}

.featured-game h2 {
    font-size: 2.8rem;
    color: #FF6B9D;
    text-align: center;
    margin-bottom: 20px;
}

.game-description {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.game-frame {
    width: 100%;
    max-width: 900px;
    aspect-ratio: 4/3;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.game-frame iframe {
    width: 100%;
    height: 100%;
}

/* Benefits */
.benefits {
    background: #f0f4f8;
    padding: 80px 30px;
}

.benefits h2 {
    font-size: 2.8rem;
    color: #00D9C0;
    text-align: center;
    margin-bottom: 50px;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.benefit-item h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.benefit-item p {
    color: #666;
    line-height: 1.7;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #00D9C0 0%, #00A896 100%);
    padding: 80px 30px;
    text-align: center;
    color: #fff;
}

.cta-box h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 1.3rem;
    margin-bottom: 35px;
}

.cta-link {
    display: inline-block;
    background: #fff;
    color: #00D9C0;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.cta-link:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #00D9C0 0%, #00A896 100%);
    padding: 70px 30px;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
}

/* Game Instructions */
.game-instructions {
    background: #fff;
    padding: 60px 30px;
}

.game-instructions h2 {
    font-size: 2.5rem;
    color: #FF6B9D;
    text-align: center;
    margin-bottom: 40px;
}

.instruction-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.instruction-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 15px;
}

.instruction-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #FF6B9D 0%, #FFA07A 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.instruction-item p {
    font-size: 1.05rem;
    color: #555;
}

/* Play Game */
.play-game {
    background: #f0f4f8;
    padding: 60px 30px;
}

.game-frame.fullscreen {
    max-width: 100%;
}

.game-tips {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    margin: 30px auto;
    max-width: 800px;
}

.game-tips h3 {
    color: #00D9C0;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.game-tips ul {
    list-style: none;
}

.game-tips li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #555;
}

.play-notice {
    background: #fff3cd;
    border: 3px solid #ffc107;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.play-notice p {
    font-size: 1.05rem;
    color: #856404;
}

/* Legal Page */
.legal-page {
    background: #fff;
    padding: 70px 30px;
}

.legal-page h1 {
    font-size: 3rem;
    color: #00D9C0;
    margin-bottom: 15px;
}

.update-date {
    font-style: italic;
    color: #888;
    margin-bottom: 40px;
}

.legal-text h2 {
    color: #FF6B9D;
    font-size: 1.9rem;
    margin-top: 35px;
    margin-bottom: 20px;
}

.legal-text p {
    margin-bottom: 20px;
    line-height: 1.9;
    color: #555;
}

.legal-text ul {
    margin: 20px 0 20px 35px;
    line-height: 1.9;
    color: #555;
}

.critical-notice {
    background: #ffe6e6;
    border: 4px solid #ff4444;
    padding: 35px;
    border-radius: 20px;
    margin-top: 50px;
    text-align: center;
}

.critical-notice h3 {
    color: #cc0000;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.critical-notice p {
    font-size: 1.15rem;
    color: #cc0000;
}

/* Footer */
.site-footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 60px 30px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #00D9C0;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.resource-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-links a:hover {
    color: #00D9C0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FF6B9D;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    color: #95a5a6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        width: 100%;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .sidebar-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .banner h1 {
        font-size: 2.2rem;
    }
    
    .banner-text {
        font-size: 1.1rem;
    }
    
    .about-section h2, .info-cards h2, .featured-game h2, .benefits h2, .cta-box h2 {
        font-size: 2rem;
    }
    
    .game-frame {
        aspect-ratio: 3/4;
    }
    
    .age-gate-box {
        padding: 30px 25px;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .age-confirm, .age-deny {
        width: 100%;
    }
}
