.page-khuyen-mai {
  --primary-color: #CC0000;
  --secondary-color: #003366;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f8f8;
  --bg-dark: #002244;
  --accent-gold: #FFD700;
}

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

.page-khuyen-mai section {
  padding: 60px 0;
  text-align: center;
}

.page-khuyen-mai section:nth-of-type(odd) {
  background-color: var(--bg-light);
}

.page-khuyen-mai h1, .page-khuyen-mai h2, .page-khuyen-mai h3 {
  color: var(--secondary-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-khuyen-mai h1 {
  font-size: 3.2em;
  color: var(--text-light);
}

.page-khuyen-mai h2 {
  font-size: 2.5em;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-khuyen-mai h3 {
  font-size: 1.8em;
  color: var(--primary-color);
}

.page-khuyen-mai p {
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.page-khuyen-mai .cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai .cta-button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Hero Section */
.page-khuyen-mai .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
  overflow: hidden;
}

.page-khuyen-mai .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-khuyen-mai .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Adjust as needed */
}

.page-khuyen-mai .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-khuyen-mai .hero-content h1 {
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-khuyen-mai .hero-content p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 800px;
  margin: 0 auto 30px;
}

/* Section Intro */
.page-khuyen-mai .section-intro p {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Offer Grid */
.page-khuyen-mai .offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .offer-card {
  background-color: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai .offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-khuyen-mai .offer-card img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-khuyen-mai .offer-card h3 {
  margin-bottom: 15px;
  font-size: 1.6em;
}

.page-khuyen-mai .offer-card h3 a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-khuyen-mai .offer-card h3 a:hover {
  color: var(--secondary-color);
}

.page-khuyen-mai .offer-card p {
  color: var(--text-dark);
  font-size: 1em;
  flex-grow: 1;
}

.page-khuyen-mai .btn-offer {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-khuyen-mai .btn-offer:hover {
  background-color: var(--primary-color);
}

/* Cashback Items */
.page-khuyen-mai .cashback-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .cashback-item {
  background-color: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: left;
}

.page-khuyen-mai .cashback-item img {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-khuyen-mai .cashback-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-khuyen-mai .cashback-item p {
  font-size: 0.95em;
  color: var(--text-dark);
}

.page-khuyen-mai .cashback-note {
  font-style: italic;
  margin-top: 30px;
  color: var(--secondary-color);
}

/* Reload Bonus List */
.page-khuyen-mai .reload-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-khuyen-mai .reload-list li {
  background-color: var(--text-light);
  border-left: 5px solid var(--primary-color);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-khuyen-mai .reload-list li strong {
  color: var(--secondary-color);
  font-size: 1.2em;
}

/* Event Cards */
.page-khuyen-mai .event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .event-card {
  background-color: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-khuyen-mai .event-card img {
  width: 100%;
  max-width: 350px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-khuyen-mai .event-card h3 {
  font-size: 1.6em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-khuyen-mai .event-card p {
  color: var(--text-dark);
  font-size: 1em;
}

/* VIP Benefits */
.page-khuyen-mai .vip-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .benefit-item {
  background-color: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: left;
}

.page-khuyen-mai .benefit-item img {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-khuyen-mai .benefit-item h3 {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-khuyen-mai .benefit-item p {
  font-size: 0.95em;
  color: var(--text-dark);
}

/* Referral Steps */
.page-khuyen-mai .referral-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai .step-item {
  background-color: var(--text-light);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
}

.page-khuyen-mai .step-item img {
  width: 100%;
  max-width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-khuyen-mai .step-item h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.page-khuyen-mai .step-item p {
  font-size: 0.95em;
  color: var(--text-dark);
}

/* Terms List */
.page-khuyen-mai .terms-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto;
  text-align: left;
}

.page-khuyen-mai .terms-list li {
  background-color: var(--text-light);
  border-left: 5px solid var(--secondary-color);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  font-size: 1.1em;
  color: var(--text-dark);
}

.page-khuyen-mai .terms-list li strong {
  color: var(--primary-color);
  font-size: 1.2em;
}

/* FAQ Section */
.page-khuyen-mai .section-faq {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-khuyen-mai .section-faq h2 {
  color: var(--accent-gold);
}

.page-khuyen-mai .faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-khuyen-mai .faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--text-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-khuyen-mai .faq-question:hover {
  background-color: var(--primary-color);
}

.page-khuyen-mai .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-light);
}

.page-khuyen-mai .faq-toggle {
  font-size: 2em;
  font-weight: bold;
  transition: transform 0.3s ease;
  line-height: 1;
}

.page-khuyen-mai .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: var(--text-light);
  color: var(--text-dark);
}

.page-khuyen-mai .faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed for content */
  padding: 25px;
}

.page-khuyen-mai .faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.page-khuyen-mai .faq-answer p {
  margin: 0;
  font-size: 1em;
  color: var(--text-dark);
}

/* Conclusion Section */
.page-khuyen-mai .section-conclusion {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-khuyen-mai .section-conclusion h2 {
  color: var(--accent-gold);
}

.page-khuyen-mai .section-conclusion p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyen-mai .section-conclusion .cta-button {
  background-color: var(--secondary-color);
}

.page-khuyen-mai .section-conclusion .cta-button:hover {
  background-color: var(--accent-gold);
  color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-khuyen-mai h1 {
    font-size: 2.8em;
  }

  .page-khuyen-mai h2 {
    font-size: 2em;
  }

  .page-khuyen-mai h3 {
    font-size: 1.4em;
  }

  .page-khuyen-mai .hero-section {
    padding: 60px 15px;
  }

  .page-khuyen-mai .hero-image {
    margin-bottom: 20px;
  }

  .page-khuyen-mai .hero-image img {
    border-radius: 8px;
  }

  .page-khuyen-mai .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }

  .page-khuyen-mai .offer-grid, .page-khuyen-mai .cashback-items, .page-khuyen-mai .event-cards, .page-khuyen-mai .vip-benefits, .page-khuyen-mai .referral-steps {
    grid-template-columns: 1fr;
  }

  .page-khuyen-mai .offer-card, .page-khuyen-mai .cashback-item, .page-khuyen-mai .event-card, .page-khuyen-mai .benefit-item, .page-khuyen-mai .step-item {
    padding: 25px;
  }

  .page-khuyen-mai .faq-question {
    padding: 15px 20px;
  }

  .page-khuyen-mai .faq-answer {
    padding: 0 20px;
  }

  .page-khuyen-mai .faq-item.active .faq-answer {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai h1 {
    font-size: 2.2em;
  }

  .page-khuyen-mai h2 {
    font-size: 1.8em;
  }

  .page-khuyen-mai h3 {
    font-size: 1.2em;
  }

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

  .page-khuyen-mai .hero-section {
    padding: 40px 15px;
  }

  .page-khuyen-mai .hero-content p {
    font-size: 0.95em;
  }

  .page-khuyen-mai p {
    font-size: 1em;
  }

  .page-khuyen-mai .reload-list, .page-khuyen-mai .terms-list, .page-khuyen-mai .faq-list {
    margin: 20px auto;
  }

  .page-khuyen-mai .reload-list li, .page-khuyen-mai .terms-list li {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-khuyen-mai .faq-question h3 {
    font-size: 1.1em;
  }

  .page-khuyen-mai .faq-toggle {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .page-khuyen-mai h1 {
    font-size: 1.8em;
  }

  .page-khuyen-mai h2 {
    font-size: 1.5em;
  }

  .page-khuyen-mai .hero-content p {
    font-size: 0.9em;
  }

  .page-khuyen-mai .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }

  .page-khuyen-mai .offer-card img, .page-khuyen-mai .cashback-item img, .page-khuyen-mai .event-card img, .page-khuyen-mai .benefit-item img, .page-khuyen-mai .step-item img {
    height: 150px;
  }

  .page-khuyen-mai .faq-question h3 {
    font-size: 1em;
  }

  .page-khuyen-mai .faq-toggle {
    font-size: 1.5em;
  }
}