.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #1a1a2e; /* From shared.css body background */
}

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Adjusted for fixed header offset */
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  background: linear-gradient(135deg, #017439, #005a2d);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-content {
  max-width: 800px;
  z-index: 10;
  margin-bottom: 30px;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.page-promotions__hero-description {
  font-size: 1.15rem;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #C30808; /* Register color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

.page-promotions__btn-secondary:hover {
  background-color: #C30808;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 30px;
  z-index: 5;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__section {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions__overview-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__section-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.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: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-promotions__promo-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.page-promotions__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions__card-text {
  font-size: 1rem;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  width: fit-content;
  margin-top: auto;
  align-self: flex-start;
}

.page-promotions__vip-section {
  background: linear-gradient(90deg, #017439, #005a2d);
  color: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  text-align: left;
}

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

.page-promotions__vip-image-wrapper {
  flex: 1;
  text-align: center;
}

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

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

.page-promotions__vip-benefits li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  color: #f0f0f0;
}

.page-promotions__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  background-color: #FFFF00; /* Yellow icon color */
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.page-promotions__icon--star {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 .587l3.668 7.568 8.332 1.151-6.064 5.828 1.48 8.279L12 18.896l-7.416 3.817 1.48-8.279L.001 9.306l8.332-1.151L12 .587z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 .587l3.668 7.568 8.332 1.151-6.064 5.828 1.48 8.279L12 18.896l-7.416 3.817 1.48-8.279L.001 9.306l8.332-1.151L12 .587z"/></svg>');
}

.page-promotions__icon--gift {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 12h-2V7c0-1.103-.897-2-2-2h-4c-1.103 0-2 .897-2 2v5H4c-1.103 0-2 .897-2 2v2c0 1.103.897 2 2 2h2v4c0 1.103.897 2 2 2h8c1.103 0 2-.897 2-2v-4h2c1.103 0 2-.897 2-2v-2c0-1.103-.897-2-2-2zm-6-5h4v5h-4V7zm-2 14h-4v-4h4v4zm0-6h-4v-2h4v2z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 12h-2V7c0-1.103-.897-2-2-2h-4c-1.103 0-2 .897-2 2v5H4c-1.103 0-2 .897-2 2v2c0 1.103.897 2 2 2h2v4c0 1.103.897 2 2 2h8c1.103 0 2-.897 2-2v-4h2c1.103 0 2-.897 2-2v-2c0-1.103-.897-2-2-2zm-6-5h4v5h-4V7zm-2 14h-4v-4h4v4zm0-6h-4v-2h4v2z"/></svg>');
}

.page-promotions__icon--event {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2zm-1 16H6V8h13.999L20 20z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.103 0-2 .897-2 2v14c0 1.103.897 2 2 2h14c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2zm-1 16H6V8h13.999L20 20z"/></svg>');
}

.page-promotions__icon--cash {
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 4H4c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2zm0 2v2H4V6h16zm0 4h-4V8h4v2zM4 18v-6h16l.001 6H4z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20 4H4c-1.103 0-2 .897-2 2v12c0 1.103.897 2 2 2h16c1.103 0 2-.897 2-2V6c0-1.103-.897-2-2-2zm0 2v2H4V6h16zm0 4h-4V8h4v2zM4 18v-6h16l.001 6H4z"/></svg>');
}

.page-promotions__how-to-claim {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-promotions__step-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-promotions__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #C30808;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__step-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions__step-text {
  font-size: 1rem;
  color: #e0e0e0;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-promotions__step-item .page-promotions__btn-secondary {
  width: fit-content;
  margin: auto auto 0 auto;
}

.page-promotions__faq-section {
  background-color: #1a1a2e;
  color: #ffffff;
}

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

.page-promotions__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.page-promotions__faq-question::-webkit-details-marker,
.page-promotions__faq-question::marker {
  display: none;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #FFFF00;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: #e0e0e0;
  background-color: rgba(255, 255, 255, 0.03);
}

.page-promotions__final-cta {
  background: linear-gradient(135deg, #017439, #005a2d);
  color: #ffffff;
  padding-bottom: 80px;
}

/* General image styling */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Dark background for sections/cards */
.page-promotions__dark-bg {
  color: #ffffff;
}

.page-promotions__light-bg {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Media Queries */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    max-width: 700px;
  }

  .page-promotions__vip-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .page-promotions__vip-content {
    max-width: 800px;
  }

  .page-promotions__vip-benefits {
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__main-title {
    font-size: 2rem !important;
  }

  .page-promotions__hero-description {
    font-size: 1rem;
  }

  /* 产品展示图区域 (Promo Grid) */
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* 通用图片与容器 */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__section,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__faq-item,
  .page-promotions__hero-image-wrapper,
  .page-promotions__vip-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-promotions__cta-button,
  .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; /* Force vertical stacking for buttons */
    gap: 10px;
  }

  /* 其他内容模块 */
  .page-promotions__section {
    padding: 40px 15px;
  }

  .page-promotions__section-title {
    font-size: 1.8rem !important;
  }

  .page-promotions__section-description {
    font-size: 1rem;
  }

  .page-promotions__promo-card,
  .page-promotions__step-item {
    padding: 20px;
  }

  .page-promotions__card-title {
    font-size: 1.4rem;
  }

  .page-promotions__step-title {
    font-size: 1.5rem;
  }

  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-promotions__faq-answer {
    padding: 15px 20px;
  }

  .page-promotions__faq-toggle {
    font-size: 1.5rem;
  }

  .page-promotions__vip-benefits li {
    font-size: 1rem;
  }

  .page-promotions__vip-section .page-promotions__section-title {
    font-size: 2rem !important;
  }
}