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

.page-game-bai__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

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

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

.page-game-bai__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-game-bai__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    background-color: #17191F; /* Card BG */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: -80px; /* Overlap with image for visual effect */
    position: relative;
    z-index: 1;
    border: 1px solid #A84F0C; /* Border */
}

.page-game-bai__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: #FFB04D; /* Glow */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-game-bai__hero-description {
    font-size: 1.1rem;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 140, 26, 0.4);
}

.page-game-bai__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 140, 26, 0.6);
}

.page-game-bai__btn-secondary {
    background-color: transparent;
    color: #FFA53A; /* Auxiliary color */
    border: 2px solid #FFA53A;
}

.page-game-bai__btn-secondary:hover {
    background-color: #FFA53A;
    color: #17191F; /* Card BG for contrast */
    transform: translateY(-2px);
}

.page-game-bai__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFB04D; /* Glow */
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    line-height: 1.3;
}

.page-game-bai__sub-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFA53A; /* Auxiliary color */
    margin-top: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.page-game-bai__text-block {
    font-size: 1rem;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 20px;
    text-align: justify;
}

.page-game-bai__highlight {
    color: #FFB04D; /* Glow */
    font-weight: 600;
}

.page-game-bai__link {
    color: #FFA53A; /* Auxiliary color */
    text-decoration: none;
}

.page-game-bai__link:hover {
    text-decoration: underline;
    color: #FFB04D; /* Glow */
}

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

.page-game-bai__image-content-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-game-bai__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-game-bai__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-game-bai__list-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 5px;
    padding: 15px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #FFF3E6; /* Text Main */
}

.page-game-bai__list-item strong {
    color: #FFA53A; /* Auxiliary color */
    margin-right: 10px;
}

/* Game Types Section */
.page-game-bai__game-types-section {
    padding: 60px 0;
    background-color: #17191F; /* Card BG */
}

.page-game-bai__game-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-bai__game-card {
    background-color: #0D0E12; /* Background */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%; /* Ensure cards are same height */
}

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

.page-game-bai__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}