/* Trang Game Bài - Baccarat là gì */
.page-game-bai {
  color: #FFF5E1;
  background: #B71C1C;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
}
.page-game-bai__hero-section {
  padding-top: 10px;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #7A0E0E 0%, #B71C1C 60%, #C91F17 100%);
}
.page-game-bai__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.page-game-bai__hero-image {
  width: 100%;
}
.page-game-bai__hero-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 3px solid #F2B544;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
  object-fit: cover;
  aspect-ratio: 1200 / 438;
}
.page-game-bai__hero-content {
  width: 100%;
  text-align: center;
  padding: 8px 0;
}
.page-game-bai__hero-title {
  color: #F4D34D;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.3px;
  margin: 0 0 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.page-game-bai__hero-desc {
  color: #FFF5E1;
  font-size: 1.05rem;
  max-width: 900px;
  margin: 0 auto 20px;
}
.page-game-bai__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}
.page-game-bai__btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.page-game-bai__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E;
  border: 2px solid #F2B544;
  box-shadow: 0 4px 16px rgba(255, 204, 102, 0.45);
}
.page-game-bai__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 204, 102, 0.6);
}
.page-game-bai__btn--outline {
  background: transparent;
  color: #F4D34D;
  border: 2px solid #F2B544;
}
.page-game-bai__btn--outline:hover {
  background: rgba(242, 181, 68, 0.15);
  transform: translateY(-2px);
}
.page-game-bai__btn--ghost {
  background: rgba(255, 245, 225, 0.08);
  color: #FFF5E1;
  border: 2px solid rgba(255, 245, 225, 0.35);
}
.page-game-bai__btn--ghost:hover {
  background: rgba(255, 245, 225, 0.18);
}
.page-game-bai__intro-section,
.page-game-bai__games-section,
.page-game-bai__promo-section,
.page-game-bai__guide-section,
.page-game-bai__policy-section,
.page-game-bai__closing-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px;
}
.page-game-bai__section-title {
  color: #F4D34D;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0 0 18px;
  border-left: 5px solid #F2B544;
  padding-left: 14px;
}
.page-game-bai__sub-title {
  color: #FFCC66;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 22px 0 12px;
}
.page-game-bai__text {
  color: #FFF5E1;
  font-size: 1rem;
  margin: 0 0 16px;
}
.page-game-bai__text a {
  color: #FFCC66;
  text-decoration: underline;
  font-weight: 600;
}
.page-game-bai__text a:hover {
  color: #F4D34D;
}
.page-game-bai__figure {
  margin: 22px auto;
  text-align: center;
}
.page-game-bai__figure img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
  border-radius: 14px;
  border: 2px solid #F2B544;
  object-fit: cover;
  aspect-ratio: 2 / 1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.page-game-bai__table-wrap {
  overflow-x: auto;
  margin: 18px 0;
  border-radius: 12px;
  border: 2px solid #F2B544;
}
.page-game-bai__info-table {
  width: 100%;
  border-collapse: collapse;
  background: #D32F2F;
  color: #FFF5E1;
}
.page-game-bai__info-table th,
.page-game-bai__info-table td {
  border: 1px solid #F2B544;
  padding: 12px 14px;
  text-align: left;
}
.page-game-bai__info-table th {
  background: #7A0E0E;
  color: #F4D34D;
  font-weight: 700;
}
.page-game-bai__game-block {
  margin-bottom: 30px;
  background: #D32F2F;
  border: 2px solid #F2B544;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}
.page-game-bai__promo-section {
  background: linear-gradient(135deg, #7A0E0E 0%, #C91F17 100%);
  border-radius: 20px;
  margin-top: 12px;
  margin-bottom: 12px;
  border: 2px solid #F2B544;
}
.page-game-bai__closing-section {
  text-align: center;
  background: linear-gradient(135deg, #B71C1C 0%, #7A0E0E 100%);
  border-radius: 20px;
  margin-top: 12px;
  margin-bottom: 32px;
  border: 2px solid #F2B544;
}
.page-game-bai__closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 18px;
}
.page-game-bai__promo-section .page-game-bai__btn {
  margin-top: 12px;
}

@media (max-width: 768px) {
  .page-game-bai {
    max-width: 100%;
    overflow-x: hidden;
  }
  .page-game-bai__hero-container {
    padding: 0 12px 20px;
    gap: 14px;
  }
  .page-game-bai__hero-title {
    font-size: clamp(1.4rem, 6vw, 2rem);
  }
  .page-game-bai__hero-desc {
    font-size: 0.98rem;
  }
  .page-game-bai__hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .page-game-bai__btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    padding: 12px 16px;
  }
  .page-game-bai__intro-section,
  .page-game-bai__games-section,
  .page-game-bai__promo-section,
  .page-game-bai__guide-section,
  .page-game-bai__policy-section,
  .page-game-bai__closing-section {
    padding: 22px 12px;
  }
  .page-game-bai__section-title {
    font-size: 1.3rem;
    padding-left: 10px;
  }
  .page-game-bai__sub-title {
    font-size: 1.08rem;
  }
  .page-game-bai__game-block {
    padding: 14px;
  }
  .page-game-bai__info-table th,
  .page-game-bai__info-table td {
    padding: 9px 10px;
    font-size: 0.92rem;
  }
  .page-game-bai__closing-actions {
    flex-direction: column;
    width: 100%;
  }
  .page-game-bai img {
    max-width: 100% !important;
    height: auto !important;
  }
  .page-game-bai__figure img {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-game-bai__hero-title {
    font-size: clamp(1.25rem, 7vw, 1.6rem);
  }
  .page-game-bai__section-title {
    font-size: 1.15rem;
  }
}