/* Base styles for the Game Bài page */
.page-game-bai {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    background: #140C0C; /* Background color */
}

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

/* Hero Section */
.page-game-bai__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, relying on body padding for header offset */
    background: #140C0C; /* Background color */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    padding-bottom: 40px;
}

.page-game-bai__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-game-bai__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Default cover for desktop */
}

.page-game-bai__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-game-bai__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: #F3C54D; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-game-bai__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

/* General Buttons */
.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-link {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
    color: #FFF1E8; /* Text Main */
    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);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-bai__btn-secondary {
    background: transparent;
    color: #F3C54D; /* Gold */
    border: 2px solid #F3C54D; /* Gold */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-bai__btn-secondary:hover {
    background: rgba(243, 197, 77, 0.1); /* Gold with slight transparency */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-bai__btn-link {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #FFF1E8;
    border: none;
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 5px;
}

.page-game-bai__btn-link--light {
    background: #F3C54D; /* Gold */
    color: #140C0C; /* Background color for contrast */
}

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

/* Section Titles */
.page-game-bai__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #F3C54D; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-game-bai__section-title--light {
    color: #F3C54D; /* Gold */
}

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

.page-game-bai__section-description--light {
    color: #FFF1E8; /* Text Main */
}

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

.page-game-bai__text-block--light {
    color: #FFF1E8; /* Text Main */
}

.page-game-bai__light-bg {
    background: #2A1212; /* Card BG */
    padding: 60px 0;
}

.page-game-bai__dark-bg {
    background: #140C0C; /* Background color */
    padding: 60px 0;
}

/* Intro Section */
.page-game-bai__intro-section .page-game-bai__text-block strong {
    color: #F3C54D; /* Gold for emphasis */
}

/* Games Section */
.page-game-bai__games-section {
    overflow-x: hidden; /* Ensure no horizontal scroll on mobile for this section */
}
.page-game-bai__games-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* Desktop 6 columns */
    gap: 30px;
    margin-top: 40px;
}

.page-game-bai__game-card {
    background: #2A1212; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-game-bai__game-card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.page-game-bai__game-card-title {
    font-size: 1.5rem;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
    padding: 0 15px;
}

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

/* Benefits Section */
.page-game-bai__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-game-bai__benefit-card {
    background: #140C0C; /* Background color for contrast */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    border: 1px solid #6A1E1E; /* Border color */
}

.page-game-bai__benefit-title {
    font-size: 1.4rem;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
}

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

/* Guide Section */
.page-game-bai__guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}