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

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

/* Section Titles & Descriptions */
.page-game-bai__section-title {
    font-size: 2.5em;
    color: #000000; /* Custom Color_1776249996415 */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-game-bai__section-description {
    font-size: 1.1em;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Buttons */
.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: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

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

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

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

.page-game-bai__btn-secondary:hover {
    background: #e0e0e0;
    color: #2F6BFF;
    transform: translateY(-2px);
}

.page-game-bai__btn-link {
    background: none;
    color: #2F6BFF; /* Main color */
    border: none;
    padding: 0;
    text-decoration: underline;
}

.page-game-bai__btn-link:hover {
    color: #6FA3FF; /* Accent color */
}

/* Cards */
.page-game-bai__card {
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #D6E2FF; /* Border color */
    color: #1F2D3D; /* Ensure dark text on light background */
}

.page-game-bai__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.page-game-bai__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
    margin-bottom: 40px;
    background-color: #F4F7FB; /* Ensure consistent background */
}

.page-game-bai__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for aesthetic */
    min-width: 200px;
    min-height: 200px;
}

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

.page-game-bai__hero-title {
    font-size: 3.2em;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.page-game-bai__hero-description {
    font-size: 1.3em;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
    line-height: 1.5;
}

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

/* Intro Section */
.page-game-bai__intro-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-game-bai__feature-title {
    font-size: 1.5em;
    color: #2F6BFF; /* Main color */
    margin-bottom: 15px;
}

.page-game-bai__feature-text {
    font-size: 1em;
    color: #1F2D3D;
}

/* Games List Section */
.page-game-bai__games-list-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-game-bai__games-list-section .page-game-bai__section-title,
.page-game-bai__games-list-section .page-game-bai__section-description {
    color: #ffffff;
}

.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 {
    padding: 20px;
}

.page-game-bai__game-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-height: 200px; /* Min size */
    min-width: 200px; /* Min size */
}

.page-game-bai__game-title {
    font-size: 1.4em;
    color: #2F6BFF; /* Main color */
    margin-bottom: 10px;
}

.page-game-bai__game-description {
    font-size: 0.95em;
    color: #1F2D3D;
    margin-bottom: 20px;
}

.page-game-bai__game-btn {
    width: 80%;
    margin: 0 auto;
}

/* Guide Section (Steps) */
.page-game-bai__guide-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-game-bai__step-card {
    padding: 30px;
}

.page-game-bai__step-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #2F6BFF; /* Main color */
    color: #ffffff;
    border-radius: 50%;
    font-size: 2em;
    font-weight: bold;
    margin: 0 auto 20px;
}

.page-game-bai__step-title {
    font-size: 1.4em;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
}

.page-game-bai__step-text {
    font-size: 1em;
    color: #1F2D3D;
    margin-bottom: 20px;
}

/* Strategy Section */
.page-game-bai__strategy-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-game-bai__strategy-item {
    padding: 25px;
}

.page-game-bai__strategy-title {
    font-size: 1.3em;
    color: #2F6BFF; /* Main color */
    margin-bottom: 10px;
}

.page-game-bai__strategy-text {
    font-size: 0.95em;
    color: #1F2D3D;
}

.page-game-bai__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

/* Promotions Section */
.page-game-bai__promotions-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Dark background */
    color: #ffffff; /* Light text */
}

.page-game-bai__promotions-section .page-game-bai__section-title,
.page-game-bai__promotions-section .page-game-bai__section-description {
    color: #ffffff;
}

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

.page-game-bai__promo-card {
    padding: 20px;
}

.page-game-bai__promo-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    min-height: 200px; /* Min size */
    min-width: 200px; /* Min size */
}

.page-game-bai__promo-title {
    font-size: 1.4em;
    color: #2F6BFF; /* Main color */
    margin-bottom: 10px;
}

.page-game-bai__promo-text {
    font-size: 0.95em;
    color: #1F2D3D;
}

/* Why Choose Us Section - Adapted for "five vertical team cards" */
.page-game-bai__why-choose-us-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-game-bai__guide-grid { /* This is the grid for the 5 cards */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-game-bai__guide-card {
    flex: 0 0 calc(20% - 16px); /* 5 cards per row, accounting for gap */
    max-width: calc(20% - 16px);
    padding: 0; /* No padding as text is in image */
    box-shadow: none; /* No shadow, image itself will have style */
    border: none; /* No border */
    background-color: transparent;
    transition: transform 0.3s ease;
}

.page-game-bai__guide-card:hover {
    transform: translateY(-5px);
    box-shadow: none;
}

.page-game-bai__guide-card img {
    aspect-ratio: 250 / 350; /* Fixed aspect ratio for vertical images */
    object-fit: contain; /* Ensure image content is visible */
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Add shadow to image */
    min-width: 250px; /* Enforce minimum size for team images */
    min-height: 350px;
}

/* Specific padding-top for "up two down three" desktop layout */
.page-game-bai__guide-card--pos-1, .page-game-bai__guide-card--pos-5 {
    padding-top: 50px;
}
.page-game-bai__guide-card--pos-2, .page-game-bai__guide-card--pos-4 {
    padding-top: 25px;
}
.page-game-bai__guide-card--pos-3 {
    padding-top: 0;
}

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

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

.page-game-bai__faq-item {
    background-color: #FFFFFF;
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    color: #1F2D3D; /* Ensure dark text on light background */
}

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

.page-game-bai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000; /* Custom Color_1776249996415 */
    cursor: pointer;
    list-style: none; /* For details/summary */
}