/* style/promotions.css */

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

/* Base styles for the promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-text-main); /* Default text color for the page */
  background-color: var(--color-background); /* Default background for the page */
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promotions__section-title {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-text-main);
}

.page-promotions__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  padding: 10px 0 60px 0; /* body handles top padding, use small decorative top padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  background-color: var(--color-background);
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 10px;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 900;
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-promotions__btn-primary {
  background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: var(--color-text-main);
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--color-gold);
  border: 2px solid var(--color-gold);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.2);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--color-gold);
  color: var(--color-background);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.4);
}

/* Why Choose Us Section */
.page-promotions__why-choose-us {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-promotions__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.page-promotions__text-block {
  flex: 1;
}

.page-promotions__sub-title {
  font-size: 1.8em;
  color: var(--color-primary);
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-promotions__image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Promo Types Section */
.page-promotions__promo-types {
  background-color: var(--color-card-bg);
  padding-bottom: 80px;
}

.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__card {
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards have equal height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--color-gold);
}

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

.page-promotions__card-button {
  margin-top: auto; /* Push button to bottom */
}

.page-promotions__image-centered {
  margin-top: 60px;
  max-width: 1000px;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions__step-card {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.page-promotions__step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-text-main);
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(17, 168, 78, 0.5);
}

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

.page-promotions__step-text {
  font-size: 1em;
  color: var(--color-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__step-button {
  margin-top: auto;
}

/* Terms and Conditions Section */
.page-promotions__terms-conditions {
  background-color: var(--color-deep-green);
  color: var(--color-text-main);
  text-align: left;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

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

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

.page-promotions__list-text {
  font-size: 1em;
  color: var(--color-text-secondary);
}

.page-promotions__read-more-button {
  margin-top: 30px;
  display: inline-block;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: var(--color-background);
  color: var(--color-text-main);
}

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

.page-promotions__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px 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: 1.2em;
  font-weight: bold;
  color: var(--color-text-main);
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}

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

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

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

/* Final CTA Section */
.page-promotions__cta-final {
  background-color: var(--color-deep-green);
  padding-bottom: 80px;
}

.page-promotions__cta-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2.2em;
  }
  .page-promotions__hero-image {
    max-height: 500px;
  }
  .page-promotions__content-grid {
    flex-direction: column;
  }
  .page-promotions__image-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__hero-image {
    max-height: 400px;
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__container,
  .page-promotions__hero-content,
  .page-promotions__cta-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* Images responsive */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  /* Video responsive (if any, though none currently) */
  .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-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__card,
  .page-promotions__step-card,
  .page-promotions__faq-item {
    padding: 20px;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-promotions__list-title {
    font-size: 1.2em;
  }
  .page-promotions__terms-item {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__sub-title {
    font-size: 1.4em;
  }
  .page-promotions__hero-image {
    max-height: 300px;
  }
}