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

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #eff6ff 0%, #fef3f9 100%);
    color: #334155;
    line-height: 1.6;
}

.age-check-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    animation: modalFadeIn 0.3s ease;
}

.age-check-modal.hidden {
    display: none;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.age-check-box {
    background: #ffffff;
    padding: 50px;
    max-width: 520px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: boxSlideIn 0.5s ease;
}

@keyframes boxSlideIn {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.check-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.age-check-box h2 {
    color: #3b82f6;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.check-message {
    color: #475569;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.check-info {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.check-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-confirm-yes,
.btn-confirm-no {
    padding: 14px 35px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.btn-confirm-yes {
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
    color: #ffffff;
}

.btn-confirm-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.btn-confirm-no {
    background: #f1f5f9;
    color: #64748b;
}

.btn-confirm-no:hover {
    background: #e2e8f0;
}

.main-header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.site-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #3b82f6;
}

.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-btn span {
    width: 28px;
    height: 3px;
    background: #3b82f6;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.site-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6 0%, #ec4899 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link:hover::after {
    width: 100%;
}

.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
}

.welcome-banner {
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
    color: #ffffff;
    padding: 80px 50px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.3);
}

.banner-inner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.banner-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.banner-button {
    display: inline-block;
    padding: 16px 45px;
    background: #ffffff;
    color: #3b82f6;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.banner-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.content-box {
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.intro-area h2 {
    color: #3b82f6;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

.intro-area p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    text-align: center;
}

.highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.highlight-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.2);
}

.card-emoji {
    font-size: 3rem;
    margin-bottom: 20px;
}

.highlight-card h3 {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.highlight-card p {
    color: #64748b;
    line-height: 1.7;
}

.featured-gaming h2 {
    text-align: center;
    color: #3b82f6;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-intro {
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.gaming-frame {
    max-width: 1000px;
    margin: 0 auto;
}

.game-iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.benefits-area h2 {
    text-align: center;
    color: #3b82f6;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-item {
    background: linear-gradient(135deg, #f0f9ff 0%, #fdf2f8 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #ec4899;
}

.benefit-number {
    display: block;
    color: #ec4899;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-item h4 {
    color: #3b82f6;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.benefit-item p {
    color: #475569;
    line-height: 1.7;
}

.important-info h2 {
    text-align: center;
    color: #3b82f6;
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #fdf2f8 100%);
    padding: 35px;
    border-radius: 15px;
    border-top: 3px solid #3b82f6;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-icon {
    font-size: 2rem;
}

.info-card h4 {
    color: #3b82f6;
    font-size: 1.4rem;
    font-weight: 700;
}

.info-card p {
    color: #475569;
    line-height: 1.8;
}

.about-us h2 {
    text-align: center;
    color: #3b82f6;
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
}

.about-us p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.community-callout {
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
    color: #ffffff;
    padding: 60px 50px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 40px;
}

.callout-content h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.callout-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.callout-link {
    display: inline-block;
    padding: 16px 45px;
    background: #ffffff;
    color: #3b82f6;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.callout-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.play-header {
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
    color: #ffffff;
    padding: 60px;
    text-align: center;
    border-radius: 20px;
    margin-bottom: 40px;
}

.play-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.play-header p {
    font-size: 1.2rem;
}

.play-guide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.guide-card {
    background: #ffffff;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.guide-card h4 {
    color: #3b82f6;
    font-size: 1.3rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.guide-card p {
    color: #64748b;
    line-height: 1.7;
}

.play-area {
    margin-bottom: 40px;
}

.game-container {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.play-iframe {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 15px;
}

.play-note {
    background: linear-gradient(135deg, #f0f9ff 0%, #fdf2f8 100%);
    padding: 40px;
    text-align: center;
    border-radius: 15px;
}

.play-note h3 {
    color: #3b82f6;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.play-note p {
    color: #475569;
    font-size: 1.1rem;
    line-height: 1.8;
}

.legal-content {
    background: #ffffff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.legal-content h1 {
    color: #3b82f6;
    font-size: 2.8rem;
    margin-bottom: 10px;
    font-weight: 800;
}

.date-stamp {
    color: #94a3b8;
    font-style: italic;
    margin-bottom: 35px;
}

.legal-content h2 {
    color: #3b82f6;
    font-size: 1.8rem;
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
}

.legal-content p {
    color: #475569;
    margin-bottom: 18px;
    line-height: 1.8;
}

.legal-content ul {
    margin-left: 35px;
    margin-bottom: 18px;
    color: #475569;
}

.legal-content li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.page-footer {
    background: #ffffff;
    margin-top: 60px;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.05);
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.footer-block h4 {
    color: #3b82f6;
    margin-bottom: 18px;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-block p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 15px;
}

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

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: #3b82f6;
}

.footer-bottom {
    background: linear-gradient(135deg, #3b82f6 0%, #ec4899 100%);
    padding: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #ffffff;
}

@media (max-width: 768px) {
    .menu-btn {
        display: flex;
    }

    .site-nav {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: calc(100vh - 80px);
        background: #ffffff;
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
    }

    .site-nav.active {
        right: 0;
    }

    .welcome-banner,
    .play-header {
        padding: 50px 30px;
    }

    .banner-inner h1,
    .play-header h1 {
        font-size: 2rem;
    }

    .page-content {
        padding: 25px;
    }

    .content-box {
        padding: 30px 25px;
    }

    .game-iframe {
        height: 450px;
    }

    .play-iframe {
        height: 500px;
    }

    .legal-content {
        padding: 40px 25px;
    }

    .legal-content h1 {
        font-size: 2.2rem;
    }

    .age-check-box {
        padding: 35px 25px;
        margin: 20px;
    }

    .check-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn-confirm-yes,
    .btn-confirm-no {
        width: 100%;
    }
}