.page-game-bai {
  font-family: Arial, sans-serif;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - Body background */
}

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

.page-game-bai__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #F3F8FF;
  line-height: 1.2;
}

.page-game-bai__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #AFC4E8; /* Text Secondary */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Hero Section */
.page-game-bai__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #08162B;
}

.page-game-bai__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-game-bai__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 40px 15px 0;
  box-sizing: border-box;
}

.page-game-bai__main-title {
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-game-bai__hero-description {
  font-size: 1.15rem;
  color: #AFC4E8;
  margin-bottom: 30px;
  line-height: 1.7;
}

.page-game-bai__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  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: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
}

.page-game-bai__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-game-bai__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-game-bai__btn-secondary {
  background: transparent;
  color: #F2C14E;
  border: 2px solid #F2C14E;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.2);
}

.page-game-bai__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.4);
}

/* Introduction Section */
.page-game-bai__introduction-section {
  padding: 80px 0;
  background-color: #08162B;
  border-bottom: 1px solid #1B3357; /* Divider */
}

.page-game-bai__intro-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Game Types Section */
.page-game-bai__game-types-section {
  padding: 80px 0;
  background-color: #08162B;
}

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

.page-game-bai__game-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F3F8FF;
}

.page-game-bai__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-game-bai__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-game-bai__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-game-bai__card-text {
  font-size: 16px;
  color: #AFC4E8;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-bai__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-game-bai__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(43, 115, 246, 0.4);
}

/* Benefits Section */
.page-game-bai__benefits-section {
  padding: 80px 0;
  background-color: #08162B;
  border-top: 1px solid #1B3357; /* Divider */
}

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

.page-game-bai__benefit-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #F3F8FF;
}

.page-game-bai__benefit-title {
  font-size: 22px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  margin-bottom: 15px;
}

.page-game-bai__benefit-text {
  font-size: 16px;
  color: #AFC4E8;
  line-height: 1.6;
}

/* How-To-Play Section */
.page-game-bai__how-to-play-section {
  padding: 80px 0;
  background-color: #08162B;
}

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

.page-game-bai__step-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F3F8FF;
}

.page-game-bai__step-number {
  font-size: 48px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  background: rgba(242, 193, 78, 0.1);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #F2C14E;
}

.page-game-bai__step-title {
  font-size: 24px;
  font-weight: bold;
  color: #F3F8FF;
  margin-bottom: 15px;
}

.page-game-bai__step-text {
  font-size: 16px;
  color: #AFC4E8;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* Strategy Section */
.page-game-bai__strategy-section {
  padding: 80px 0;
  background-color: #08162B;
  border-top: 1px solid #1B3357; /* Divider */
}

.page-game-bai__strategy-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-game-bai__strategy-text {
  flex: 1;
  color: #F3F8FF;
}

.page-game-bai__strategy-subtitle {
  font-size: 22px;
  font-weight: bold;
  color: #4FA8FF; /* Glow */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-game-bai__strategy-text p {
  font-size: 16px;
  color: #AFC4E8;
  line-height: 1.7;
  margin-bottom: 15px;
}

.page-game-bai__strategy-image {
  flex-shrink: 0;
  width: 600px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Promotions Section */
.page-game-bai__promotions-section {
  padding: 80px 0;
  background-color: #08162B;
}

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

.page-game-bai__promo-card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #F3F8FF;
}

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

.page-game-bai__promo-text {
  font-size: 16px;
  color: #AFC4E8;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-game-bai__all-promo-cta {
  text-align: center;
}

/* App Download Section */
.page-game-bai__app-download-section {
  padding: 80px 0;
  background-color: #08162B;
  border-top: 1px solid #1B3357; /* Divider */
}

.page-game-bai__app-download-content {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.page-game-bai__app-image {
  flex-shrink: 0;
  width: 300px;
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-game-bai__app-info {
  flex: 1;
  max-width: 600px;
  color: #F3F8FF;
}

.page-game-bai__app-info p {
  font-size: 18px;
  color: #AFC4E8;
  line-height: 1.7;
  margin-bottom: 25px;
}

.page-game-bai__app-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-game-bai__app-features li {
  font-size: 17px;
  color: #F3F8FF;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-game-bai__feature-icon {
  color: #4FA8FF; /* Glow */
  font-size: 24px;
  margin-right: 10px;
  line-height: 1;
}

/* FAQ Section */
.page-game-bai__faq-section {
  padding: 80px 0;
  background-color: #08162B;
}

.page-game-bai__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

details.page-game-bai__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  color: #F3F8FF;
}

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;
}

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(36, 77, 132, 0.5); /* Border with opacity */
}

.page-game-bai__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF;
}

.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 20px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8;
  font-size: 16px;
  line-height: 1.7;
}

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

/* --- Media Queries --- */

@media (max-width: 1024px) {
  .page-game-bai__hero-section {
    padding-bottom: 40px;
  }

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

  .page-game-bai__section-title {
    font-size: 30px;
  }

  .page-game-bai__strategy-content {
    flex-direction: column;
    align-items: center;
  }

  .page-game-bai__strategy-image {
    width: 100%;
    margin-top: 40px;
  }

  .page-game-bai__app-download-content {
    flex-direction: column;
    align-items: center;
  }

  .page-game-bai__app-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-game-bai__container {
    padding: 15px;
  }

  /* Top Text / Hero Section */
  .page-game-bai__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 30px;
  }

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

  .page-game-bai__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
    margin-bottom: 15px;
  }

  .page-game-bai__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

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

  /* Buttons responsive adaptation */
  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai__card-button,
  .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 !important;
    padding-right: 15px !important;
  }

  .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: 0 !important;
    padding-right: 0 !important;
    flex-wrap: wrap !important;
    gap: 15px;
  }

  .page-game-bai__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-game-bai__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Two-column sections stacking */
  .page-game-bai__game-grid,
  .page-game-bai__benefits-grid,
  .page-game-bai__steps-grid,
  .page-game-bai__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-game-bai__strategy-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-game-bai__strategy-image {
    width: 100%;
    margin-top: 20px;
  }

  .page-game-bai__app-download-content {
    flex-direction: column;
    gap: 20px;
  }

  .page-game-bai__app-image {
    width: 250px;
    margin-bottom: 20px;
  }

  .page-game-bai__app-info p {
    font-size: 16px;
  }

  .page-game-bai__app-features li {
    font-size: 15px;
  }

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

  .page-game-bai__faq-qtext {
    font-size: 16px;
  }

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

  details.page-game-bai__faq-item .page-game-bai__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* Universal image responsive styles for mobile */
  .page-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-bai__introduction-section,
  .page-game-bai__game-types-section,
  .page-game-bai__benefits-section,
  .page-game-bai__how-to-play-section,
  .page-game-bai__strategy-section,
  .page-game-bai__promotions-section,
  .page-game-bai__app-download-section,
  .page-game-bai__faq-section {
    padding: 40px 0;
  }

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

  .page-game-bai__card-title,
  .page-game-bai__benefit-title,
  .page-game-bai__step-title,
  .page-game-bai__promo-title {
    font-size: 20px;
  }

  .page-game-bai__card-text,
  .page-game-bai__benefit-text,
  .page-game-bai__step-text,
  .page-game-bai__promo-text {
    font-size: 15px;
  }

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

  .page-game-bai__strategy-subtitle {
    font-size: 20px;
  }
}