/* style/promotions.css */

/* Base Styles */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #000000; /* Ensure consistency with body background */
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.page-promotions__section-text {
  font-size: 1.1em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding: 120px 0 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  min-height: 600px;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.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;
  filter: brightness(0.5); /* Darken image for text readability */
}

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

.page-promotions__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  margin: 10px;
}

.page-promotions__btn-primary {
  background-color: #FFD700;
  color: #000000; /* Black text on gold for contrast */
  border: 2px solid #FFD700;
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #000000;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Cards */
.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-promotions__card h3 {
  color: #FFD700;
  margin-bottom: 15px;
  font-size: 1.5em;
}

.page-promotions__card p {
  color: #f0f0f0;
  font-size: 1em;
}

/* Introduction Section */
.page-promotions__introduction-section {
  background-color: #000000;
}

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

.page-promotions__feature-item {
  text-align: left;
}

.page-promotions__feature-item h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

/* Promotion Types Section */
.page-promotions__types-section {
  background-color: #0d0d0d;
}

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

.page-promotions__promo-card {
  text-align: left;
  padding: 20px;
}

.page-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-promotions__promo-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-promotions__promo-description {
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* VIP Section */
.page-promotions__vip-section {
  background-color: #000000;
}

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

.page-promotions__vip-item {
  text-align: left;
}

.page-promotions__vip-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-promotions__vip-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #FFD700;
}

.page-promotions__vip-description {
  font-size: 0.95em;
  line-height: 1.5;
  flex-grow: 1;
}

/* How To Claim Section */
.page-promotions__how-to-claim-section {
  background-color: #0d0d0d;
}

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

.page-promotions__step-item {
  position: relative;
  padding-top: 60px;
}

.page-promotions__step-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #FFD700;
  color: #000000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8em;
  font-weight: bold;
  border: 3px solid #8B0000;
}

.page-promotions__step-title {
  margin-top: 15px;
  font-size: 1.6em;
  color: #FFD700;
}

.page-promotions__step-description a {
  color: #FFD700;
  text-decoration: underline;
}

.page-promotions__step-description a:hover {
  color: #e6c200;
}

/* Terms Section */
.page-promotions__terms-section {
  background-color: #000000;
}

.page-promotions__terms-list {
  list-style-type: disc;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  padding-left: 20px;
  color: #f0f0f0;
}

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

/* FAQ Section */
.page-promotions__faq-section {
  background-color: #0d0d0d;
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

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

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(0deg); /*  to "-" */
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show all content */
  padding: 15px 25px 25px 25px;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
}

.page-promotions__faq-answer a {
  color: #FFD700;
  text-decoration: underline;
}

.page-promotions__faq-answer a:hover {
  color: #e6c200;
}

/* Final CTA Section */
.page-promotions__cta-final-section {
  background-color: #8B0000; /* Use auxiliary color for strong CTA */
  padding: 80px 0;
}

.page-promotions__cta-final-section .page-promotions__section-title {
  color: #FFD700;
}

.page-promotions__cta-final-section .page-promotions__section-text {
  color: #ffffff;
  margin-bottom: 30px;
}

.page-promotions__cta-final-section .page-promotions__section-text a {
  color: #FFD700;
  text-decoration: underline;
}

.page-promotions__cta-final-section .page-promotions__section-text a:hover {
  color: #e6c200;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__hero-section {
    padding: 100px 0 60px 0;
    min-height: 450px;
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions__hero-title {
    font-size: 2.5em;
  }

  .page-promotions__hero-description {
    font-size: 1.1em;
  }

  .page-promotions__section {
    padding: 40px 0;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
  }

  .page-promotions__section-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 10px 0;
  }

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

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__card {
    padding: 25px;
  }

  .page-promotions__features-grid,
  .page-promotions__promotion-grid,
  .page-promotions__vip-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-image,
  .page-promotions__vip-image {
    height: auto;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-content,
  .page-promotions__promotion-grid,
  .page-promotions__vip-grid,
  .page-promotions__features-grid,
  .page-promotions__steps-grid,
  .page-promotions__faq-list,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Ensure no horizontal scroll */
  }

  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  .page-promotions__step-number {
    width: 40px;
    height: 40px;
    font-size: 1.5em;
  }

  .page-promotions__step-item {
    padding-top: 50px;
  }
}