.page-game-bai {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
}

.page-game-bai__content-area {
    max-width: 1170px;
    margin: 0 auto;
    padding: 40px 16px;
    box-sizing: border-box;
}

.page-game-bai__section-title {
    font-size: 2.5em;
    color: #FF8C1A; /* Primary color */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
    font-size: clamp(2.2rem, 4vw + 1rem, 3.2rem);
}

.page-game-bai__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #FFF3E6; /* Text Main */
}

/* Buttons */
.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #FFF3E6; /* Text Main */
    border: 2px solid transparent;
}

.page-game-bai__btn-primary:hover {
    background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
    box-shadow: 0 0 15px rgba(255, 140, 26, 0.6);
}

.page-game-bai__btn-secondary {
    background: #17191F; /* Card BG */
    color: #FF8C1A; /* Primary color */
    border: 2px solid #A84F0C; /* Border */
}

.page-game-bai__btn-secondary:hover {
    background: #FF8C1A; /* Primary color */
    color: #FFF3E6; /* Text Main */
    border-color: #FF8C1A;
}

/* Hero Section */
.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #0D0E12; /* Background */
}

.page-game-bai__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 20px 16px;
}

.page-game-bai__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    color: #FFF3E6; /* Text Main */
}

.page-game-bai__hero-title {
    font-size: 3.2em;
    color: #FF8C1A; /* Primary color */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    /* clamp for h1 as per rules */
    font-size: clamp(2.2rem, 4vw + 1rem, 3.2rem);
}

.page-game-bai__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFF3E6; /* Text Main */
}

.page-game-bai__hero-cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.page-game-bai__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-game-bai__hero-side-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 140, 26, 0.4);
    display: block;
}

/* Intro Section (Module 1) */
.page-game-bai__intro-section {
    padding: 60px 0;
    background-color: #17191F; /* Card BG */
}

.page-game-bai__dark-section {
    background-color: #17191F; /* Card BG */
    color: #FFF3E6; /* Text Main */
}

.page-game-bai__features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.page-game-bai__feature-item {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    text-align: center;
    background-color: #0D0E12; /* Background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C; /* Border */
}

.page-game-bai__icon-box-media {
    width: 200px; /* Fixed width for circle */
    height: 200px; /* Fixed height for circle */
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #FF8C1A; /* Primary color */
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-game-bai__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the circle */
    border-radius: 50%; /* Make sure the image itself is also circular */
    display: block;
}

.page-game-bai__feature-title {
    font-size: 1.5em;
    color: #FF8C1A; /* Primary color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-bai__feature-description {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
}

/* Games Section */
.page-game-bai__games-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

.page-game-bai__game-tabs {
    margin-top: 40px;
}

.page-game-bai__tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 2px solid #A84F0C; /* Border */
    padding-bottom: 15px;
}

.page-game-bai__tab-button {
    background: #17191F; /* Card BG */
    color: #FFF3E6; /* Text Main */
    border: 1px solid #A84F0C; /* Border */
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.page-game-bai__tab-button:hover,
.page-game-bai__tab-button.is-active {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #FFF3E6; /* Text Main */
    border-color: #FF8C1A; /* Primary color */
}

.page-game-bai__game-panel {
    display: none;
    background-color: #17191F; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C; /* Border */
}

.page-game-bai__game-panel.is-active {
    display: block;
}

.page-game-bai__game-panel-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
}

.page-game-bai__game-panel-image {
    flex: 1 1 45%;
    max-width: 45%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 0 10px rgba(255, 140, 26, 0.3);
}

.page-game-bai__game-panel-title {
    font-size: 2em;
    color: #FF8C1A; /* Primary color */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-game-bai__game-panel-description {
    flex: 1 1 50%;
    font-size: 1.1em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 20px;
}

/* Guide Section */
.page-game-bai__guide-section {
    padding: 60px 0;
    background-color: #17191F; /* Card BG */
}

.page-game-bai__guide-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.page-game-bai__guide-step-item {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    text-align: center;
    background-color: #0D0E12; /* Background */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C; /* Border */
    position: relative;
    padding-top: 60px; /* Space for icon */
}

.page-game-bai__guide-step-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #FFF3E6; /* Text Main */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #A84F0C; /* Border */
    box-shadow: 0 0 10px rgba(255, 140, 26, 0.6);
}

.page-game-bai__guide-step-title {
    font-size: 1.4em;
    color: #FF8C1A; /* Primary color */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-game-bai__guide-step-description {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
}

.page-game-bai__cta-buttons--center {
    text-align: center;
    margin-top: 40px;
}

/* Promotion Section */
.page-game-bai__promo-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background */
}

.page-game-bai__promo-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.page-game-bai__promo-card {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    background-color: #17191F; /* Card BG */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C; /* Border */
    text-align: center;
    padding-bottom: 30px;
}

.page-game-bai__promo-image {
    width: 100%;
    height: 200px; /* Fixed height for consistent card image size */
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
}

.page-game-bai__promo-title {
    font-size: 1.5em;
    color: #FF8C1A; /* Primary color */
    margin: 0 20px 10px;
    font-weight: bold;
}

.page-game-bai__promo-description {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
    margin: 0 20px 20px;
}

/* FAQ Section */
.page-game-bai__faq-section {
    padding: 60px 0;
    background-color: #17191F; /* Card BG */
}

.page-game-bai__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
}

.page-game-bai__faq-item {
    background-color: #0D0E12; /* Background */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-game-bai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #FF8C1A; /* Primary color */
    cursor: pointer;
    background-color: #17191F; /* Card BG */
    border-bottom: 1px solid transparent; /* Placeholder for active state */
    transition: background-color 0.3s ease;
    list-style: none; /* For <summary> tag */
}