/* promotions.css */

.page-promotions {
  background-color: #100224; /* Deep purple-black for main sections, matching WOW88 style */
  color: #FFFFFF; /* Light text on dark background */
  font-family: Arial, sans-serif; /* Roboto-like气质 */
}

.page-promotions__hero-section {
  padding-top: 20px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: #100224;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Ensure it doesn't get too wide on very large screens */
  margin-bottom: 30px;
}

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

.page-promotions__hero-content {
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #FF5A4F, #E53935);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* Fallback for browsers not supporting text-fill-color */
}

.page-promotions__hero-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.85);
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(229, 57, 53, 0.4);
  min-width: 200px; /* Ensure button is not too small */
  text-align: center;
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.6);
}

.page-promotions__cta-button--centered {
  margin: 40px auto 0 auto;
  display: block;
  max-width: 300px;
}

.page-promotions__featured-section,
.page-promotions__categories-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section {
  padding: 60px 20px;
  background-color: #100224;
  text-align: center;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 15px;
  background: linear-gradient(90deg, #FF5A4F, #E53935);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-promotions__section-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.7);
}

.page-promotions__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-promotions__promo-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
}

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

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

.page-promotions__card-title,
.page-promotions__card-subtitle {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-promotions__card-title a,
.page-promotions__card-subtitle a {
  color: #E53935; /* Primary color for card titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover,
.page-promotions__card-subtitle a:hover {
  color: #FF5A4F; /* Secondary color on hover */
}

.page-promotions__card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333333; /* Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s ease;
  text-align: center;
  align-self: flex-start;
}

.page-promotions__card-button:hover {
  opacity: 0.9;
}

.page-promotions__category {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__category:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.page-promotions__category-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #FF5A4F; /* Secondary color for category titles */
}

.page-promotions__category-description {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.7);
}

.page-promotions__view-all-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 25px;
  background-color: transparent;
  border: 2px solid #E53935; /* Primary color border */
  color: #E53935;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-promotions__view-all-button:hover {
  background-color: #E53935;
  color: #FFFFFF;
}

.page-promotions__how-to-claim-section {
  background-color: #1a083a; /* Slightly different dark background */
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px auto;
}

.page-promotions__step-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
  color: #333333;
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-promotions__step-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #E53935;
}

.page-promotions__step-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333333;
}

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

.page-promotions__faq-item {
  background-color: #1a083a; /* Slightly different dark background for FAQ items */
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-promotions__faq-question {
  width: 100%;
  display: block;
  background-color: #2e1757; /* Darker header for question */
  color: #FFFFFF;
  border: none;
  padding: 18px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  padding-right: 50px; /* Space for arrow */
}

.page-promotions__faq-question::after {
  content: '+';
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-promotions__faq-question.is-active::after {
  content: '-';
  transform: translateY(-50%) rotate(0deg);
}

.page-promotions__faq-question:hover {
  background-color: #3a1f6a;
}

.page-promotions__faq-answer {
  padding: 0 25px;
  background-color: #1a083a;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promotions__faq-answer.is-open {
  max-height: 200px; /* Adjust as needed for content */
  padding: 15px 25px 25px 25px;
}

.page-promotions__faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-promotions__hero-section {
    padding-top: 10px; /* Adjust for mobile */
  }

  .page-promotions__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

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

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .page-promotions__section-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .page-promotions__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-promotions__card-image {
    height: 180px;
  }

  .page-promotions__card-title, .page-promotions__card-subtitle {
    font-size: 1.2rem;
  }

  .page-promotions__category-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
  }

  .page-promotions__step-card {
    padding: 25px;
  }

  .page-promotions__step-number {
    width: 45px;
    height: 45px;
    font-size: 1.6rem;
  }

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

  .page-promotions__faq-answer.is-open {
    padding: 10px 20px 20px 20px;
  }
}

@media (max-width: 768px) {
  /* Ensure content area images do not overflow */
  .page-promotions img {
    max-width: 100%;
    height: auto;
  }
  .page-promotions {
    overflow-x: hidden;
  }
}

@media (max-width: 549px) {
  .page-promotions__card-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__promo-card {
    margin: 0 10px;
  }

  .page-promotions__step-card {
    margin: 0 10px;
  }

  .page-promotions__faq-list {
    margin: 0 10px;
  }
}