.page-promotions {
  color: #FFF6D6;
  background-color: #0A0A0A;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Minimal top padding, assuming body handles --header-offset */
}

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px 40px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 25px;
  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;
}

.page-promotions__main-title {
  font-size: 44px;
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
  max-width: 900px;
}

.page-promotions__intro-text {
  font-size: 18px;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 800px;
}

.page-promotions__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 600px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  flex-grow: 1;
  max-width: 300px; /* Limit individual button width */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border: none;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-promotions__btn-secondary {
  background: #111111;
  color: #FFD36B;
  border: 2px solid #3A2A12;
}

.page-promotions__btn-secondary:hover {
  background: #FFD36B;
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.4);
}

.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #FFD36B;
  text-align: center;
  margin-bottom: 25px;
  padding-top: 40px;
  text-shadow: 0 0 8px rgba(255, 211, 107, 0.4);
}

.page-promotions__section-description {
  font-size: 17px;
  color: #FFF6D6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__current-promos-section,
.page-promotions__how-to-claim-section,
.page-promotions__vip-program-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__join-cta-section {
  padding: 40px 15px;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

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

.page-promotions__promo-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  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(255, 211, 107, 0.3);
}

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

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

.page-promotions__promo-title {
  font-size: 22px;
  color: #FFD36B;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-promotions__promo-description {
  font-size: 15px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-small {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: background-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 {
  opacity: 0.9;
}

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

.page-promotions__step-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  border-radius: 50%;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.6);
}

.page-promotions__step-title {
  font-size: 24px;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-promotions__step-description {
  font-size: 16px;
  color: #FFF6D6;
}

.page-promotions__cta-center {
  text-align: center;
}

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 20px;
  max-width: 400px;
  width: 100%;
}

.page-promotions__vip-program-section {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #111111;
  border-radius: 15px;
  padding: 50px;
  margin-top: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-promotions__vip-content {
  flex: 1;
}

.page-promotions__vip-content .page-promotions__section-title {
  text-align: left;
  padding-top: 0;
}

.page-promotions__vip-content .page-promotions__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-promotions__vip-image-wrapper {
  flex: 1;
  max-width: 50%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__terms-list li {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(58, 42, 18, 0.5);
  font-size: 16px;
  color: #FFF6D6;
}

.page-promotions__terms-list li:last-child {
  border-bottom: none;
}

.page-promotions__faq-list {
  margin-top: 30px;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  overflow: hidden;
  background: #111111;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  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: rgba(255, 211, 107, 0.1);
}

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

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

details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 20px;
  background: #0A0A0A;
  border-radius: 0 0 10px 10px;
  color: #FFF6D6;
  font-size: 16px;
}

.page-promotions__join-cta-section {
  text-align: center;
  padding-bottom: 60px;
}

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

/* All images base responsive style */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All buttons base responsive style */
.page-promotions__cta-button,
.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;
}

/* Button containers base responsive style */
.page-promotions__cta-buttons,
.page-promotions__button-group,
.page-promotions__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Homepage Trial Layout CSS - STRICTLY REQUIRED AS PER PROMPT */
@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;
  }
}

/* Mobile adaptation for 768px and below */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: hidden;
  }

  .page-promotions__main-title {
    font-size: 32px;
  }

  .page-promotions__intro-text {
    font-size: 16px;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    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__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;
    gap: 10px;
  }

  .page-promotions__section-title {
    font-size: 28px;
    padding-top: 20px;
  }

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

  .page-promotions__promo-grid {
    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__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-promotions__step-number {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }

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

  .page-promotions__vip-program-section {
    flex-direction: column;
    padding: 30px;
    gap: 30px;
  }

  .page-promotions__vip-content .page-promotions__section-title {
    text-align: center;
  }

  .page-promotions__vip-content .page-promotions__section-description {
    text-align: center;
  }

  .page-promotions__vip-image-wrapper {
    max-width: 100%;
  }

  .page-promotions__terms-list {
    margin-left: 10px;
    margin-right: 10px;
  }

  .page-promotions__terms-list li {
    font-size: 15px;
    padding: 12px 15px;
  }

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

  .page-promotions__faq-qtext {
    font-size: 16px;
  }

  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 25px;
    margin-left: 15px;
  }

  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 20px 15px;
    font-size: 15px;
  }

  /* Mobile image adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__hero-section,
  .page-promotions__current-promos-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__vip-program-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__join-cta-section,
  .page-promotions__promo-card,
  .page-promotions__step-card,
  .page-promotions__vip-content,
  .page-promotions__vip-image-wrapper,
  .page-promotions__terms-list,
  .page-promotions__faq-item,
  .page-promotions__cta-center,
  .page-promotions__hero-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Reward Modal CSS (part of homepage trial layout, strictly included) */
.page-promotions__reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.page-promotions__reward-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.page-promotions__reward-modal-content {
  background-color: #111111;
  border: 2px solid #FFD36B;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 20px rgba(255, 211, 107, 0.5);
  position: relative;
}

.page-promotions__reward-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  color: #FFD36B;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.page-promotions__reward-modal-close:hover {
  transform: rotate(90deg);
}

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

.page-promotions__reward-modal-text {
  font-size: 18px;
  color: #FFF6D6;
  margin-bottom: 25px;
}

.page-promotions__reward-modal-cta {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: opacity 0.3s ease;
}

.page-promotions__reward-modal-cta:hover {
  opacity: 0.9;
}

.page-promotions__game-trial-overlay.is-hidden {
  display: none !important;
  pointer-events: none !important;
}

.page-promotions__game-trial-overlay {
  z-index: 5;
  pointer-events: auto;
}

.page-promotions__game-trial-start {
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}

.page-promotions__game-trial-shell {
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
}

body.page-promotions--reward-open {
  overflow: hidden;
}