* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    background: #ffffff;
    color: #1f2937;
    line-height: 1.7;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 3rem 2.5rem;
    max-width: 500px;
    text-align: center;
    border-radius: 4px;
}

.modal-content h2 {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.modal-content p {
    font-size: 1.05rem;
    color: #4b5563;
    margin-bottom: 1rem;
}

.modal-question {
    font-weight: 500;
    color: #1f2937;
    margin-top: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: 'IBM Plex Sans', sans-serif;
}

.btn:hover {
    opacity: 0.9;
}

.btn-primary {
    background: #10b981;
    color: white;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #10b981;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #10b981;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    color: #6b7280;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-menu a:hover {
    background: #f3f4f6;
    color: #10b981;
}

.nav-menu a.active {
    background: #10b981;
    color: white;
}

.intro {
    padding: 4rem 0;
    text-align: center;
    background: #f9fafb;
}

.intro h1 {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1rem;
    font-weight: 600;
}

.lead {
    font-size: 1.3rem;
    color: #6b7280;
    font-weight: 300;
}

.notice {
    padding: 3rem 0;
    background: white;
}

.notice-box {
    border: 2px solid #10b981;
    border-radius: 4px;
    padding: 2rem;
}

.notice-box h2 {
    color: #10b981;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 0.8rem 0;
    font-size: 1.05rem;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6;
}

.info-list li:last-child {
    border-bottom: none;
}

.content-section {
    padding: 4rem 0;
    background: #f9fafb;
}

.content-section h2 {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.content-section p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.game-area {
    padding: 4rem 0;
    background: white;
}

.game-area h2 {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.game-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.game-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
}

.game-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: #6b7280;
}

.features {
    padding: 4rem 0;
    background: #f9fafb;
}

.features h2 {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 600;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.feature {
    background: white;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    text-align: center;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #10b981;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature p {
    color: #6b7280;
    line-height: 1.7;
}

.values {
    padding: 4rem 0;
    background: white;
}

.values h2 {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.values p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4b5563;
    margin-bottom: 2rem;
}

.stats {
    display: flex;
    justify-content: space-around;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 3.5rem;
    font-weight: 600;
    color: #10b981;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.footer {
    background: #f9fafb;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.5rem;
}

.footer-section h4 {
    color: #10b981;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.8rem;
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #10b981;
}

.copyright {
    color: #9ca3af;
    font-size: 0.85rem;
    margin-top: 1rem;
}

.page-intro {
    padding: 3rem 0;
    background: #f9fafb;
    text-align: center;
}

.page-intro h1 {
    font-size: 2.5rem;
    color: #10b981;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.page-intro p {
    font-size: 1.1rem;
    color: #6b7280;
}

.gameplay {
    padding: 3rem 0;
    background: white;
}

.game-frame {
    max-width: 1000px;
    margin: 0 auto;
    border: 2px solid #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.game-frame iframe {
    width: 100%;
    height: 700px;
    border: none;
}

.guidelines {
    padding: 3rem 0;
    background: #f9fafb;
}

.guidelines h2 {
    color: #10b981;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.guideline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.guideline-item {
    background: white;
    padding: 1.8rem;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.guideline-item h3 {
    color: #10b981;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.guideline-item p {
    color: #6b7280;
    line-height: 1.7;
}

.reminder {
    padding: 3rem 0;
    background: white;
}

.reminder-content {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 4px;
    padding: 2rem;
}

.reminder-content h3 {
    color: #92400e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.reminder-content p {
    color: #78350f;
    font-size: 1.05rem;
    line-height: 1.7;
}

.legal-content {
    padding: 3rem 0;
    background: white;
}

.legal-text {
    max-width: 900px;
    margin: 0 auto;
}

.legal-text section {
    margin-bottom: 2.5rem;
}

.legal-text h2 {
    color: #10b981;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-text p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.legal-text ul {
    margin-left: 2rem;
    margin-bottom: 0.8rem;
}

.legal-text li {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.legal-text .highlight {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 4px;
    padding: 1.5rem;
}

.legal-text .highlight h2 {
    color: #92400e;
}

.legal-text .highlight p {
    color: #78350f;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-menu.active {
        max-height: 400px;
    }

    .nav-menu a {
        padding: 1rem 2rem;
        border-radius: 0;
        border-bottom: 1px solid #f3f4f6;
    }

    .intro h1 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    .game-wrapper iframe {
        height: 400px;
    }

    .game-frame iframe {
        height: 500px;
    }

    .page-intro h1 {
        font-size: 2rem;
    }
}
