/* GAME-BAI PAGE STYLES - BLACK GOLD THEME */
.page-game-bai__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 0 0 0;
    gap: 24px;
}

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

.page-game-bai__hero-image {
    display: block;
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.page-game-bai__hero-content {
    width: 100%;
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 20px 20px;
}

.page-game-bai__main-title {
    color: #FFF6D6;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.3px;
    margin: 0;
    max-width: 600px;
    text-wrap: balance;
    font-size: clamp(2rem, 5vw, 2.5rem);
}

.page-game-bai__hero-description {
    color: rgba(255, 246, 214, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 680px;
}

.page-game-bai__hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-game-bai__btn {
    text-decoration: none;
    font-weight: 700;
    border-radius: 8px;
    padding: 14px 32px;
    transition: all 0.25s ease;
    display: inline-block;
    border: 2px solid transparent;
    min-width: 180px;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-game-bai__btn--primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
}

.page-game-bai__btn--primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    transform: scale(1.03);
    box-shadow: 0 0 15px rgba(255, 211, 107, 0.5);
}

.page-game-bai__btn--secondary {
    background: #111111;
    color: #FFF6D6;
    border: 2px solid #F2C14E;
}

.page-game-bai__btn--secondary:hover {
    background: #1f1b0c;
    transform: scale(1.03);
}

.page-game-bai__btn--ghost {
    background: transparent;
    color: #FFD36B;
    border: 2px solid #FFD36B;
}

.page-game-bai__btn--ghost:hover {
    background: rgba(255, 211, 107, 0.15);
    transform: scale(1.03);
}

.page-game-bai__btn--small {
    padding: 10px 18px;
    min-width: 120px;
    font-size: 0.9rem;
    background: #111111;
    color: #FFD36B;
    border: 1px solid #FFD36B;
}

/* Feature Section */
.page-game-bai__feature-section {
    width: 100%;
    background: #0A0A0A;
    padding: 60px 20px;
}

.page-game-bai__feature-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-game-bai__section-title {
    color: #FFF6D6;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    text-align: center;
    margin: 0 auto 40px;
    letter-spacing: 0.2px;
    position: relative;
    padding-bottom: 15px;
    max-width: 900px;
}

.page-game-bai__section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: #F2C14E;
    border-radius: 2px;
}

.page-game-bai__feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.page-game-bai__feature-item {
    background: #111111;
    padding: 30px 24px;
    border-radius: 12px;
    border: 1px solid #3A2A12;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-game-bai__feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.15);
}

.page-game-bai__feature-title {
    color: #FFF6D6;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.page-game-bai__feature-item p {
    color: #D0DDE7;
    line-height: 1.65;
    font-size: 0.95rem;
    margin: 0;
}

/* Games Section */
.page-game-bai__games-section {
    width: 100%;
    padding: 60px 20px;
}

.page-game-bai__games-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-game-bai__games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.page-game-bai__game-card {
    background: #111111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #3A2A12;
    transition: transform 0.2s ease;
}

.page-game-bai__game-card:hover {
    transform: scale(1.02);
}

.page-game-bai__game-image {
    width: 100%;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.page-game-bai__game-title {
    color: #FFF6D6;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 16px 20px 8px;
    margin: 0;
}

.page-game-bai__game-card p {
    color: #BBBBB5;
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 20px 20px;
    margin: 0;
}

/* Guide Section */
.page-game-bai__guide-section {
    background: #111111;
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    padding: 60px 20px;
}

.page-game-bai__guide-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.page-game-bai__guide-lead {
    color: #D0DDE7;
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.page-game-bai__guide-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 45px;
}

.page-game-bai__guide-figure {
    width: 100%;
    max-width: 800px;
    margin: 0 0 25px;
}

.page-game-bai__guide-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    border-radius: 12px;
    object-fit: cover;
}

.page-game-bai__guide-step-title {
    color: #F2C14E;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.page-game-bai__guide-step p {
    color: #D0DDE7;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto;
}

/* FAQ Section */
.page-game-bai__faq-section {
    padding: 60px 20px;
    max-width: 850px;
    margin: 0 auto;
}

.page-game-bai__faq-inner {
    max-width: 850px;
    margin: 0 auto;
}

.page-game-bai__faq-item {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-game-bai__faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #FFF6D6;
    font-size: 1.1rem;
    font-weight: 600;
    list-style: none;
}

.page-game-bai__faq-question::-webkit-details-marker {
    display: none;
}

.page-game-bai__faq-toggle {
    background: transparent;
    border: 2px solid #F2C14E;
    color: #F2C14E;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-game-bai__faq-answer {
    padding: 0 24px 20px;
    color: #D0DDE7;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* News Section */
.page-game-bai__news-section {
    padding: 60px 20px;
}

.page-game-bai__news-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.page-game-bai__news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.page-game-bai__news-card {
    background: #111111;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #3A2A12;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.page-game-bai__news-card:hover {
    transform: translateY(-5px);
}

.page-game-bai__news-card img {
    width: 100%;
    aspect-ratio: 2/1;
    object-fit: cover;
}

.page-game-bai__news-title {
    color: #FFF6D6;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    padding: 15px 20px;
    text-decoration: none;
    flex-grow: 1;
}

.page-game-bai__news-title:hover {
    color: #FFD36B;
}

.page-game-bai__news-card .page-game-bai__btn--small {
    margin: 0 20px 20px;
    align-self: flex-start;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .page-game-bai__feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-game-bai__games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-game-bai__news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-game-bai__hero-section {
        padding-top: 10px;
        gap: 16px;
    }

    .page-game-bai__hero-image {
        aspect-ratio: 16/9;
        border-radius: 10px;
        max-width: 100%;
        height: auto;
    }

    .page-game-bai__hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .page-game-bai__btn {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
    }

    .page-game-bai__feature-grid {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .page-game-bai__games-grid {
        grid-template-columns: 1fr;
    }

    .page-game-bai__feature-section,
    .page-game-bai__games-section,
    .page-game-bai__guide-section,
    .page-game-bai__faq-section,
    .page-game-bai__news-section {
        padding: 40px 16px;
    }

    .page-game-bai__section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .page-game-bai__news-grid {
        grid-template-columns: 1fr;
    }

    .page-game-bai__guide-step {
        align-items: center;
    }

    .page-game-bai__guide-figure {
        width: 100%;
    }

    .page-game-bai__guide-image {
        width: 100%;
        max-width: 800px;
        height: auto;
        object-fit: cover;
    }

    .page-game-bai__guide-step-title {
        font-size: 1.5rem;
    }

    .page-game-bai__guide-step p {
        font-size: 0.95rem;
    }

    .page-game-bai__faq-question {
        font-size: 1rem;
        padding: 16px 18px;
    }

    .page-game-bai__faq-answer {
        padding: 0 18px 16px;
    }

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

    .page-game-bai {
        max-width: 100%;
        overflow-x: hidden;
    }
}