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

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

.page-game-bai__section-padding {
    padding: 60px 0;
}

.page-game-bai__dark-section {
    background-color: #0A0A0A; /* Background */
    color: #FFF6D6; /* Text Main */
}

.page-game-bai__light-bg {
    background-color: #111111; /* Card BG */
    color: #FFF6D6; /* Text Main */
}

.page-game-bai__section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #F2C14E; /* Primary color for titles */
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.4); /* Glow */
}

.page-game-bai__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px auto;
    color: #FFF6D6;
}

.page-game-bai__highlight {
    color: #FFD36B; /* Secondary color for highlights */
    font-weight: 700;
}

/* Buttons */
.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__game-btn,
.page-game-bai__promo-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    border: 2px solid transparent;
    box-sizing: border-box;
}

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

.page-game-bai__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-game-bai__btn-secondary {
    background: #111111; /* Card BG */
    color: #FFD36B; /* Secondary color */
    border-color: #FFD36B; /* Secondary color for border */
    margin-left: 20px;
}

.page-game-bai__btn-secondary:hover {
    background: #FFD36B; /* Secondary color */
    color: #111111;
    transform: translateY(-3px);
}

/* Hero Section */
.page-game-bai__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

.page-game-bai__hero-content {
    position: relative;
    text-align: center;
    padding: 60px 20px;
    z-index: 2;
}

.page-game-bai__main-title {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    color: #F2C14E; /* Primary color */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-game-bai__subtitle {
    font-size: 20px;
    color: #FFF6D6;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.5;
}

.page-game-bai__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Introduction Section */
.page-game-bai__introduction-section .page-game-bai__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-game-bai__introduction-section .page-game-bai__text-block {
    flex: 1;
    font-size: 17px;
}

.page-game-bai__introduction-section .page-game-bai__image-block {
    flex: 1;
    min-width: 400px;
}

.page-game-bai__introduction-section .page-game-bai__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Popular Games Section */
.page-game-bai__games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.page-game-bai__game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(242, 193, 78, 0.3);
}

.page-game-bai__game-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 20px;
}

.page-game-bai__game-title {
    font-size: 22px;
    font-weight: 700;
    color: #F2C14E; /* Primary color */
    margin-bottom: 10px;
    padding: 0 15px;
}

.page-game-bai__game-description {
    font-size: 15px;
    color: #FFF6D6;
    padding: 0 15px;
    margin-bottom: 20px;
}

.page-game-bai__game-btn {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.3);
}

.page-game-bai__game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.5);
}

/* Why Choose Section */
.page-game-bai__features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-game-bai__feature-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-bai__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 211, 107, 0.3);
}

.page-game-bai__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-game-bai__feature-title {
    font-size: 20px;
    font-weight: 700;
    color: #F2C14E; /* Primary color */
    margin-bottom: 10px;
}

.page-game-bai__feature-description {
    font-size: 15px;
    color: #FFF6D6;
}

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

/* How to Play Section */
.page-game-bai__steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

.page-game-bai__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.4);
}

.page-game-bai__step-title {
    font-size: 20px;
    font-weight: 700;
    color: #F2C14E; /* Primary color */
    margin-bottom: 10px;
}

.page-game-bai__step-description {
    font-size: 15px;
    color: #FFF6D6;
}

/* Promotions Section */
.page-game-bai__promo-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-game-bai__promo-card {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-game-bai__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 211, 107, 0.3);
}

.page-game-bai__promo-title {
    font-size: 22px;
    font-weight: 700;
    color: #FFD36B; /* Secondary color */
    margin-bottom: 15px;
}

.page-game-bai__promo-description {
    font-size: 16px;
    color: #FFF6D6;
    margin-bottom: 25px;
}

.page-game-bai__promo-btn {
    background: #FFD36B; /* Secondary color */
    color: #111111;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
}

.page-game-bai__promo-btn:hover {
    background: #F2C14E; /* Primary color */
}

/* FAQ Section */
details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #3A2A12; /* Border */
  overflow: hidden;
  background: #111111; /* Card BG */
}
details.page-game-bai__faq-item summary.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2C14E;
}
details.page-game-bai__faq-item summary.page-game-bai__faq-question::-webkit-details-marker {
  display: none;
}
details.page-game-bai__faq-item summary.page-game-bai__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}
.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
details.page-game-bai__faq-item summary.page-game-bai__faq-question:hover .page-game-bai__faq-qtext {
    color: #FFD36B;
}
.page-game-bai__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Primary color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-game-bai__faq-item .page-game-bai__faq-answer {
  padding: 0 20px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 0 0 5px 5px;
  color: #FFF6D6;
}

/* Final CTA Section */
.page-game-bai__final-cta-section {
    text-align: center;
}

.page-game-bai__final-cta-section .page-game-bai__section-title {
    margin-bottom: 20px;
}

.page-game-bai__final-cta-section .page-game-bai__section-description {
    margin-bottom: 40px;
    font-size: 18px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-game-bai__hero-content {
        padding: 40px 20px;
    }
    .page-game-bai__main-title {
        font-size: clamp(30px, 4.5vw, 50px);
    }
    .page-game-bai__subtitle {
        font-size: 18px;
    }
    .page-game-bai__section-title {
        font-size: 30px;
    }
    .page-game-bai__games-grid,
    .page-game-bai__features-grid,
    .page-game-bai__steps-grid,
    .page-game-bai__promo-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-game-bai__introduction-section .page-game-bai__content-wrapper {
        flex-direction: column;
    }
    .page-game-bai__introduction-section .page-game-bai__image-block {
        min-width: unset;
        margin-top: 30px;
    }
    .page-game-bai__btn-primary,
    .page-game-bai__btn-secondary {
        padding: 10px 25px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    /* General Container/Section Padding */
    .page-game-bai__section-padding {
        padding: 40px 0;
    }
    .page-game-bai__container,
    .page-game-bai__section,
    .page-game-bai__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* HERO Main Image Area */
    .page-game-bai__hero-section {
        padding-top: 10px; /* Small top padding */
    }
    .page-game-bai__hero-image-wrapper img {
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
    .page-game-bai__main-title {
        font-size: clamp(28px, 8vw, 40px); /* Adjust clamp for smaller screens */
        margin-bottom: 15px;
    }
    .page-game-bai__subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-game-bai__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-game-bai__btn-primary,
    .page-game-bai__btn-secondary {
        margin-left: 0;
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Introduction Section */
    .page-game-bai__introduction-section .page-game-bai__content-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .page-game-bai__introduction-section .page-game-bai__image-block {
        margin-top: 20px;
    }

    /* Product Display Area (Games Grid) */
    .page-game-bai__games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-game-bai__popular-games-section {
        overflow-x: hidden;
    }
    .page-game-bai__game-image {
        height: 180px;
    }
    .page-game-bai__game-title {
        font-size: 20px;
    }

    /* Decorative Main Title + Long SEO text area */
    .page-game-bai__section-title,
    .page-game-bai__section-description {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 10px; /* Ensure text doesn't touch edges */
    }
    .page-game-bai__section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }
    .page-game-bai__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* General Images and Containers */
    .page-game-bai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Why Choose Section */
    .page-game-bai__features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-game-bai__feature-icon {
        width: 60px;
        height: 60px;
    }
    .page-game-bai__feature-title {
        font-size: 18px;
    }

    /* How to Play Section */
    .page-game-bai__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Promotions Section */
    .page-game-bai__promo-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-game-bai__promo-title {
        font-size: 20px;
    }

    /* FAQ Section */
    details.page-game-bai__faq-item summary.page-game-bai__faq-question { padding: 15px; }
    .page-game-bai__faq-qtext { font-size: 15px; }
    details.page-game-bai__faq-item .page-game-bai__faq-answer { padding: 0 15px 15px; }
}