/* ===== Module: Hero ===== */
.page-game-bai__hero-section {
    background: linear-gradient(135deg, #e6f4fa 0%, #ffffff 100%);
    padding: 10px 16px 24px;
}
.page-game-bai__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 16px;
}
.page-game-bai__hero-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 17 / 5;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.page-game-bai__hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.page-game-bai__main-title {
    color: #0477db;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    max-width: 700px;
}
.page-game-bai__hero-description {
    color: #0477db;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto 16px;
    max-width: 600px;
}
.page-game-bai__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}
.page-game-bai__btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}
.page-game-bai__btn:active {
    transform: scale(0.98);
}
.page-game-bai__btn--primary {
    background: #EA7C07;
    color: #ffffff;
}
.page-game-bai__btn--primary:hover {
    opacity: 0.9;
}
.page-game-bai__btn--secondary {
    background: #ffffff;
    color: #0477db;
    border: 2px solid #0477db;
}
.page-game-bai__btn--secondary:hover {
    background: #f0f8ff;
}

/* ===== Module: Logo Grid ===== */
.page-game-bai__trusted-section {
    padding: 32px 16px;
    background: #ffffff;
}
.page-game-bai__section-title {
    text-align: center;
    color: #0477db;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin: 0 0 24px;
}
.page-game-bai__logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 16px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.page-game-bai__logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 280px;
    width: 100%;
}
.page-game-bai__logo-image {
    display: block;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    background: #f5f5f5;
    border-radius: 8px;
}
.page-game-bai__logo-cta {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: #0477db;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}
.page-game-bai__logo-cta:hover {
    background: #035cae;
}
.page-game-bai__logo-item:nth-child(5) {
    grid-column: 2;
}
.page-game-bai__logo-item:nth-child(6) {
    grid-column: 3;
}

/* ===== Module: Guide ===== */
.page-game-bai__guide-section {
    background: #ffffff;
}
.page-game-bai__guide-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 16px 48px;
}
.page-game-bai__guide-title {
    text-align: center;
    color: #0477db;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    margin: 0 0 12px;
}
.page-game-bai__guide-intro {
    text-align: center;
    color: #333333;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto 32px;
    max-width: 800px;
}
.page-game-bai__guide-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.page-game-bai__guide-article {
    background: #f9fcfe;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.page-game-bai__guide-figure {
    margin: 0 0 16px;
}
.page-game-bai__guide-figure img {
    display: block;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
}
.page-game-bai__guide-step-title {
    color: #0477db;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 0 8px;
}
.page-game-bai__guide-article p {
    color: #333333;
    line-height: 1.7;
    margin: 0 0 16px;
}
.page-game-bai__guide-article .page-game-bai__btn {
    margin-top: 4px;
}

/* ===== Responsive: Tablet & Mobile ===== */
@media (max-width: 1024px) {
    .page-game-bai__logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .page-game-bai__logo-item:nth-child(5) {
        grid-column: auto;
    }
    .page-game-bai__logo-item:nth-child(6) {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .page-game-bai__hero-section {
        padding-top: 10px;
    }
    .page-game-bai__hero-image {
        aspect-ratio: 2 / 1;
    }
    .page-game-bai__hero-description {
        font-size: 0.95rem;
    }
    .page-game-bai__logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .page-game-bai__logo-item:nth-child(5),
    .page-game-bai__logo-item:nth-child(6) {
        grid-column: auto;
    }
    .page-game-bai__guide-title,
    .page-game-bai__section-title {
        font-size: 1.5rem;
    }
    .page-game-bai__guide-figure {
        width: 100%;
    }
    .page-game-bai__guide-article {
        padding: 12px;
    }
    .page-game-bai__btn {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
    }
    .page-game-bai__hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-game-bai img {
        max-width: 100% !important;
        height: auto !important;
    }
}