.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__dark-section {
  background-color: #1A202C;
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #121212; /* Using body background as light for contrast with cards */
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-promotions__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-promotions__card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards on dark background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-primary {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  display: inline-block;
  background-color: #1A202C;
  color: #FFD700;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  border: 2px solid #FFD700;
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background-color: #2a3447;
  transform: translateY(-2px);
  border-color: #e6c200;
}

.page-promotions__btn-link {
  display: inline-block;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
  transition: color 0.3s ease;
}

.page-promotions__btn-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-promotions__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-promotions__list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.5;
  color: #f0f0f0;
}

.page-promotions__list-icon {
  color: #FFD700;
  font-size: 22px;
  margin-right: 10px;
  flex-shrink: 0;
}

/* HERO Promotions Section */
.page-promotions__hero-promotions {
  padding: 80px 0;
  overflow: hidden;
}

.page-promotions__hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions__hero-content {
  flex: 1;
  max-width: 600px;
}

.page-promotions__hero-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFD700;
  font-weight: 900;
}

.page-promotions__hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__hero-cta {
  margin-top: 30px;
}

.page-promotions__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

/* Overview Section */
.page-promotions__overview-section {
  padding: 80px 0;
}

.page-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__feature-item {
  text-align: center;
  padding: 40px 25px;
}

.page-promotions__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-promotions__feature-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* New Member Section */
.page-promotions__new-member-section {
  padding: 80px 0;
}

.page-promotions__promo-card-large {
  display: flex;
  align-items: center;
  gap: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-promotions__promo-content {
  flex: 1;
}

.page-promotions__promo-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700;
}

.page-promotions__promo-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-promotions__promo-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__promo-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Cashback Section */
.page-promotions__cashback-section {
  padding: 80px 0;
}

.page-promotions__cashback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__cashback-item {
  text-align: center;
  padding: 30px;
}

.page-promotions__cashback-image-wrapper {
  height: 200px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

.page-promotions__cashback-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.page-promotions__cashback-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-promotions__cashback-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* VIP Section */
.page-promotions__vip-section {
  padding: 80px 0;
}

.page-promotions__vip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__vip-item {
  text-align: center;
  padding: 30px;
}

.page-promotions__vip-item img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-promotions__vip-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-promotions__vip-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-promotions__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Event Section */
.page-promotions__event-section {
  padding: 80px 0;
}

.page-promotions__event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 30px;
}

.page-promotions__event-card {
  text-align: center;
  padding: 30px;
}

.page-promotions__event-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-promotions__event-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFD700;
}

.page-promotions__event-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

/* Guide Section */
.page-promotions__guide-section {
  padding: 80px 0;
}

.page-promotions__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-promotions__step-item {
  text-align: center;
  padding: 30px;
  position: relative;
  min-height: 220px;
}

.page-promotions__step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #1A202C;
  border-radius: 50%;
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-item h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-promotions__step-item p {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-promotions__important-notes {
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__notes-title {
  font-size: 28px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 25px;
  text-align: center;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

/* FAQ容器样式 */
.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* FAQ默认状态 - 答案隐藏 */
.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.3s ease;
  padding: 0 20px;
  opacity: 0;
  background: rgba(255, 255, 255, 0.05);
  color: #f0f0f0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* 问题样式 */
.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-promotions__faq-item.active .page-promotions__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-promotions__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-question:active {
  background: rgba(255, 255, 255, 0.2);
}

/* 问题标题样式 */
.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
  color: #FFD700;
}

/* 切换图标 */
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  color: #e6c200;
  transform: rotate(180deg);
}

/* --- Responsive Styles --- */
/* Mobile and Tablet general image/button rules */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions__hero-cta .page-promotions__btn-primary,
.page-promotions__promo-content .page-promotions__btn-secondary,
.page-promotions__cta-center .page-promotions__btn-primary {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-promotions__hero-promotions {
    padding: 60px 0;
  }
  
  .page-promotions__hero-container {
    flex-direction: column;
    text-align: center;
  }

  .page-promotions__hero-content {
    max-width: 100%;
  }

  .page-promotions__hero-title {
    font-size: 40px;
  }

  .page-promotions__hero-description {
    font-size: 18px;
  }

  .page-promotions__promo-card-large {
    flex-direction: column;
    padding: 40px;
  }

  .page-promotions__promo-content {
    text-align: center;
  }

  .page-promotions__promo-title {
    font-size: 28px;
  }

  .page-promotions__promo-image-wrapper img {
    max-width: 80%;
  }

  .page-promotions__event-cards {
    grid-template-columns: 1fr;
  }

  .page-promotions__event-card img {
    max-height: 300px;
  }

  .page-promotions__guide-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile padding-top */
  }

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-promotions__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-promotions__card {
    padding: 25px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 25px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__hero-promotions {
    padding: 40px 0;
  }

  .page-promotions__hero-container {
    gap: 30px;
  }

  .page-promotions__hero-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-promotions__hero-image-wrapper img {
    max-width: 90%;
  }

  .page-promotions__overview-section,
  .page-promotions__new-member-section,
  .page-promotions__cashback-section,
  .page-promotions__vip-section,
  .page-promotions__event-section,
  .page-promotions__guide-section,
  .page-promotions__faq-section {
    padding: 50px 0;
  }

  .page-promotions__features-grid,
  .page-promotions__cashback-grid,
  .page-promotions__vip-grid,
  .page-promotions__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-card-large {
    padding: 30px;
    gap: 30px;
  }

  .page-promotions__promo-title {
    font-size: 24px;
  }

  .page-promotions__promo-content p {
    font-size: 16px;
  }

  .page-promotions__cashback-image-wrapper {
    height: 180px;
  }

  .page-promotions__event-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__event-card img {
    max-height: 250px;
  }

  .page-promotions__step-item {
    min-height: auto;
  }

  .page-promotions__important-notes {
    padding: 30px;
  }

  .page-promotions__notes-title {
    font-size: 24px;
  }

  .page-promotions__list li {
    font-size: 16px;
  }

  .page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-promotions__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }
  
  .page-promotions__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }
  
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }

  /* Mobile image specific rules */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__container,
  .page-promotions__promo-card-large,
  .page-promotions__important-notes,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}