* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f7f9;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-content {
    background: white;
    max-width: 550px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.age-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    text-align: center;
}

.age-modal-header h2 {
    font-size: 2.3em;
    color: white;
    margin: 0;
}

.age-modal-body {
    padding: 40px;
    text-align: center;
}

.age-modal-body p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555;
    line-height: 1.7;
}

.age-modal-footer {
    padding: 30px 40px 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

.age-yes, .age-no {
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.age-yes {
    background: #10b981;
    color: white;
}

.age-yes:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.age-no {
    background: #ef4444;
    color: white;
}

.age-no:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand h1 {
    font-size: 1.6em;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-item {
    padding: 10px 20px;
    text-decoration: none;
    color: #555;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: #f3f4f6;
    color: #667eea;
}

.nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #667eea;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.2em;
    margin-bottom: 35px;
    line-height: 1.8;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

.btn-large {
    padding: 20px 50px;
    font-size: 1.3em;
}

.hero-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.visual-card {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 10px;
}

.visual-card p {
    font-size: 1.1em;
    font-weight: 600;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8em;
    color: #1f2937;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2em;
    color: #6b7280;
}

/* Mission Section */
.mission-section {
    background: white;
}

.mission-content p {
    font-size: 1.15em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Key Principles */
.key-principles {
    background: #f9fafb;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.principle-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 5px solid;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.principle-1 {
    border-top-color: #ef4444;
}

.principle-2 {
    border-top-color: #3b82f6;
}

.principle-3 {
    border-top-color: #f59e0b;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.principle-icon {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.principle-card h3 {
    font-size: 1.6em;
    color: #1f2937;
    margin-bottom: 15px;
}

.principle-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* Game Showcase */
.game-showcase {
    background: white;
}

.game-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 5px solid #e5e7eb;
}

.game-frame iframe {
    display: block;
    width: 100%;
}

.game-note {
    text-align: center;
    margin-top: 25px;
}

.game-note p {
    font-size: 1.1em;
    color: #6b7280;
    font-weight: 600;
}

/* Features Section */
.features-section {
    background: #f9fafb;
}

.features-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-item h4 {
    font-size: 1.4em;
    color: #1f2937;
    margin-bottom: 12px;
}

.feature-item p {
    color: #6b7280;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-box {
    text-align: center;
}

.stat-value {
    font-size: 3.5em;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2em;
    opacity: 0.9;
}

/* Final CTA */
.final-cta {
    background: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5em;
    color: #1f2937;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2em;
    color: #6b7280;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Play Page */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-hero h2 {
    font-size: 3em;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 1.3em;
}

.play-area {
    background: white;
    padding: 80px 0;
}

.play-intro {
    text-align: center;
    margin-bottom: 50px;
}

.play-intro h3 {
    font-size: 2em;
    color: #1f2937;
    margin-bottom: 15px;
}

.play-intro p {
    font-size: 1.1em;
    color: #6b7280;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.game-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 5px solid #e5e7eb;
    margin-bottom: 50px;
}

.game-container iframe {
    display: block;
    width: 100%;
}

.game-guidelines {
    margin-bottom: 50px;
}

.game-guidelines h3 {
    font-size: 2em;
    color: #1f2937;
    margin-bottom: 30px;
    text-align: center;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.guideline-box {
    background: #f9fafb;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.guideline-box h4 {
    font-size: 1.3em;
    color: #1f2937;
    margin-bottom: 12px;
}

.guideline-box p {
    color: #6b7280;
    line-height: 1.6;
}

.important-notices h3 {
    font-size: 2em;
    color: #1f2937;
    margin-bottom: 30px;
    text-align: center;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.notice-card {
    padding: 30px;
    border-radius: 15px;
    border: 3px solid;
}

.notice-card.red {
    background: #fef2f2;
    border-color: #ef4444;
}

.notice-card.blue {
    background: #eff6ff;
    border-color: #3b82f6;
}

.notice-card.orange {
    background: #fffbeb;
    border-color: #f59e0b;
}

.notice-card h4 {
    font-size: 1.4em;
    color: #1f2937;
    margin-bottom: 12px;
}

.notice-card p {
    color: #4b5563;
    line-height: 1.6;
}

/* Legal Pages */
.legal-page {
    background: white;
    padding: 60px 0;
}

.legal-intro-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 50px;
    font-size: 1.15em;
    line-height: 1.8;
}

.legal-section {
    margin-bottom: 50px;
    background: #f9fafb;
    padding: 40px;
    border-radius: 15px;
}

.legal-section h3 {
    font-size: 2em;
    color: #1f2937;
    margin-bottom: 20px;
}

.legal-section h4 {
    font-size: 1.4em;
    color: #374151;
    margin: 25px 0 15px;
}

.legal-section p {
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 20px 0;
    padding-left: 30px;
    color: #6b7280;
}

.legal-section ul li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.legal-section.highlight-red {
    border: 4px solid #ef4444;
    background: #fef2f2;
}

.legal-section.highlight-orange {
    border: 4px solid #f59e0b;
    background: #fffbeb;
}

.legal-section.highlight-blue {
    border: 4px solid #3b82f6;
    background: #eff6ff;
}

.legal-footer-box {
    background: #1f2937;
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
}

.legal-footer-box p {
    margin-bottom: 10px;
}

/* Footer */
.site-footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 20px;
}

.footer-column p {
    line-height: 1.7;
    color: #9ca3af;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        padding: 15px;
        border-radius: 8px;
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 2.2em;
    }
    
    .hero-description {
        font-size: 1.1em;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 2.2em;
    }
    
    .age-modal-content {
        margin: 20px;
    }
    
    .age-modal-header {
        padding: 30px 20px;
    }
    
    .age-modal-header h2 {
        font-size: 1.8em;
    }
    
    .age-modal-body {
        padding: 30px 20px;
    }
    
    .age-modal-footer {
        flex-direction: column;
    }
    
    .age-yes, .age-no {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8em;
    }
    
    .page-hero h2 {
        font-size: 2em;
    }
    
    .stat-value {
        font-size: 2.5em;
    }
}
