/* Module: Hero Banner */
.page-game-bai__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
}
.page-game-bai__hero-image-wrapper {
  width: 100%;
}
.page-game-bai__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  aspect-ratio: 17/6;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.2);
}
.page-game-bai__hero-content {
  width: 100%;
  max-width: 960px;
  text-align: center;
  padding: 32px 16px;
}
.page-game-bai__main-title {
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #1F2D3D;
  margin: 0 0 16px;
}
.page-game-bai__hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #1F2D3D;
  max-width: 720px;
  margin: 0 auto 24px;
}
.page-game-bai__hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.page-game-bai__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}
.page-game-bai__btn--primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(47, 107, 255, 0.35);
}
.page-game-bai__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(47, 107, 255, 0.45);
}
.page-game-bai__btn--secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF;
}
.page-game-bai__btn--secondary:hover {
  background: rgba(47, 107, 255, 0.08);
  transform: translateY(-2px);
}

/* Module: Trusted/Logo Grid */
.page-game-bai__trusted-section {
  background-color: #F4F7FB;
  padding: 40px 16px;
}
.page-game-bai__section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.page-game-bai__section-title {
  color: #2F6BFF;
  text-align: center;
  font-size: 1.6rem;
  margin: 0 0 8px;
}
.page-game-bai__section-subtitle {
  color: #1F2D3D;
  text-align: center;
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* Module: Guide */
.page-game-bai__guide-section {
  background-color: #ffffff;
}
.page-game-bai__guide-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 16px;
}
.page-game-bai__guide-title {
  text-align: center;
  color: #2F6BFF;
  font-size: 1.8rem;
  margin: 0 0 16px;
}
.page-game-bai__guide-section > .page-game-bai__guide-inner > p {
  text-align: center;
  color: #1F2D3D;
  max-width: 720px;
  margin: 0 auto 32px;
}
.page-game-bai__guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.page-game-bai__guide-item {
  background-color: #ffffff;
  border: 1px solid #D6E2FF;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.page-game-bai__guide-image {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 6px;
  margin: 0 auto;
  display: block;
}
.page-game-bai__guide-item h3 {
  color: #1F2D3D;
  font-size: 1.15rem;
  margin: 0;
}
.page-game-bai__guide-item p {
  color: #1F2D3D;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.page-game-bai__guide-item .page-game-bai__btn {
  width: 100%;
  box-sizing: border-box;
  margin-top: auto;
}

/* Responsive: Tablet & Mobile */
@media (max-width: 1024px) {
  .page-game-bai__guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-game-bai__guide-item:nth-child(3) {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .page-game-bai__hero-section {
    padding: 10px 8px;
  }
  .page-game-bai__hero-image {
    aspect-ratio: 2/1;
    border-radius: 4px;
  }
  .page-game-bai__hero-content {
    padding: 24px 8px;
  }
  .page-game-bai__hero-description {
    font-size: 1rem;
  }
  .page-game-bai__hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .page-game-bai__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-game-bai__guide-grid {
    grid-template-columns: 1fr;
  }
  .page-game-bai__guide-item:nth-child(3) {
    grid-column: auto;
  }
  .page-game-bai__guide-item {
    width: 100%;
    box-sizing: border-box;
  }
  .page-game-bai__section-inner,
  .page-game-bai__guide-inner {
    padding: 16px 8px;
  }
  .page-game-bai img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-game-bai {
    overflow-x: hidden;
    max-width: 100%;
  }
}