/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background: #0D0E12; /* Background */
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, relying on shared.css for body padding-top */
  padding-bottom: 40px;
  overflow: hidden;
  background-color: #17191F; /* Card BG */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Max height for desktop hero image */
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Cover for desktop to fill space */
}

.page-promotions__hero-content {
  padding: 30px 15px;
  max-width: 900px;
  margin-top: 20px;
}

.page-promotions__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FF8C1A; /* Main color */
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #FFF3E6; /* Text Main */
}

/* General Buttons */
.page-promotions__cta-button,
.page-promotions__promo-card-button,
.page-promotions a[class*="button"],
.page-promotions a[class*="btn"] {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4); /* Glow */
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover,
.page-promotions__promo-card-button:hover,
.page-promotions a[class*="button"]:hover,
.page-promotions a[class*="btn"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6); /* Enhanced Glow */
}

.page-promotions__cta-button--large {
    padding: 18px 40px;
    font-size: 20px;
}


/* Intro Section */
.page-promotions__intro-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
}

.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
  color: #FF8C1A; /* Main color */
}

.page-promotions__section-description {
  font-size: 17px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #FFF3E6; /* Text Main */
}

/* Promo Categories Section */
.page-promotions__promo-categories-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-promotions__promo-card {
  background: #0D0E12; /* Background for inner card */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3); /* Glow */
}

.page-promotions__promo-card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions__promo-card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 250px); /* Adjust height based on image height */
}

.page-promotions__promo-card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FF8C1A; /* Main color */
}

.page-promotions__promo-card-description {
  font-size: 15px;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1; /* Allow description to take available space */
}

.page-promotions__promo-card-button {
  background: #D96800; /* Deep Orange */
  transition: background-color 0.3s ease;
}

.page-promotions__promo-card-button:hover {
  background: #FF8C1A; /* Main color on hover */
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 60px 0;
  background-color: #0D0E12; /* 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-item {
  background: #17191F; /* Card BG */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid #A84F0C; /* Border */
}

.page-promotions__step-image {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__step-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FFA53A; /* Aux color */
}

.page-promotions__step-description {
  font-size: 16px;
  color: #FFF3E6; /* Text Main */
}

.page-promotions__cta-wrapper {
    margin-top: 60px;
}

/* Tips Section */
.page-promotions__tips-section {
  padding: 60px 0;
  background-color: #17191F; /* Card BG */
}

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

.page-promotions__tip-card {
  background: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-promotions__tip-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #FF8C1A; /* Main color */
}

.page-promotions__tip-description {
  font-size: 16px;
  color: #FFF3E6; /* Text Main */
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #0D0E12; /* Background */
}

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

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: #252830; /* Slightly lighter Card BG on hover */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FF8C1A; /* Main color */
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Aux color */
  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 Main */
  font-size: 16px;
}
details.page-promotions__faq-item .page-promotions__faq-answer p {
    margin: 0;
}


/* Bottom CTA Section */
.page-promotions__cta-bottom-section {
  padding: 60px 0;
  text-align: center;
  background-color: #17191F; /* Card BG */
}

.page-promotions__cta-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FF8C1A; /* Main color */
}

.page-promotions__cta-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF3E6; /* Text Main */
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 42px;
  }
  .page-promotions__section-title {
    font-size: 32px;
  }
  .page-promotions__cta-title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-promotions__hero-section {
    padding-top: 10px; /* Small top padding, relying on shared.css for body padding-top */
    padding-bottom: 30px;
  }
  .page-promotions__hero-image {
    object-fit: contain !important; /* Mobile: contain to prevent cropping */
    aspect-ratio: unset !important; /* Mobile: unset aspect ratio */
    max-height: 300px; /* Limit height on mobile */
  }
  .page-promotions__hero-content {
    padding: 20px 15px;
  }
  .page-promotions__hero-title {
    font-size: clamp(28px, 8vw, 36px); /* Responsive font size */
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  /* 通用容器和图片 */
  .page-promotions__container,
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-promotions__promo-card-image,
  .page-promotions__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* 装饰主标题 + 长文 SEO 区 */
  .page-promotions__section-title {
    font-size: clamp(24px, 7vw, 30px); /* Responsive font size */
    margin-bottom: 15px;
  }
  .page-promotions__section-description {
    font-size: 15px;
    margin-bottom: 30px;
    text-align: left; /* Adjust alignment for mobile */
  }

  /* Sản phẩm trưng bày khu vực (Promo Grid) */
  .page-promotions__promo-grid {
    grid-template-columns: 1fr; /* Stack cards on mobile */
    gap: 20px;
  }
  .page-promotions__promo-card {
    margin: 0 auto; /* Center single column cards */
    max-width: 400px; /* Limit width for stacked cards */
  }
  .page-promotions__promo-card-image {
    height: 200px; /* Smaller fixed height for mobile cards */
  }
  .page-promotions__promo-card-content {
    height: auto; /* Allow content to expand */
  }
  .page-promotions__promo-card-title {
    font-size: 20px;
  }
  .page-promotions__promo-card-description {
    font-size: 14px;
  }
  .page-promotions__promo-card-button {
    padding: 12px 20px;
    font-size: 15px;
  }

  /* How to Claim Section */
  .page-promotions__steps-grid {
    grid-template-columns: 1fr; /* Stack steps on mobile */
    gap: 20px;
  }
  .page-promotions__step-item {
    padding: 20px;
  }
  .page-promotions__step-image {
    max-width: 200px; /* Smaller image for mobile steps */
  }
  .page-promotions__step-title {
    font-size: 20px;
  }
  .page-promotions__step-description {
    font-size: 15px;
  }
  .page-promotions__cta-wrapper {
      margin-top: 40px;
  }

  /* Tips Section */
  .page-promotions__tips-grid {
    grid-template-columns: 1fr; /* Stack tips on mobile */
    gap: 20px;
  }
  .page-promotions__tip-card {
    padding: 25px;
  }
  .page-promotions__tip-title {
    font-size: 20px;
  }
  .page-promotions__tip-description {
    font-size: 15px;
  }

  /* 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; }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* Bottom CTA Section */
  .page-promotions__cta-title {
    font-size: clamp(28px, 7vw, 34px); /* Responsive font size */
    margin-bottom: 15px;
  }
  .page-promotions__cta-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-promotions__cta-button,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    padding: 15px 25px;
    font-size: 16px;
    width: 100% !important; /* Force full width */
    max-width: 300px !important; /* Limit max width for aesthetic */
    margin: 0 auto; /* Center button */
  }
  .page-promotions__cta-button--large {
    padding: 16px 30px;
    font-size: 18px;
  }
  .page-promotions__cta-wrapper .page-promotions__cta-button {
    width: 100% !important;
    max-width: 300px !important;
  }
}