/* style/promotions.css */

/* Custom Colors */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --bg-color-main: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* General styles for the promotions page */
.page-promotions {
  background-color: var(--bg-color-main); /* Dark background for the entire page content */
  color: var(--text-main); /* Light text for dark 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, 4vw, 42px);
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Subtle glow */
}

.page-promotions__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-secondary);
  text-align: justify;
}

.page-promotions__text-block a {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__text-block a:hover {
  text-decoration: underline;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure visibility */
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--text-main);
  max-width: 900px;
  padding: 20px;
}

.page-promotions__hero-title {
  font-size: clamp(32px, 5vw, 60px); /* Responsive H1 */
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--gold-color);
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.7);
}

.page-promotions__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 30px;
  color: var(--text-main);
}

/* CTA Button Base */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--button-gradient);
  color: #ffffff; /* White text for button */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__cta-button--small {
  font-size: 16px;
  padding: 12px 25px;
}

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

.page-promotions__cta-button--final {
  margin-top: 30px;
  font-size: 22px;
  padding: 20px 40px;
}

/* Intro Section */
.page-promotions__intro-section,
.page-promotions__offers-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__why-choose-section,
.page-promotions__faq-section,
.page-promotions__conclusion-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

.page-promotions__intro-section:last-of-type,
.page-promotions__conclusion-section:last-of-type {
  border-bottom: none;
}

/* Card Grid for Offers */
.page-promotions__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promotion-card {
  background-color: var(--card-bg); /* Dark card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main);
}

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

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

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

.page-promotions__card-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--gold-color);
  line-height: 1.3;
}

.page-promotions__card-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Step List for How to Claim */
.page-promotions__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__step-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-title {
  font-size: 20px;
  color: var(--gold-color);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__step-item p {
  color: var(--text-secondary);
  font-size: 16px;
}

.page-promotions__step-item a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__step-item a:hover {
  text-decoration: underline;
}

/* Terms List */
.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  margin-top: 30px;
  color: var(--text-secondary);
}

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

.page-promotions__terms-list strong {
  color: var(--text-main);
}

/* Advantage List */
.page-promotions__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__advantage-item {
  background-color: var(--card-bg);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  font-size: 17px;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__advantage-item::before {
  content: '✔';
  color: var(--glow-color);
  font-weight: bold;
  margin-right: 15px;
  font-size: 20px;
}

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

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-main);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: var(--gold-color);
  background-color: var(--deep-green); /* Slightly different background for summary */
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--glow-color);
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 16px;
  color: var(--text-secondary);
  border-top: 1px solid var(--divider-color);
}

/* Conclusion Section */
.page-promotions__conclusion-section {
  text-align: center;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: clamp(28px, 4.5vw, 50px);
  }
  .page-promotions__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }
  .page-promotions__cta-button--large {
    font-size: 18px;
    padding: 15px 30px;
  }
  .page-promotions__cta-button--final {
    font-size: 20px;
    padding: 18px 35px;
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }
  .page-promotions__hero-title {
    font-size: clamp(26px, 6vw, 40px);
  }
  .page-promotions__hero-description {
    font-size: clamp(15px, 3vw, 18px);
  }
  .page-promotions__section-title {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 30px;
  }
  .page-promotions__text-block,
  .page-promotions__card-description,
  .page-promotions__step-item p,
  .page-promotions__terms-list li,
  .page-promotions__advantage-item,
  .page-promotions__faq-answer {
    font-size: 15px;
  }
  .page-promotions__card-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__promotion-card {
    margin-bottom: 20px;
  }
  .page-promotions__cta-button,
  .page-promotions__cta-button--small,
  .page-promotions__cta-button--large,
  .page-promotions__cta-button--final {
    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;
    margin-bottom: 15px; /* Add space between stacked buttons */
  }
  .page-promotions__cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  /* Mobile image and video responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__hero-image-wrapper,
  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-section {
    padding-top: 10px !important;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 17px;
  }
  .page-promotions__faq-answer {
    padding: 10px 20px 15px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-section {
    min-height: 300px;
  }
  .page-promotions__hero-title {
    font-size: clamp(24px, 7vw, 36px);
  }
  .page-promotions__hero-description {
    font-size: clamp(14px, 3.5vw, 16px);
  }
  .page-promotions__section-title {
    font-size: clamp(22px, 6vw, 30px);
  }
  .page-promotions__cta-button {
    font-size: 16px;
    padding: 12px 20px;
  }
}