.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default text color for dark body background */
  background-color: var(--primary-color, #0A1931); /* Assume body background is dark primary color */
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Apply header offset here as per instructions */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
}

.page-promotions__hero-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 15px;
  color: #FFD700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

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

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
  opacity: 0.8;
}

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

/* Featured Promotions Section */
.page-promotions__featured-section {
  background-color: #f8f9fa; /* Light background for contrast */
  color: #333333;
  padding: 80px 0;
}

.page-promotions__featured-section .page-promotions__section-title {
  color: #0A1931;
}

.page-promotions__featured-section .page-promotions__section-description {
  color: #555555;
}

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

.page-promotions__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__promo-image-wrapper {
  width: 100%;
  height: 200px; /* Fixed height for image consistency */
  overflow: hidden;
}

.page-promotions__promo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-promotions__promo-card-title {
  font-size: 1.4em;
  color: #0A1931;
  margin: 20px 15px 10px 15px;
  font-weight: 600;
}

.page-promotions__promo-card-description {
  font-size: 0.95em;
  color: #555555;
  padding: 0 15px 20px 15px;
  flex-grow: 1;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #0A1931;
  border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-promotions__btn-secondary {
  background-color: #0A1931; /* Dark Blue */
  color: #FFD700;
  border: 2px solid #0A1931;
}

.page-promotions__btn-secondary:hover {
  background-color: #071223;
  border-color: #071223;
}

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

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

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  background-color: #0A1931; /* Dark background */
  color: #ffffff;
  padding: 80px 0;
}

.page-promotions__how-to-claim-section .page-promotions__section-title {
  color: #FFD700;
}

.page-promotions__how-to-claim-section .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__claim-step {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #FFD700;
  color: #0A1931;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.page-promotions__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 1em;
  color: #f0f0f0;
}

.page-promotions__image-center {
  text-align: center;
  margin-top: 60px;
}

.page-promotions__claim-guide-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* VIP Section */
.page-promotions__vip-section {
  background-color: #f8f9fa; /* Light background */
  color: #333333;
  padding: 80px 0;
}

.page-promotions__vip-section .page-promotions__section-title {
  color: #0A1931;
}

.page-promotions__vip-section .page-promotions__section-description {
  color: #555555;
}

.page-promotions__vip-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__vip-text {
  flex: 1;
  min-width: 300px;
}

.page-promotions__vip-text p {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-promotions__vip-benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-promotions__vip-benefits-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23FFD700"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>') no-repeat left center;
  background-size: 20px;
  padding-left: 30px;
  margin-bottom: 10px;
  font-size: 1em;
  color: #333333;
}

.page-promotions__vip-highlight {
  color: #0A1931;
}

.page-promotions__vip-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-promotions__vip-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Terms Section */
.page-promotions__terms-section {
  background-color: #0A1931; /* Dark background */
  color: #ffffff;
  padding: 80px 0;
}

.page-promotions__terms-section .page-promotions__section-title {
  color: #FFD700;
}

.page-promotions__terms-section .page-promotions__section-description {
  color: #f0f0f0;
}

.page-promotions__terms-content {
  max-width: 900px;
  margin: 40px auto 0 auto;
  font-size: 1.1em;
}

.page-promotions__terms-content p {
  margin-bottom: 20px;
  color: #f0f0f0;
  opacity: 0.9;
}

.page-promotions__terms-content .page-promotions__btn-primary {
  margin-top: 30px;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #f8f9fa; /* Light background */
  color: #333333;
  padding: 80px 0;
}

.page-promotions__faq-section .page-promotions__section-title {
  color: #0A1931;
}

.page-promotions__faq-section .page-promotions__section-description {
  color: #555555;
}

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

/* FAQ容器样式 */
.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
}

/* 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.4s ease;
  padding: 0 15px;
  opacity: 0;
}

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

.page-promotions__faq-item.active .page-promotions__faq-question {
  background: #f5f5f5;
  border-bottom: 1px solid #ffffff;
}

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

.page-promotions__faq-question:hover {
  background: #f5f5f5;
}

.page-promotions__faq-question:active {
  background: #eeeeee;
}

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

/* 切换图标 */
.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: #0A1931;
  transform: rotate(45deg);
}

.page-promotions__faq-item.active .page-promotions__faq-question h3 {
  color: #0A1931;
}

.page-promotions__faq-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Call to Action Section */
.page-promotions__cta-section {
  background-color: #0A1931; /* Dark background */
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-promotions__cta-section .page-promotions__section-title {
  color: #FFD700;
}

.page-promotions__cta-section .page-promotions__section-description {
  color: #f0f0f0;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.page-promotions__footer-note {
  background-color: #f8f9fa; /* Light background */
  color: #333333;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9em;
}

.page-promotions__footer-note p {
  margin: 0;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }

  .page-promotions__hero-description {
    font-size: 1.1em;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__promo-card-title {
    font-size: 1.2em;
  }

  .page-promotions__vip-content {
    flex-direction: column;
  }

  .page-promotions__vip-text, .page-promotions__vip-image-wrapper {
    min-width: unset;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure offset on mobile too */
  }

  .page-promotions__hero-content {
    padding: 15px;
    max-width: 95%;
  }

  .page-promotions__hero-title {
    font-size: 2.2em;
    margin-bottom: 10px;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }

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

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

  .page-promotions__promo-grid {
    gap: 20px;
  }

  .page-promotions__claim-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }
  
  .page-promotions__faq-question h3 {
    font-size: 15px;
    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 button responsiveness */
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
  }

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ensure content area images are at least 200px (this is a general rule, specific elements may override) */
  .page-promotions__promo-image-wrapper, .page-promotions__claim-guide-image, .page-promotions__vip-image, .page-promotions__faq-image {
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-promotions__promo-image {
    height: auto !important; /* Override fixed height to allow auto for mobile */
  }
}