* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to bottom, #0a1f2f 0%, #0a3d62 50%, #1a5080 100%);
    color: #e6f3ff;
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Age Modal */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #0a3d62 0%, #1a5080 100%);
    padding: 50px 40px;
    border-radius: 20px;
    border: 3px solid #1e90ff;
    box-shadow: 0 0 60px rgba(30, 144, 255, 0.6);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.modal-icon {
    font-size: 4em;
    margin-bottom: 20px;
}

.modal-content h2 {
    font-family: 'Poppins', sans-serif;
    color: #1e90ff;
    font-size: 2.3em;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-content p {
    font-size: 1.1em;
    margin-bottom: 12px;
}

.modal-question {
    font-weight: 600;
    margin-top: 20px;
}

.modal-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    padding: 15px 35px;
    font-size: 1.1em;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #1e90ff 0%, #4fa3ff 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 144, 255, 0.5);
}

.btn-secondary {
    background: #333;
    color: white;
}

.btn-secondary:hover {
    background: #555;
}

/* Navbar */
.navbar {
    background: rgba(10, 31, 47, 0.95);
    border-bottom: 2px solid #1e90ff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(30, 144, 255, 0.3);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 2em;
    color: #1e90ff;
    font-weight: 800;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: #1e90ff;
    border: none;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
}

.hamburger-btn span {
    width: 26px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: #e6f3ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05em;
    transition: color 0.3s ease;
    padding: 8px 15px;
    border-radius: 6px;
}

.nav-links a:hover {
    color: #1e90ff;
    background: rgba(30, 144, 255, 0.1);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, rgba(79, 163, 255, 0.1) 100%);
    padding: 70px 25px;
    text-align: center;
    border-bottom: 2px solid #1e90ff;
    margin-bottom: 50px;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3.3em;
    color: #1e90ff;
    margin-bottom: 25px;
    font-weight: 800;
}

.hero-lead {
    font-size: 1.3em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Sections */
.intro, .advantages, .critical-notices, .game-section, .principles, 
.metrics, .mission, .closing, .instructions, .play-section, .reminders, .enjoy-section {
    padding: 60px 0;
}

.intro h2, .advantages h2, .critical-notices h2, .game-section h2, 
.principles h2, .metrics h2, .mission h2, .closing h2,
.instructions h2, .play-section h2, .reminders h2, .enjoy-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5em;
    color: #1e90ff;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.intro-content p, .mission p, .closing p, .enjoy-section p {
    font-size: 1.15em;
    margin-bottom: 22px;
}

/* Advantage Grid */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background: rgba(30, 144, 255, 0.08);
    padding: 35px;
    border-radius: 15px;
    border: 2px solid rgba(30, 144, 255, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    border-color: #1e90ff;
    box-shadow: 0 10px 30px rgba(30, 144, 255, 0.3);
}

.advantage-icon {
    font-size: 3.5em;
    margin-bottom: 15px;
    display: block;
}

.advantage-item h3 {
    font-family: 'Poppins', sans-serif;
    color: #1e90ff;
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Notice Grid */
.notice-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.notice-box {
    padding: 35px;
    border-radius: 15px;
    border: 3px solid;
}

.notice-box.danger {
    background: rgba(255, 70, 70, 0.12);
    border-color: #ff4646;
}

.notice-box.warning {
    background: rgba(255, 160, 0, 0.12);
    border-color: #ffa000;
}

.notice-box.alert {
    background: rgba(255, 200, 0, 0.12);
    border-color: #ffc800;
}

.notice-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #1e90ff;
}

/* Game Section */
.game-lead {
    font-size: 1.15em;
    text-align: center;
    margin-bottom: 35px;
}

.game-container, .play-game-box {
    max-width: 950px;
    margin: 0 auto 30px;
    border: 4px solid #1e90ff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(30, 144, 255, 0.4);
}

.game-iframe, .play-iframe {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-notice {
    background: rgba(30, 144, 255, 0.15);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid #1e90ff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Principle Columns */
.principle-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.principle-col {
    background: rgba(30, 144, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid rgba(30, 144, 255, 0.25);
}

.principle-col h3 {
    font-family: 'Poppins', sans-serif;
    color: #1e90ff;
    font-size: 1.5em;
    margin-bottom: 15px;
}

/* Metric Row */
.metric-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.metric-card {
    background: rgba(30, 144, 255, 0.12);
    padding: 40px;
    border-radius: 15px;
    border: 3px solid #1e90ff;
    text-align: center;
}

.metric-value {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5em;
    color: #1e90ff;
    font-weight: 800;
    margin-bottom: 10px;
    display: block;
}

.metric-label {
    font-size: 1.15em;
    color: #b3d9ff;
    font-weight: 600;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.15) 0%, rgba(79, 163, 255, 0.1) 100%);
    padding: 55px 25px;
    text-align: center;
    border-bottom: 2px solid #1e90ff;
    margin-bottom: 50px;
}

.page-header h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.8em;
    color: #1e90ff;
    margin-bottom: 15px;
    font-weight: 800;
}

.page-header p {
    font-size: 1.2em;
    color: #b3d9ff;
}

/* Instruction Grid */
.instruction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.instruction-box {
    background: rgba(30, 144, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(30, 144, 255, 0.25);
    text-align: center;
}

.inst-icon {
    font-size: 3em;
    display: block;
    margin-bottom: 15px;
}

.instruction-box h3 {
    font-family: 'Poppins', sans-serif;
    color: #1e90ff;
    font-size: 1.35em;
    margin-bottom: 12px;
}

/* Reminder Box */
.reminder-box {
    background: rgba(30, 144, 255, 0.15);
    padding: 35px;
    border-radius: 15px;
    border: 3px solid #1e90ff;
    max-width: 850px;
    margin: 0 auto;
}

.reminder-list {
    list-style-position: inside;
    font-size: 1.1em;
}

.reminder-list li {
    margin-bottom: 15px;
}

/* Legal Content */
.legal-content {
    padding: 50px 0;
}

.terms-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    gap: 30px;
}

.term-section {
    background: rgba(30, 144, 255, 0.08);
    padding: 35px;
    border-radius: 15px;
    border: 2px solid rgba(30, 144, 255, 0.25);
}

.term-section h2 {
    font-family: 'Poppins', sans-serif;
    color: #1e90ff;
    font-size: 1.9em;
    margin-bottom: 18px;
}

.term-section p {
    margin-bottom: 16px;
    font-size: 1.08em;
}

.term-section ul {
    margin: 18px 0;
    padding-left: 28px;
}

.term-section li {
    margin-bottom: 10px;
    font-size: 1.08em;
}

/* Footer */
.footer {
    background: rgba(10, 31, 47, 0.95);
    border-top: 2px solid #1e90ff;
    padding: 50px 25px 25px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    color: #1e90ff;
    font-size: 1.3em;
    margin-bottom: 18px;
}

.footer-section p {
    margin-bottom: 12px;
}

.footer-section a {
    display: block;
    color: #b3d9ff;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #1e90ff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid rgba(30, 144, 255, 0.3);
    color: #b3d9ff;
}

/* Responsive */
@media (max-width: 968px) {
    .hamburger-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 75px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 31, 47, 0.98);
        width: 100%;
        padding: 30px;
        transition: 0.3s;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        border-top: 2px solid #1e90ff;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2.3em;
    }
    
    .hero-lead {
        font-size: 1.15em;
    }
    
    .game-iframe, .play-iframe {
        height: 450px;
    }
    
    .modal-content {
        padding: 35px 25px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .advantage-grid, .instruction-grid {
        grid-template-columns: 1fr;
    }
}
