/* style/game-bai.css */
.page-game-bai {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding as per requirement */
    background-color: #F4F7FB; /* Match page background */
}

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

.page-game-bai__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-game-bai__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px 40px;
    text-align: center;
}

.page-game-bai__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* H1 clamp font-size */
    font-weight: 700;
    color: #2F6BFF; /* Main color for emphasis */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-game-bai__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #1F2D3D;
}

.page-game-bai__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
}

.page-game-bai__cta-buttons--center {
    justify-content: center;
}

.page-game-bai__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    max-width: 100%; /* Ensure button doesn't exceed container */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
    min-width: 150px; /* Minimum width for buttons */
}

.page-game-bai__btn--primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #FFFFFF;
    border: 2px solid transparent;
}

.page-game-bai__btn--primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-game-bai__btn--secondary {
    background: #FFFFFF; /* Card BG */
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF; /* Main color for border */
}

.page-game-bai__btn--secondary:hover {
    background: #2F6BFF;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.2);
}

.page-game-bai__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    min-width: 100px;
}

.page-game-bai__section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-game-bai__dark-section {
    background-color: #2F6BFF; /* Main color as background */
    color: #FFFFFF;
}

.page-game-bai__text--light {
    color: #FFFFFF;
}

.page-game-bai__text--white {
    color: #FFFFFF;
}

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

.page-game-bai__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 40px;
}

.page-game-bai__dark-section .page-game-bai__section-title {
    color: #FFFFFF;
}

.page-game-bai__about-game-bai p {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-game-bai__about-game-bai p strong {
    color: #2F6BFF;
}

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

.page-game-bai__game-card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
    border: 1px solid #D6E2FF; /* Border */
}

.page-game-bai__game-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-game-bai__game-card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #000000; /* Custom Color_1776249996415 */
    margin: 20px 15px 10px;
}

.page-game-bai__game-card-description {
    font-size: 0.95em;
    color: #1F2D3D;
    padding: 0 15px;
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-game-bai__advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-game-bai__advantage-item {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
    border: 1px solid #D6E2FF; /* Border */
}

.page-game-bai__advantage-item img {
    width: 250px; /* Example size, ensuring > 200px */
    height: 200px; /* Example size, ensuring > 200px */
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    min-width: 200px; /* Enforcing min-size for all images */
    min-height: 200px; /* Enforcing min-size for all images */
}


.page-game-bai__advantage-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
}

.page-game-bai__advantage-item p {
    font-size: 0.95em;
    color: #1F2D3D;
}

.page-game-bai__numbered-list,
.page-game-bai__bullet-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}