/* style/promotions.css */

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

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

.page-promotions__section-title {
  font-size: clamp(28px, 3.5vw, 48px); /* H1 font-size rule: clamp */
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  background-color: #08160F; /* Ensure dark background for hero */
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  max-width: 900px;
  margin-top: -150px; /* Pull content up over image slightly */
  background: linear-gradient(0deg, #08160F 0%, rgba(8, 22, 15, 0.8) 70%, rgba(8, 22, 15, 0) 100%);
  padding-top: 150px;
}

.page-promotions__main-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__intro-text {
  font-size: 20px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 30px;
}

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

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent wrapping on desktop */
}

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

.page-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
}

.page-promotions__btn-secondary:hover {
  background: #57E38D;
  color: #08160F; /* Background */
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

.page-promotions__btn-large {
  padding: 18px 35px;
  font-size: 20px;
}

/* Sections */
.page-promotions__why-choose-section,
.page-promotions__how-to-claim-section,
.page-promotions__tips-section,
.page-promotions__cta-section {
  padding: 80px 0;
  background-color: #08160F; /* Default background */
}

.page-promotions__promotions-overview,
.page-promotions__terms-section,
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #0A4B2C; /* Deep Green for dark sections */
}

.page-promotions__light-bg {
  background-color: #08160F;
}

.page-promotions__dark-bg {
  background-color: #0A4B2C;
}

/* Benefits List */
.page-promotions__benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-promotions__benefit-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__benefit-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-promotions__benefit-item p {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* Promotion Cards Grid */
.page-promotions__promo-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-promotions__promo-card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-promotions__promo-card .page-promotions__card-title {
  font-size: 22px;
  color: #F2C14E; /* Gold */
  padding: 20px 20px 10px;
}

.page-promotions__promo-card .page-promotions__card-text {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  padding: 0 20px 20px;
  flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  margin: 0 20px 20px;
  align-self: flex-start;
}

/* How to Claim Steps */
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__step-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  counter-increment: step-counter;
}

.page-promotions__step-item::before {
  content: "Bước " counter(step-counter);
  position: absolute;
  top: -15px;
  left: 20px;
  background-color: #F2C14E; /* Gold */
  color: #08160F; /* Background */
  padding: 5px 15px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.page-promotions__step-title {
  font-size: 22px;
  color: #F2FFF6; /* Text Main */
  margin-top: 15px;
  margin-bottom: 10px;
}

.page-promotions__step-item p {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__step-item a {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

.page-promotions__step-item a:hover {
  color: #57E38D; /* Glow */
}

/* Terms Section */
.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  max-width: 900px;
}

.page-promotions__terms-list li {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__terms-list li strong {
  color: #F2FFF6; /* Text Main */
}

.page-promotions__full-terms-link {
  text-align: center;
  display: block;
  font-size: 18px;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__text-link {
  color: #F2C14E; /* Gold */
  text-decoration: underline;
}

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

/* Tips Section */
.page-promotions__tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__tip-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__tip-title {
  font-size: 24px;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
}

.page-promotions__tip-item p {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* FAQ Section */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #F2FFF6; /* Text Main */
  cursor: pointer;
  background-color: #11271B; /* Card BG */
  border-bottom: 1px solid #2E7A4E; /* Border */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: none;
}

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

.page-promotions__faq-question .page-promotions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #F2C14E; /* Gold */
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 0 20px 20px;
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -100px;
    padding-top: 100px;
  }
}

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

  .page-promotions__hero-content {
    margin-top: -80px;
    padding-top: 80px;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-image-wrapper {
    max-height: 400px;
  }

  .page-promotions__main-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .page-promotions__intro-text {
    font-size: 16px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .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;
  }

  .page-promotions__section-title {
    font-size: clamp(24px, 5vw, 36px);
  }

  .page-promotions__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-promotions__why-choose-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__tips-section,
  .page-promotions__cta-section,
  .page-promotions__promotions-overview,
  .page-promotions__terms-section,
  .page-promotions__faq-section {
    padding: 40px 0;
  }

  .page-promotions__container,
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__promo-card,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile image adaptation */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile video adaptation */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

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

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

  .page-promotions__benefit-title,
  .page-promotions__tip-title {
    font-size: 20px;
  }

  .page-promotions__step-title {
    font-size: 18px;
  }

  .page-promotions__faq-question {
    font-size: 16px;
    padding: 15px;
  }

  .page-promotions__faq-toggle {
    font-size: 20px;
  }

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