/* --- Fixed Homepage Template CSS (as per strict instruction, even if this is an inner page) --- */
@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 Styles for promotions.html --- */
.page-promotions {
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 40px;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

.page-promotions__hero-content {
  position: relative;
  max-width: 900px;
  margin-top: -150px; /* Overlap slightly for visual effect, but content is below */
  padding: 30px;
  background: rgba(17, 39, 27, 0.9); /* Card B G with transparency */
  border-radius: 10px;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E;
}

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

.page-promotions__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
  color: #F2FFF6; /* Text Main */
  border: none;
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: #2AD16F; /* Brighter green for contrast */
  border: 2px solid #2AD16F;
}

.page-promotions__btn-secondary:hover {
  background: rgba(42, 209, 111, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 209, 111, 0.2);
}

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

.page-promotions__section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  color: #F2C14E; /* Gold */
  margin-bottom: 20px;
  font-weight: 700;
}

.page-promotions__section-description {
  font-size: clamp(15px, 1.8vw, 18px);
  color: #A7D9B8; /* Text Secondary */
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-promotions__promo-card {
  background: #11271B; /* Card B G */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  border: 1px solid #2E7A4E;
  height: 100%; /* Ensure cards in a row have same height */
  color: #F2FFF6;
}

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

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

.page-promotions__promo-card-title {
  font-size: 20px;
  color: #57E38D; /* Glow */
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-promotions__btn-small {
  padding: 8px 18px;
  font-size: 14px;
  align-self: flex-start; /* Align button to left in card */
}

.page-promotions__how-to-claim {
  background-color: #0A4B2C; /* Deep Green */
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-promotions__how-to-claim .page-promotions__section-title {
  color: #F2C14E;
}

.page-promotions__how-to-claim .page-promotions__section-description {
  color: #F2FFF6;
}

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

.page-promotions__step-item {
  background: #11271B; /* Card B G */
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #2E7A4E;
  text-align: center;
  color: #F2FFF6;
}

.page-promotions__step-icon-wrapper {
  background: #0A4B2C; /* Deep Green */
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 2px solid #57E38D;
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block; /* Ensure it's not inline */
}

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

.page-promotions__step-text {
  font-size: 15px;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__terms-conditions {
  background-color: #11A84E; /* Main color */
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-promotions__terms-conditions .page-promotions__section-title {
  color: #F2FFF6;
}

.page-promotions__terms-conditions .page-promotions__section-description {
  color: #F2FFF6;
}

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

.page-promotions__tc-list li {
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 16px;
  color: #F2FFF6; /* Text Main */
  border-left: 4px solid #F2C14E; /* Gold */
}

.page-promotions__btn-center {
  margin: 20px auto 0;
  display: block;
  max-width: 250px;
}

/* --- FAQ Section Styles (details based) --- */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Border color */
  overflow: hidden;
  background: #11271B; /* Card B G */
  color: #F2FFF6; /* Text Main */
}
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: #0A4B2C; /* Deep Green */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F2C14E; /* Gold */
}
.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: rgba(17, 39, 27, 0.7); /* Slightly lighter Card B G */
  border-radius: 0 0 5px 5px;
  color: #A7D9B8; /* Text Secondary */
}

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

  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 20px;
    max-width: calc(100% - 30px);
  }

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

  .page-promotions__subtitle {
    font-size: 16px;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    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__section {
    padding: 30px 15px;
  }

  .page-promotions__section-title {
    font-size: 24px;
  }

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

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

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

  .page-promotions__promo-card-content {
    padding: 15px;
  }

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

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

  .page-promotions__btn-small {
    align-self: center;
    width: 100%;
    max-width: 180px;
  }

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

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

  .page-promotions__step-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-promotions__step-icon {
    width: 50px;
    height: 50px;
  }

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

  .page-promotions__step-text {
    font-size: 14px;
  }

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

  .page-promotions__btn-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  /* General image and container rules for mobile */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promo-grid,
  .page-promotions__steps-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Fixed winner ticker (if present in shared) would need body padding-bottom */
  /* Assuming winner ticker is handled by shared.css or not present on this page's main content */
}

/* Fixed overlay and modal for game trial (as per strict instruction) */
.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;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
}
.page-promotions__reward-modal.is-hidden {
  display: none !important;
}
.page-promotions__reward-modal-content {
  background: #11271B;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  text-align: center;
  position: relative;
  border: 1px solid #F2C14E;
  color: #F2FFF6;
}
.page-promotions__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #A7D9B8;
  cursor: pointer;
}
.page-promotions__reward-modal-close:hover {
  color: #F2C14E;
}
.page-promotions__reward-modal h3 {
  color: #F2C14E;
  margin-bottom: 15px;
  font-size: 24px;
}
.page-promotions__reward-modal p {
  color: #A7D9B8;
  margin-bottom: 25px;
  font-size: 16px;
}
.page-promotions__reward-modal .page-promotions__btn-primary {
  width: 100%;
}