/* ====== Page: Khuyến Mãi 788bet ====== */
.page-khuyen-mai {
  background-color: #0D0E12;
  color: #FFF3E6;
  max-width: 100%;
  overflow-x: hidden;
}

/* Container */
.page-khuyen-mai__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}

/* ====== Hero Section ====== */
.page-khuyen-mai__hero-section {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px 24px;
}

.page-khuyen-mai__hero-image-wrapper {
  width: 100%;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  max-width: 100%;
}

.page-khuyen-mai__hero-content {
  margin-top: 16px;
  text-align: center;
  width: 100%;
}

.page-khuyen-mai__hero-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0 auto 12px;
  color: #FFF3E6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.30);
}

.page-khuyen-mai__hero-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #D0DDE7;
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 0 8px;
}

/* ====== Buttons ====== */
.page-khuyen-mai__btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.page-khuyen-mai__btn--primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(217,104,0,0.45);
}
.page-khuyen-mai__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217,104,0,0.45);
}

.page-khuyen-mai__hero-section .page-khuyen-mai__btn {
  color: #fff;
}

.page-khuyen-mai__btn--secondary {
  background: linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--btn-secondary-border, #FFB04D);
  color: #FFF3E6;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}
.page-khuyen-mai__btn--secondary:hover {
  background: rgba(255,255,255,0.14);
  border-color: #FFB04D;
}

/* Buttons in promo banners (secondary background) */
.page-khuyen-mai__promo-banner .page-khuyen-mai__btn {
  color: #0D0E12;
  font-weight: 800;
}

/* ====== Section Titles ====== */
.page-khuyen-mai__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  margin: 40px 0 8px;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.page-khuyen-mai__section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #D0DDE7;
  max-width: 800px;
  margin: 0 auto 36px;
  padding: 0 8px;
}

/* ====== Highlights Cards ====== */
.page-khuyen-mai__highlights-section {
  padding: 20px 0 10px;
}

.page-khuyen-mai__highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.page-khuyen-mai__card {
  background: #17191F;
  border-radius: 24px;
  border: 1px solid rgba(168, 79, 12, 0.55);
  overflow: hidden;
  padding: 12px;
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}
.page-khuyen-mai__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(168,79,12,0.12);
}

.page-khuyen-mai__card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 18px;
  display: block;
  max-width: 100%;
}

.page-khuyen-mai__card-body {
  padding: 18px 10px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.page-khuyen-mai__card-tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFB04D;
  background: rgba(255,141,26,0.14);
  border: 1px solid rgba(255,165,58,0.3);
  border-radius: 999px;
  padding: 4px 12px;
  align-self: flex-start;
  margin-bottom: 10px;
}

.page-khuyen-mai__card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #FFF3E6;
  line-height: 1.4;
}

.page-khuyen-mai__card-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #D0DDE7;
  margin-bottom: 18px;
  flex: 1;
}

.page-khuyen-mai__card .page-khuyen-mai__btn {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ====== Guide Section ====== */
.page-khuyen-mai__guide-section {
  padding: 20px 0;
}
.page-khuyen-mai__guide-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.page-khuyen-mai__guide-list > li {
  background: #17191F;
  padding: 24px;
  border-radius: 20px;
  flex: 1 1 200px;
  border: 1px solid rgba(168,79,12,0.55);
}
.page-khuyen-mai__guide-list h3 {
  color: #FFB04D;
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 10px;
}
.page-khuyen-mai__guide-list p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #D0DDE7;
  margin-bottom: 0;
}
.page-khuyen-mai__guide-list a {
  color: #FF8C1A;
  text-decoration: none;
}
.page-khuyen-mai__guide-list a:hover {
  text-decoration: underline;
}

/* ====== Promo Details Section ====== */
.page-khuyen-mai__promo-details-section {
  padding: 20px 0;
}
.page-khuyen-mai__promo-banner {
  background: linear-gradient(135deg, rgba(217,104,0,0.28) 0%, rgba(255,165,58,0.15) 100%);
  border: 1px solid #A84F0C;
  border-radius: 24px;
  padding: 28px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 8px 18px rgba(168,79,12,0.15);
}
.page-khuyen-mai__promo-title {
  margin-top: 0;
  margin-bottom: 0;
  color: #FFF3E6;
  font-size: 1.35rem;
  line-height: 1.35;
}
.page-khuyen-mai__promo-banner p {
  margin-top: 0;
  margin-bottom: 8px;
  color: #D0DDE7;
  font-size: 1rem;
  line-height: 1.6;
}
.page-khuyen-mai__promo-banner a:not(.page-khuyen-mai__btn) {
  color: #FFB04D;
}

/* ====== FAQ Section ====== */
.page-khuyen-mai__faq-section {
  padding: 20px 0;
}
.page-khuyen-mai__faq-item {
  background: #17191F;
  border: 1px solid rgba(168,79,12,0.55);
  border-radius: 20px;
  padding: 0;
  margin-bottom: 16px;
  transition: box-shadow .2s;
}
.page-khuyen-mai__faq-item[open] {
  box-shadow: 0 8px 18px rgba(168,79,12,0.2);
}
.page-khuyen-mai__faq-item summary {
  padding: 22px 24px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.1rem;
  list-style: none;
  color: #FFF3E6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-khuyen-mai__faq-item summary::-webkit-details-marker,
.page-khuyen-mai__faq-item summary::marker {
  display: none;
  content: '';
}
.page-khuyen-mai__faq-icon {
  font-size: 1.6rem;
  font-weight: 400;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,141,26,0.16);
  border: 1px solid #A84F0C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.page-khuyen-mai__faq-content {
  padding: 0 24px 24px;
  color: #D0DDE7;
  line-height: 1.75;
}

/* ====== Related Blog ====== */
.page-khuyen-mai__related-blog-section {
  padding: 30px 0 40px;
}
.page-khuyen-mai__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin: 0 0 32px;
}
.page-khuyen-mai__post-card {
  background: #17191F;
  border: 1px solid rgba(168,79,12,0.55);
  border-radius: 20px;
  overflow: hidden;
  padding: 12px;
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}
.page-khuyen-mai__post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 26px rgba(168,79,12,0.12);
}
.page-khuyen-mai__post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  max-width: 100%;
}
.page-khuyen-mai__post-content {
  padding: 16px 8px 8px;
}
.page-khuyen-mai__post-date {
  font-size: 0.85rem;
  color: #B7C1CE;
  margin: 0 0 8px;
}
.page-khuyen-mai__post-title {
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}
.page-khuyen-mai__post-title a {
  color: #FFF3E6;
  text-decoration: none;
}
.page-khuyen-mai__post-title a:hover {
  color: #FFB04D;
}
.page-khuyen-mai__btn-link {
  display: block;
  text-align: center;
  font-size: 1rem;
  color: #FFB04D;
  text-decoration: none;
  font-weight: 600;
  padding: 8px;
  border-bottom: 1px solid transparent;
}
.page-khuyen-mai__btn-link:hover {
  color: #FFA53A;
  border-color: rgba(255,165,58,.3);
}

/* ====== Responsive: < 1024px ====== */
@media (max-width: 1024px) {
  .page-khuyen-mai__container {
    padding: 0 14px;
  }
  .page-khuyen-mai__guide-list > li {
    flex: 1 1 260px;
  }
}

/* ====== Responsive: < 768px ====== */
@media (max-width: 768px) {
  .page-khuyen-mai {
    max-width: 100vw;
  }
  .page-khuyen-mai__hero-section {
    padding-right: 12px;
    padding-left: 12px;
  }
  .page-khuyen-mai__hero-image {
    aspect-ratio: 2 / 1;
    border-radius: 16px;
    width: 100%;
    height: auto;
  }
  .page-khuyen-mai__hero-title {
    margin-top: 8px;
  }
  .page-khuyen-mai img {
    max-width: 100%;
    height: auto !important;
  }
  .page-khuyen-mai__guide-list {
    flex-direction: column;
  }
  .page-khuyen-mai__highlights-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai__related-grid {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    width: auto;
    text-align: center;
  }
  .page-khuyen-mai__promo-banner {
    padding: 20px 18px;
  }
  .page-khuyen-mai__guide-list > li {
    flex-basis: auto;
  }
  .page-khuyen-mai__section-title {
    margin-top: 24px;
  }
  .page-khuyen-mai__hero-description {
    margin-bottom: 20px;
  }
  .page-khuyen-mai__hero-content .page-khuyen-mai__btn {
    width: auto;
  }
  .page-khuyen-mai__promo-banner .page-khuyen-mai__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }
  .page-khuyen-mai__hero-content {
    padding: 0 8px;
  }
}