.page-promotions-daily-weekly-rebate {
  color: #ffffff; /* Body background is dark (#0d0d0d), so text must be light */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #0d0d0d; /* Ensure consistency with body background */
}

.page-promotions-daily-weekly-rebate__hero-section {
  background: url('[GALLERY:hero_banner:1920x1080:full88,promotions,rebate_banner]') no-repeat center center/cover;
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-promotions-daily-weekly-rebate__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-promotions-daily-weekly-rebate__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions-daily-weekly-rebate__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-daily-weekly-rebate__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700; /* Gold for CTA */
  color: #0A246A;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-promotions-daily-weekly-rebate__cta-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.page-promotions-daily-weekly-rebate__content-section {
  padding: 60px 20px;
  background-color: #0d0d0d;
}

.page-promotions-daily-weekly-rebate__content-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions-daily-weekly-rebate__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD700;
}

.page-promotions-daily-weekly-rebate__text-block, 
.page-promotions-daily-weekly-rebate__rebate-details,
.page-promotions-daily-weekly-rebate__how-to-claim,
.page-promotions-daily-weekly-rebate__terms-conditions,
.page-promotions-daily-weekly-rebate__why-choose,
.page-promotions-daily-weekly-rebate__cta-bottom {
  margin-bottom: 60px;
  background-color: rgba(10, 36, 106, 0.7); /* Dark blue semi-transparent background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-promotions-daily-weekly-rebate__text-block p,
.page-promotions-daily-weekly-rebate__rebate-details p,
.page-promotions-daily-weekly-rebate__how-to-claim p,
.page-promotions-daily-weekly-rebate__terms-conditions p,
.page-promotions-daily-weekly-rebate__why-choose p,
.page-promotions-daily-weekly-rebate__cta-bottom p {
  font-size: 18px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-promotions-daily-weekly-rebate__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-daily-weekly-rebate__list,
.page-promotions-daily-weekly-rebate__steps-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-promotions-daily-weekly-rebate__list li,
.page-promotions-daily-weekly-rebate__steps-list li {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-left: 5px solid #FFD700;
  border-radius: 5px;
  font-size: 17px;
  color: #ffffff;
}

.page-promotions-daily-weekly-rebate__list-strong {
  color: #FFD700;
}

.page-promotions-daily-weekly-rebate__cta-bottom .page-promotions-daily-weekly-rebate__cta-button--large {
  padding: 18px 50px;
  font-size: 22px;
}

.page-promotions-daily-weekly-rebate__faq-section {
  background-color: #0A246A; /* Dark blue background for FAQ */
  padding: 60px 20px;
  color: #ffffff;
}

.page-promotions-daily-weekly-rebate__faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions-daily-weekly-rebate__faq-list {
  margin-top: 30px;
}

/* FAQ容器样式 */
.page-promotions-daily-weekly-rebate__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ默认状态 - 答案隐藏 */
.page-promotions-daily-weekly-rebate__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.4s ease;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ展开状态 - 🚨 使用!important和足够大的max-height确保一定能展开 */
.page-promotions-daily-weekly-rebate__faq-item.active .page-promotions-daily-weekly-rebate__faq-answer {
  max-height: 2000px !important; /* 🚨 使用!important确保优先级，值足够大以容纳任何内容 */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0 0 5px 5px;
}

/* 问题样式 */
.page-promotions-daily-weekly-rebate__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #0A246A;
  border: 1px solid #FFD700; /* Gold border for contrast */
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions-daily-weekly-rebate__faq-question:hover {
  background: #1a3c8a;
  border-color: #FFD700;
}

.page-promotions-daily-weekly-rebate__faq-question:active {
  background: #051442;
}

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

/* 切换图标 */
.page-promotions-daily-weekly-rebate__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-daily-weekly-rebate__faq-item.active .page-promotions-daily-weekly-rebate__faq-toggle {
  color: #ffffff;
  transform: rotate(45deg);
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
  .page-promotions-daily-weekly-rebate__hero-section {
    padding: 80px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions-daily-weekly-rebate__main-title {
    font-size: 32px;
  }

  .page-promotions-daily-weekly-rebate__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-promotions-daily-weekly-rebate__cta-button {
    padding: 12px 25px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-daily-weekly-rebate__content-section {
    padding: 40px 15px;
  }

  .page-promotions-daily-weekly-rebate__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-promotions-daily-weekly-rebate__text-block,
  .page-promotions-daily-weekly-rebate__rebate-details,
  .page-promotions-daily-weekly-rebate__how-to-claim,
  .page-promotions-daily-weekly-rebate__terms-conditions,
  .page-promotions-daily-weekly-rebate__why-choose,
  .page-promotions-daily-weekly-rebate__cta-bottom {
    padding: 20px;
    margin-bottom: 40px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-daily-weekly-rebate__text-block p,
  .page-promotions-daily-weekly-rebate__rebate-details p,
  .page-promotions-daily-weekly-rebate__how-to-claim p,
  .page-promotions-daily-weekly-rebate__terms-conditions p,
  .page-promotions-daily-weekly-rebate__why-choose p,
  .page-promotions-daily-weekly-rebate__cta-bottom p {
    font-size: 16px;
  }

  .page-promotions-daily-weekly-rebate__list li,
  .page-promotions-daily-weekly-rebate__steps-list li {
    font-size: 15px;
    padding: 12px 15px;
  }

  .page-promotions-daily-weekly-rebate__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
    margin: 20px auto;
  }

  .page-promotions-daily-weekly-rebate__cta-bottom .page-promotions-daily-weekly-rebate__cta-button--large {
    font-size: 18px;
    padding: 15px 30px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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