.page-khuyen-mai {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

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

.page-khuyen-mai-section {
  padding: 60px 0;
  margin-bottom: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai-section:nth-child(even) {
  background-color: #f4f4f4;
}

.page-khuyen-mai h1,
.page-khuyen-mai h2 {
  color: #1A202C;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

.page-khuyen-mai h1 a,
.page-khuyen-mai h2 a,
.page-khuyen-mai h3 a {
  color: #1A202C;
  text-decoration: none;
}

.page-khuyen-mai h1 a:hover,
.page-khuyen-mai h2 a:hover,
.page-khuyen-mai h3 a:hover {
  color: #FFD700;
}

.page-khuyen-mai h3 {
  color: #1A202C;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-khuyen-mai p {
  margin-bottom: 15px;
  color: #444;
}

.page-khuyen-mai a {
  color: #007bff;
  text-decoration: none;
}

.page-khuyen-mai a:hover {
  text-decoration: underline;
}

.page-khuyen-mai-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-khuyen-mai-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  text-decoration: none;
}

.page-khuyen-mai-link-button {
  display: inline-block;
  background-color: #1A202C;
  color: #FFD700;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 15px;
}

.page-khuyen-mai-link-button:hover {
  background-color: #2c3a50;
  transform: translateY(-2px);
  text-decoration: none;
}

.page-khuyen-mai-hero {
  position: relative;
  background: linear-gradient(135deg, #1A202C 0%, #303e54 100%);
  color: #ffffff;
  padding: 80px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  border-radius: 0 0 15px 15px;
}

.page-khuyen-mai-hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-khuyen-mai-hero-content h1 {
  color: #FFD700;
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-khuyen-mai-hero-content h1 a {
  color: #FFD700;
  text-decoration: none;
}

.page-khuyen-mai-hero-content h1 a:hover {
  text-decoration: underline;
}

.page-khuyen-mai-hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-khuyen-mai-hero-content p a {
  color: #FFD700;
  text-decoration: underline;
}

.page-khuyen-mai-hero-content p a:hover {
  color: #ffffff;
}

.page-khuyen-mai-hero-image {
  margin-top: 40px;
  width: 100%;
  max-width: 1000px;
  position: relative;
  z-index: 0;
}

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

.page-khuyen-mai-promo-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuyen-mai-promo-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai-promo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-khuyen-mai-promo-card h3 {
  font-size: 1.5em;
  color: #1A202C;
  margin-bottom: 10px;
}

.page-khuyen-mai-promo-card p {
  color: #555;
  font-size: 0.95em;
}

.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-item {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai-offer-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-khuyen-mai-offer-item h3 {
  font-size: 1.8em;
  color: #1A202C;
  margin-bottom: 15px;
}

.page-khuyen-mai-offer-item p {
  color: #555;
  font-size: 1em;
}

.page-khuyen-mai-list-incentives {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-khuyen-mai-list-incentives li {
  background-color: #f9f9f9;
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai-list-incentives li strong {
  color: #1A202C;
}

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

.page-khuyen-mai-game-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai-game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

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

.page-khuyen-mai-game-card h3 {
  font-size: 1.4em;
  color: #1A202C;
  margin-bottom: 10px;
}

.page-khuyen-mai-game-card p {
  color: #555;
  font-size: 0.95em;
}

.page-khuyen-mai-steps {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-top: 30px;
}

.page-khuyen-mai-steps li {
  counter-increment: step-counter;
  background-color: #fdfdfd;
  border: 1px solid #eee;
  padding: 20px 20px 20px 70px;
  margin-bottom: 20px;
  border-radius: 8px;
  position: relative;
  font-size: 1.1em;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1A202C;
  color: #FFD700;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-khuyen-mai-faq-list {
  margin-top: 40px;
}

/* FAQ default state - answer hidden */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 15px;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}

/* Question styling */
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px; /* Space between FAQ items */
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1em;
  color: #1A202C;
}

.faq-question h3 a {
  color: #1A202C;
  text-decoration: none;
}

.faq-question h3 a:hover {
  text-decoration: underline;
}

/* Toggle icon */
.faq-toggle {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.page-khuyen-mai-cta-final {
  background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%);
  color: #1A202C;
  padding: 80px 20px;
  text-align: center;
  border-radius: 8px;
}

.page-khuyen-mai-cta-final h2 {
  color: #1A202C;
  font-size: 2.5em;
}

.page-khuyen-mai-cta-final h2 a {
  color: #1A202C;
  text-decoration: none;
}

.page-khuyen-mai-cta-final h2 a:hover {
  text-decoration: underline;
}

.page-khuyen-mai-cta-final p {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #333;
}

.page-khuyen-mai-cta-final p a {
  color: #1A202C;
  text-decoration: underline;
}

.page-khuyen-mai-cta-final p a:hover {
  color: #555;
}

.page-khuyen-mai-cta-large {
  padding: 18px 45px;
  font-size: 1.3em;
  background-color: #1A202C;
  color: #FFD700;
}

.page-khuyen-mai-cta-large:hover {
  background-color: #2c3a50;
  color: #FFD700;
}

.page-khuyen-mai-img-responsive {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-khuyen-mai-img-centered {
  margin: 40px auto;
}

.page-khuyen-mai-text-center {
  text-align: center;
}

.page-khuyen-mai-text-small {
  font-size: 0.9em;
  color: #777;
  margin-top: 20px;
}

/* Responsive design */
@media (max-width: 992px) {
  .page-khuyen-mai-hero-content h1 {
    font-size: 2.5em;
  }
  .page-khuyen-mai-cta-final h2 {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai-section {
    padding: 40px 0;
  }
  .page-khuyen-mai-hero {
    padding: 60px 15px;
  }
  .page-khuyen-mai-hero-content h1 {
    font-size: 2em;
  }
  .page-khuyen-mai-hero-content p {
    font-size: 1em;
  }
  .page-khuyen-mai-promo-types,
  .page-khuyen-mai-offer-grid,
  .page-khuyen-mai-game-cashback {
    grid-template-columns: 1fr;
  }
  .page-khuyen-mai-promo-card,
  .page-khuyen-mai-offer-item,
  .page-khuyen-mai-game-card {
    padding: 20px;
  }
  .page-khuyen-mai-list-incentives li {
    padding: 12px 15px 12px 55px;
    font-size: 1em;
  }
  .page-khuyen-mai-steps li {
    padding: 15px 15px 15px 55px;
    font-size: 1em;
  }
  .page-khuyen-mai-steps li::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
    left: 15px;
  }
  .faq-question {
    padding: 12px;
    flex-direction: row;
    align-items: center;
  }
  .faq-question h3 {
    font-size: 1em;
    margin-right: 10px;
  }
  .faq-toggle {
    font-size: 18px;
    align-self: center;
    margin-top: 0;
  }
  .faq-item.active .faq-answer {
    padding: 10px 15px;
  }
  .page-khuyen-mai-cta-final h2 {
    font-size: 1.8em;
  }
  .page-khuyen-mai-cta-final p {
    font-size: 1em;
  }
  .page-khuyen-mai-cta-large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}

@media (max-width: 480px) {
  .page-khuyen-mai-hero-content h1 {
    font-size: 1.8em;
  }
  .page-khuyen-mai-cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-khuyen-mai-promo-card img,
  .page-khuyen-mai-offer-item img,
  .page-khuyen-mai-game-card img {
    height: 150px;
  }
  .page-khuyen-mai-cta-final h2 {
    font-size: 1.5em;
  }
}