.page-game-bai {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
}

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

/* Hero Section */
.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #B71C1C; /* Custom background color */
    color: #FFF5E1; /* Custom text color for dark background */
}

.page-game-bai__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-game-bai__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.page-game-bai__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFF5E1; /* Custom text color */
}

.page-game-bai__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: #FFF5E1; /* Custom text color */
}

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

.page-game-bai__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
    color: #7A0E0E; /* Deep Red text for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-bai__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-game-bai__btn-secondary {
    background-color: transparent;
    color: #FFF5E1; /* Custom text color */
    border: 2px solid #F2B544; /* Custom border color */
}

.page-game-bai__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.page-game-bai__hero-main-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

/* Intro Section */
.page-game-bai__intro-section {
    padding: 80px 0;
    background-color: #D32F2F; /* Card BG as background for dark section */
    color: #FFF5E1; /* Text Main for dark background */
    text-align: center;
}

.page-game-bai__intro-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFF5E1; /* Text Main */
}

.page-game-bai__intro-description {
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF5E1; /* Text Main */
}

.page-game-bai__intro-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.page-game-bai__feature-item {
    flex: 1 1 30%;
    min-width: 280px;
    max-width: 350px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-game-bai__icon-box-media {
    width: 180px;
    height: 180px;
    aspect-ratio: 1/1;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #F4D34D; /* Gold border */
    box-shadow: 0 0 15px #FFCC66; /* Glow effect */
}

.page-game-bai__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-game-bai__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFD86A; /* Gold-like color for title */
}

.page-game-bai__feature-text {
    font-size: 1rem;
    color: #FFF5E1; /* Text Main */
}

/* Game List Section */
.page-game-bai__game-list-section {
    padding: 80px 0;
    background-color: #ffffff;
    color: #333333;
    text-align: center;
}

.page-game-bai__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #C91F17; /* Main brand color */
}

.page-game-bai__section-description {
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-game-bai__game-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.page-game-bai__game-card {
    flex: 1 1 30%;
    min-width: 280px;
    max-width: 380px;
    background-color: #D32F2F; /* Card BG */
    color: #FFF5E1; /* Text Main */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-bai__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.page-game-bai__game-card-media {
    width: 100%;
    height: 200px; /* Fixed height for consistent cards */
    overflow: hidden;
}

.page-game-bai__game-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-game-bai__game-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    padding: 20px 20px 10px;
    color: #FFD86A; /* Gold-like color for title */
}

.page-game-bai__game-card-link {
    color: #FFD86A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-bai__game-card-link:hover {
    color: #F4D34D;
    text-decoration: underline;
}

.page-game-bai__game-card-text {
    font-size: 0.95rem;
    padding: 0 20px 20px;
    flex-grow: 1;
    color: #FFF5E1; /* Text Main */
}

.page-game-bai__btn-play {
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button color */
    color: #7A0E0E; /* Deep Red text for contrast */
    border: none;
    margin: 0 20px 20px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
}

.page-game-bai__btn-play:hover {
    opacity: 0.9;
}

/* Guide Section */
.page-game-bai__guide-section {
    padding: 80px 0;
    background-color: #f8f8f8;
    color: #333333;
}

.page-game-bai__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-game-bai__guide-content {
    flex: 1 1 55%;
    min-width: 300px;
}

.page-game-bai__guide-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #C91F17; /* Main brand color */
}

.page-game-bai__guide-intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555555;
}

.page-game-bai__guide-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-game-bai__guide-step-item {
    margin-bottom: 25px;
}

.page-game-bai__guide-step-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #E53935; /* Auxiliary color */
    margin-bottom: 10px;
}

.page-game-bai__guide-step-text {
    font-size: 1rem;
    color: #666666;
}

.page-game-bai__guide-step-text a {
    color: #C91F17;
    text-decoration: underline;
}

.page-game-bai__guide-step-text a:hover {
    color: #E53935;
}

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

.page-game-bai__guide-main-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* CTA Section */
.page-game-bai__cta-section {
    padding: 80px 0;
    background-color: #7A0E0E; /* Deep Red for dark section */
    color: #FFF5E1; /* Text Main for dark background */
    text-align: center;
}

.page-game-bai__cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFD86A; /* Gold-like color */
}

.page-game-bai__cta-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF5E1; /* Text Main */
}

.page-game-bai__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* FAQ Section */
.page-game-bai__faq-section {
    padding: 80px 0;
    background-color: #f0f0f0;
    color: #333333;
}

.page-game-bai__faq-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #C91F17; /* Main brand color */
}

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

.page-game-bai__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-game-bai__faq-item[open] {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-game-bai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease;
}

.page-game-bai__faq-question:hover {
    background-color: #f5f5f5;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-question {
    background-color: #f0f0f0;
    color: #C91F17;
}

.page-game-bai__faq-qtext {
    flex-grow: 1;
}