/* style/promotions.css */

/* Base Styles for page-promotions */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  padding-bottom: 50px; /* Ensure footer spacing */
}

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

.page-promotions__section-title {
  font-size: clamp(28px, 4vw, 42px); /* Responsive font size */
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFD36B; /* Glow color for titles */
  line-height: 1.2;
}

.page-promotions__text-block {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
  color: #FFF6D6;
}

.page-promotions__highlight {
  color: #FFD36B; /* Highlight color */
  font-weight: bold;
}

/* Button Styles */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-small,
.page-promotions__card-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  text-align: center;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast on bright button */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #3A2A12; /* Border color */
  box-shadow: none;
}

.page-promotions__btn-secondary:hover {
  background: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
  border-color: #FFD36B;
}

.page-promotions__btn-small {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  padding: 8px 15px;
  font-size: 14px;
  border-radius: 5px;
  margin-top: 10px;
}

.page-promotions__card-link {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 5px;
  margin-top: auto; /* Push to bottom of card */
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  flex-direction: column; /* Stacks image above content on smaller screens, or default */
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  margin-bottom: 50px;
  background-color: #0A0A0A;
}

.page-promotions__hero-image {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  order: 1; /* Image first in DOM */
}

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

.page-promotions__hero-content {
  order: 2; /* Content after image in DOM */
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
}

.page-promotions__main-title {
  font-size: clamp(36px, 5vw, 56px); /* Responsive font size for H1 */
  font-weight: 800;
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
  max-width: 100%;
}

.page-promotions__hero-description {
  font-size: 20px;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Intro Section */
.page-promotions__intro-section {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  text-align: center;
}

/* Promo Types Section */
.page-promotions__promo-types {
  padding: 80px 0;
  background-color: #111111; /* Card BG, but used as section BG for variation */
  color: #FFF6D6;
}

.page-promotions__promo-types .page-promotions__section-title {
  color: #FFD36B;
}

.page-promotions__promo-types .page-promotions__text-block {
  color: #FFF6D6;
}

.page-promotions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Desktop: 4 columns for 4 cards */
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

/* How to Claim Section */
.page-promotions__how-to-claim {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  text-align: center;
}

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

.page-promotions__step-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-number {
  font-size: 48px;
  font-weight: 800;
  color: #FFD36B;
  line-height: 1;
  margin-bottom: 15px;
  background: -webkit-linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-promotions__step-title {
  font-size: 24px;
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-promotions__step-description {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Terms Summary Section */
.page-promotions__terms-summary {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
  text-align: center;
}

.page-promotions__terms-summary .page-promotions__section-title {
  color: #FFD36B;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 30px auto 40px;
  max-width: 800px;
  text-align: left;
}

.page-promotions__terms-list li {
  font-size: 17px;
  color: #FFF6D6;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-promotions__terms-list li::before {
  content: "•";
  color: #FFD36B;
  position: absolute;
  left: 0;
  font-size: 24px;
  line-height: 1;
  top: -2px;
}

/* Why Choose Section */
.page-promotions__why-choose {
  padding: 80px 0;
  background-color: #0A0A0A; /* Background */
  text-align: center;
}

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

.page-promotions__feature-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__feature-item img {
   /* HTML width/height */
   /* HTML width/height */
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 211, 107, 0.6)); /* Glow for icon */
  /* No filter to change color */
}

.page-promotions__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 10px;
}

.page-promotions__feature-description {
  font-size: 16px;
  color: #FFF6D6;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #111111; /* Card BG */
  color: #FFF6D6;
}

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

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

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border color */
  overflow: hidden;
  background: #0A0A0A; /* Background */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #FFF6D6;
  font-weight: 600;
  position: relative;
}
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, 211, 107, 0.05);
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: #FFF6D6;
}
.page-promotions__faq-toggle {
  font-size: 28px; /* Larger for better visibility */
  font-weight: bold;
  color: #FFD36B; /* Glow color for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: #111111; /* Card BG */
  border-radius: 0 0 12px 12px;
  color: #FFF6D6;
  font-size: 16px;
}
details.page-promotions__faq-item .page-promotions__faq-answer p {
  margin: 0;
}

/* CTA Bottom Section */
.page-promotions__cta-bottom {
  padding: 60px 0;
  background-color: #0A0A0A; /* Background */
  text-align: center;
}

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

.page-promotions__cta-bottom .page-promotions__section-title {
  margin-bottom: 20px;
}

.page-promotions__cta-bottom .page-promotions__text-block {
  margin-bottom: 40px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__hero-content {
    padding: 30px 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

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

  .page-promotions__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }

  .page-promotions__text-block {
    font-size: 17px;
  }

  .page-promotions__grid,
  .page-promotions__steps-grid,
  .page-promotions__features-grid {
    gap: 20px;
  }

  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__feature-title {
    font-size: 20px;
  }

  .page-promotions__card-description,
  .page-promotions__step-description,
  .page-promotions__feature-description {
    font-size: 15px;
  }

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

  .page-promotions__faq-qtext {
    font-size: 17px;
  }

  .page-promotions__faq-answer {
    font-size: 15px;
  }
}


@media (max-width: 768px) {
  /* General mobile adjustments */
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: 30px;
  }

  .page-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__section-title {
    font-size: clamp(24px, 7vw, 32px);
    margin-bottom: 30px;
  }

  .page-promotions__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    max-width: 100%;
  }

  /* HERO 主图区域 */
  .page-promotions__hero-section {
    padding-top: 10px;
    margin-bottom: 30px;
  }

  .page-promotions__hero-image img {
    object-fit: contain !important; /* Mobile: contain to prevent cropping */
    aspect-ratio: unset !important; /* Mobile: unset aspect ratio */
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__hero-content {
    padding: 20px 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 15px;
  }

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

  .page-promotions__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* 按钮与按钮容器 */
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-small,
  .page-promotions__card-link,
  .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-wrap: wrap !important;
    gap: 10px;
  }
}