/* style/promotions.css */

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

/* Base Styles */
.page-promotions {
  background-color: var(--page-promotions-background);
  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: 40px 20px;
  box-sizing: border-box;
}

.page-promotions__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--page-promotions-text-main);
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.3);
}

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

.page-promotions a {
  color: var(--page-promotions-glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions a:hover {
  color: var(--page-promotions-gold);
}

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

.page-promotions__btn-primary {
  background: var(--page-promotions-button-gradient);
  color: #ffffff; /* White text for contrast */
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--page-promotions-glow);
  border: 2px solid var(--page-promotions-glow);
  box-shadow: 0 2px 10px rgba(87, 227, 141, 0.2);
}

.page-promotions__btn-secondary:hover {
  background: var(--page-promotions-glow);
  color: var(--page-promotions-background); /* Dark text for contrast */
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.4);
  transform: translateY(-2px);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0;
  overflow: hidden;
  background-color: var(--page-promotions-background);
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  max-width: 1920px; /* Ensure image doesn't stretch beyond common monitor width */
  margin-bottom: 30px;
}

.page-promotions__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(32px, 5vw, 56px);
  color: var(--page-promotions-text-main);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 0 15px rgba(87, 227, 141, 0.5);
}

.page-promotions__hero-description {
  font-size: 18px;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

/* Overview Section */
.page-promotions__overview-section {
  background-color: var(--page-promotions-card-bg);
  padding: 80px 0;
  border-top: 1px solid var(--page-promotions-divider);
  border-bottom: 1px solid var(--page-promotions-divider);
}

/* Featured Offers Section */
.page-promotions__featured-offers {
  padding: 80px 0;
  background-color: var(--page-promotions-background);
}

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

.page-promotions__offer-card {
  background-color: var(--page-promotions-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--page-promotions-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions__card-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid var(--page-promotions-deep-green);
}

.page-promotions__card-title {
  font-size: 24px;
  color: var(--page-promotions-text-main);
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.3;
}

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

.page-promotions__offer-card .page-promotions__btn-primary,
.page-promotions__offer-card .page-promotions__btn-secondary {
  width: 100%;
  max-width: 220px;
  margin-top: auto; /* Push buttons to the bottom */
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  background-color: var(--page-promotions-card-bg);
  padding: 80px 0;
  border-top: 1px solid var(--page-promotions-divider);
}

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

.page-promotions__steps-list li {
  background-color: var(--page-promotions-background);
  border-left: 5px solid var(--page-promotions-glow);
  padding: 25px 30px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-promotions__steps-list li:hover {
  transform: translateX(5px);
}

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

.page-promotions__steps-list p {
  font-size: 16px;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 0;
}

.page-promotions__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
  padding: 80px 0;
  background-color: var(--page-promotions-background);
  border-bottom: 1px solid var(--page-promotions-divider);
}

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

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

.page-promotions__terms-list li::marker {
  color: var(--page-promotions-glow);
}

.page-promotions__terms-conditions .page-promotions__btn-secondary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: var(--page-promotions-card-bg);
  padding: 80px 0;
}

.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: var(--page-promotions-background);
  border: 1px solid var(--page-promotions-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-item[open] {
  background-color: var(--page-promotions-deep-green);
  border-color: var(--page-promotions-glow);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-promotions-text-main);
  cursor: pointer;
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-qtext {
  flex-grow: 1;
  margin-right: 15px;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--page-promotions-glow);
  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: 16px;
  color: var(--page-promotions-text-secondary);
  line-height: 1.7;
}

/* Final CTA Section */
.page-promotions__cta-final {
  padding: 80px 0;
  background-color: var(--page-promotions-background);
  text-align: center;
  border-top: 1px solid var(--page-promotions-divider);
}

.page-promotions__cta-final .page-promotions__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-promotions__container {
    padding: 30px 15px;
  }

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

  .page-promotions__main-title {
    font-size: 38px;
  }

  .page-promotions__hero-description {
    font-size: 16px;
  }

  .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: 16px;
  }

  .page-promotions__offer-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__offer-card {
    padding: 25px;
  }

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

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

  .page-promotions__steps-list li {
    padding: 20px 25px;
  }

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

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

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

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

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }

  .page-promotions__video-section {
    padding-top: 10px !important; /* body has padding-top from shared.css */
  }
}