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

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

.page-promotions__hero-section {
  position: relative;
  padding: 80px 0; /* Adjusted for desktop, mobile will handle var(--header-offset) */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Ensure spacing below fixed header */
}

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

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FFFF00; /* Register and Login font color for emphasis */
}

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

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

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.3;
  z-index: 0;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
}

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

.page-promotions__btn-secondary {
  background-color: #FFFFFF;
  color: #017439;
  border-color: #017439;
}

.page-promotions__btn-secondary:hover {
  background-color: #017439;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

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

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-promotions__why-choose-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* White background for this section */
  color: #333333; /* Dark text for white background */
}

.page-promotions__why-choose-section .page-promotions__section-title {
  color: #017439; /* Brand color for titles on light background */
}

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

.page-promotions__benefit-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-promotions__benefit-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
}

.page-promotions__types-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for contrast with body */
  color: #ffffff;
}

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

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

.page-promotions__promo-card {
  background-color: #FFFFFF; /* White background for promo cards */
  color: #333333; /* Dark text for white background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 15px;
}

.page-promotions__promo-description {
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__claim-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* White background */
  color: #333333; /* Dark text */
}

.page-promotions__claim-section .page-promotions__section-title {
  color: #017439;
}

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

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

.page-promotions__claim-step {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-promotions__claim-step-title {
  font-size: 1.4em;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions__responsible-gaming-section {
  padding: 60px 0;
  background-color: #017439; /* Brand primary color */
  color: #ffffff;
  text-align: center;
}

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

.page-promotions__responsible-gaming-section .page-promotions__btn-secondary {
  background-color: #ffffff;
  color: #017439;
  border-color: #ffffff;
}

.page-promotions__responsible-gaming-section .page-promotions__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #017439;
  border-color: #f0f0f0;
}

.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* White background */
  color: #333333; /* Dark text */
}

.page-promotions__faq-section .page-promotions__section-title {
  color: #017439;
}

.page-promotions__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__faq-item {
  background-color: #f8f8f8;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #333333;
  cursor: pointer;
  background-color: #FFFFFF;
  border-bottom: 1px solid #eee;
}

.page-promotions__faq-question:hover {
  background-color: #f0f0f0;
}

.page-promotions__faq-title {
  margin: 0;
  color: #017439;
}

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

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

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

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

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

.page-promotions__cta-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Darker background for CTA */
  color: #ffffff;
  text-align: center;
}

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

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

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

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

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 0;
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-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__hero-cta,
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__why-choose-section,
  .page-promotions__types-section,
  .page-promotions__claim-section,
  .page-promotions__responsible-gaming-section,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }

  .page-promotions__hero-image-wrapper {
    left: -15px;
    width: calc(100% + 30px);
  }

  .page-promotions__types-image,
  .page-promotions__claim-image,
  .page-promotions__responsible-gaming-image,
  .page-promotions__cta-image {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
    border-radius: 0;
  }

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

  .page-promotions__section-description {
    margin-bottom: 30px;
  }

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

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