/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1); /* Inherited from shared.css, expected to be dark */
}

/* Adjust for fixed header */
.page-promotions__intro-section.page-promotions__padding-top-adjust {
  padding-top: 120px;
}

@media (max-width: 768px) {
  .page-promotions__intro-section.page-promotions__padding-top-adjust {
    padding-top: 100px;
  }
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.page-promotions__hero-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.page-promotions__hero-image {
  width: 100%;
  margin: 0;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-promotions__hero-image img {
    width: 100%;
    height: auto;
  }
}

/* Main Content Styling */
.page-promotions__main-title {
  font-size: 3.2em;
  color: #FFD700; /* Gold */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold */
  text-align: center;
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: bold;
}

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

.page-promotions__description {
  font-size: 1.1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__description strong {
  color: #FFD700;
}

/* CTA Buttons */
.page-promotions__cta-buttons {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  min-width: 200px;
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #FFD700; /* Gold */
  color: #1a1a1a;
}

.page-promotions__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #FFD700; /* Gold */
  border-color: #FFD700;
}

.page-promotions__btn-secondary:hover {
  background-color: #FFD700;
  color: #1a1a1a;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent light background */
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__promo-card-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-promotions__promo-card-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__promo-card-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__promo-card-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions__promo-card-button:hover {
  background-color: #a00000;
}

/* How to Claim Section */
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 900px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.page-promotions__step-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  margin-right: 25px;
  border-radius: 50%;
  background-color: #FFD700; /* Gold */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.page-promotions__step-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: invert(0%); /* Ensure original color, not inverted */
}

.page-promotions__step-content {
  flex-grow: 1;
}

.page-promotions__step-title {
  font-size: 1.5em;
  color: #FFD700;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__step-content p {
  color: #cccccc;
  margin: 0;
}

.page-promotions__step-content a {
  color: #8B0000; /* Dark Red for links */
  text-decoration: underline;
}

.page-promotions__step-content a:hover {
  color: #FFD700;
}

/* Terms Section */
.page-promotions__terms-list {
  list-style: disc;
  padding-left: 30px;
  color: #cccccc;
  margin-bottom: 40px;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-promotions__terms-list li strong {
  color: #FFD700;
}

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

/* Why Choose Section */
.page-promotions__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__feature-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promotions__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: invert(0%); /* Ensure original color */
}

.page-promotions__feature-title {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions__feature-text {
  font-size: 0.95em;
  color: #cccccc;
}

/* 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: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions__faq-question:hover {
  background: #333333;
  border-color: #444444;
}

.page-promotions__faq-question:active {
  background: #444444;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background-color: rgba(255, 255, 255, 0.03);
  color: #cccccc;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

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

.page-promotions__faq-answer strong {
  color: #FFD700;
}

/* Final CTA Section */
.page-promotions__cta-final-section {
  padding: 60px 0;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promo-grid,
  .page-promotions__features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  /* Force responsive images and containers */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__feature-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__main-title {
    font-size: 2.2em;
    margin-top: 30px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .page-promotions__section-description,
  .page-promotions__description {
    font-size: 1em;
    margin-bottom: 15px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 40px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__promo-card-image {
    height: 180px;
  }
  .page-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }
  .page-promotions__step-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  .page-promotions__step-title {
    font-size: 1.3em;
  }
  .page-promotions__terms-list {
    padding-left: 20px;
  }
  .page-promotions__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-question h3 {
    font-size: 1em;
  }
  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px !important;
  }
}