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

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

.page-game-bai__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #017439; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
}

.page-game-bai__main-title {
    font-weight: 700;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-game-bai__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    text-align: justify;
}

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

.page-game-bai__btn-primary {
    background-color: #C30808; /* Custom color for register/login */
    color: #FFFF00; /* Custom font color for register/login */
    border: 2px solid #C30808;
}

.page-game-bai__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-game-bai__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Primary brand color */
    border: 2px solid #017439;
}

.page-game-bai__btn-secondary:hover {
    background-color: #e0e0e0;
    color: #017439;
}

.page-game-bai__btn-link {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
    padding: 8px 15px;
    font-size: 0.95em;
}

.page-game-bai__btn-link:hover {
    background-color: #017439;
    color: #FFFFFF;
}

.page-game-bai__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
    background-color: #017439; /* Dark background for hero */
    color: #FFFFFF;
    text-align: center;
}

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

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

.page-game-bai__hero-content {
    padding: 40px 15px 60px;
    max-width: 900px;
    margin: 0 auto;
}

.page-game-bai__hero-content .page-game-bai__main-title {
    color: #FFFFFF;
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive H1 font size */
}

.page-game-bai__hero-content .page-game-bai__description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto 0;
}