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

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

.page-game-bai__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08162B; /* Deep Navy */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-game-bai__hero-section .page-game-bai__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.page-game-bai__hero-content {
  flex: 1;
  text-align: left;
}

.page-game-bai__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-game-bai__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
  line-height: 1.2;
}

.page-game-bai__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #AFC4E8; /* Text Secondary */
}

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

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

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #F3F8FF; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-game-bai__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-game-bai__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: rgba(79, 168, 255, 0.1);
}

.page-game-bai__intro-section,
.page-game-bai__game-types-section,
.page-game-bai__why-choose-us-section,
.page-game-bai__how-to-play-section,
.page-game-bai__promo-section,
.page-game-bai__faq-section,
.page-game-bai__cta-final-section {
  padding: 80px 0;
  background-color: #08162B; /* Deep Navy */
}

.page-game-bai__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-game-bai__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #1D5FD1; /* Auxiliary */
  border-radius: 2px;
}

.page-game-bai__text-block {
  font-size: 1.1rem;
  color: #AFC4E8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 20px auto;
}

.page-game-bai__text-block strong {
  color: #F3F8FF; /* Text Main */
}

.page-game-bai__text-link {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-game-bai__text-link:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

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

.page-game-bai__game-card,
.page-game-bai__feature-card,
.page-game-bai__step-card,
.page-game-bai__promo-card {
  background-color: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-game-bai__game-card:hover,
.page-game-bai__feature-card:hover,
.page-game-bai__step-card:hover,
.page-game-bai__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-game-bai__game-card-image,
.page-game-bai__feature-card-icon,
.page-game-bai__promo-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-game-bai__game-card-image {
  height: 200px; /* Consistent height for game images */
}

.page-game-bai__feature-card-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #1D5FD1;
}

.page-game-bai__game-card-title,
.page-game-bai__feature-card-title,
.page-game-bai__step-title,
.page-game-bai__promo-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-game-bai__game-card-description,
.page-game-bai__feature-card-description,
.page-game-bai__step-description,
.page-game-bai__promo-card-description {
  font-size: 1rem;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-bai__game-card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button */
  color: #F3F8FF; /* Text Main */
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-game-bai__game-card-button:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.page-game-bai__step-card {
  position: relative;
  padding-top: 50px;
}

.page-game-bai__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  background-color: #1D5FD1; /* Auxiliary */
  color: #F3F8FF;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  border: 3px solid #244D84;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-game-bai__step-link {
  color: #4FA8FF; /* Glow */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.page-game-bai__step-link:hover {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

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

/* FAQ Styles */
details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

details.page-game-bai__faq-item summary.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background-color: #10233F; /* Card BG */
}

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: #1B3357; /* Divider - slightly lighter */
}

.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-game-bai__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-game-bai__faq-item .page-game-bai__faq-answer {
  padding: 0 25px 25px;
  background: #08162B; /* Deep Navy */
  border-top: 1px solid #1B3357; /* Divider */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 1rem;
}

.page-game-bai__faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
  color: #AFC4E8; /* Text Secondary */
}

.page-game-bai__cta-final-section .page-game-bai__section-title,
.page-game-bai__cta-final-section .page-game-bai__text-block {
  text-align: center;
}

.page-game-bai__cta-final-section .page-game-bai__cta-buttons {
  justify-content: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-bai__hero-section .page-game-bai__container {
    flex-direction: column;
    text-align: center;
  }

  .page-game-bai__hero-content {
    text-align: center;
    margin-bottom: 40px;
  }

  .page-game-bai__cta-buttons {
    justify-content: center;
  }

  .page-game-bai__main-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .page-game-bai__section-title {
    font-size: 2rem;
  }

  .page-game-bai__text-block {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .page-game-bai__hero-section {
    padding-bottom: 40px;
    padding-top: 10px; /* Consistent small top padding */
  }

  .page-game-bai__intro-section,
  .page-game-bai__game-types-section,
  .page-game-bai__why-choose-us-section,
  .page-game-bai__how-to-play-section,
  .page-game-bai__promo-section,
  .page-game-bai__faq-section,
  .page-game-bai__cta-final-section {
    padding: 50px 0;
  }

  .page-game-bai__main-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__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 1rem;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-game-bai__text-block {
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .page-game-bai__game-grid,
  .page-game-bai__features-grid,
  .page-game-bai__steps-grid,
  .page-game-bai__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }

  .page-game-bai__game-card,
  .page-game-bai__feature-card,
  .page-game-bai__step-card,
  .page-game-bai__promo-card {
    padding: 20px;
  }

  .page-game-bai__game-card-image,
  .page-game-bai__feature-card-icon,
  .page-game-bai__promo-card-image {
    margin-bottom: 15px;
  }

  .page-game-bai__game-card-title,
  .page-game-bai__feature-card-title,
  .page-game-bai__step-title,
  .page-game-bai__promo-card-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }

  .page-game-bai__game-card-description,
  .page-game-bai__feature-card-description,
  .page-game-bai__step-description,
  .page-game-bai__promo-card-description {
    font-size: 0.9rem;
    margin-bottom: 15px;
  }

  .page-game-bai__game-card-button {
    padding: 8px 15px;
    font-size: 0.95rem;
  }

  .page-game-bai__step-card {
    padding-top: 40px;
  }

  .page-game-bai__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  details.page-game-bai__faq-item summary.page-game-bai__faq-question {
    padding: 15px 20px;
  }

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

  .page-game-bai__faq-toggle {
    font-size: 20px;
    width: 24px;
  }

  details.page-game-bai__faq-item .page-game-bai__faq-answer {
    padding: 0 20px 20px;
  }

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

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