/* style/promotions.css */
:root {
  --primary-color: #0A246A; /* Deep Blue */
  --secondary-color: #F3C72B; /* Bright Gold */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #000;
  --card-background-dark: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.2);
}

.page-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-light); /* Main text color for dark body background */
  line-height: 1.6;
  background-color: var(--background-dark); /* Ensure explicit background for content sections */
}

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

/* Ensure content is not hidden by fixed header */
.page-promotions__hero-section {
  padding-top: 120px; /* Desktop: Adjust based on shared header height */
  padding-bottom: 60px;
  background: var(--primary-color);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promotions__main-title {
  font-size: 3.2em;
  color: var(--secondary-color);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.2em;
  color: var(--text-light);
  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__cta-button {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

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

.page-promotions__btn-primary:hover {
  background: #e0b426;
  border-color: #e0b426;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: var(--text-light);
}

.page-promotions__overview-section {
  padding: 60px 0;
  background: var(--background-dark);
}

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

.page-promotions__promotions-grid {
  padding: 60px 0;
  background: linear-gradient(145deg, var(--primary-color), #051a4a);
}

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

.page-promotions__promotion-card {
  background: var(--card-background-dark);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border-color);
}

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

.page-promotions__card-image {
  max-width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promotions__card-title {
  font-size: 1.8em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  line-height: 1.3;
}

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

.page-promotions__card-button {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1em;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  background: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-promotions__card-button:hover {
  background: #e0b426;
  border-color: #e0b426;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions__how-to-claim {
  padding: 60px 0;
  background: var(--background-dark);
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 50px auto 0 auto;
  max-width: 900px;
}

.page-promotions__steps-list li {
  background: var(--card-background-dark);
  border-radius: 10px;
  margin-bottom: 25px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
}

.page-promotions__step-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.page-promotions__steps-list p {
  color: var(--text-light);
  font-size: 1em;
}

.page-promotions__steps-list p a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-promotions__steps-list p a:hover {
  text-decoration: underline;
}

.page-promotions__terms-conditions {
  padding: 60px 0;
  background: linear-gradient(145deg, #051a4a, var(--primary-color));
}

.page-promotions__terms-list {
  list-style: disc inside;
  max-width: 900px;
  margin: 50px auto 30px auto;
  padding-left: 20px;
  color: var(--text-light);
  font-size: 1.05em;
}

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

.page-promotions__terms-list li strong {
  color: var(--secondary-color);
}

.page-promotions__faq-section {
  padding: 60px 0;
  background: var(--background-dark);
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--card-background-dark);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--primary-color);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-promotions__faq-question:hover {
  background: #081e58;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.3em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--secondary-color);
  pointer-events: none;
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--secondary-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 20px;
  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 {
  transform: rotate(45deg);
  color: var(--text-light);
}

.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;
  color: var(--text-light);
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* Sufficiently large */
  padding: 20px 25px !important;
  opacity: 1;
  background: var(--card-background-dark);
  border-top: 1px solid var(--border-color);
}

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

.page-promotions__cta-bottom {
  padding: 60px 0 80px 0;
  background: var(--primary-color);
  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__hero-description,
  .page-promotions__section-description {
    font-size: 1em;
  }
  .page-promotions__card-title {
    font-size: 1.5em;
  }
  .page-promotions__faq-question h3 {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 100px !important; /* Mobile: Adjust based on shared header height */
    padding-bottom: 40px;
  }
  .page-promotions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .page-promotions__cta-button {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
    padding-top: 30px;
  }
  .page-promotions__section-description {
    font-size: 0.9em;
    margin-bottom: 20px;
  }
  .page-promotions__overview-section,
  .page-promotions__promotions-grid,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    padding: 40px 0;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__cards-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__promotion-card {
    padding: 20px;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__card-description {
    font-size: 0.9em;
  }
  .page-promotions__card-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__steps-list,
  .page-promotions__terms-list,
  .page-promotions__faq-list {
    margin-top: 30px;
  }
  .page-promotions__steps-list li {
    padding: 20px;
    margin-bottom: 15px;
  }
  .page-promotions__step-title {
    font-size: 1.2em;
  }
  .page-promotions__terms-list {
    font-size: 0.95em;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-question h3 {
    font-size: 1.1em;
  }
  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 25px;
    height: 25px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px !important;
  }
  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__cards-wrapper,
  .page-promotions__faq-list,
  .page-promotions__faq-item,
  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }
  .page-promotions__promotion-card .page-promotions__card-image {
    height: 150px; /* Adjust image height for mobile */
  }
}