.page-game-bai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #ffffff;
}

.page-game-bai__top-section {
  padding-top: 10px; /* Rely on body for header offset, use small top padding here */
  padding-bottom: 40px;
  background: linear-gradient(135deg, #26A9E0, #1a8cc7); /* Brand primary color gradient */
  color: #ffffff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

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

.page-game-bai__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: -0.02em;
}

.page-game-bai__intro-text {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.page-game-bai__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-bai__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-game-bai__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.page-game-bai__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0; /* Brand primary color */
  border: 2px solid #26A9E0;
}

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

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

.page-game-bai__content-area {
  background-color: #ffffff;
  color: #333333;
}

.page-game-bai__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0; /* Brand primary color */
  text-align: center;
  margin-bottom: 30px;
  margin-top: 20px;
}

.page-game-bai__text-block {
  font-size: 1.05em;
  margin-bottom: 20px;
  line-height: 1.7;
  text-align: justify;
}

.page-game-bai__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-game-bai__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-game-bai__figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
  font-style: italic;
}

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

.page-game-bai__game-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-game-bai__game-card:hover {
  transform: translateY(-5px);
}

.page-game-bai__game-title {
  font-size: 1.6em;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-game-bai__game-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.page-game-bai__card-image {
  border-radius: 6px;
  margin-top: 15px;
  max-width: 100%;
  height: auto;
}

.page-game-bai__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-bai__step-item {
  background-color: #f9f9f9;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin-bottom: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-game-bai__step-title {
  font-size: 1.5em;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-game-bai__step-item p {
  font-size: 1em;
  color: #444444;
  line-height: 1.6;
}

.page-game-bai__center-cta {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
}

.page-game-bai__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-game-bai__tip-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.page-game-bai__tip-title {
  font-size: 1.3em;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 10px;
  font-weight: 600;
}

.page-game-bai__tip-item p {
  font-size: 0.95em;
  color: #555555;
  line-height: 1.6;
}

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

.page-game-bai__promo-item {
  background-color: #f0f8ff; /* Light blue background */
  border: 1px solid #d0e0ff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.page-game-bai__promo-title {
  font-size: 1.4em;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 12px;
  font-weight: 600;
}

.page-game-bai__promo-item p {
  font-size: 0.98em;
  color: #444444;
  line-height: 1.6;
}

.page-game-bai__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-game-bai__advantage-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-game-bai__advantage-title {
  font-size: 1.4em;
  color: #26A9E0; /* Brand primary color */
  margin-bottom: 12px;
  font-weight: 600;
}

.page-game-bai__advantage-item p {
  font-size: 0.98em;
  color: #444444;
  line-height: 1.6;
}

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

.page-game-bai__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15em;
  font-weight: 600;
  color: #333333;
  cursor: pointer;
  background-color: #f0f8ff;
  border-bottom: 1px solid #e0e0e0;
  list-style: none;
  user-select: none;
}

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

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

.page-game-bai__faq-qtext {
  flex-grow: 1;
  color: #26A9E0; /* Brand primary color */
}

.page-game-bai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
  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 25px;
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  border-top: 1px solid #f0f0f0;
}

.page-game-bai__cta-buttons--bottom {
  margin-top: 50px;
  margin-bottom: 0;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-game-bai__top-section {
    padding-top: 10px !important; /* Fixed header offset handled by body */
    padding-bottom: 30px;
  }

  .page-game-bai__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 10px;
  }

  .page-game-bai__intro-text {
    font-size: 1em;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-game-bai__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-game-bai__btn {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-game-bai__container {
    padding: 0 15px;
  }

  .page-game-bai__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-game-bai__text-block {
    font-size: 0.95em;
    line-height: 1.6;
    text-align: left;
  }

  .page-game-bai__figure,
  .page-game-bai__game-card,
  .page-game-bai__step-item,
  .page-game-bai__tip-item,
  .page-game-bai__promo-item,
  .page-game-bai__advantage-item,
  .page-game-bai__faq-item,
  .page-game-bai__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-game-bai__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-bai__game-list,
  .page-game-bai__promo-list,
  .page-game-bai__advantages-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-bai__game-title,
  .page-game-bai__step-title,
  .page-game-bai__tip-title,
  .page-game-bai__promo-title,
  .page-game-bai__advantage-title {
    font-size: 1.3em;
  }

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

  .page-game-bai__faq-qtext {
    font-size: 1em;
  }

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

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

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