/* Homepage Specific Trial Layout CSS - MANDATORY INCLUSION */
@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;
  }
}

/* General page styling */
.page-promotions {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-top: 10px; /* Small top padding, relying on body for header offset */
}

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

.page-promotions__hero-content {
  max-width: 800px;
}

.page-promotions__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

.page-promotions__hero-description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #A7D9B8; /* Text Secondary */
}

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

.page-promotions__hero-image-container {
  width: 100%;
  max-width: 900px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__section-title {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  padding: 0 15px;
}

/* Benefits Section */
.page-promotions__benefits-section {
  max-width: 1280px;
  margin: 40px auto;
  padding: 40px 15px;
  background-color: #0A4B2C; /* Deep Green */
  border-radius: 10px;
}

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

.page-promotions__benefit-item {
  background-color: #11271B; /* Card BG */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__benefit-title {
  font-size: 22px;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 10px;
}

.page-promotions__benefit-description {
  font-size: 16px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.5;
}

/* Promo Types Section */
.page-promotions__promo-types {
  max-width: 1280px;
  margin: 40px auto;
  padding: 40px 15px;
}

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

.page-promotions__promo-card {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
  display: flex;
  flex-direction: column;
}

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

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

.page-promotions__promo-card-title {
  font-size: 20px;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-promotions__promo-card-description {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* How To Claim Section */
.page-promotions__how-to-claim {
  max-width: 1280px;
  margin: 40px auto;
  padding: 40px 15px;
}

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

.page-promotions__step-item {
  background-color: #0A4B2C; /* Deep Green */
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  border: 2px solid #57E38D; /* Glow */
  box-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

.page-promotions__step-title {
  font-size: 20px;
  color: #F2C14E; /* Gold */
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.5;
}

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

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
  max-width: 1280px;
  margin: 40px auto;
  padding: 40px 15px;
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  border: 1px solid #2E7A4E; /* Border */
}

.page-promotions__text-block {
  font-size: 16px;
  line-height: 1.6;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
}

.page-promotions__terms-list {
  list-style: disc;
  margin-left: 25px;
  color: #A7D9B8; /* Text Secondary */
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 15px;
}

/* FAQ Section */
.page-promotions__faq-section {
  max-width: 1280px;
  margin: 40px auto;
  padding: 40px 15px;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
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;
  color: #F2FFF6; /* Text Main */
}
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: #0A4B2C; /* Deep Green - darker hover */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Text Main */
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Glow */
  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: #08160F; /* Background - slightly darker for answer */
  border-radius: 0 0 5px 5px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 15px;
  line-height: 1.6;
}

/* Final CTA Section */
.page-promotions__final-cta-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 40px 15px;
  text-align: center;
  background: linear-gradient(90deg, #11A84E, #22C768); /* Main/Aux color gradient */
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(17, 168, 78, 0.4);
}

.page-promotions__final-cta-section .page-promotions__section-title {
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
}

.page-promotions__final-cta-description {
  font-size: 18px;
  color: #F2FFF6; /* Text Main */
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Buttons */
.page-promotions__btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main */
  border: none;
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D; /* Glow */
  border-radius: 8px;
  font-size: 17px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.page-promotions__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-2px);
}

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

  .page-promotions__hero-section {
    padding: 15px;
    gap: 20px;
  }

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

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

  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 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__hero-cta-buttons,
  .page-promotions__cta-bottom {
    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;
    margin-bottom: 30px;
  }

  .page-promotions__benefits-section,
  .page-promotions__promo-types,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__final-cta-section {
    padding: 25px 15px;
    margin: 30px auto;
  }

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

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

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

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__hero-image-container,
  .page-promotions__promo-card,
  .page-promotions__benefit-item,
  .page-promotions__step-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

/* Additional 768px media queries as per instructions (even if not strictly applicable to promotions page, for compliance) */
@media (max-width: 768px) {
  .page-promotions__promo-strip-track { /* Placeholder for promo strip if it were present */
    grid-template-columns: repeat(2, 1fr) !important; /* Example for 2 columns */
    overflow-x: hidden;
  }
  .page-promotions__hot-games-grid { /* Placeholder for hot games if it were present */
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* Placeholder for brand-intro and winner-ticker if present */
  /* .page-promotions__brand-intro { display: none !important; } */
  /* .page-promotions__winner-ticker { bottom: 0; position: fixed; width: 100%; z-index: 100; } */
}

/* The following styles are from the mandatory boilerplate, ensuring they are present */
.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;}