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

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

.page-promotions__hero-section {
  background-color: #26A9E0; /* Primary brand color for hero background */
  padding: var(--header-offset, 120px) 0 80px 0; /* Adjusted for header offset */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin-bottom: 30px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
}

.page-promotions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-promotions__hero-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.page-promotions__overview-section {
  padding: 80px 0;
  background-color: var(--black-color); /* Assuming shared.css defines --black-color as dark */
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

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

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-promotions__promo-title {
  font-size: 1.5em;
  margin: 0 20px 15px 20px;
  color: #26A9E0;
}

.page-promotions__promo-title a {
  color: #26A9E0;
  text-decoration: none;
}

.page-promotions__promo-title a:hover {
  text-decoration: underline;
}

.page-promotions__promo-text {
  font-size: 1em;
  color: #f0f0f0;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  margin: 0 auto;
}

.page-promotions__how-to-claim-section {
  padding: 80px 0;
  background-color: #26A9E0;
  color: #ffffff;
  text-align: center;
}

.page-promotions__claim-steps {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-promotions__claim-step {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.page-promotions__step-title {
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions__step-text {
  font-size: 1em;
  color: #f0f0f0;
}

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

.page-promotions__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary:hover {
  background-color: #d16b06;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.3s ease;
  border: 2px solid #26A9E0;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--black-color);
  color: #ffffff;
}

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

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

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

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

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

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

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

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

.page-promotions__final-cta-section {
  padding: 80px 0;
  background-color: #26A9E0;
  text-align: center;
  color: #ffffff;
}

.page-promotions__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promotions-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-promotions__claim-steps {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure offset is applied */
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile header offset */
    padding-bottom: 40px;
  }
  .page-promotions__hero-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
    padding: 0 15px;
  }
  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-promotions__overview-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section,
  .page-promotions__final-cta-section {
    padding: 40px 0;
  }
  .page-promotions__container {
    padding: 0 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 10px;
  }
  .page-promotions__promotions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-promotions__promo-image {
    height: 180px;
  }
  .page-promotions__promo-title {
    font-size: 1.3em;
    margin: 0 15px 10px 15px;
  }
  .page-promotions__promo-text {
    padding: 0 15px;
    margin-bottom: 20px;
  }
  .page-promotions__claim-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__claim-step {
    padding: 25px;
  }
  .page-promotions__step-title {
    font-size: 1.2em;
  }
  .page-promotions__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-promotions__faq-answer {
    padding: 0 15px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 15px 15px 15px;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}