/* style/promotions.css */

/* Body background color is handled by shared.css, assuming dark theme */
.page-promotions {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  background-color: #08160F; /* Background */
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  max-width: 1200px; /* Adjust based on desired visual width */
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  z-index: 1;
}

.page-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  /* No fixed font-size, rely on font-weight and line-height for hierarchy */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-promotions__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-promotions__hero-cta-buttons,
.page-promotions__final-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* General Section Styles */
.page-promotions__overview-section,
.page-promotions__details-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__conclusion-section {
  padding: 60px 0;
  background-color: #08160F; /* Background */
  border-top: 1px solid #1E3A2A; /* Divider */
}

.page-promotions__section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-promotions__sub-title,
.page-promotions__card-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  margin-top: 30px;
  margin-bottom: 20px;
  line-height: 1.4;
}

.page-promotions__card-sub-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #A7D9B8; /* Text Secondary */
  margin-top: 20px;
  margin-bottom: 15px;
}

.page-promotions__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 15px;
}

.page-promotions__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

.page-promotions__list-item {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 10px;
}

.page-promotions__inline-link {
  color: #2AD16F; /* Brighter green for links */
  text-decoration: underline;
}

.page-promotions__inline-link:hover {
  color: #57E38D; /* Glow */
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  cursor: pointer;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #57E38D 0%, #2AD16F 100%); /* Lighter gradient on hover */
  box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Brighter green for text */
  border: 2px solid #2E7A4E; /* Border */
}

.page-promotions__btn-secondary:hover {
  background: #1E3A2A; /* Divider */
  color: #57E38D; /* Glow */
  border-color: #57E38D;
  transform: translateY(-2px);
}

.page-promotions__step-button {
  margin-top: 15px;
  margin-bottom: 30px;
}

/* Card Layouts */
.page-promotions__promotion-card {
  background-color: #11271B; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__card-image {
  width: 100%;
  max-width: 600px; /* Example size, adjust as needed */
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions__cta-image {
  margin-top: 40px;
  margin-bottom: 40px;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-promotions__faq-question:hover {
  background-color: #1E3A2A; /* Divider */
}

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  color: #57E38D;
}

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__main-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .page-promotions__section-title {
    font-size: 2rem;
  }

  .page-promotions__sub-title,
  .page-promotions__card-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    margin-bottom: 10px;
  }

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

  .page-promotions__hero-cta-buttons,
  .page-promotions__final-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__overview-section,
  .page-promotions__details-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    padding: 40px 0;
  }

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-promotions__sub-title,
  .page-promotions__card-title {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .page-promotions__card-sub-title {
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .page-promotions__text-block,
  .page-promotions__list-item {
    font-size: 0.95rem;
  }

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

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

  /* Image Responsive rules */
  .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,
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__details-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section,
  .page-promotions__promotion-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important;
  }
}