/* Page-specific styles for Khuyến Mãi */
.page-khuyen-mai {
  color: #FFF6D6;
  background-color: #0A0A0A;
}

.page-khuyen-mai h1,
.page-khuyen-mai h2,
.page-khuyen-mai h3 {
  color: #F2C14E;
}

.page-khuyen-mai__hero-section {
  padding-top: 0;
  margin-top: 0;
  width: 100%;
  overflow: hidden;
}

.page-khuyen-mai__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

.page-khuyen-mai__hero-content {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px;
  text-align: center;
}

.page-khuyen-mai__hero-content h1 {
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: #F2C14E;
}

.page-khuyen-mai__hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #FFF6D6;
}

.page-khuyen-mai__hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-khuyen-mai__btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.page-khuyen-mai__btn:hover {
  opacity: 0.9;
}

.page-khuyen-mai__btn--primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
}

.page-khuyen-mai__btn--secondary {
  background: #111111;
  color: #F2C14E;
  border: 1px solid #3A2A12;
}

.page-khuyen-mai__section-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

.page-khuyen-mai__section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #F2C14E;
  text-align: center;
}

.page-khuyen-mai__intro-section {
  padding: 40px 0;
}

.page-khuyen-mai__intro-section p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #FFF6D6;
}

.page-khuyen-mai__cta-section {
  padding: 40px 0;
  background: #111111;
}

.page-khuyen-mai__cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 16px;
}

.page-khuyen-mai__cta-title {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #F2C14E;
}

.page-khuyen-mai__cta-content p {
  color: #FFF6D6;
  margin-bottom: 24px;
  line-height: 1.6;
}

.page-khuyen-mai__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-khuyen-mai__games-section {
  padding: 40px 0;
}

.page-khuyen-mai__games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-khuyen-mai__game-card {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 16px;
}

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

.page-khuyen-mai__game-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-khuyen-mai__game-title {
  font-size: 1.2rem;
  margin: 16px 16px 8px;
  color: #F2C14E;
}

.page-khuyen-mai__game-card p {
  margin: 0 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #FFF6D6;
}

.page-khuyen-mai__overview-section {
  padding: 40px 0;
  background: #111111;
}

.page-khuyen-mai__overview-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.page-khuyen-mai__overview-table th,
.page-khuyen-mai__overview-table td {
  border: 1px solid #3A2A12;
  padding: 12px;
  text-align: left;
  color: #FFF6D6;
  font-size: 0.95rem;
}

.page-khuyen-mai__overview-table th {
  background: #0A0A0A;
  color: #F2C14E;
  font-weight: 600;
}

.page-khuyen-mai__note {
  font-size: 0.9rem;
  color: #FFD36B;
  font-style: italic;
}

.page-khuyen-mai__advantages-section {
  padding: 40px 0;
}

.page-khuyen-mai__advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-khuyen-mai__advantage-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 24px;
}

.page-khuyen-mai__advantage-item h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #F2C14E;
}

.page-khuyen-mai__advantage-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-khuyen-mai__advantage-item a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-khuyen-mai__guide-section {
  padding: 40px 0;
  background: #111111;
}

.page-khuyen-mai__guide-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-khuyen-mai__step {
  position: relative;
  background: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  padding: 24px;
}

.page-khuyen-mai__step-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.page-khuyen-mai__step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #F2C14E;
}

.page-khuyen-mai__step p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-khuyen-mai__promo-section {
  padding: 40px 0;
}

.page-khuyen-mai__promo-section p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #FFF6D6;
}

.page-khuyen-mai__promo-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-khuyen-mai__promo-list li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-khuyen-mai__promo-list li strong {
  color: #FFD36B;
}

.page-khuyen-mai__app-section {
  padding: 40px 0;
  background: #111111;
}

.page-khuyen-mai__app-content {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.page-khuyen-mai__app-text {
  flex: 1 1 300px;
}

.page-khuyen-mai__app-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: #FFF6D6;
}

.page-khuyen-mai__app-image-wrapper {
  flex: 1 1 300px;
}

.page-khuyen-mai__app-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-khuyen-mai__faq-section {
  padding: 40px 0;
}

.page-khuyen-mai__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-khuyen-mai__faq-item {
  border-bottom: 1px solid #3A2A12;
  margin-bottom: 8px;
}

.page-khuyen-mai__faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 16px 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #F2C14E;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-khuyen-mai__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #FFD36B;
}

.page-khuyen-mai__faq-question.active::after {
  content: '\2212';
}

.page-khuyen-mai__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0;
}

.page-khuyen-mai__faq-answer.open {
  max-height: 500px;
  padding-bottom: 16px;
}

.page-khuyen-mai__faq-answer p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #FFF6D6;
}

.page-khuyen-mai__blog-section {
  padding: 40px 0;
  background: #111111;
}

.page-khuyen-mai__blog-track-wrapper {
  overflow: hidden;
}

.page-khuyen-mai__blog-track {
  display: flex;
  gap: 16px;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

.page-khuyen-mai__blog-card {
  flex: 0 0 calc(25% - 12px);
  background: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 16px;
}

.page-khuyen-mai__blog-link {
  text-decoration: none;
  display: block;
}

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

.page-khuyen-mai__blog-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.page-khuyen-mai__blog-title {
  font-size: 1rem;
  margin: 12px 12px 8px;
  color: #F2C14E;
  line-height: 1.4;
}

.page-khuyen-mai__blog-card p {
  margin: 0 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #FFF6D6;
}

.page-khuyen-mai__blog-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.page-khuyen-mai__blog-prev,
.page-khuyen-mai__blog-next {
  background: #111111;
  border: 1px solid #3A2A12;
  color: #F2C14E;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}

.page-khuyen-mai__blog-prev:hover,
.page-khuyen-mai__blog-next:hover {
  background: #1a1a1a;
}

.page-khuyen-mai__blog-view-all {
  text-align: center;
  margin-top: 20px;
}

.page-khuyen-mai__final-cta {
  padding: 40px 0;
  text-align: center;
}

.page-khuyen-mai__final-cta h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: #F2C14E;
}

.page-khuyen-mai__final-cta p {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFF6D6;
  margin-bottom: 24px;
}

.page-khuyen-mai__final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 768px) {
  .page-khuyen-mai img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-khuyen-mai {
    overflow-x: hidden;
  }

  .page-khuyen-mai__hero-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .page-khuyen-mai__cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .page-khuyen-mai__games-grid {
    grid-template-columns: 1fr;
  }

  .page-khuyen-mai__advantages-grid {
    grid-template-columns: 1fr;
  }

  .page-khuyen-mai__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-khuyen-mai__app-content {
    flex-direction: column;
  }

  .page-khuyen-mai__blog-card {
    flex: 0 0 100%;
  }

  .page-khuyen-mai__overview-table {
    font-size: 0.85rem;
  }

  .page-khuyen-mai__overview-table th,
  .page-khuyen-mai__overview-table td {
    padding: 8px;
  }

  .page-khuyen-mai__btn {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
  }

  .page-khuyen-mai__final-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .page-khuyen-mai__section-title {
    font-size: 1.4rem;
  }

  .page-khuyen-mai__hero-content h1 {
    font-size: 1.5rem;
  }
}