/* style/game-bai.css */
.page-game-bai {
  background: #0A0A0A;
  color: #FFF6D6;
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.page-game-bai__hero-section {
  padding-top: 10px;
  padding-bottom: 30px;
  background: linear-gradient(180deg, #0A0A0A 0%, #111111 100%);
}

.page-game-bai__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 0;
  width: 100%;
  box-sizing: border-box;
}

.page-game-bai__hero-image {
  width: 100%;
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #3A2A12;
  box-shadow: 0 8px 30px rgba(242, 193, 78, 0.15);
}

.page-game-bai__hero-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

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

.page-game-bai__hero-title {
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.2px;
  color: #FFD36B;
  margin: 0 0 16px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-game-bai__hero-desc {
  font-size: 1.05rem;
  color: #FFF6D6;
  max-width: 820px;
  margin: 0 auto 24px;
}

.page-game-bai__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.page-game-bai__btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
}

.page-game-bai__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #1A1206;
  box-shadow: 0 4px 14px rgba(242, 193, 78, 0.35);
}

.page-game-bai__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.5);
}

.page-game-bai__btn--secondary {
  background: #111111;
  color: #FFD36B;
  border: 1px solid #3A2A12;
}

.page-game-bai__btn--secondary:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
}

.page-game-bai__btn--outline {
  background: transparent;
  color: #FFD36B;
  border: 2px solid #F2C14E;
}

.page-game-bai__btn--outline:hover {
  background: rgba(242, 193, 78, 0.12);
  transform: translateY(-2px);
}

.page-game-bai__intro-section,
.page-game-bai__games-section,
.page-game-bai__rules-section,
.page-game-bai__tables-section,
.page-game-bai__tips-section,
.page-game-bai__trial-section,
.page-game-bai__faq-section,
.page-game-bai__cta-section {
  padding: 48px 0;
}

.page-game-bai__intro-section {
  background: #0A0A0A;
}

.page-game-bai__games-section {
  background: #111111;
}

.page-game-bai__section-title {
  font-weight: 800;
  color: #F2C14E;
  margin: 0 0 20px;
  line-height: 1.3;
  text-align: center;
}

.page-game-bai__text {
  font-size: 1rem;
  color: #FFF6D6;
  margin: 0 0 16px;
}

.page-game-bai__text--small {
  font-size: 0.9rem;
  margin-top: 18px;
  color: #d9cba0;
}

.page-game-bai__text--small a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-game-bai__game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.page-game-bai__game-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 14px;
  padding: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-game-bai__game-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 26px rgba(242, 193, 78, 0.18);
}

.page-game-bai__game-card-image {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}

.page-game-bai__game-card-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.page-game-bai__game-card-title {
  font-weight: 700;
  color: #FFD36B;
  margin: 0 0 10px;
}

.page-game-bai__game-card-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin: 0;
}

.page-game-bai__rules-section {
  background: #0A0A0A;
}

.page-game-bai__rules-block {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 14px;
  padding: 24px;
  margin-top: 24px;
}

.page-game-bai__rules-title {
  font-weight: 700;
  color: #F2C14E;
  margin: 0 0 14px;
}

.page-game-bai__rules-subtitle {
  font-weight: 600;
  color: #FFD36B;
  margin: 18px 0 10px;
  font-size: 1.02rem;
}

.page-game-bai__list {
  margin: 0 0 8px;
  padding-left: 22px;
  color: #FFF6D6;
}

.page-game-bai__list--spaced {
  margin-top: 22px;
}

.page-game-bai__list li {
  margin-bottom: 8px;
}

.page-game-bai__list strong {
  color: #FFD36B;
}

.page-game-bai__tables-section {
  background: #111111;
}

.page-game-bai__table-image {
  margin: 22px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #3A2A12;
}

.page-game-bai__table-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.page-game-bai__tips-section {
  background: #0A0A0A;
}

.page-game-bai__tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.page-game-bai__tip-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 20px;
}

.page-game-bai__tip-title {
  font-weight: 700;
  color: #F2C14E;
  margin: 0 0 10px;
  font-size: 1.03rem;
}

.page-game-bai__tip-text {
  font-size: 0.95rem;
  color: #FFF6D6;
  margin: 0;
}

.page-game-bai__trial-section {
  background: #111111;
}

.page-game-bai__trial-wrap {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 24px auto 0;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #3A2A12;
  background: #0A0A0A;
}

.page-game-bai__trial-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.page-game-bai__faq-section {
  background: #0A0A0A;
}

.page-game-bai__faq-list {
  max-width: 900px;
  margin: 24px auto 0;
}

.page-game-bai__faq-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 14px;
}

.page-game-bai__faq-question {
  font-weight: 700;
  color: #FFD36B;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 24px;
}

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

.page-game-bai__faq-answer {
  margin: 12px 0 0;
  color: #FFF6D6;
  font-size: 0.95rem;
}

.page-game-bai__cta-section {
  background: linear-gradient(180deg, #111111 0%, #0A0A0A 100%);
  text-align: center;
}

.page-game-bai__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 1024px) {
  .page-game-bai__tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-game-bai {
    overflow-x: hidden;
    max-width: 100%;
  }

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

  .page-game-bai__hero-section {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .page-game-bai__hero-container {
    padding: 10px 16px 0;
  }

  .page-game-bai__hero-image {
    margin-bottom: 18px;
    border-radius: 12px;
  }

  .page-game-bai__hero-desc {
    font-size: 0.98rem;
    padding: 0 4px;
  }

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

  .page-game-bai__btn {
    width: 100%;
    padding: 13px 20px;
  }

  .page-game-bai__intro-section,
  .page-game-bai__games-section,
  .page-game-bai__rules-section,
  .page-game-bai__tables-section,
  .page-game-bai__tips-section,
  .page-game-bai__trial-section,
  .page-game-bai__faq-section,
  .page-game-bai__cta-section {
    padding: 32px 0;
  }

  .page-game-bai__container {
    padding: 0 16px;
  }

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

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

  .page-game-bai__rules-block {
    padding: 18px;
  }

  .page-game-bai__cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .page-game-bai__trial-wrap {
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .page-game-bai__hero-title {
    letter-spacing: 0;
  }

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

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