/* style/khuyen-mai.css */
:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
  --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-khuyen-mai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default to light text as body background is dark */
  background-color: var(--color-background);
}

.page-khuyen-mai__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--color-background);
  overflow: hidden;
}

.page-khuyen-mai__hero-slider {
  position: relative;
  width: 100%;
  height: 600px; /* Adjusted height for desktop */
  overflow: hidden;
}

.page-khuyen-mai__hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.page-khuyen-mai__hero-slide.is-active {
  opacity: 1;
}

.page-khuyen-mai__hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-khuyen-mai__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px 20px;
  background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
  text-align: center;
  color: var(--color-text-main);
  z-index: 1;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.7);
}

.page-khuyen-mai__hero-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--color-text-secondary);
}

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

.page-khuyen-mai__hero-slider-prev,
.page-khuyen-mai__hero-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 15px 10px;
  cursor: pointer;
  z-index: 2;
  font-size: 1.5rem;
  border-radius: 5px;
}

.page-khuyen-mai__hero-slider-prev {
  left: 10px;
}

.page-khuyen-mai__hero-slider-next {
  right: 10px;
}

/* General Section Styling */
.page-khuyen-mai__content-section,
.page-khuyen-mai__promotion-types-section,
.page-khuyen-mai__how-to-claim-section,
.page-khuyen-mai__terms-section,
.page-khuyen-mai__faq-section,
.page-khuyen-mai__cta-download-section,
.page-khuyen-mai__copyright-section {
  padding: 60px 0;
}

.page-khuyen-mai__light-bg {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-khuyen-mai__dark-bg {
  background-color: var(--color-card-bg);
  color: var(--color-text-main);
}

.page-khuyen-mai__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--color-gold);
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-khuyen-mai__description-text {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--color-text-secondary);
}

/* Card Styling */
.page-khuyen-mai__card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--color-text-main);
}

.page-khuyen-mai__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-khuyen-mai__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text-main);
}

.page-khuyen-mai__card-description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  flex-grow: 1;
  margin-bottom: 20px;
}

/* Feature Grid */
.page-khuyen-mai__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Promotion Grid */
.page-khuyen-mai__promotion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-khuyen-mai__promotion-card .page-khuyen-mai__card-title {
  color: var(--color-gold);
}

/* How To Claim Steps */
.page-khuyen-mai__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-khuyen-mai__step-card {
  padding-top: 50px;
  position: relative;
}

.page-khuyen-mai__step-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--btn-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  border: 3px solid var(--color-gold);
  box-shadow: 0 0 15px var(--color-glow);
}

/* Terms & Conditions */
.page-khuyen-mai__terms-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}