/* ====== Page: game-bai ====== */
.page-game-bai {
    background: #0D0E12;
    color: #FFF3E6;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.page-game-bai a {
    transition: opacity .2s;
}

.page-game-bai a:hover {
    opacity: .85;
}

/* --- Hero Section --- */
.page-game-bai__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 20px;
    background: linear-gradient(180deg, #17191F 0%, #0D0E12 100%);
}

.page-game-bai__hero-image-wrapper {
    width: 100%;
}

.page-game-bai__hero-image {
    width: 100%;
    height: auto;
    max-width: 1200px;
    aspect-ratio: 17 / 5;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 0;
}

.page-game-bai__hero-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
    padding: 18px 16px 0;
    box-sizing: border-box;
}

.page-game-bai__hero-title {
    color: #FFF3E6;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: .5px;
    margin: 0 0 12px;
    max-width: 100%;
}

.page-game-bai__hero-description {
    max-width: 900px;
    margin: 0 auto 22px;
    color: #FFF3E6;
    font-size: 15px;
    line-height: 1.7;
}

.page-game-bai__hero-cta-btn {
    display: inline-block;
    margin: 6px 6px 0;
    padding: 14px 34px;
    border-radius: 60px;
    background: transparent;
    color: #FFF3E6;
    border: 1px solid #FFB04D;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.2;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-bai__hero-cta-btn--primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #0D0E12;
    border: none;
}

/* --- Logo Grid Section --- */
.page-game-bai__logo-grid-section {
    background: #0D0E12;
    padding: 32px 16px;
}

.page-game-bai__logo-grid-title {
    text-align: center;
    color: #FFF3E6;
    font-weight: 700;
    margin: 0 0 32px;
    font-size: 1.6rem;
}

.page-game-bai__logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 16px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.page-game-bai__logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 280px;
    width: 100%;
    text-align: center;
}

.page-game-bai__logo-image {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    display: block;
    background: transparent;
}

.page-game-bai__logo-cta {
    padding: 9px 22px;
    border-radius: 999px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #0D0E12;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    border: none;
    line-height: 1.2;
}

/* 4+2 layout */
.page-game-bai__logo-item:nth-child(5) {
    grid-column: 2;
}

.page-game-bai__logo-item:nth-child(6) {
    grid-column: 3;
}

/* --- Guide Section --- */
.page-game-bai__guide-section {
    background: #17191F;
    padding: 20px 0 50px;
}

.page-game-bai__guide-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 16px 16px 32px;
    box-sizing: border-box;
}

.page-game-bai__guide-title {
    text-align: center;
    color: #FFF3E6;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 16px;
}

.page-game-bai__guide-intro {
    text-align: center;
    color: #FFF3E6;
    max-width: 800px;
    margin: 0 auto 32px;
    font-size: 15px;
}

.page-game-bai__guide-figure {
    margin: 0 0 12px;
    background: transparent;
    text-align: center;
}

.page-game-bai__guide-figure img {
    width: 100%;
    max-width: 800px;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.page-game-bai__guide-figure figcaption {
    color: #FFA53A;
    font-size: 14px;
    margin-top: 8px;
    font-style: italic;
}

.page-game-bai__guide-steps {
    margin: 16px 0 24px;
    padding: 16px 20px;
    background: #0D0E12;
    border-left: 4px solid #FF8C1A;
    border-radius: 0 8px 8px 0;
}

.page-game-bai__guide-steps h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #FFB04D !important;
    font-weight: 700;
}

.page-game-bai__guide-steps p {
    margin: 0;
    color: #FFF3E6;
    font-size: 15px;
}

.page-game-bai__guide-link {
    color: #FFB04D;
    text-decoration: underline;
    word-break: break-word;
}

.page-game-bai__guide-tips {
    margin: 32px 0;
    background: #0D0E12;
    padding: 20px 24px;
    border-radius: 8px;
    border: 1px solid #A84F0C;
}

.page-game-bai__guide-tips h3 {
    color: #FFF3E6;
    margin-top: 0;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.page-game-bai__guide-tips ul {
    margin: 0;
    padding-left: 16px;
    color: #FFF3E6;
    font-size: 15px;
}

.page-game-bai__guide-tips li {
    margin-bottom: 12px;
}

.page-game-bai__guide-tips strong {
    color: #FFA53A;
}

.page-game-bai__guide-cta {
    text-align: center;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-game-bai__guide-cta-text {
    color: #FFF3E6;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.page-game-bai__guide-cta-button {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
    padding: 14px 40px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #0D0E12;
    font-weight: 800;
    border-radius: 60px;
    text-decoration: none;
    font-size: 16px;
    white-space: normal;
    word-wrap: break-word;
}

/* ===== Responsive ===== */

/* @media (max-width: 1024px) */
.page-game-bai__logo-grid { grid-template-columns: repeat(2, 1fr); }
.page-game-bai__logo-item:nth-child(5), .page-game-bai__logo-item:nth-child(6) { grid-column: auto; }
.page-game-bai__guide-inner { max-width: 100%; }

/* @media (max-width: 768px) */
@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-title { font-size: 1.4rem; }
    .page-game-bai__hero-description { font-size: 14px; }
    .page-game-bai__hero-cta-btn {
        display: block;
        max-width: 100%;
        margin: 10px auto;
        width: 90%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }
    .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 { font-size: 1.5rem; }
    .page-game-bai__guide-figure img { max-width: 100%; height: auto; }
    .page-game-bai img { max-width: 100% !important; height: auto !important; }
    .page-game-bai { overflow-x: hidden; }
    .page-game-bai__guide-cta-button {
        display: block;
        width: 90%;
        margin: 0 auto;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }
}