.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: var(--bg-color, #f5f5f5); /* Assuming light body background */
}

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

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

.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-section .page-promotions__section-description,
.page-promotions__dark-section p,
.page-promotions__dark-section li {
  color: #ffffff;
}

.page-promotions__hero-section {
  padding-top: 10px; /* Small top padding, relying on body padding for header offset */
  padding-bottom: 60px;
  background: linear-gradient(135deg, #017439, #005f2f);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-promotions__hero-image-block {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__hero-text-block {
  text-align: center;
  max-width: 800px;
}

.page-promotions__main-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Yellow for prominence */
}

.page-promotions__description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

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

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

.page-promotions__featured-promos {
  padding: 60px 0;
  background: #ffffff;
}

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

.page-promotions__promo-card {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

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

.page-promotions__promo-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-promotions__promo-description {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
}

.page-promotions__btn-small {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  background: #017439;
  color: #ffffff;
  border: 1px solid #017439;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

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

.page-promotions__category-promos {
  padding: 60px 0;
  background: linear-gradient(135deg, #005f2f, #017439);
}

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

.page-promotions__category-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__category-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #FFFF00; /* Yellow for prominence */
}

.page-promotions__category-item p {
  font-size: 16px;
  margin-bottom: 20px;
}

.page-promotions__how-to-claim {
  padding: 60px 0;
  background: #f9f9f9;
}

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

.page-promotions__step-item {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-number {
  width: 50px;
  height: 50px;
  background: #017439;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}

.page-promotions__step-title {
  font-size: 22px;
  font-weight: 700;
  color: #017439;
  margin-bottom: 10px;
}

.page-promotions__step-item p {
  font-size: 15px;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__terms-conditions {
  padding: 60px 0;
  background: linear-gradient(135deg, #017439, #004d26);
}

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

.page-promotions__terms-list li {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #e0e0e0;
}

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

.page-promotions__final-text {
  text-align: center;
  font-size: 17px;
  margin-top: 40px;
  color: #f0f0f0;
}

.page-promotions__final-text a {
  color: #FFFF00;
  text-decoration: underline;
}

.page-promotions__final-text a:hover {
  color: #FFFFAA;
}

.page-promotions__faq-section {
  padding: 60px 0;
  background: #ffffff;
  text-align: center;
}

.page-promotions__faq-image {
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px auto 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: block;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
  text-align: left;
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}

details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #f5f5f5;
}

.page-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555;
}

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

.page-promotions__cta-final {
  padding: 60px 0;
  background: linear-gradient(135deg, #004d26, #017439);
  text-align: center;
}

.page-promotions__cta-final .page-promotions__section-title {
  color: #FFFF00;
}

.page-promotions__cta-final .page-promotions__description {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px;
}

/* Reward Modal */
.page-promotions__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  box-sizing: border-box;
}

.page-promotions__reward-modal.is-hidden {
  display: none !important;
  pointer-events: none !important;
}

.page-promotions__reward-modal-content {
  background: #ffffff;
  border-radius: 10px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 5px 10px;
}

.page-promotions__reward-modal-close:hover {
  color: #333;
}

.page-promotions__reward-modal-title {
  font-size: 28px;
  color: #017439;
  margin-bottom: 15px;
}

.page-promotions__reward-modal-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

/* Mobile Responsive - General */
@media (max-width: 768px) {
  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__section-title {
    font-size: 28px;
    padding-top: 30px;
    margin-bottom: 15px;
  }

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

  .page-promotions__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .page-promotions__description {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__featured-promos,
  .page-promotions__category-promos,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__cta-final {
    padding: 40px 0;
  }

  .page-promotions__promo-grid,
  .page-promotions__category-list,
  .page-promotions__claim-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-image {
    height: 180px;
  }

  .page-promotions__promo-title {
    font-size: 20px;
  }

  .page-promotions__promo-description {
    font-size: 14px;
  }

  .page-promotions__faq-image {
    margin: 20px auto 30px;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question { padding: 15px; }
  .page-promotions__faq-qtext { font-size: 15px; }
  .page-promotions__faq-toggle { font-size: 20px; width: 24px; }
  details.page-promotions__faq-item .page-promotions__faq-answer { padding: 0 15px 15px; }

  /* General image and container adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__hero-image-block,
  .page-promotions__promo-card,
  .page-promotions__category-item,
  .page-promotions__step-item,
  .page-promotions__faq-section .page-promotions__container,
  .page-promotions__reward-modal-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__reward-modal-content {
    padding: 30px 20px;
  }
  .page-promotions__reward-modal-title {
    font-size: 24px;
  }
  .page-promotions__reward-modal-text {
    font-size: 15px;
  }
}

/* CSS for game trial (if present on a homepage-like structure) */
@media (max-width: 1023px) {
  .page-promotions__home-hero { /* Assuming a promotions page might have a hero section with similar layout */
    display: block !important;
    grid-template-columns: none !important;
    height: auto !important;
    max-height: none !important;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  .page-promotions__hero-brand,
  .page-promotions__hero-jackpot {
    display: none !important;
  }
  .page-promotions__game-trial {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: hidden !important;
    margin: 0 auto;
    padding: 0 0 12px !important;
    box-sizing: border-box;
  }
  .page-promotions__game-trial-shell {
    height: auto !important;
    max-height: none !important;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-promotions__game-trial-topbar,
  .page-promotions__game-trial-bottombar {
    display: none !important;
  }
  .page-promotions__game-trial-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 1024 / 768;
    flex: none !important;
    min-height: 240px;
    max-height: none !important;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-promotions__game-trial-frame {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    max-width: 100%;
    border: none;
    z-index: 1;
    overflow: hidden;
  }
  .page-promotions__game-trial-overlay {
    z-index: 5 !important;
    pointer-events: auto !important;
  }
  .page-promotions__game-trial-start {
    z-index: 6 !important;
    pointer-events: auto !important;
    touch-action: manipulation;
  }
}

@media (min-width: 1024px) {
  .page-promotions__home-hero {
    display: grid;
    grid-template-columns: 26% 48% 26%;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 10px 16px 24px;
    box-sizing: border-box;
  }
  .page-promotions__hero-brand,
  .page-promotions__hero-jackpot,
  .page-promotions__game-trial {
    height: 300px;
    max-height: 300px;
    overflow: hidden;
    box-sizing: border-box;
  }
  .page-promotions__game-trial {
    max-width: none !important;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page-promotions__game-trial-shell {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 300px;
    box-sizing: border-box;
  }
  .page-promotions__game-trial-viewport {
    flex: 1;
    min-height: 0;
    position: relative;
    width: 100%;
  }
  .page-promotions__game-trial-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    border: none;
  }
  .page-promotions__hero-jackpot-claim {
    background: #c62828 !important;
    color: #fff !important;
  }
  .page-promotions__promo-strip { /* Placeholder for promo strip, not explicitly used in current HTML but required by prompt */
    margin-top: 16px;
  }
}

/* Additional CSS for promo/hot-games/brand-intro/winner-ticker sections for 768px as requested */
@media (max-width: 768px) {
  /* Promo Strip - if present, ensure no horizontal scroll and responsive cards */
  .page-promotions__promo-strip-track {
    grid-template-columns: repeat(2, 1fr); /* Example: 2 columns on mobile */
    overflow-x: hidden;
    gap: 15px;
  }
  .page-promotions__promo-strip-card {
    flex-direction: column; /* Stack image and text */
    text-align: center;
  }
  .page-promotions__promo-strip-card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  /* Hot Games - if present, ensure 2 columns, hide specific elements */
  .page-promotions__hot-games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .page-promotions__hot-games-name,
  .page-promotions__hot-games-rtp,
  .page-promotions__hot-games-desc {
    display: none; /* Hide for mobile */
  }
  .page-promotions__hot-games-card img {
    width: 100%;
    height: auto;
  }
  .page-promotions__hot-games-card-content {
    text-align: center;
  }

  /* Brand Intro - if present, ensure it displays responsively */
  .page-promotions__brand-intro {
    display: block; /* Ensure it's not hidden if it was on desktop */
    padding: 30px 15px;
  }
  .page-promotions__brand-intro-content {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions__brand-intro-image {
    margin-bottom: 20px;
  }

  /* Winner Ticker - if present, ensure fixed bottom bar */
  .page-promotions__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px 15px;
    z-index: 9999;
    box-sizing: border-box;
  }
  /* Adjust body/main padding-bottom to accommodate fixed ticker */
  body.page-promotions--has-ticker {
    padding-bottom: 50px; /* Example height of ticker */
  }
  .page-promotions.page-content.page-promotions--has-ticker {
    margin-bottom: 50px;
  }
}

/* Default styles for game trial elements (if they were present) */
.page-promotions__game-trial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}
.page-promotions__game-trial-overlay.is-hidden {
  opacity: 0;
  display: none !important;
  pointer-events: none !important;
}
.page-promotions__game-trial-start {
  background: #C30808;
  color: #FFFF00;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
  border: none;
}
.page-promotions__game-trial-start:hover {
  background: #a30606;
}
.page-promotions__game-trial-shell {
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 10px;
  overflow: hidden;
}
.page-promotions__reward-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 5px 10px;
  position: absolute;
  top: 15px;
  right: 15px;
}
.page-promotions__reward-modal-close:hover {
  color: #333;
}