.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: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
}

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

.page-game-bai__card {
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-game-bai__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Main Color */
}

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

/* Hero Section */
.page-game-bai__hero-section {
  padding-top: 10px; /* Rely on body padding for header offset */
  padding-bottom: 60px;
  background-color: #0A0A0A;
}

.page-game-bai__hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1170px;
  margin: 0 auto;
  padding: 40px 16px;
}

.page-game-bai__hero-content {
  flex: 1 1 500px;
  max-width: 600px;
  text-align: left;
  color: #FFF6D6;
}

.page-game-bai__main-title {
  font-size: clamp(2.5em, 5vw, 3.2em);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD36B; /* Glow */
  line-height: 1.2;
}

.page-game-bai__hero-description {
  font-size: 1.15em;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  text-align: center;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Color */
  color: #111111;
  border: none;
}

.page-game-bai__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

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

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

.page-game-bai__hero-image {
  flex: 1 1 500px;
  text-align: center;
}

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

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

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

.page-game-bai__feature-item {
  text-align: center;
  padding: 30px;
}

.page-game-bai__icon-box-media {
  width: 280px;
  height: 280px;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #F2C14E;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

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

.page-game-bai__feature-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #F2C14E;
}

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

/* Game Types Section */
.page-game-bai__game-types-section {
  padding: 60px 0;
}

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

.page-game-bai__game-card {
  overflow: hidden;
  text-align: center;
  padding: 0;
}

.page-game-bai__game-card-image {
  width: 100%;\  height: 200px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #3A2A12;
}

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

.page-game-bai__game-card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
}

.page-game-bai__game-card-title a {
  color: #FFD36B;
  text-decoration: none;
}

.page-game-bai__game-card-title a:hover {
  text-decoration: underline;
}

.page-game-bai__game-card-text {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-game-bai__small-btn {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 25px;
}

/* Guide Section */
.page-game-bai__guide-section {
  padding: 60px 0;
}

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

.page-game-bai__guide-step {
  text-align: center;
  padding: 20px;
  border: 1px dashed #3A2A12;
  border-radius: 8px;
}

.page-game-bai__step-icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  background-color: #111111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #F2C14E;
}

.page-game-bai__step-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.page-game-bai__step-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD36B;
}

.page-game-bai__step-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

/* Promo Section */
.page-game-bai__promo-section {
  padding: 60px 0;
}

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

.page-game-bai__promo-card {
  overflow: hidden;
  text-align: center;
  padding: 0;
}

.page-game-bai__promo-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #3A2A12;
}

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

.page-game-bai__promo-card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E;
}

.page-game-bai__promo-card-text {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

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

.page-game-bai__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
}

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #111111; /* Card BG */
  color: #FFD36B;
  font-weight: bold;
  font-size: 1.1em;
  border-bottom: 1px solid #3A2A12;
  list-style: none;
}

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

.page-game-bai__faq-question:hover {
  background-color: rgba(242, 193, 78, 0.1);
}

.page-game-bai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #F2C14E;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-toggle {
  content: '−';
}

.page-game-bai__faq-answer {
  padding: 15px 20px;
  background-color: rgba(17, 17, 17, 0.8); /* Slightly lighter than card BG */
  color: #FFF6D6;
  font-size: 0.95em;
  border-top: 1px solid rgba(58, 42, 18, 0.5);
}

/* General Image & Container Responsive Styles */
.page-game-bai img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-game-bai__cta-buttons,
.page-game-bai__button-group,
.page-game-bai__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

  /* HERO Section */
  .page-game-bai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

  .page-game-bai__hero-container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 15px;
  }

  .page-game-bai__hero-content {
    text-align: center;
    max-width: 100%;
  }

  .page-game-bai__main-title {
    font-size: clamp(2em, 8vw, 2.5em);
  }

  .page-game-bai__hero-description {
    font-size: 1em;
  }

  .page-game-bai__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 0;
    padding-right: 0;
  }

  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary {
    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;
  }

  /* Intro Section - Module 1 */
  .page-game-bai__intro-section {
    padding: 40px 0;
  }

  .page-game-bai__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-bai__icon-box-media {
    width: 200px !important;
    height: 200px !important;
    border-width: 2px;
    box-shadow: 0 0 10px rgba(242, 193, 78, 0.4);
  }

  .page-game-bai__feature-title {
    font-size: 1.5em;
  }

  /* Game Types Section */
  .page-game-bai__game-types-section {
    padding: 40px 0;
  }

  .page-game-bai__game-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-bai__game-card-image {
    height: 180px;
  }

  .page-game-bai__game-card-title {
    font-size: 1.4em;
  }

  /* Guide Section */
  .page-game-bai__guide-section {
    padding: 40px 0;
  }

  .page-game-bai__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-bai__step-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .page-game-bai__step-icon {
    width: 50px;
    height: 50px;
  }

  .page-game-bai__step-title {
    font-size: 1.3em;
  }

  /* Promo Section */
  .page-game-bai__promo-section {
    padding: 40px 0;
  }

  .page-game-bai__promo-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-bai__promo-card-image {
    height: 180px;
  }

  .page-game-bai__promo-card-title {
    font-size: 1.4em;
  }

  /* FAQ Section */
  .page-game-bai__faq-section {
    padding: 40px 0;
  }

  .page-game-bai__faq-list {
    padding-left: 0;
    padding-right: 0;
  }

  .page-game-bai__faq-question {
    padding: 15px;
    font-size: 1em;
  }

  .page-game-bai__faq-toggle {
    font-size: 1.3em;
  }

  .page-game-bai__faq-answer {
    padding: 10px 15px;
    font-size: 0.9em;
  }

  /* General Image & Container Responsive Overrides */
  .page-game-bai 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;
  }
}