.page-game-bai {
  color: #333333;
  background-color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

.page-game-bai__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  margin-bottom: 2rem;
}

.page-game-bai__hero-image {
  width: 100%;
  margin-bottom: 1.5rem;
}

.page-game-bai__hero-image img {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: auto;
}

.page-game-bai__hero-content {
  max-width: 800px;
  text-align: center;
  padding: 0 1rem;
}

.page-game-bai__hero-title {
  color: #113B7A;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__hero-description {
  color: #444;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__hero-action {
  text-align: center;
}

.page-game-bai__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 10px rgba(17, 68, 166, 0.2);
  min-width: 200px;
  text-align: center;
}

.page-game-bai__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 68, 166, 0.4);
  color: #ffffff;
}

.page-game-bai__intro,
.page-game-bai__features,
.page-game-bai__guide,
.page-game-bai__tips {
  margin-bottom: 3rem;
  padding: 2rem 1.5rem;
  background-color: #fff; /* Subtle background color change removed */
}

.page-game-bai__features {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.page-game-bai__section-title {
  color: #113B7A;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.page-game-bai__feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-game-bai__feature-item {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
  border-top: 1px solid #f0f1ff;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #edeff2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-game-bai__feature-title {
  color: #1D5FD1;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.page-game-bai__feature-item p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.page-game-bai__guide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1.5rem;
}

.page-game-bai__guide-figure {
  margin: 0 0 1.5rem;
  text-align: center;
}

.page-game-bai__guide-figure img {
  width: 100%;
  max-width: 800px;
  border-radius: 12px;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  height: auto;
}

.page-game-bai__guide-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__guide-content h3 {
  color: #113B7A;
  font-weight: 600;
  font-size: 1.5rem; 
  margin-bottom: 1rem;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 0.75rem;
}

.page-game-bai__guide-list {
  color: #444;
  padding-left: 1.2rem;
}

.page-game-bai__guide-list li {
  margin-bottom: 1.25rem;
  font-size: 1rem;
}

.page-game-bai__guide-list strong {
  color: #333;
}

.page-game-bai__btn-link {
  display: inline-block;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 1rem;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: center;
  border: none;
}

.page-game-bai__tips {
  background-color: #f9fafc;
  border-top: 1px solid #e0e4e8;
  border-bottom: 1px solid #e0e4e8;
}

.page-game-bai__tips-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.page-game-bai__tips-content p {
  margin-bottom: 1.25rem;
}

.page-game-bai__tips-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  aspect-ratio: 2 / 1;
  object-fit: cover;
  height: auto;
}

.page-game-bai__cta {
  text-align: center;
  padding: 3rem 1.5rem;
  background-color: #113B7A;
}

.page-game-bai__cta-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.page-game-bai__cta-text {
  color: #D0DDE7;
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-game-bai__intro,
  .page-game-bai__features,
  .page-game-bai__guide,
  .page-game-bai__tips {
    padding: 2rem 1rem; /* Increase horizontal padding on smaller screens */
  }

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

  .page-game-bai__hero-image img {
    max-width: 100%;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
  }

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

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

  .page-game-bai__hero-action .page-game-bai__cta-button {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    padding: 15px 10px;
  }

  .page-game-bai__section-title {
    font-size: 1.75rem;
  }

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

  .page-game-bai__guide-figure img,
  .page-game-bai__tips-image img {
    aspect-ratio: 16 / 10;
  }

  .page-game-bai__guide-content h3 {
    font-size: 1.35rem;
  }

  .page-game-bai__btn-link {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    margin-top: 1.5rem;
  }

  /* Universal image ensuring no overflow */
  img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-game-bai {
    overflow-x: hidden;
  }

  .page-game-bai__tips-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .page-game-bai__cta {
    padding: 2rem 1rem;
  }

  .page-game-bai__cta-title {
    font-size: 1.6rem;
  }
}

/* Additional larger mobile/tablet adjustments */
@media (max-width: 480px) {
  .page-game-bai__hero-title {
    font-size: 1.6rem;
  }

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