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

.page-promotions {
  background-color: var(--page-promotions-bg-color);
  color: var(--page-promotions-text-main);
  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__dark-bg {
  background-color: var(--page-promotions-bg-color);
  color: var(--page-promotions-text-main);
}

.page-promotions__light-bg {
  background-color: var(--page-promotions-text-main);
  color: #333333;
}

.page-promotions__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: var(--page-promotions-gold-color);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-promotions__text-main {
  color: var(--page-promotions-text-main);
}

.page-promotions__text-secondary {
  color: var(--page-promotions-text-secondary);
}

.page-promotions__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: justify;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* body handles header offset, small top padding for aesthetic */
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  position: relative;
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 1920px; /* Ensure image doesn't stretch too wide */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual effect, but not text on image */
  background: rgba(17, 40, 27, 0.85); /* Card BG with transparency */
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid var(--page-promotions-border-color);
}

.page-promotions__main-title {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 800;
  color: var(--page-promotions-gold-color);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-promotions__hero-description {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--page-promotions-text-main);
  margin-bottom: 30px;
  line-height: 1.5;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--page-promotions-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--page-promotions-glow-color);
  border: 2px solid var(--page-promotions-glow-color);
}

.page-promotions__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-3px);
}

/* General Section Styles */
.page-promotions__intro-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section {
  padding: 80px 0;
}

.page-promotions__types-section,
.page-promotions__terms-section,
.page-promotions__final-cta-section {
  padding: 80px 0;
}

.page-promotions__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: var(--page-promotions-text-secondary);
}

.page-promotions__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Promotion Card Grid */
.page-promotions__promotion-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__card {
  background-color: var(--page-promotions-card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-promotions-border-color);
}

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

.page-promotions__card-bg {
  background-color: var(--page-promotions-card-bg);
}

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

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

.page-promotions__card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-text {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
  line-height: 1.6;
}

.page-promotions__card-button {
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  font-size: 16px;
}

/* How to Claim Section */
.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 50px;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.page-promotions__step-number {
  background: var(--page-promotions-button-gradient);
  color: #ffffff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 20px;
  box-shadow: 0 3px 10px rgba(42, 209, 111, 0.3);
}

.page-promotions__step-content {
  text-align: left;
}

.page-promotions__step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333333;
}

.page-promotions__step-description {
  font-size: 16px;
  color: #555555;
}

.page-promotions__step-description a {
  color: var(--page-promotions-deep-green-color);
  text-decoration: underline;
}

.page-promotions__step-description a:hover {
  color: var(--page-promotions-glow-color);
}

.page-promotions__steps-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__button-center {
  display: block;
  margin: 40px auto 0 auto;
  width: fit-content;
}

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

.page-promotions__terms-item {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.6;
}

.page-promotions__terms-item::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--page-promotions-glow-color);
  font-weight: 700;
}

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

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

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  color: var(--page-promotions-text-main);
  background-color: var(--page-promotions-deep-green-color);
  border-bottom: 1px solid var(--page-promotions-divider-color);
}

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

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

.page-promotions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-promotions-gold-color);
}

.page-promotions__faq-item[open] summary {
  border-bottom: 1px solid var(--page-promotions-divider-color);
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--page-promotions-text-secondary);
}

.page-promotions__faq-answer p {
  margin: 0;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
  text-align: center;
  padding: 100px 0;
  background: var(--page-promotions-deep-green-color);
  border-top: 5px solid var(--page-promotions-gold-color);
  border-bottom: 5px solid var(--page-promotions-gold-color);
}

.page-promotions__cta-content {
  max-width: 800px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -100px;
  }
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__steps-image {
    order: -1;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-promotions__hero-content {
    padding: 20px;
    margin-top: -80px;
  }

  .page-promotions__main-title {
    font-size: clamp(28px, 8vw, 40px);
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 15px;
    margin-bottom: 25px;
  }

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

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

  .page-promotions__intro-section,
  .page-promotions__types-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__final-cta-section {
    padding: 40px 0;
  }

  .page-promotions__section-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 25px;
  }

  .page-promotions__section-description,
  .page-promotions__text-block {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .page-promotions__promotion-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-promotions__card-title {
    font-size: 20px;
  }

  .page-promotions__card-text {
    font-size: 15px;
  }

  .page-promotions__steps-grid {
    gap: 30px;
  }

  .page-promotions__step-item {
    margin-bottom: 20px;
  }

  .page-promotions__step-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-right: 15px;
  }

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

  .page-promotions__step-description {
    font-size: 15px;
  }

  .page-promotions__terms-item {
    font-size: 15px;
    padding-left: 25px;
  }

  .page-promotions__faq-item summary {
    padding: 15px 20px;
    font-size: 16px;
  }

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

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

  /* Image responsiveness for all img tags */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* All sections/containers containing images/buttons/videos */
  .page-promotions__hero-section,
  .page-promotions__intro-section,
  .page-promotions__types-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__final-cta-section,
  .page-promotions__promotion-card-grid,
  .page-promotions__card,
  .page-promotions__cta-buttons,
  .page-promotions__steps-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no overflow */
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-content {
    margin-top: -60px;
  }
  .page-promotions__main-title {
    font-size: clamp(24px, 9vw, 32px);
  }
  .page-promotions__cta-buttons {
    gap: 10px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 15px;
    padding: 10px 15px;
  }
  .page-promotions__section-title {
    font-size: clamp(20px, 8vw, 28px);
  }
}