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

.page-game-bai__hero-section {
  padding-top: 10px; /* Small top padding for fixed header */
  padding-bottom: 60px;
  background-color: #F4F7FB; /* Match body background for consistency */
  color: #1F2D3D;
}

.page-game-bai__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.page-game-bai__hero-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-game-bai__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000; /* Custom Color_1776249996415 */
  line-height: 1.2;
}

.page-game-bai__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #1F2D3D;
}

.page-game-bai__hero-cta-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-game-bai__btn-primary,
.page-game-bai__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-game-bai__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-game-bai__btn-secondary {
  background: #FFFFFF; /* Card BG */
  color: #2F6BFF; /* Main Color */
  border: 2px solid #2F6BFF;
}

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

.page-game-bai__hero-image {
  flex: 1 1 40%;
  min-width: 300px;
  text-align: center;
}

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

.page-game-bai__intro-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D;
}

.page-game-bai__intro-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-game-bai__intro-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000;
}

.page-game-bai__intro-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #1F2D3D;
}

.page-game-bai__intro-features {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-game-bai__icon-box {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: #F4F7FB;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-game-bai__icon-box-media {
  width: 180px;
  height: 180px;
  margin: 0 auto 25px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #D6E2FF; /* Border */
  box-shadow: 0 0 0 8px rgba(165, 196, 255, 0.3); /* Glow */
}

.page-game-bai__icon-box-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-game-bai__icon-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2F6BFF;
}

.page-game-bai__icon-box-text {
  font-size: 1rem;
  color: #1F2D3D;
}

.page-game-bai__game-list-section {
  padding: 60px 0;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

.page-game-bai__game-list-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.page-game-bai__game-list-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #000000;
}

.page-game-bai__game-list-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 50px;
  color: #1F2D3D;
}

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

.page-game-bai__game-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: #1F2D3D;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-game-bai__game-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2F6BFF;
}

.page-game-bai__game-card-text {
  font-size: 1rem;
  color: #1F2D3D;
}

.page-game-bai__guide-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card BG */
  color: #1F2D3D;
}

.page-game-bai__guide-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-bai__guide-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-game-bai__guide-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 50px;
  color: #1F2D3D;
}

.page-game-bai__guide-steps {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.page-game-bai__guide-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F4F7FB;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-game-bai__guide-step-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.page-game-bai__guide-step-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2F6BFF;
}

.page-game-bai__guide-step-text {
  font-size: 1.05rem;
  margin-bottom: 25px;
  color: #1F2D3D;
}

.page-game-bai__guide-step-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

.page-game-bai__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB;
  color: #1F2D3D;
}

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

.page-game-bai__faq-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
}

.page-game-bai__faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-game-bai__faq-item {
  background-color: #FFFFFF; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #2F6BFF;
  cursor: pointer;
  background-color: #FFFFFF;
  user-select: none;
  list-style: none; /* Hide default marker for details */
}

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

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

.page-game-bai__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
}

.page-game-bai__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05rem;
  color: #1F2D3D;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-game-bai__faq-item[open] .page-game-bai__faq-answer {
  max-height: 1000px; /* Arbitrarily large value for smooth transition */
  padding-top: 10px;
}

.page-game-bai__cta-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%); /* Main Color gradient */
  color: #ffffff;
  text-align: center;
}

.page-game-bai__cta-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-game-bai__cta-heading {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-game-bai__cta-description {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-game-bai__btn-large {
  padding: 16px 35px;
  font-size: 1.25rem;
  border-radius: 10px;
}

.page-game-bai__footer {
  padding: 30px 20px;
  background-color: #2F6BFF; /* Main Color */
  color: #ffffff;
  text-align: center;
  font-size: 0.9rem;
}

.page-game-bai__footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

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

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

  .page-game-bai__hero-content {
    flex: none;
    width: 100%;
  }

  .page-game-bai__hero-image {
    flex: none;
    width: 100%;
    margin-bottom: 30px;
  }

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

  .page-game-bai__intro-features {
    flex-direction: column;
    align-items: center;
  }

  .page-game-bai__icon-box {
    max-width: 400px;
  }

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

@media (max-width: 768px) {
  .page-game-bai {
    font-size: 15px;
  }

  /* HERO Section */
  .page-game-bai__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 40px;
  }

  .page-game-bai__hero-container {
    padding: 30px 15px;
    gap: 30px;
  }

  .page-game-bai__hero-title {
    font-size: 2.2rem;
  }

  .page-game-bai__hero-description {
    font-size: 1rem;
  }

  .page-game-bai__hero-cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px; /* Add padding to buttons container */
  }

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

  /* Intro Section */
  .page-game-bai__intro-section {
    padding: 40px 0;
  }

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

  .page-game-bai__intro-heading {
    font-size: 2rem;
  }

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

  .page-game-bai__icon-box {
    width: 100%;
    max-width: 350px;
  }

  .page-game-bai__icon-box-media {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
    border-width: 3px;
    box-shadow: 0 0 0 6px rgba(165, 196, 255, 0.3);
  }

  .page-game-bai__icon-box-title {
    font-size: 1.3rem;
  }

  .page-game-bai__icon-box-text {
    font-size: 0.95rem;
  }

  /* Game List Section */
  .page-game-bai__game-list-section {
    padding: 40px 0;
  }

  .page-game-bai__game-list-container {
    padding: 0 15px;
  }

  .page-game-bai__game-list-heading {
    font-size: 2rem;
  }

  .page-game-bai__game-list-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }

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

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

  .page-game-bai__game-card-content {
    padding: 20px;
  }

  .page-game-bai__game-card-title {
    font-size: 1.2rem;
  }

  /* Guide Section */
  .page-game-bai__guide-section {
    padding: 40px 0;
  }

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

  .page-game-bai__guide-heading {
    font-size: 2rem;
  }

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

  .page-game-bai__guide-steps {
    gap: 30px;
  }

  .page-game-bai__guide-step {
    padding: 25px;
  }

  .page-game-bai__guide-step-icon {
    width: 50px;
    height: 50px;
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .page-game-bai__guide-step-title {
    font-size: 1.5rem;
  }

  .page-game-bai__guide-step-text {
    font-size: 0.95rem;
  }

  /* FAQ Section */
  .page-game-bai__faq-section {
    padding: 40px 0;
  }

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

  .page-game-bai__faq-heading {
    font-size: 2rem;
    margin-bottom: 30px;
  }

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

  .page-game-bai__faq-toggle {
    font-size: 1.5rem;
  }

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

  /* CTA Section */
  .page-game-bai__cta-section {
    padding: 60px 0;
  }

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

  .page-game-bai__cta-heading {
    font-size: 2.2rem;
  }

  .page-game-bai__cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
  }

  .page-game-bai__btn-large {
    padding: 14px 25px;
    font-size: 1.1rem;
  }

  /* General image and container responsiveness */
  .page-game-bai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-game-bai__hero-section,
  .page-game-bai__intro-section,
  .page-game-bai__game-list-section,
  .page-game-bai__guide-section,
  .page-game-bai__faq-section,
  .page-game-bai__cta-section,
  .page-game-bai__footer,
  .page-game-bai__hero-container,
  .page-game-bai__intro-container,
  .page-game-bai__game-list-container,
  .page-game-bai__guide-container,
  .page-game-bai__faq-container,
  .page-game-bai__cta-container,
  .page-game-bai__icon-box,
  .page-game-bai__game-card,
  .page-game-bai__guide-step,
  .page-game-bai__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by specific container styles */
  }

  .page-game-bai__hero-cta-buttons,
  .page-game-bai__button-group,
  .page-game-bai__btn-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}