/* Base styles for page-promotions, assuming a dark body background from shared.css */
.page-promotions {
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFB04D; /* Glow */
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-promotions__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-promotions__main-title {
  font-size: clamp(32px, 5vw, 56px); /* Responsive font size */
  font-weight: 900;
  color: #FFB04D; /* Glow */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255,176,77,0.5);
}

.page-promotions__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #FFF3E6;
  margin-bottom: 40px;
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-link {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(255,140,26,0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255,140,26,0.6);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #FFB04D;
  border: 2px solid #FFB04D;
}

.page-promotions__btn-secondary:hover {
  background: #FFB04D;
  color: #0D0E12;
  transform: translateY(-3px);
}

.page-promotions__btn-link {
  background: transparent;
  color: #FFB04D;
  border: 1px solid #FF8C1A;
  padding: 10px 20px;
  font-size: 16px;
}

.page-promotions__btn-link:hover {
  background: #FF8C1A;
  color: #ffffff;
}

/* Card styles */
.page-promotions__card {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-promotions__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #FFB04D;
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-promotions__card-date {
  font-size: 14px;
  color: #FFA53A;
  margin-bottom: 15px;
  display: block;
}

/* Promotion Categories Section */
.page-promotions__categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__category-card img {
  height: 200px; /* Fixed height for category cards */
  object-fit: cover;
}

/* Featured Promotions Section */
.page-promotions__promotion-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.page-promotions__promotion-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__promotion-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 0;
}

.page-promotions__promotion-card .page-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.page-promotions__promotion-card .page-promotions__card-text {
  margin-bottom: 15px;
}

.page-promotions__promotion-card .page-promotions__btn-primary {
  margin-top: auto;
  width: fit-content;
}

/* How to Claim Section */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
}

.page-promotions__step-icon {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(255,140,26,0.4);
}

.page-promotions__step-item .page-promotions__card-title {
  font-size: 20px;
  color: #FFB04D;
}

.page-promotions__step-item .page-promotions__card-text {
  font-size: 15px;
  color: #FFF3E6;
}

.page-promotions__step-item .page-promotions__card-text a {
  color: #FFA53A;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__step-item .page-promotions__card-text a:hover {
  text-decoration: underline;
}

/* Terms and Conditions Section */
.page-promotions__article-body {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  padding: 20px;
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
}

.page-promotions__article-body p {
  font-size: 16px;
  color: #FFF3E6;
  margin-bottom: 15px;
}

.page-promotions__article-subtitle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04D;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-promotions__article-body a {
  color: #FFA53A;
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__article-body a:hover {
  text-decoration: underline;
}

/* FAQ Section */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #17191F; /* Card BG */
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: rgba(255,140,26,0.1);
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6;
  text-align: left;
}

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

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

/* CTA Bottom Section */
.page-promotions__cta-bottom {
  padding: 80px 0;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 32px;
  }
  .page-promotions__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }
  .page-promotions__subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
  }
  .page-promotions__promotion-list {
    gap: 30px;
  }
  .page-promotions__article-subtitle {
    font-size: 22px;
  }
  .page-promotions__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-promotions__hero-section {
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    min-height: 400px;
  }
  .page-promotions__hero-image img {
    object-fit: contain !important; /* HERO 移动 object-fit:contain */
    aspect-ratio: unset;
    filter: brightness(0.6);
  }
  .page-promotions__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }
  .page-promotions__subtitle {
    font-size: clamp(14px, 4vw, 16px);
    margin-bottom: 30px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column; /* 移动端垂直排列 */
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .page-promotions__btn-primary, .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* 通用图片与容器 */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 28px;
  }
  .page-promotions__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* 产品展示图区域 (Categories Grid) */
  .page-promotions__categories-grid {
    grid-template-columns: 1fr; /* 移动端单列 */
    gap: 20px;
    overflow-x: hidden; /* 确保防横向滚动 */
  }
  .page-promotions__category-card img {
    
  }

  /* Featured Promotions */
  .page-promotions__promotion-list {
    grid-template-columns: 1fr; /* 移动端单列 */
    gap: 30px;
  }
  .page-promotions__promotion-card img {
    height: 200px;
  }
  .page-promotions__promotion-card .page-promotions__card-content {
    padding: 20px;
  }
  .page-promotions__card-title {
    font-size: 20px;
  }
  .page-promotions__card-text {
    font-size: 15px;
  }

  /* How to Claim Section */
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__step-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .page-promotions__step-item .page-promotions__card-title {
    font-size: 18px;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-promotions__article-body {
    padding: 15px;
    text-align: left; /* 保持左对齐 */
  }
  .page-promotions__article-body p,
  .page-promotions__article-body li {
    font-size: 15px;
  }
  .page-promotions__article-subtitle {
    font-size: 20px;
    margin-top: 25px;
  }

  /* FAQ Section */
  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
  }
  .page-promotions__faq-qtext {
    font-size: 16px;
  }
  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }
  .page-promotions__faq-answer p {
    font-size: 15px;
  }

  /* CTA Bottom Section */
  .page-promotions__cta-bottom {
    padding: 50px 0;
  }
}