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

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

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

/* Buttons */
.page-promotions__btn-primary {
  display: inline-block;
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  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: #a30606;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  display: inline-block;
  background-color: #FFFFFF;
  color: #017439;
  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: 2px solid #017439;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  overflow: hidden;
  padding-bottom: 60px;
}

.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-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

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

.page-promotions__hero-description {
  font-size: 1.4em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* Overview Section */
.page-promotions__overview-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

/* Top Offers Section */
.page-promotions__top-offers-section {
  padding: 80px 0;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 30px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-promotions__card-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FFFFFF;
  padding: 0 15px;
}

.page-promotions__card-title a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #FFFF00;
}

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

.page-promotions__card-button {
  margin-top: auto; /* Pushes button to the bottom */
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
  text-align: center;
}

.page-promotions__terms-list li {
  background-color: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-promotions__terms-list li a {
  color: #FFFF00;
  text-decoration: none;
}

.page-promotions__terms-list li a:hover {
  text-decoration: underline;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px 0;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-promotions__steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: left;
}

.page-promotions__step-number {
  background-color: #FFFF00;
  color: #017439;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.page-promotions__steps-list li a {
  color: #FFFF00;
  text-decoration: none;
}

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

.page-promotions__steps-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto 0 auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: #1a1a2e;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFFFFF;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  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;
  color: #FFFF00;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  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 value */
  padding: 15px 20px 20px 20px;
}

.page-promotions__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions__faq-answer a {
  color: #FFFF00;
  text-decoration: none;
}

.page-promotions__faq-answer a:hover {
  text-decoration: underline;
}

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

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

/* General Image Styling */
.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__hero-description {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    min-height: 500px;
    padding-bottom: 40px;
  }

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

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

  .page-promotions__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
    width: 100%;
  }

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

  .page-promotions__overview-section,
  .page-promotions__top-offers-section,
  .page-promotions__terms-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 50px 0;
  }

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

  .page-promotions__steps-list li {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .page-promotions__step-number {
    margin-bottom: 10px;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__cta-buttons,
  .page-promotions__hero-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
  }

  .page-promotions__cta-button,
  .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__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}