.page-promotions {
  color: #ffffff; /* Body background is dark, so use light text */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #1a1a1a;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #017439; /* Brand primary color for hero */
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

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

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

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

.page-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__btn-register,
.page-promotions__btn-deposit,
.page-promotions__btn-bet {
  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;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-promotions__btn-primary:hover {
  background-color: #005f2f;
  border-color: #005f2f;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

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

.page-promotions__btn-register,
.page-promotions__btn-deposit {
  background-color: #C30808; /* Custom Register/Login button color */
  color: #ffffff; /* Ensure high contrast for text */
  border: 2px solid #C30808;
}

.page-promotions__btn-register:hover,
.page-promotions__btn-deposit:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-promotions__btn-bet {
  background-color: #017439;
  color: #ffffff;
  border: 2px solid #017439;
}

.page-promotions__btn-bet:hover {
  background-color: #005f2f;
  border-color: #005f2f;
}

.page-promotions__section {
  padding: 60px 20px;
  text-align: center;
}

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

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

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

.page-promotions__overview-section {
  background-color: #1a1a1a; /* Dark background */
  color: #ffffff;
}

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

.page-promotions__benefit-card {
  background-color: #2a2a2a; /* Slightly lighter dark for card */
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-promotions__benefit-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promotions__benefit-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffffff;
}

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

.page-promotions__types-section {
  background-color: #017439;
  color: #ffffff;
}

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

.page-promotions__promotion-card {
  background-color: #2a2a2a;
  color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  text-align: left;
}

.page-promotions__promotion-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

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

.page-promotions__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-promotions__card-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-promotions__card-list li {
  margin-bottom: 5px;
}

.page-promotions__guide-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-promotions__step-card {
  background-color: #2a2a2a;
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-promotions__terms-conditions {
  background-color: #2a2a2a;
  color: #ffffff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  margin-top: 60px;
  text-align: left;
}

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

.page-promotions__terms-text {
  font-size: 1.05em;
  margin-bottom: 15px;
  color: #f0f0f0;
}

.page-promotions__terms-list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

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

.page-promotions__why-choose-us {
  background-color: #017439;
  color: #ffffff;
}

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

.page-promotions__reason-card {
  background-color: #2a2a2a;
  color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-promotions__reason-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promotions__reason-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #ffffff;
}

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

.page-promotions__faq-section {
  background-color: #1a1a1a;
  color: #ffffff;
}

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

.page-promotions__faq-item {
  background-color: #2a2a2a;
  color: #ffffff;
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

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

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

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
  background-color: #2a2a2a;
  color: #f0f0f0;
}

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

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

.page-promotions__cta-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 20px;
}

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-promotions__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.page-promotions__floating-btn {
  display: block;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  color: #ffffff;
}

.page-promotions__floating-btn:hover {
  transform: translateY(-3px);
}

.page-promotions__floating-btn--register {
  background-color: #C30808; /* Custom Register button color */
  color: #ffffff; /* Ensure high contrast for text */
}

.page-promotions__floating-btn--register:hover {
  background-color: #a00606;
}

.page-promotions__floating-btn--login {
  background-color: #C30808; /* Custom Login button color */
  color: #ffffff; /* Ensure high contrast for text */
}

.page-promotions__floating-btn--login:hover {
  background-color: #a00606;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

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

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

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

  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 300px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions__btn-register,
  .page-promotions__btn-deposit,
  .page-promotions__btn-bet {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions__section {
    padding: 40px 15px;
  }

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

  .page-promotions__section-description {
    font-size: 0.95em;
  }

  .page-promotions__benefits-grid,
  .page-promotions__promotion-cards-grid,
  .page-promotions__guide-steps,
  .page-promotions__reasons-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promotion-card {
    flex-direction: column;
  }

  .page-promotions__promotion-image {
    height: 200px;
  }

  .page-promotions__benefit-icon,
  .page-promotions__reason-icon {
    max-width: 200px;
  }

  .page-promotions__terms-conditions {
    padding: 30px 20px;
  }

  .page-promotions__terms-title {
    font-size: 1.6em;
  }

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

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

  .page-promotions__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 15px;
    justify-content: space-around;
  }

  .page-promotions__floating-btn {
    flex: 1;
    margin: 0 5px;
    padding: 10px 15px;
    font-size: 0.9em;
  }

  /* Mandatory responsive image, video, container styles */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .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; */ /* Already handled by .page-promotions__container */
    /* padding-right: 15px; */ /* Already handled by .page-promotions__container */
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  .page-promotions__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column;
  }

  .page-promotions__floating-buttons {
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__floating-buttons {
    flex-direction: row;
    gap: 8px;
  }
  .page-promotions__floating-btn {
    padding: 8px 12px;
    font-size: 0.8em;
  }
}