* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #1e293b;
    background: #ffffff;
    line-height: 1.6;
}

.content-box {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Age Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.modal-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.modal-container {
    background: white;
    padding: 60px 50px;
    border-radius: 16px;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

.modal-icon {
    font-size: 72px;
    margin-bottom: 24px;
}

.modal-container h2 {
    font-size: 32px;
    color: #06B6D4;
    margin-bottom: 16px;
}

.modal-container p {
    font-size: 17px;
    color: #475569;
    margin-bottom: 32px;
}

.modal-actions {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.confirm-btn, .deny-btn {
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.confirm-btn {
    background: #06B6D4;
    color: white;
}

.confirm-btn:hover {
    background: #0891B2;
    transform: scale(1.02);
}

.deny-btn {
    background: #f1f5f9;
    color: #475569;
}

.deny-btn:hover {
    background: #e2e8f0;
}

/* Navbar */
.navbar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
}

.nav-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 26px;
    font-weight: 700;
    color: #06B6D4;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: #475569;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #06B6D4;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #06B6D4;
    border-radius: 3px;
    transition: all 0.3s;
}

/* Main Header */
.main-header {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    text-align: center;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.header-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.header-desc {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.primary-button {
    display: inline-block;
    padding: 18px 48px;
    background: white;
    color: #06B6D4;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.primary-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 255, 255, 0.3);
}

.header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.header-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Highlights */
.highlights {
    padding: 80px 0;
}

.highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.h-card {
    background: #f8fafc;
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.h-card:hover {
    border-color: #06B6D4;
    transform: translateY(-6px);
}

.h-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.h-card h3 {
    font-size: 24px;
    color: #06B6D4;
    margin-bottom: 12px;
}

.h-card p {
    color: #64748b;
    line-height: 1.7;
}

/* Legal Notices */
.legal-notices {
    padding: 70px 0;
    background: #f1f5f9;
}

.notice-card {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.notice-card h2 {
    font-size: 32px;
    color: #06B6D4;
    margin-bottom: 32px;
}

.notice-items {
    display: grid;
    gap: 24px;
}

.notice-item {
    padding: 24px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #06B6D4;
}

.notice-item strong {
    display: block;
    font-size: 18px;
    color: #1e293b;
    margin-bottom: 8px;
}

.notice-item p {
    color: #64748b;
    margin: 0;
}

/* Game Showcase */
.game-showcase {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 40px;
    color: #1e293b;
    margin-bottom: 12px;
}

.section-header p {
    font-size: 18px;
    color: #64748b;
}

.game-embed {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 12px;
}

.game-tip {
    max-width: 800px;
    margin: 32px auto 0;
    padding: 20px 28px;
    background: #FEF3C7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.tip-icon {
    font-size: 32px;
}

.game-tip p {
    margin: 0;
    color: #92400E;
    font-weight: 500;
}

/* Benefits */
.benefits {
    padding: 80px 0;
    background: #f8fafc;
}

.benefits-title {
    text-align: center;
    font-size: 40px;
    color: #1e293b;
    margin-bottom: 56px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.benefit {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.benefit h4 {
    font-size: 20px;
    color: #06B6D4;
    margin-bottom: 12px;
}

.benefit p {
    color: #64748b;
    margin: 0;
}

/* About */
.about {
    padding: 80px 0;
}

.about-content h2 {
    font-size: 38px;
    color: #1e293b;
    margin-bottom: 28px;
}

.about-content p {
    font-size: 18px;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.8;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 46px;
    margin-bottom: 16px;
}

.page-hero p {
    font-size: 19px;
    opacity: 0.95;
}

.update-date {
    font-size: 16px;
    opacity: 0.9;
}

/* Play Page */
.play-main {
    padding: 70px 0;
}

.play-instructions {
    background: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 48px;
}

.play-instructions h2 {
    font-size: 32px;
    color: #06B6D4;
    margin-bottom: 36px;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.instruction {
    text-align: center;
}

.inst-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.instruction h4 {
    font-size: 19px;
    color: #1e293b;
    margin-bottom: 10px;
}

.instruction p {
    color: #64748b;
    font-size: 15px;
}

.play-game-area {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    margin-bottom: 40px;
}

.full-game-frame {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 12px;
}

.play-reminder {
    background: #EFF6FF;
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid #06B6D4;
}

.play-reminder h3 {
    color: #0891B2;
    margin-bottom: 12px;
    font-size: 22px;
}

.play-reminder p {
    color: #0369A1;
    margin: 0;
    font-size: 16px;
}

/* Play Tips */
.play-tips {
    padding: 70px 0;
    background: #f8fafc;
}

.play-tips h2 {
    text-align: center;
    font-size: 38px;
    color: #1e293b;
    margin-bottom: 48px;
}

.tips-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tip-box {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.tip-box h4 {
    font-size: 20px;
    color: #06B6D4;
    margin-bottom: 12px;
}

.tip-box p {
    color: #64748b;
    margin: 0;
}

/* Legal Section */
.legal-section {
    padding: 70px 0;
}

.legal-document {
    background: white;
    padding: 56px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 1100px;
    margin: 0 auto;
}

.legal-document h2 {
    font-size: 28px;
    color: #06B6D4;
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-document h2:first-child {
    margin-top: 0;
}

.legal-document p {
    color: #475569;
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-document ul {
    margin-bottom: 20px;
    padding-left: 28px;
}

.legal-document li {
    color: #475569;
    margin-bottom: 10px;
    line-height: 1.7;
}

.legal-highlight {
    background: #EFF6FF;
    padding: 32px;
    border-radius: 12px;
    margin-top: 40px;
    border-left: 4px solid #06B6D4;
}

.legal-highlight h3 {
    color: #0891B2;
    margin-bottom: 16px;
    font-size: 24px;
}

.legal-highlight p {
    color: #0369A1;
    font-weight: 500;
}

.legal-highlight ul {
    margin-top: 16px;
}

.legal-highlight li {
    color: #0369A1;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: white;
    padding: 70px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-col h3, .footer-col h4 {
    color: #06B6D4;
    margin-bottom: 20px;
    font-size: 19px;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #06B6D4;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 32px;
    text-align: center;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 24px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        transition: left 0.3s ease;
        gap: 0;
    }
    
    .nav-links.open {
        left: 0;
    }
    
    .nav-links a {
        padding: 16px 0;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .header-content h1 {
        font-size: 38px;
    }
    
    .header-desc {
        font-size: 18px;
    }
    
    .game-iframe {
        height: 500px;
    }
    
    .full-game-frame {
        height: 550px;
    }
    
    .legal-document {
        padding: 32px 20px;
    }
    
    .modal-container {
        margin: 20px;
        padding: 40px 28px;
    }
}
