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

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

.page-game-bai__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-bottom: 40px;
  overflow: hidden;
}

.page-game-bai__hero-image-wrap {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

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

.page-game-bai__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  margin-top: -150px; /* Pull content slightly over image */
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-game-bai__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #ffffff;
}

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

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

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

.page-game-bai__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
}

.page-game-bai__btn--primary:hover {
  opacity: 0.9;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-game-bai__btn--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}

.page-game-bai__btn--secondary:hover {
  background: #f0f0f0;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.2);
}

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

.page-game-bai__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-game-bai__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #2F6BFF;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-game-bai__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-game-bai__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #1F2D3D;
}

.page-game-bai__figure {
  margin: 30px auto;
  max-width: 100%;
  text-align: center;
  background-color: #FFFFFF;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-game-bai__image-content {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

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

.page-game-bai__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-game-bai__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;
  color: #1F2D3D;
}

.page-game-bai__list-item::before {
  content: '✔️';
  position: absolute;
  left: 0;
  color: #2F6BFF;
}

.page-game-bai__list-item strong {
  color: #000000; /* Custom Color_1776249996415 */
}

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

.page-game-bai__game-card {
  background: #FFFFFF; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

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

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

.page-game-bai__card-title {
  font-size: 1.5em;
  font-weight: 600;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 10px;
  padding: 0 15px;
}

.page-game-bai__card-description {
  font-size: 0.95em;
  color: #1F2D3D;
  padding: 0 15px;
  margin-bottom: 20px;
}

.page-game-bai__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-game-bai__list--benefits .page-game-bai__list-item::before {
  content: '⭐';
}

.page-game-bai__steps-list {
  list-style: none;
  padding: 0;
}

.page-game-bai__steps-list .page-game-bai__list-item {
  padding-left: 0;
  margin-bottom: 30px;
  border: 1px solid #D6E2FF;
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-game-bai__steps-list .page-game-bai__list-item::before {
  content: none;
}

.page-game-bai__step-title {
  font-size: 1.6em;
  font-weight: 600;
  color: #2F6BFF;
  margin-top: 0;
  margin-bottom: 15px;
}

.page-game-bai__btn--inline {
  margin-top: 15px;
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-game-bai__list--tips .page-game-bai__list-item::before {
  content: '💡';
}

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

.page-game-bai__promo-card {
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-game-bai__dark-bg {
  background: #2F6BFF;
  color: #ffffff;
}

.page-game-bai__dark-bg .page-game-bai__card-title {
  color: #ffffff;
}

.page-game-bai__dark-bg .page-game-bai__card-description {
  color: #f0f0f0;
}

.page-game-bai__light-bg {
  background: #FFFFFF;
  color: #1F2D3D;
}

.page-game-bai__light-bg .page-game-bai__card-title {
  color: #000000;
}

.page-game-bai__light-bg .page-game-bai__card-description {
  color: #1F2D3D;
}

.page-game-bai__btn--light {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #ffffff;
}

.page-game-bai__btn--light:hover {
  background: #f0f0f0;
}

.page-game-bai__btn--dark {
  background: #2F6BFF;
  color: #ffffff;
  border: 2px solid #2F6BFF;
}

.page-game-bai__btn--dark:hover {
  background: #6FA3FF;
}

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

.page-game-bai__section--faq {
  background-color: #FFFFFF;
  padding: 60px 0;
}

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

.page-game-bai__faq-item {
  background: #F4F7FB;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-game-bai__faq-item[open] {
  background: #E8F0FF;
  border-color: #2F6BFF;
}

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: 600;
  color: #1F2D3D;
  cursor: pointer;
  list-style: none;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-question {
  color: #2F6BFF;
}

.page-game-bai__faq-qtext {
  flex-grow: 1;
}

.page-game-bai__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF;
  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: 0 25px 20px;
  font-size: 1em;
  color: #333;
  line-height: 1.5;
}

.page-game-bai__faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
}

.page-game-bai__faq-answer .page-game-bai__btn--inline {
  margin-bottom: 10px;
}

.page-game-bai__text-center {
  text-align: center;
}

.page-game-bai__bottom-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

@media (max-width: 1024px) {
  .page-game-bai__hero-content {
    margin-top: -100px;
    padding: 15px;
  }

  .page-game-bai__main-title {
    font-size: 3em;
  }

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

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

  .page-game-bai__game-card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }

  .page-game-bai__promo-grid {
    grid-template-columns: 1fr;
  }
}

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

  .page-game-bai__hero-section {
    padding-top: 10px !important; /* Fixed header spacing */
    padding-bottom: 30px;
  }

  .page-game-bai__hero-image-wrap {
    max-height: 300px;
  }

  .page-game-bai__hero-content {
    margin-top: -80px;
    padding: 15px;
    border-radius: 8px;
  }

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

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

  .page-game-bai__hero-cta {
    flex-direction: column !important;
    gap: 15px;
  }

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

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

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

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

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

  .page-game-bai__list-item {
    font-size: 1em;
    padding-left: 25px;
  }

  .page-game-bai__article-wrap {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-game-bai__figure {
    padding: 5px;
  }

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

  .page-game-bai__game-card {
    padding-bottom: 15px;
  }

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

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

  .page-game-bai__card-description {
    font-size: 0.9em;
  }

  .page-game-bai__btn--small {
    padding: 8px 15px !important;
    font-size: 0.85em !important;
  }

  .page-game-bai__steps-list .page-game-bai__list-item {
    padding: 20px;
    margin-bottom: 20px;
  }

  .page-game-bai__step-title {
    font-size: 1.4em;
    margin-bottom: 10px;
  }

  .page-game-bai__promo-grid {
    gap: 20px;
  }

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

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

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

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

  .page-game-bai__bottom-cta {
    flex-direction: column !important;
    gap: 15px;
  }
}