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

.page-game-bai__hero-section {
  padding-top: 10px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.page-game-bai__hero-image {
  width: 100%;
  max-width: 1200px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-game-bai__hero-content {
  padding: 0 20px;
}

.page-game-bai__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #FFD86A; /* Gold-like for emphasis */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-game-bai__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary,
.page-game-bai__btn-play {
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom color */
  color: #7A0E0E; /* Deep Red for contrast on gold */
  border: none;
}

.page-game-bai__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-game-bai__btn-secondary:hover {
  background-color: rgba(255, 216, 106, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-bai__intro-section,
.page-game-bai__popular-games-section,
.page-game-bai__guide-section,
.page-game-bai__promo-section,
.page-game-bai__faq-section,
.page-game-bai__final-cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-game-bai__intro-title,
.page-game-bai__popular-games-title,
.page-game-bai__guide-title,
.page-game-bai__promo-title,
.page-game-bai__faq-main-title,
.page-game-bai__final-cta-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFD86A; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-game-bai__intro-description,
.page-game-bai__popular-games-description,
.page-game-bai__promo-description,
.page-game-bai__final-cta-description {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF5E1; /* Text Main */
}

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

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

.page-game-bai__feature-item:hover {
  transform: translateY(-5px);
}

.page-game-bai__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #FFD86A; /* Gold */
  box-shadow: 0 0 15px rgba(255, 204, 102, 0.7); /* Glow */
}

.page-game-bai__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-game-bai__feature-title {
  font-size: 1.6rem;
  color: #FFD86A; /* Gold */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-bai__feature-text {
  font-size: 1rem;
  color: #FFF5E1; /* Text Main */
}

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

.page-game-bai__game-card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  border: 1px solid #F2B544; /* Border */
}

.page-game-bai__game-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-game-bai__game-card-title {
  font-size: 1.5rem;
  color: #FFD86A; /* Gold */
  padding: 15px 20px 10px;
  font-weight: 600;
}

.page-game-bai__game-card-text {
  font-size: 0.95rem;
  color: #FFF5E1; /* Text Main */
  padding: 0 20px 15px;
  flex-grow: 1;
}

.page-game-bai__btn-play {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button custom color */
  color: #7A0E0E; /* Deep Red */
  border: none;
  margin: 0 20px 20px;
  width: calc(100% - 40px);
}

.page-game-bai__btn-play:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-game-bai__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: left;
}

.page-game-bai__guide-item {
  background-color: #D32F2F; /* Card BG */
  border-radius: 15px;
  padding-bottom: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid #F2B544; /* Border */
  overflow: hidden;
}

.page-game-bai__guide-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-game-bai__guide-step-title {
  font-size: 1.6rem;
  color: #FFD86A; /* Gold */
  padding: 0 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-game-bai__guide-step-text {
  font-size: 1rem;
  color: #FFF5E1; /* Text Main */
  padding: 0 20px;
}

.page-game-bai__promo-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  text-align: left;
  background-color: #7A0E0E; /* Deep Red */
  border-radius: 15px;
  padding: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid #F4D34D; /* Gold */
}

.page-game-bai__promo-content {
  flex: 1;
  min-width: 300px;
}

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

.page-game-bai__promo-banner-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-game-bai__promo-title {
  color: #FFD86A; /* Gold */
  margin-bottom: 20px;
  text-align: left;
}

.page-game-bai__promo-description {
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  text-align: left;
}

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

.page-game-bai__faq-item {
  background-color: #D32F2F; /* Card BG */
  border: 1px solid #F2B544; /* Border */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px 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.15rem;
  font-weight: 600;
  color: #FFD86A; /* Gold */
  cursor: pointer;
  background-color: #C91F17; /* Main Color */
  border-bottom: 1px solid rgba(255, 216, 106, 0.3);
  list-style: none;
}

.page-game-bai__faq-question::-webkit-details-marker {
  display: none;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-question {
  border-bottom: 1px solid #F2B544; /* Border */
}

.page-game-bai__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-toggle {
  transform: rotate(45deg);
}

.page-game-bai__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1rem;
  color: #FFF5E1; /* Text Main */
  background-color: #D32F2F; /* Card BG */
}

.page-game-bai__final-cta-section .page-game-bai__btn-primary {
  margin-top: 20px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-game-bai__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-bai__hero-content {
    padding: 0 15px;
  }
  .page-game-bai__intro-section,
  .page-game-bai__popular-games-section,
  .page-game-bai__guide-section,
  .page-game-bai__promo-section,
  .page-game-bai__faq-section,
  .page-game-bai__final-cta-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-game-bai__icon-box-media {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .page-game-bai {
    font-size: 16px;
    line-height: 1.6;
  }

  /* HERO Section */
  .page-game-bai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    flex-direction: column;
    gap: 20px;
  }
  .page-game-bai__hero-image {
    border-radius: 10px;
  }
  .page-game-bai__hero-main-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-game-bai__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-game-bai__hero-description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-game-bai__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    font-size: 1rem;
    padding: 12px 20px;
  }

  /* Intro Section */
  .page-game-bai__intro-section {
    padding: 40px 15px;
  }
  .page-game-bai__intro-title,
  .page-game-bai__popular-games-title,
  .page-game-bai__guide-title,
  .page-game-bai__promo-title,
  .page-game-bai__faq-main-title,
  .page-game-bai__final-cta-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 15px;
  }
  .page-game-bai__intro-description,
  .page-game-bai__popular-games-description,
  .page-game-bai__promo-description,
  .page-game-bai__final-cta-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }
  .page-game-bai__intro-features {
    grid-template-columns: 1fr;
  }
  .page-game-bai__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }
  .page-game-bai__feature-title {
    font-size: 1.4rem;
  }

  /* Popular Games Section */
  .page-game-bai__popular-games-section {
    padding: 40px 15px;
  }
  .page-game-bai__game-cards-grid {
    grid-template-columns: 1fr;
  }
  .page-game-bai__game-card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 180px !important;
  }
  .page-game-bai__game-card-title {
    font-size: 1.3rem;
  }
  .page-game-bai__btn-play {
    font-size: 1rem;
    padding: 12px 20px;
  }

  /* Guide Section */
  .page-game-bai__guide-section {
    padding: 40px 15px;
  }
  .page-game-bai__guide-steps {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-game-bai__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: 200px !important;
  }
  .page-game-bai__guide-step-title {
    font-size: 1.4rem;
  }

  /* Promo Section */
  .page-game-bai__promo-section {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
    border-radius: 10px;
  }
  .page-game-bai__promo-title,
  .page-game-bai__promo-description {
    text-align: center;
  }
  .page-game-bai__promo-banner-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }
  .page-game-bai__promo-content .page-game-bai__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* FAQ Section */
  .page-game-bai__faq-section {
    padding: 40px 15px;
  }
  .page-game-bai__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-game-bai__faq-answer {
    font-size: 0.95rem;
    padding: 10px 20px 15px;
  }

  /* Final CTA Section */
  .page-game-bai__final-cta-section {
    padding: 40px 15px;
  }
  .page-game-bai__final-cta-section .page-game-bai__btn-primary {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* General Image & Container rules */
  .page-game-bai img:not(.page-game-bai__icon-box-media img) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-bai__section,
  .page-game-bai__card,
  .page-game-bai__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button & Button Container rules */
  .page-game-bai__cta-button,
  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai a[class*="button"],
  .page-game-bai a[class*="btn"] {
    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__cta-buttons,
  .page-game-bai__button-group,
  .page-game-bai__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column !important; /* Ensure vertical stacking for multiple buttons */
  }
}