/* Base Styles for promotions page */
.page-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light body background */
  background-color: #ffffff;
}

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

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

.page-promotions__section-title {
  font-size: 32px;
  font-weight: bold;
  color: #017439;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-promotions__hero-section {
  position: relative;
  text-align: center;
  color: #ffffff;
  padding: 10px 0 40px; /* Small top padding */
  background: linear-gradient(to right, #017439, #005a2d);
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-promotions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 900px;
  width: 90%;
  padding: 20px;
  box-sizing: border-box;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__description {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__btn-primary {
  display: inline-block;
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-promotions__btn-primary:hover {
  background-color: #e00b0b;
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  display: inline-block;
  background: #017439;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.page-promotions__btn-secondary:hover {
  background-color: #005a2d;
  transform: translateY(-1px);
}

.page-promotions__introduction p,
.page-promotions__terms p,
.page-promotions__conclusion p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__introduction p strong,
.page-promotions__terms p strong,
.page-promotions__conclusion p strong {
  color: #017439;
}

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

.page-promotions__card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

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

.page-promotions__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-promotions__card-title {
  font-size: 22px;
  font-weight: bold;
  color: #017439;
  margin-bottom: 15px;
}

.page-promotions__card p {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: justify;
}

.page-promotions__dark-section {
  background: #017439;
  color: #ffffff;
}

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

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

.page-promotions__dark-section a:hover {
  color: #f0f0f0;
}

.page-promotions__list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #ffffff;
}

.page-promotions__list li {
  margin-bottom: 10px;
  font-size: 17px;
}

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

.page-promotions__step-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-promotions__step-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* FAQ Styles */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
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;
}

/* Responsive Styles */
@media (max-width: 1023px) {
  .page-promotions__hero-section .page-promotions__hero-content {
    position: static;
    transform: none;
    padding: 20px 15px;
    width: auto;
  }
  .page-promotions__hero-image {
    filter: none; /* Remove filter for better mobile display if text is below */
    max-height: 300px;
  }
  .page-promotions__hero-section {
    padding-bottom: 20px;
  }
  .page-promotions__main-title {
    font-size: 32px;
  }
  .page-promotions__description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__container {
    padding: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__section {
    padding: 30px 0;
  }
  .page-promotions__section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .page-promotions__hero-section {
    padding: 10px 0 20px;
  }
  .page-promotions__hero-image {
    max-height: 250px;
    min-width: 200px !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
  }
  .page-promotions__main-title {
    font-size: 28px;
    margin-bottom: 10px;
  }
  .page-promotions__description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .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;
    font-size: 16px;
  }
  .page-promotions__grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card,
  .page-promotions__step-card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__card-title,
  .page-promotions__step-title {
    font-size: 20px;
  }
  .page-promotions__card p,
  .page-promotions__step-card p {
    font-size: 14px;
  }
  .page-promotions__list {
    margin-left: 15px;
  }
  .page-promotions__list li {
    font-size: 15px;
  }
  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;
    margin-left: 10px;
  }
  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;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__introduction,
  .page-promotions__types,
  .page-promotions__terms,
  .page-promotions__guide,
  .page-promotions__faq,
  .page-promotions__conclusion {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Buttons container mobile adaptation */
  .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;
    display: flex;
    flex-direction: column;
  }

  /* No homepage specific CSS for this inner page */
}

/* Ensure no filter for images that change color */
.page-promotions img {
  filter: none; /* Ensure no CSS filter is applied to change image color */
}

/* Specific for hero-image to dim it slightly for text contrast, not color change */
.page-promotions__hero-image {
  filter: brightness(0.7);
}

/* Body background is light, so default text is dark */
.page-promotions {
  color: #333333;
}

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

.page-promotions__dark-bg {
  background: #017439;
  color: #ffffff;
}

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

.page-promotions__dark-section .page-promotions__list li {
  color: #ffffff;
}

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

.page-promotions__dark-section a {
  color: #FFFF00;
}

.page-promotions__dark-section a:hover {
  color: #f0f0f0;
}

.page-promotions__btn-primary {
  background: #C30808;
  color: #FFFF00;
}

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

.page-promotions__btn-secondary {
  background: #017439;
  color: #FFFFFF;
}

.page-promotions__btn-secondary:hover {
  background-color: #005a2d;
}

/* No homepage specific CSS for this inner page */
/* The following are from homepage rules, but this is an inner page, so they are not directly applicable/generated. */
/* @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;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;aspect-ratio:1024/768;min-height:240px;max-height:none!important;flex:none!important;overflow:hidden;box-sizing:border-box;width:100%;}.page-promotions__game-trial-frame{position:absolute;inset:0;width:100%!important;height:100%!important;min-height:0!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%;align-items:stretch;max-width:1280px;margin:0 auto;padding-bottom:24px;}.page-promotions__hero-brand,.page-promotions__hero-jackpot,.page-promotions__game-trial{height:300px;max-height:300px;}.page-promotions__game-trial{overflow:hidden;}.page-promotions__game-trial-shell{display:flex;flex-direction:column;height:100%;}.page-promotions__game-trial-viewport{flex:1;min-height:0;}.page-promotions__game-trial-frame{height:100%;min-height:0;}.page-promotions__hero-jackpot-claim{background:#c62828!important;}.page-promotions__promo-strip{margin-top:16px;}}
@media (max-width:768px){.page-promotions__promo-strip-track{grid-template-columns:repeat(4,1fr);overflow-x:hidden;}.page-promotions__hot-games-grid{grid-template-columns:repeat(2,1fr);}}
.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;} */