* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

/* Age Modal */
.age-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.age-modal.hidden {
    display: none;
}

.age-modal-inner {
    max-width: 600px;
    width: 90%;
}

.age-modal-content {
    background: white;
    padding: 60px 40px;
    border-radius: 5px;
    text-align: center;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
}

.age-icon {
    font-size: 5em;
    margin-bottom: 25px;
}

.age-modal-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-weight: 700;
}

.age-modal-content p {
    font-size: 1.15em;
    margin-bottom: 15px;
    color: #4a4a4a;
}

.age-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
}

.age-btn {
    padding: 18px 45px;
    font-size: 1.1em;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    border: 2px solid;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.age-yes {
    background: #1a1a1a;
    color: white;
    border-color: #1a1a1a;
}

.age-yes:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
}

.age-no {
    background: white;
    color: #1a1a1a;
    border-color: #e0e0e0;
}

.age-no:hover {
    background: #f5f5f5;
}

/* Navigation */
.main-nav {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-symbol {
    font-size: 2em;
    color: #1a1a1a;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6em;
    font-weight: 800;
    color: #1a1a1a;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 1.05em;
    transition: color 0.3s;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #1a1a1a;
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #666;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background: #1a1a1a;
    margin: 4px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 100px 40px;
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4em;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-tagline {
    font-size: 1.6em;
    color: #666;
    margin-bottom: 25px;
    font-weight: 300;
}

.hero-description {
    font-size: 1.15em;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-badges {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
}

.badge-emoji {
    font-size: 1.5em;
}

.badge-text {
    font-weight: 600;
    color: #1a1a1a;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10em;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Important Notices */
.important-notices {
    padding: 80px 40px;
    background: white;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-bottom: 50px;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.notice-card {
    padding: 40px;
    border-radius: 5px;
    border-left: 5px solid;
}

.card-red {
    background: #fff5f5;
    border-color: #e53e3e;
}

.card-blue {
    background: #ebf8ff;
    border-color: #3182ce;
}

.card-orange {
    background: #fffaf0;
    border-color: #ed8936;
}

.notice-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.notice-card p {
    color: #4a4a4a;
    line-height: 1.7;
}

/* Game Feature */
.game-feature {
    padding: 80px 40px;
    background: #f9f9f9;
}

.game-display {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    display: block;
}

.game-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.feature-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: white;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.feature-icon {
    font-size: 2.5em;
}

.feature-text h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.feature-text p {
    color: #666;
}

/* About Section */
.about-section {
    padding: 80px 40px;
    background: white;
}

.about-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
}

.about-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.about-content p {
    font-size: 1.1em;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-card {
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    padding: 35px;
    border-radius: 5px;
    text-align: center;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 4em;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1em;
    color: #666;
    font-weight: 600;
}

/* Responsibility Section */
.responsibility-section {
    padding: 80px 40px;
    background: #f9f9f9;
}

.responsibility-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    font-size: 1.15em;
    color: #4a4a4a;
    line-height: 1.8;
}

.resource-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.resource-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px 40px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
    min-width: 300px;
}

.resource-link:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.resource-emoji {
    font-size: 2.5em;
}

.resource-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.resource-info strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    color: #1a1a1a;
}

.resource-info span {
    color: #666;
    font-size: 0.95em;
}

/* Play Page */
.play-intro {
    padding: 80px 40px;
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    text-align: center;
}

.play-intro h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.play-intro p {
    font-size: 1.3em;
    color: #666;
}

.play-main {
    padding: 60px 40px;
}

.game-player {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.game-frame-full {
    width: 100%;
    height: 800px;
    border: none;
    display: block;
}

.play-guide {
    background: white;
    padding: 50px;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
}

.play-guide h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.guide-item {
    padding: 25px;
    background: #f9f9f9;
    border-radius: 5px;
}

.guide-item strong {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.guide-item p {
    color: #4a4a4a;
    line-height: 1.7;
}

.play-warning {
    background: #fffaf0;
    padding: 25px;
    border-radius: 5px;
    border-left: 5px solid #ed8936;
    color: #4a4a4a;
}

.play-warning strong {
    color: #1a1a1a;
}

/* Legal Pages */
.legal-page {
    padding: 80px 40px;
    background: white;
    min-height: 70vh;
}

.legal-container {
    max-width: 1000px;
    margin: 0 auto;
}

.legal-container h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.legal-date {
    color: #999;
    font-style: italic;
    margin-bottom: 50px;
    font-size: 1.05em;
}

.legal-content {
    color: #4a4a4a;
}

.legal-section {
    margin-bottom: 50px;
}

.legal-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    margin-top: 30px;
}

.legal-section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4em;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
    margin-top: 20px;
}

.legal-section p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 1.05em;
}

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 35px;
}

.legal-section li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.disclaimer-alert {
    background: #fff5f5;
    padding: 40px;
    border-radius: 5px;
    border: 2px solid #e53e3e;
    margin-bottom: 50px;
    text-align: center;
}

.disclaimer-alert h2 {
    font-family: 'Montserrat', sans-serif;
    color: #c53030;
    margin-bottom: 15px;
}

.disclaimer-alert p {
    color: #742a2a;
}

.confirmation-box {
    background: #f0fff4;
    padding: 40px;
    border-radius: 5px;
    border: 2px solid #48bb78;
    margin-top: 50px;
}

.confirmation-box h2 {
    font-family: 'Montserrat', sans-serif;
    color: #22543d;
    margin-bottom: 20px;
}

.confirmation-box ul {
    list-style: none;
    padding: 0;
}

.confirmation-box li {
    margin-bottom: 10px;
    font-weight: 600;
    color: #22543d;
    font-size: 1.05em;
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 40px 30px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.7;
    opacity: 0.9;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        border-left: 1px solid #e0e0e0;
        gap: 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-text h1 {
        font-size: 2.5em;
    }
    
    .visual-card {
        width: 250px;
        height: 250px;
        font-size: 6em;
    }
    
    .notice-cards {
        grid-template-columns: 1fr;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 450px;
    }
    
    .game-frame-full {
        height: 500px;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .footer-columns {
        grid-template-columns: 1fr;
        text-align: center;
    }
}
