/* style/game-bai.css - Flatsome light style */

.page-game-bai__hero {
  background: linear-gradient(135deg, #f0f9ff 0%, #e6f4ff 50%, #ffffff 100%);
  padding-top: 16px;
  padding-bottom: 24px;
}

.page-game-bai__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-game-bai__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(4, 119, 219, 0.15);
}

.page-game-bai__hero-content {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 0 16px;
  text-align: center;
}

.page-game-bai__hero-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #0477db;
  margin-bottom: 12px;
}

.page-game-bai__hero-subtitle {
  font-size: 1.06rem;
  line-height: 1.7;
  color: #3a3a3a;
  margin: 0 0 24px;
}

.page-game-bai__hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.page-game-bai__btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-game-bai__btn--primary {
  background-color: #EA7C07;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(234, 124, 7, 0.35);
}

.page-game-bai__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(234, 124, 7, 0.5);
}

.page-game-bai__btn--secondary {
  background-color: transparent;
  color: #0477db;
  border: 2px solid #26A9E0;
  box-shadow: none;
}

.page-game-bai__btn--secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
}

.page-game-bai__btn--large {
  background-color: #EA7C07;
  color: #ffffff;
  font-size: 1.1rem;
  padding: 16px 48px;
  box-shadow: 0 6px 18px rgba(234, 124, 7, 0.4);
}

.page-game-bai__btn--large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(234, 124, 7, 0.55);
}

.page-game-bai__trusted {
  padding: 40px 16px;
  background-color: #ffffff;
}

.page-game-bai__trusted-title {
  text-align: center;
  font-size: 1.65rem;
  font-weight: 700;
  color: #0477db;
  margin-bottom: 28px;
}

.page-game-bai__trusted-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-game-bai__trusted-item {
  display: block;
  max-width: 280px;
  width: 100%;
  text-decoration: none;
}

.page-game-bai__trusted-logo {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: contain;
  display: block;
}

.page-game-bai__trusted-item:nth-child(5) {
  grid-column: 2;
}

.page-game-bai__trusted-item:nth-child(6) {
  grid-column: 3;
}

.page-game-bai__guide-section {
  background-color: #f4f9fe;
  padding: 40px 0 60px;
}

.page-game-bai__guide-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-game-bai__guide-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0477db;
  margin-bottom: 12px;
  line-height: 1.3;
}

.page-game-bai__guide-intro {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444444;
  max-width: 760px;
  margin: 0 auto 36px;
}

.page-game-bai__guide-step {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  margin-bottom: 40px;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  padding: 16px;
}

.page-game-bai__guide-figure {
  flex: 1 1 320px;
  min-width: 280px;
}

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

.page-game-bai__guide-copy {
  flex: 1 1 320px;
  padding: 12px 8px;
}

.page-game-bai__guide-step-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 12px;
}

.page-game-bai__guide-copy p {
  color: #333333;
  line-height: 1.7;
  font-size: 0.98rem;
}

.page-game-bai__guide-copy a {
  color: #0477db;
  font-weight: 600;
  text-decoration: underline;
}

.page-game-bai__faq {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  margin-bottom: 14px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.page-game-bai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: #222222;
}

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

.page-game-bai__faq-text {
  flex: 1;
}

.page-game-bai__faq-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #26A9E0;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.page-game-bai__faq-answer {
  padding: 12px 0 4px;
  color: #333333;
  line-height: 1.65;
  font-size: 0.96rem;
}

.page-game-bai__faq-answer a {
  color: #0477db;
  font-weight: 600;
}

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

@media (max-width: 1024px) {
  .page-game-bai__hero-image {
    aspect-ratio: 16 / 6;
  }

  .page-game-bai__guide-step {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-game-bai__guide-figure {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-game-bai__hero {
    padding-top: 10px;
  }

  .page-game-bai__hero-image {
    aspect-ratio: 2 / 1;
    border-radius: 0;
  }

  .page-game-bai__hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .page-game-bai__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-game-bai__trusted-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-game-bai__trusted-item:nth-child(5),
  .page-game-bai__trusted-item:nth-child(6) {
    grid-column: auto;
  }

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

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

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

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

  .page-game-bai__guide-figure img {
    aspect-ratio: 16 / 9;
  }

  .page-game-bai__guide-copy {
    width: 100%;
  }

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

  .page-game-bai__faq-question {
    font-size: 0.95rem;
  }
}