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

.page-game-bai__hero-section {
    padding-top: 10px; /* Small top padding, relies on body padding-top from shared */
    padding-bottom: 60px;
    background-color: #0A0A0A; /* Background */
    color: #FFF6D6; /* Text Main */
}

.page-game-bai__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 20px 15px;
}

.page-game-bai__hero-image {
    flex: 1 1 45%;
    min-width: 300px;
    text-align: center;
}

.page-game-bai__hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.page-game-bai__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
    text-align: left;
}

.page-game-bai__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFD36B; /* Glow */
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-game-bai__description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #FFF6D6; /* Text Main */
}

.page-game-bai__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    white-space: normal; /* For mobile responsiveness */
    word-wrap: break-word; /* For mobile responsiveness */
}

.page-game-bai__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for contrast */
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-game-bai__btn-primary:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-game-bai__btn-secondary:hover {
    background: #F2C14E; /* Main color */
    color: #111111; /* Dark text for contrast */
}

.page-game-bai__btn-play {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for contrast */
    box-shadow: 0 2px 10px rgba(242, 193, 78, 0.3);
    padding: 10px 20px;
    font-size: 0.9rem;
}

.page-game-bai__btn-play:hover {
    background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
    box-shadow: 0 4px 12px rgba(242, 193, 78, 0.5);
}

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

.page-game-bai__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD36B; /* Glow */
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.3);
}

.page-game-bai__intro-section,
.page-game-bai__game-types-section,
.page-game-bai__advantages-section,
.page-game-bai__guide-section,
.page-game-bai__faq-section,
.page-game-bai__cta-bottom-section {
    padding: 60px 0;
    background-color: #0A0A0A; /* Background */
    color: #FFF6D6; /* Text Main */
}

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

.page-game-bai__game-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-bai__game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

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

.page-game-bai__card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-game-bai__card-title a {
    color: #FFD36B; /* Glow */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-game-bai__card-title a:hover {
    color: #F2C14E; /* Main color */
}

.page-game-bai__card-description {
    font-size: 0.95rem;
    color: #FFF6D6; /* Text Main */
    margin-bottom: 20px;
    padding: 0 15px;
}

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

.page-game-bai__advantage-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-bai__advantage-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #FFD36B; /* Glow */
    margin-bottom: 15px;
}

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

.page-game-bai__guide-step {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-bai__guide-step img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block; /* Ensure img is block for proper spacing */
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__step-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFD36B; /* Glow */
    margin-bottom: 10px;
}

.page-game-bai__faq-list {
    margin-top: 30px;
}

.page-game-bai__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-game-bai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2C14E; /* Main color */
    cursor: pointer;
    background-color: #1a1a1a;
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-game-bai__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for details/summary */
}

.page-game-bai__faq-question:hover {
    background-color: #222222;
}

.page-game-bai__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #FFD36B; /* Glow */
    margin-left: 15px;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-toggle {
    content: "−"; /* Change content for open state */
}

.page-game-bai__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1rem;
    color: #FFF6D6; /* Text Main */
    line-height: 1.7;
    border-top: 1px solid #3A2A12; /* Border */
}

.page-game-bai__faq-answer p:last-child {
    margin-bottom: 0;
}

.page-game-bai__cta-bottom-section {
    text-align: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.page-game-bai__cta-bottom-content .page-game-bai__section-title {
    margin-bottom: 20px;
}

.page-game-bai__cta-bottom-content .page-game-bai__cta-buttons {
    justify-content: center;
    margin-top: 30px;
}

/* General image responsive styles */
.page-game-bai img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-game-bai__hero-container {
        flex-direction: column-reverse; /* Content above image on smaller screens */
        text-align: center;
    }
    .page-game-bai__hero-content {
        text-align: center;
    }
    .page-game-bai__main-title {
        margin-top: 20px;
    }
    .page-game-bai__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-game-bai__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 40px;
    }
    .page-game-bai__hero-container {
        padding: 15px;
        gap: 30px;
    }
    .page-game-bai__main-title {
        font-size: 2.2rem;
    }
    .page-game-bai__description {
        font-size: 1rem;
    }
    .page-game-bai__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-game-bai__btn-primary,
    .page-game-bai__btn-secondary,
    .page-game-bai__btn-play {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-bai__section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    .page-game-bai__intro-section,
    .page-game-bai__game-types-section,
    .page-game-bai__advantages-section,
    .page-game-bai__guide-section,
    .page-game-bai__faq-section,
    .page-game-bai__cta-bottom-section {
        padding: 40px 0;
    }
    .page-game-bai__content-area {
        padding: 20px 15px;
    }
    .page-game-bai__game-grid {
        grid-template-columns: 1fr;
    }
    .page-game-bai__game-card img {
        height: auto; /* Allow height to adjust */
    }
    .page-game-bai__advantage-list,
    .page-game-bai__guide-steps {
        grid-template-columns: 1fr;
    }
    .page-game-bai__guide-step img {
        max-width: 80%; /* Smaller on mobile */
    }
    .page-game-bai__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-game-bai__faq-answer {
        padding: 10px 20px 15px;
        font-size: 0.95rem;
    }

    /* Universal image responsive styles for content area */
    .page-game-bai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    /* All containing elements for images/buttons need max-width/width/box-sizing */
    .page-game-bai__section,
    .page-game-bai__card,
    .page-game-bai__container,
    .page-game-bai__hero-container,
    .page-game-bai__game-card,
    .page-game-bai__advantage-item,
    .page-game-bai__guide-step,
    .page-game-bai__faq-item,
    .page-game-bai__cta-bottom-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-game-bai__hero-image,
    .page-game-bai__hero-content {
        max-width: 100% !important;
        width: 100% !important;
    }
}