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

.page-game-bai__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-game-bai__section-title {
  font-size: 2.5em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
  color: #F3F8FF; /* Text Main */
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-game-bai__section-title--light {
  color: #F3F8FF;
}

.page-game-bai__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #AFC4E8; /* Text Secondary */
}

.page-game-bai__paragraph--light {
  color: #AFC4E8;
}

.page-game-bai__highlight {
  color: #F2C14E; /* Gold */
  font-weight: bold;
}

/* Hero Section */
.page-game-bai__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
}

.page-game-bai__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

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

.page-game-bai__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-game-bai__main-title {
  font-size: 3em;
  font-weight: 900;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 100%;
}

.page-game-bai__hero-description {
  font-size: 1.2em;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

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

.page-game-bai__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-game-bai__btn-primary:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-game-bai__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F3F8FF; /* Text Main */
  border: 2px solid #244D84; /* Border */
}

.page-game-bai__btn-secondary:hover {
  background: #1B3357; /* Divider */
  border-color: #4FA8FF; /* Glow */
  transform: translateY(-2px);
}

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

.page-game-bai__game-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-game-bai__game-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-game-bai__game-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
}

.page-game-bai__game-description {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-game-bai__btn-play {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 20px;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #F3F8FF;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.page-game-bai__btn-play:hover {
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

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

.page-game-bai__feature-card {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-game-bai__feature-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-game-bai__feature-description {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

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

.page-game-bai__guide-item {
  background-color: #10233F; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.page-game-bai__guide-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
}

.page-game-bai__figure {
  margin: 0 0 20px 0;
  width: 100%;
  text-align: center;
}

.page-game-bai__figure-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-game-bai__figure-caption {
  font-size: 0.9em;
  color: #AFC4E8; /* Text Secondary */
  margin-top: 10px;
}

.page-game-bai__figure--right {
  float: right;
  margin-left: 30px;
  max-width: 400px;
  width: 100%;
}

/* Promo Section */
.page-game-bai__promo-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #113B7A; /* Main Color */
}

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

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

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

.page-game-bai__promo-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 10px;
}

.page-game-bai__promo-description {
  font-size: 0.95em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-game-bai__cta-bottom {
  margin-top: 50px;
  text-align: center;
}

/* List styles */
.page-game-bai__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-game-bai__list li {
  background-color: #10233F; /* Card BG */
  border-left: 5px solid #1D5FD1; /* Auxiliary Color */
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-game-bai__list-title {
  font-size: 1.4em;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 5px;
}

.page-game-bai__list-description {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.6;
}

.page-game-bai__list--light li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left-color: #F2C14E; /* Gold */
}

.page-game-bai__list--light .page-game-bai__list-title,
.page-game-bai__list--light .page-game-bai__list-description {
  color: #F3F8FF;
}

/* App Section */
.page-game-bai__app-section {
  padding: 60px 20px;
  background-color: #08162B; /* Deep Navy */
}

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

.page-game-bai__app-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-game-bai__app-info {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.page-game-bai__app-info-title {
  font-size: 2em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
}

.page-game-bai__app-cta-group {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* FAQ Section */
.page-game-bai__faq-list {
  margin-top: 30px;
}

.page-game-bai__faq-item {
  background-color: #10233F; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 20px 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-game-bai__faq-question {
  font-size: 1.3em;
  font-weight: bold;
  color: #F3F8FF; /* Text Main */
  cursor: default; /* No JS accordion, so not clickable for expand/collapse */
  margin-bottom: 10px;
}

.page-game-bai__faq-answer {
  font-size: 1em;
  color: #AFC4E8; /* Text Secondary */
  line-height: 1.7;
}

.page-game-bai__faq-answer p {
  margin-bottom: 0; /* Remove default paragraph margin within answer */
}

/* Conclusion Section */
.page-game-bai__conclusion-section {
  padding: 60px 20px;
  text-align: center;
  background-color: #1D5FD1; /* Auxiliary Color */
}

/* General card styles */
.page-game-bai__card {
  background-color: #10233F;
  border: 1px solid #244D84;
  color: #F3F8FF;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-game-bai__main-title {
    font-size: 2.5em;
  }
  .page-game-bai__section-title {
    font-size: 2em;
  }
  .page-game-bai__hero-image-wrapper {
    max-height: 500px;
  }
  .page-game-bai__figure--right {
    float: none;
    margin: 20px auto;
  }
  .page-game-bai__app-download-content {
    flex-direction: column;
    gap: 30px;
  }
  .page-game-bai__app-info {
    text-align: center;
  }
  .page-game-bai__app-cta-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* 1. Top Section (Hero) & CTAs */
  .page-game-bai__hero-section {
    padding-top: 10px !important;
  }
  .page-game-bai__main-title {
    font-size: 2em !important;
    margin-bottom: 10px !important;
  }
  .page-game-bai__hero-description {
    font-size: 1em !important;
    margin-bottom: 20px !important;
  }
  .page-game-bai__hero-cta-group {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 0 15px;
  }

  /* 2. Single Column Long Text Container */
  .page-game-bai__article-wrap,
  .page-game-bai__promo-section,
  .page-game-bai__app-section,
  .page-game-bai__conclusion-section {
    padding: 30px 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-game-bai__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px !important;
  }
  .page-game-bai__paragraph {
    font-size: 1em !important;
    line-height: 1.6 !important;
  }

  /* 3. General Images and Figure */
  .page-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-game-bai__figure {
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    max-width: 100% !important;
  }
  .page-game-bai__figure-caption {
    font-size: 0.85em !important;
  }
  .page-game-bai__hero-image-wrapper {
    max-height: 300px;
  }

  /* 4. Buttons and Button Containers */
  .page-game-bai__btn,
  .page-game-bai__btn-primary,
  .page-game-bai__btn-secondary,
  .page-game-bai__btn-play {
    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__hero-cta-group,
  .page-game-bai__app-cta-group {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  .page-game-bai__cta-bottom {
    padding: 0 15px;
  }

  /* 5. Registration Tutorial and FAQ Blocks */
  .page-game-bai__guide-item,
  .page-game-bai__promo-card,
  .page-game-bai__feature-card,
  .page-game-bai__game-card,
  .page-game-bai__faq-item {
    padding: 20px !important;
  }
  .page-game-bai__guide-title {
    font-size: 1.5em !important;
  }
  .page-game-bai__faq-question {
    font-size: 1.2em !important;
  }
  .page-game-bai__list li {
    padding: 15px !important;
    font-size: 0.95em !important;
  }
  .page-game-bai__list-title {
    font-size: 1.2em !important;
  }
  .page-game-bai__app-info-title {
    font-size: 1.8em !important;
  }
}