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

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Age Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 480px;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.modal-notice {
    background: #dbeafe;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    margin-top: 1rem;
}

.modal-actions {
    padding: 0 2rem 2rem;
    display: flex;
    gap: 1rem;
}

.btn-primary, .btn-secondary {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: #1e40af;
    color: white;
}

.btn-primary:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.4);
}

.btn-secondary {
    background: #e5e7eb;
    color: #374151;
}

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

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand svg {
    display: block;
    height: 40px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: #1e40af;
    border-radius: 2px;
    transition: all 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #1e40af;
}

.nav-link.active {
    color: #1e40af;
    border-bottom-color: #1e40af;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Roboto Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-box {
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-text {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Main Content */
.main-content {
    min-height: 60vh;
}

/* Warning Banner */
.warning-banner {
    background: #fef3c7;
    padding: 2rem 0;
    border-top: 3px solid #f59e0b;
    border-bottom: 3px solid #f59e0b;
}

.warning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.warning-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.warning-label {
    font-weight: 700;
    color: #92400e;
    font-size: 1.1rem;
}

.warning-desc {
    color: #78350f;
}

/* Intro Section */
.intro-section {
    padding: 4rem 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.intro-text h2 {
    font-family: 'Roboto Mono', monospace;
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.intro-text p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: #475569;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #3b82f6;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: #64748b;
}

/* Game Showcase */
.game-showcase {
    background: white;
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Roboto Mono', monospace;
    color: #1e40af;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.game-wrapper {
    background: #f1f5f9;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 8px;
    background: white;
}

.game-tips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tip-card {
    background: #dbeafe;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
}

/* Benefits Section */
.benefits-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-family: 'Roboto Mono', monospace;
    color: #1e40af;
    font-size: 2rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.benefit-number {
    font-family: 'Roboto Mono', monospace;
    font-size: 3rem;
    color: #dbeafe;
    font-weight: 700;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: #1e40af;
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.benefit-item p {
    color: #64748b;
}

/* Responsibility Section */
.responsibility-section {
    padding: 3rem 0;
}

.responsibility-box {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
}

.responsibility-box h2 {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.responsibility-box p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem;
    opacity: 0.95;
}

/* Play Page */
.play-page {
    padding: 3rem 0;
}

.page-title {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title h1 {
    font-family: 'Roboto Mono', monospace;
    color: #1e40af;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.page-title p {
    color: #64748b;
    font-size: 1.1rem;
}

.update-date {
    color: #94a3b8;
    font-size: 0.95rem;
}

.play-instructions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.instruction-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.instruction-icon {
    font-size: 2.5rem;
}

.instruction-content h3 {
    color: #1e40af;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.instruction-content p {
    color: #64748b;
}

.play-notices {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.notice-box {
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid;
}

.notice-box.info {
    background: #dbeafe;
    border-color: #3b82f6;
}

.notice-box.tip {
    background: #ecfdf5;
    border-color: #10b981;
}

/* Legal Page */
.legal-page {
    padding: 3rem 0;
    background: white;
}

.legal-document {
    background: #f8fafc;
    padding: 3rem;
    border-radius: 12px;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #1e40af;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Roboto Mono', monospace;
}

.legal-section p {
    color: #475569;
    margin-bottom: 1rem;
}

.critical-notice {
    background: #fef2f2;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #dc2626;
    margin-bottom: 2.5rem;
}

.critical-notice h2 {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.critical-notice p {
    color: #7f1d1d;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: white;
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        transition: left 0.3s;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        width: 100%;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .game-iframe {
        height: 400px;
    }
    
    .game-tips {
        grid-template-columns: 1fr;
    }
    
    .play-instructions {
        grid-template-columns: 1fr;
    }
    
    .instruction-box {
        flex-direction: column;
        text-align: center;
    }
    
    .legal-document {
        padding: 1.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
}
