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

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

.page-game-bai__main-banner-section {
  padding-top: 10px; /* Small top padding as per non-homepage rule */
  padding-bottom: 60px;
  background-color: #F4F7FB; /* Consistent with body background */
}

.page-game-bai__main-banner-container {
  max-width: 1170px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px 15px;
}

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

.page-game-bai__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-game-bai__description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #1F2D3D;
}

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

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

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

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

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

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

.page-game-bai__btn-link {
  background: transparent;
  color: #2F6BFF;
  border: 2px solid transparent;
  padding: 8px 0;
  font-size: 15px;
}

.page-game-bai__btn-link:hover {
  text-decoration: underline;
}

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

.page-game-bai__main-banner-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}

.page-game-bai__section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  text-align: center;
  margin-bottom: 40px;
}

.page-game-bai__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
  color: #1F2D3D;
}

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

.page-game-bai__popular-games-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

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

.page-game-bai__game-card {
  background: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-game-bai__game-card img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-game-bai__game-title {
  font-size: 20px;
  font-weight: 700;
  color: #2F6BFF;
  margin: 15px 15px 10px;
}

.page-game-bai__game-title a {
  color: #2F6BFF;
  text-decoration: none;
}

.page-game-bai__game-title a:hover {
  text-decoration: underline;
}

.page-game-bai__game-description {
  font-size: 15px;
  color: #1F2D3D;
  padding: 0 15px 15px;
}

.page-game-bai__guide-section {
  padding: 60px 0;
  background-color: #2F6BFF;
  color: #ffffff;
}

.page-game-bai__guide-section .page-game-bai__section-title {
  color: #ffffff;
}

.page-game-bai__guide-section .page-game-bai__text-block {
  color: #f0f0f0;
}

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

.page-game-bai__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-game-bai__step-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: #6FA3FF; /* Auxiliary Color */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-game-bai__step-icon img {
  
  
  object-fit: contain;
  display: block;
}

.page-game-bai__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-game-bai__step-description {
  font-size: 15px;
  color: #f0f0f0;
  margin-bottom: 20px;
}

.page-game-bai__strategy-section {
  padding: 60px 0;
  background-color: #ffffff; /* Card BG */
}

.page-game-bai__strategy-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 30px;
  color: #1F2D3D;
}

.page-game-bai__strategy-list li {
  font-size: 16px;
  margin-bottom: 10px;
}

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

.page-game-bai__strategy-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto 0;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-game-bai__promo-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.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: #ffffff; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  border: 1px solid #D6E2FF; /* Border */
}

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

.page-game-bai__promo-card img {
  width: 100%;
  height: 220px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-game-bai__promo-title {
  font-size: 20px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin: 15px 15px 10px;
}

.page-game-bai__promo-description {
  font-size: 15px;
  color: #1F2D3D;
  padding: 0 15px 15px;
}

.page-game-bai__features-section {
  padding: 60px 0;
  background-color: #ffffff; /* Card BG */
}

.page-game-bai__features-list {
  list-style-type: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-game-bai__features-list li {
  font-size: 16px;
  color: #1F2D3D;
  background-color: #F4F7FB; /* Background */
  padding: 15px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
  border-left: 5px solid #2F6BFF;
}

.page-game-bai__features-list li::before {
  content: '✔';
  color: #2F6BFF;
  font-weight: bold;
  font-size: 1.2em;
}

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

.page-game-bai__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-game-bai__faq-list {
  margin-top: 40px;
}

.page-game-bai__faq-item {
  background: #ffffff; /* Card BG */
  border: 1px solid #D6E2FF; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-game-bai__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  color: #000000; /* Custom Color_1776249996415 */
  position: relative;
  user-select: none;
}

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

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

.page-game-bai__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #2F6BFF;
}

.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: 16px;
  color: #1F2D3D;
  line-height: 1.6;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-game-bai__main-banner-container {
    flex-direction: column-reverse; /* Image on top, content below */
    padding: 20px 15px;
    gap: 20px;
  }

  .page-game-bai__main-title {
    font-size: clamp(24px, 7vw, 36px);
    text-align: center;
  }

  .page-game-bai__description {
    font-size: 16px;
    text-align: center;
  }

  .page-game-bai__cta-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

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

  .page-game-bai__main-banner-image {
    order: -1; /* Image first on mobile */
  }

  .page-game-bai__section-title {
    font-size: clamp(22px, 6vw, 30px);
    margin-bottom: 30px;
  }

  .page-game-bai__text-block {
    font-size: 15px;
    text-align: left;
  }

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

  .page-game-bai__game-card img {
    
  }

  .page-game-bai__game-title {
    font-size: 18px;
  }

  .page-game-bai__game-description {
    font-size: 14px;
  }

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

  .page-game-bai__step-icon {
    width: 80px;
    height: 80px;
  }

  .page-game-bai__step-icon img {
    
    
  }

  .page-game-bai__step-title {
    font-size: 18px;
  }

  .page-game-bai__strategy-list {
    margin-left: 15px;
  }

  .page-game-bai__strategy-list li {
    font-size: 15px;
  }

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

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

  .page-game-bai__promo-card img {
    
  }

  .page-game-bai__promo-title {
    font-size: 18px;
  }

  .page-game-bai__promo-description {
    font-size: 14px;
  }

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

  .page-game-bai__features-list li {
    font-size: 15px;
    padding: 12px 15px;
  }

  .page-game-bai__cta-center {
    margin-top: 30px;
  }

  .page-game-bai__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

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

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

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

  .page-game-bai__container,
  .page-game-bai__main-banner-section,
  .page-game-bai__intro-section,
  .page-game-bai__popular-games-section,
  .page-game-bai__guide-section,
  .page-game-bai__strategy-section,
  .page-game-bai__promo-section,
  .page-game-bai__features-section,
  .page-game-bai__faq-section,
  .page-game-bai__game-card,
  .page-game-bai__promo-card,
  .page-game-bai__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-game-bai__guide-section .page-game-bai__text-block {
    text-align: left;
  }
}