.page-khuyen-mai {
  max-width: 100%;
  overflow-x: hidden;
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
}

.page-khuyen-mai__hero-image-block {
  width: 100%;
  max-width: 1200px;
}

.page-khuyen-mai__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17 / 5;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #3A2A12;
}

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

.page-khuyen-mai__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFF6D6;
  margin-bottom: 12px;
}

.page-khuyen-mai__hero-description {
  color: #FFF6D6;
  opacity: 0.85;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 24px auto;
}

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

/* Button Styles */
.page-khuyen-mai__btn,
button.page-khuyen-mai__btn,
a.page-khuyen-mai__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.page-khuyen-mai__btn--secondary {
  background: transparent;
  color: #FFD36B;
  border: 1px solid #FFD36B;
}

.page-khuyen-mai__btn:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(255, 211, 107, 0.3);
}

.page-khuyen-mai__btn:focus-visible {
  outline: 2px solid #FFD36B;
  outline-offset: 2px;
}

/* Trust Section */
.page-khuyen-mai__trust-section,
.page-khuyen-mai__promo-section,
.page-khuyen-mai__steps-section,
.page-khuyen-mai__terms-section,
.page-khuyen-mai__faq-section,
.page-khuyen-mai__cta-section {
  padding: 40px 16px;
}

.page-khuyen-mai__section-title,
.page-khuyen-mai__section-subtitle {
  text-align: center;
  color: #FFF6D6;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.page-khuyen-mai__section-title {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
}

.page-khuyen-mai__section-subtitle {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 600;
}

.page-khuyen-mai__section-description {
  text-align: center;
  color: #FFF6D6;
  opacity: 0.75;
  max-width: 700px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
}

.page-khuyen-mai__trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-khuyen-mai__trust-item {
  background-color: #111111;
  border-radius: 12px;
  border: 1px solid #3A2A12;
  padding: 20px;
  text-align: center;
  transition: box-shadow 0.2s ease;
}

.page-khuyen-mai__trust-item:hover {
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.2);
}

.page-khuyen-mai__trust-image,
.page-khuyen-mai__promo-image,
.page-khuyen-mai__step-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
}

.page-khuyen-mai__trust-image {
  aspect-ratio: 2 / 1;
  object-fit: contain;
}

.page-khuyen-mai__trust-title {
  color: #F2C14E;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 10px 0 8px;
}

.page-khuyen-mai__trust-text {
  color: #FFF6D6;
  opacity: 0.75;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Promo Section */
.page-khuyen-mai__promo-grid {
  display: flex;
  flex-direction: column;
  max-width: 960px;
  margin: 0 auto;
  gap: 24px;
}

.page-khuyen-mai__promo-card {
  display: flex;
  flex-wrap: wrap;
  background-color: #111111;
  border-radius: 12px;
  border: 1px solid #3A2A12;
  overflow: hidden;
}

.page-khuyen-mai__promo-image {
  flex: 0 0 45%;
  max-width: 45%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  margin: 0;
}

.page-khuyen-mai__promo-body {
  flex: 1 1 55%;
  padding: 24px;
  box-sizing: border-box;
}

.page-khuyen-mai__promo-title {
  color: #F2C14E;
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 12px;
}

.page-khuyen-mai__promo-text {
  color: #FFF6D6;
  opacity: 0.8;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.page-khuyen-mai__promo-meta {
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.page-khuyen-mai__promo-code {
  background: #111111;
  border: 1px dashed #3A2A12;
  padding: 4px 8px;
  border-radius: 4px;
  color: #FFD36B;
}

.page-khuyen-mai__promo-date {
  color: #777;
  opacity: 0.75;
}

/* Steps Section */
.page-khuyen-mai__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.page-khuyen-mai__step-item {
  background-color: #111111;
  border-radius: 12px;
  border: 1px solid #3A2A12;
  padding: 20px;
  text-align: center;
  position: relative;
}

.page-khuyen-mai__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: -20px auto 12px auto;
  border-radius: 50%;
  background-image: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  font-weight: 700;
}

.page-khuyen-mai__step-image {
  aspect-ratio: 2 / 1;
  margin-bottom: 12px;
}

.page-khuyen-mai__step-title {
  color: #F2C14E;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.page-khuyen-mai__step-text {
  color: #FFF6D6;
  opacity: 0.75;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

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

/* Terms Section */
.page-khuyen-mai__terms-list {
  max-width: 800px;
  margin: 0 auto;
  background-color: #111111;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #3A2A12;
}

.page-khuyen-mai__terms-list .page-khuyen-mai__btn {
  margin-right: 12px;
  margin-top: 12px;
}

.page-khuyen-mai__terms-text {
  color: #FFF6D6;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
}

.page-khuyen-mai__terms-text::before {
  content: '✓';
  color: #FFD36B;
  position: absolute;
  left: 0;
  font-weight: bold;
}

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

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

.page-khuyen-mai__faq-question {
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #F2C14E;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-khuyen-mai__faq-question::-webkit-details-marker {
  display: none;
}

.page-khuyen-mai__faq-icon {
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
  color: #777;
}

.page-khuyen-mai__faq-details[open] .page-khuyen-mai__faq-icon {
  color: #FFD36B;
}

.page-khuyen-mai__faq-answer {
  padding: 0 20px 15px;
}

.page-khuyen-mai__faq-text {
  color: #FFF6D6;
  opacity: 0.8;
  line-height: 1.6;
}

.page-khuyen-mai__faq-cta {
  text-align: center;
  margin-top: 16px;
}

.page-khuyen-mai__faq-cta-text {
  color: #FFF6D6;
  opacity: 0.7;
  font-style: italic;
}

/* CTA Section */
.page-khuyen-mai__cta-section {
  background-image: linear-gradient(135deg, #111 0%, #222 100%);
  border-top: 1px solid #3A2A12;
  text-align: center;
}

.page-khuyen-mai__cta-title {
  color: #FFD36B;
  text-shadow: 0 0 20px rgba(255, 211, 107, 0.3);
  font-size: 1.8rem;
}

.page-khuyen-mai__cta-text {
  color: #FFF6D6;
  opacity: 0.85;
}

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

/* Media Queries */
@media (max-width: 1024px) {
  .page-khuyen-mai__promo-image {
    flex: 0 0 100%;
    max-width: 100%;
    min-height: 200px;
  }

  .page-khuyen-mai__promo-body {
    flex: 1 1 100%;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai__hero-image {
    aspect-ratio: 2 / 1;
  }

  .page-khuyen-mai img {
    max-width: 100% !important;
    height: auto !important;
  }

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

  .page-khuyen-mai__hero-actions,
  .page-khuyen-mai .page-khuyen-mai__cta-buttons {
    justify-content: center;
  }

  .page-khuyen-mai__hero-actions a,
  .page-khuyen-mai__cta-buttons a {
    min-width: 160px;
  }

  .page-khuyen-mai__trust-grid,
  .page-khuyen-mai__steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-khuyen-mai__trust-item,
  .page-khuyen-mai__step-item {
    padding: 15px;
  }

  .page-khuyen-mai__promo-title {
    font-size: 1.2rem;
  }

  .page-khuyen-mai__faq-question {
    font-size: 0.9rem;
  }

  .page-khuyen-mai__terms-list .page-khuyen-mai__btn {
    display: block;
    width: 100%;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .page-khuyen-mai__trust-grid,
  .page-khuyen-mai__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-khuyen-mai__promo-title {
    font-size: 1.1rem;
  }

  .page-khuyen-mai__promo-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-khuyen-mai__hero-actions,
  .page-khuyen-mai__cta-buttons {
    flex-direction: column;
    min-width: 100%;
  }

  .page-khuyen-mai__hero-actions a,
  .page-khuyen-mai__cta-buttons a {
    width: 100%;
  }
}