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

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  overflow: hidden; /* For image positioning */
  box-sizing: border-box;
}

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

.page-promotions__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 2;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: #ffffff;
}

.page-promotions__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-promotions__hero-cta-button,
.page-promotions__promo-card-button,
.page-promotions__cta-button {
  display: inline-block;
  background-color: #26A9E0; /* Brand color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__hero-cta-button:hover,
.page-promotions__promo-card-button:hover,
.page-promotions__cta-button:hover {
  background-color: #1a7fb2; /* Slightly darker shade for hover */
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #ffffff; /* Light text for dark body background */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-promotions__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #26A9E0;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-promotions__latest-promotions-section {
  background-color: #000000; /* Dark background for this section */
  padding: 60px 0;
}

.page-promotions__promo-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.1); /* Semi-transparent white card for dark background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

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

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

.page-promotions__promo-card-description {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__promo-card-button {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-promotions__how-to-claim-section {
  padding: 60px 0;
}

.page-promotions__dark-section {
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
}

.page-promotions__dark-section .page-promotions__section-title {
  color: #ffffff;
}

.page-promotions__dark-section .page-promotions__section-title::after {
  background-color: #ffffff;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.page-promotions__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFFFFF; /* White number */
  flex-shrink: 0;
  line-height: 1;
}

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

.page-promotions__step-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-promotions__why-s888-section {
  background-color: #000000; /* Dark background */
  padding: 60px 0;
}

.page-promotions__why-s888-content-wrapper {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-promotions__why-s888-text {
  flex: 1;
  color: #ffffff;
}

.page-promotions__description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-promotions__why-list {
  list-style: none;
  padding: 0;
}

.page-promotions__why-list-item {
  margin-bottom: 15px;
  font-size: 1em;
  position: relative;
  padding-left: 30px;
  color: #ffffff;
}

.page-promotions__why-list-item::before {
  content: '✔️'; /* Checkmark icon */
  position: absolute;
  left: 0;
  color: #26A9E0; /* Brand color checkmark */
  font-size: 1.2em;
  line-height: 1;
}

.page-promotions__why-s888-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-promotions__why-s888-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__responsible-gaming-section {
  padding: 60px 0;
}

.page-promotions__links-group {
  text-align: center;
  margin-top: 30px;
}

.page-promotions__link {
  display: inline-block;
  color: #ffffff;
  text-decoration: underline;
  margin: 0 15px;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-promotions__link:hover {
  color: #f0f0f0;
}

.page-promotions__faq-section {
  background-color: #000000; /* Dark background */
  padding: 60px 0;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter than background */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

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

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

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

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

.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-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 25px 25px;
}

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

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__why-s888-content-wrapper {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions__why-s888-image-wrapper {
    order: -1; /* Image above text on mobile */
    margin-bottom: 30px;
  }
  .page-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__hero-section {
    min-height: 400px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure padding top for mobile */
  }
  .page-promotions__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promotions__hero-cta-button,
  .page-promotions__promo-card-button,
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important; /* Buttons max-width 100% */
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important; /* Allow text wrap */
    word-wrap: break-word !important;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__promo-card {
    margin-bottom: 20px;
  }
  .page-promotions__container,
  .page-promotions__hero-content,
  .page-promotions__promo-grid,
  .page-promotions__steps-list,
  .page-promotions__why-s888-content-wrapper,
  .page-promotions__faq-list,
  .page-promotions__links-group {
    padding-left: 15px;
    padding-right: 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;
  }
  /* Specific styling for content area images to meet 200px min size if possible, or just ensure responsiveness */
  .page-promotions__promo-image,
  .page-promotions__why-s888-image {
    min-width: 200px;
    min-height: 200px;
  }

  /* Ensure video wrapper for mobile responsiveness (even if no video is present, as per general rule) */
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__links-group a {
    display: block;
    margin: 10px 0;
  }

  /* Buttons group for mobile */
  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
  }

  /* Content area images CSS size lower bound */
  .page-promotions__latest-promotions-section img,
  .page-promotions__why-s888-section img {
    width: 100%; /* Ensure images fill container */
    height: auto;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
}