.page-promotions {
  font-family: 'Arial', sans-serif;
  color: var(--text-main-color, #333333);
  background: var(--site-bg-color, #F5F7FA);
}

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 40px;
  text-align: center;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  gap: 30px;
  padding-top: 10px; /* Small top padding, rely on body for header offset */
}

.page-promotions__dark-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

.page-promotions__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__main-title {
  font-size: 3.2em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 100%;
}

.page-promotions__hero-description {
  font-size: 1.15em;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background: #ffffff;
  color: #E53935;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #E53935;
  cursor: pointer;
  box-sizing: border-box;
}

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

.page-promotions__section {
  padding: 60px 20px;
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main-color, #333333);
}

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

.page-promotions__section-description {
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__dark-section .page-promotions__section-description {
  color: #f0f0f0;
}

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

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

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

.page-promotions__promo-card-image-wrapper {
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

.page-promotions__promo-card-image {
  width: 100%;
  height: auto;
  display: block;
}

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

.page-promotions__promo-card-text {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #333333;
}

.page-promotions__how-to-claim .page-promotions__section-title,
.page-promotions__why-choose .page-promotions__section-title,
.page-promotions__cta-final .page-promotions__section-title {
  color: #ffffff;
}

.page-promotions__how-to-claim .page-promotions__section-description,
.page-promotions__why-choose .page-promotions__section-description,
.page-promotions__cta-final .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__step-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__step-number {
  font-size: 3em;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.page-promotions__step-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.page-promotions__step-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #f0f0f0;
  position: relative;
  z-index: 1;
}

.page-promotions__cta-bottom {
  margin-top: 50px;
  text-align: center;
}

.page-promotions__guide-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
  text-align: left;
}

.page-promotions__terms-list li {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 18px 25px;
  margin-bottom: 15px;
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-promotions__terms-list li:last-child {
  margin-bottom: 0;
}

.page-promotions__terms-list span.highlight {
  font-weight: 600;
  color: #E53935;
}

.page-promotions__why-choose .page-promotions__section-description {
  margin-bottom: 50px;
}

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

.page-promotions__benefit-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

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

.page-promotions__benefit-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions__benefit-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #f0f0f0;
  flex-grow: 1;
}

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

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

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;
}

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

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

.page-promotions__faq-image-wrapper {
  margin-top: 50px;
  text-align: center;
}

.page-promotions__faq-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.page-promotions__cta-final {
  padding-bottom: 80px;
}

.page-promotions__cta-final .page-promotions__btn-primary {
  margin-top: 30px;
}

.page-promotions .highlight {
  color: #FFD700; /* A contrasting color for highlights */
  font-weight: 600;
}

/* Ensure all images are responsive */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Ensure all buttons are responsive */
.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions a[class*="button"],
.page-promotions a[class*="btn"] {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-buttons,
.page-promotions__button-group,
.page-promotions__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --------------------------------------------------- */
/* Required Homepage Trial CSS - MUST BE INCLUDED AS-IS */
/* --------------------------------------------------- */
@media (max-width: 1023px) {
  .page-promotions__home-hero {
    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 { /* Example for PC layout, adjust as needed */
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .page-promotions__hot-games-grid { /* Example for PC layout, adjust as needed */
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .page-promotions__hot-games-name,
  .page-promotions__hot-games-rtp,
  .page-promotions__hot-games-desc {
    display: block;
  }
  .page-promotions__hot-games-item img {
    text-align: center;
  }
}

/* --------------------------------------------------- */
/* Mobile Responsive Styles (max-width: 768px) - MUST BE INCLUDED */
/* --------------------------------------------------- */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 15px;
    line-height: 1.6;
  }

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

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

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

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

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

  .page-promotions__promos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-card {
    padding: 20px;
  }

  .page-promotions__promo-card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-promotions__promo-card-text {
    font-size: 0.9em;
    margin-bottom: 20px;
  }

  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__step-item {
    padding: 25px;
  }

  .page-promotions__step-title {
    font-size: 1.2em;
  }

  .page-promotions__terms-list {
    padding: 0 15px;
  }

  .page-promotions__terms-list li {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  .page-promotions__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__benefit-item {
    padding: 25px;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
  }

  .page-promotions__faq-qtext {
    font-size: 15px;
  }
  
  .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }

  .page-promotions__cta-final {
    padding-bottom: 60px;
  }

  /* Mobile specific image and container rules to prevent overflow */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__benefit-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button containers for stacking */
  .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; /* Allow buttons to wrap */
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
  }

  /* Homepage specific mobile styles if any, for strict compliance */
  .page-promotions__promo-strip-track { /* For a hypothetical promo strip */
    grid-template-columns: repeat(4,1fr); /* Example: 4 columns, but ensure no horizontal scroll */
    overflow-x: hidden;
  }
  .page-promotions__hot-games-grid { /* For a hypothetical hot games section */
    grid-template-columns: repeat(2,1fr);
  }
  .page-promotions__hot-games-name,
  .page-promotions__hot-games-rtp,
  .page-promotions__hot-games-desc {
    display: none; /* Hide details on mobile for hot games */
  }
  .page-promotions__brand-intro { /* For a hypothetical brand intro section */
    display: block; /* Ensure it's visible if hidden on desktop */
  }
  .page-promotions__winner-ticker { /* For a hypothetical winner ticker */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
  }
  body {
    padding-bottom: 50px; /* Adjust for fixed ticker */
  }
  .page-promotions__home-hero { /* For strict compliance with homepage trial CSS */
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Common styles for homepage trial from prompt, for strict compliance */
.page-promotions__game-trial-overlay{z-index:5;pointer-events:auto;}
.page-promotions__game-trial-overlay.is-hidden{display:none!important;pointer-events:none!important;}.page-promotions__game-trial-start{z-index:6;pointer-events:auto;touch-action:manipulation;}.page-promotions__game-trial-shell{border:1px solid rgba(212,175,55,.45);border-radius:10px;overflow:hidden;}.page-promotions__reward-modal{position:fixed;inset:0;z-index:10000;}
.page-promotions__reward-modal.is-hidden { display: none !important; } /* Ensure modal can be hidden */
.page-promotions__reward-modal-close { /* Style for modal close button */
  position: absolute;
  top: 15px;
  right: 15px;
  background: #E53935;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 1.2em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.page-promotions__reward-modal-close:hover { background: #c62828; }