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

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

.page-promotions__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 20px;
}

.page-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
  font-size: clamp(2.2em, 4vw, 3.5em);
}

.page-promotions__description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #f0f0f0;
}

.page-promotions__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  background: linear-gradient(135deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
}

.page-promotions__hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: #EA7C07;
  color: #ffffff;
  border: 2px solid transparent;
}

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

.page-promotions__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-secondary:hover {
  background: #e0e0e0;
  color: #1a7bbd;
  transform: translateY(-2px);
}

.page-promotions__current-promotions {
  padding: 60px 0;
  background: #ffffff;
}

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

.page-promotions__promo-card {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
}

.page-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-promotions__card-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin: 0 15px 10px;
}

.page-promotions__card-description {
  font-size: 0.95em;
  color: #555555;
  margin: 0 15px 20px;
  flex-grow: 1;
}

.page-promotions__how-to-claim {
  padding: 60px 0;
  background: linear-gradient(45deg, #26A9E0 0%, #1a7bbd 100%);
  color: #ffffff;
}

.page-promotions__how-to-claim-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-promotions__steps-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.page-promotions__step-number {
  background: #EA7C07;
  color: #ffffff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2em;
  flex-shrink: 0;
}

.page-promotions__step-title {
  font-size: 1.2em;
  color: #ffffff;
  margin: 0;
}

.page-promotions__step-item p {
  margin: 0;
  color: #f0f0f0;
}

.page-promotions__step-item p a {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-promotions__claim-guide-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
}

.page-promotions__terms-conditions {
  padding: 60px 0;
  background: #f9f9f9;
}

.page-promotions__text-block {
  margin-bottom: 20px;
  color: #555555;
}

.page-promotions__text-block a {
  color: #26A9E0;
  text-decoration: none;
}

.page-promotions__text-block a:hover {
  text-decoration: underline;
}

.page-promotions__why-pk8 {
  padding: 60px 0;
  background: linear-gradient(135deg, #1a7bbd 0%, #26A9E0 100%);
  color: #ffffff;
}

.page-promotions__why-pk8-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-promotions__why-pk8-image {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 10px;
}

.page-promotions__benefits-list {
  flex: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-promotions__benefits-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.page-promotions__benefits-list li::before {
  content: '✔';
  color: #EA7C07;
  font-weight: bold;
  margin-right: 10px;
  flex-shrink: 0;
}

.page-promotions__benefits-list li p {
  margin: 0;
  color: #f0f0f0;
}

.page-promotions__cta-bottom {
  padding: 60px 0;
  background: #ffffff;
  text-align: center;
}

.page-promotions__cta-bottom .page-promotions__description {
  color: #555555;
}

.page-promotions__faq {
  padding: 60px 0;
  background: #f5f5f5;
}

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

.page-promotions__footer-gap {
  height: 60px; /* To ensure content above footer is visible if footer is fixed */
}

/* --- General Image and Container Responsive Styles --- */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions__section,
.page-promotions__container,
.page-promotions__promo-grid,
.page-promotions__how-to-claim-content,
.page-promotions__why-pk8-content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* --- Homepage-like CSS (as per strict instructions for CSS output) --- */
@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 specific styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 15px;
  }

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

  .page-promotions__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }

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

  .page-promotions__hero-section {
    padding-bottom: 30px;
  }

  .page-promotions__current-promotions,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__why-pk8,
  .page-promotions__cta-bottom,
  .page-promotions__faq {
    padding: 40px 0;
  }

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

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

  .page-promotions__card-title {
    font-size: 1.2em;
    margin: 0 10px 8px;
  }

  .page-promotions__card-description {
    font-size: 0.9em;
    margin: 0 10px 15px;
  }

  .page-promotions__how-to-claim-content,
  .page-promotions__why-pk8-content {
    flex-direction: column;
  }

  .page-promotions__claim-guide-image,
  .page-promotions__why-pk8-image {
    max-width: 100%;
    order: -1; /* Image appears above text on mobile */
    margin-bottom: 20px;
  }

  .page-promotions__steps-list {
    gap: 20px;
  }

  .page-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .page-promotions__step-number {
    margin-bottom: 5px;
  }

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

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 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__container,
  .page-promotions__promo-grid,
  .page-promotions__how-to-claim-content,
  .page-promotions__why-pk8-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button responsive styles for mobile */
  .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;
    display: flex;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }
}

/* Ensure the game trial overlay is hidden by default and correctly shown/hidden by JS */
.page-promotions__game-trial-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
}

.page-promotions__game-trial-overlay.is-hidden {
  opacity: 0;
  display: none !important; /* Force hide to prevent interaction */
  pointer-events: none !important;
}

.page-promotions__game-trial-start {
  font-size: 1.5em;
  padding: 15px 30px;
  background: #EA7C07;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  z-index: 6;
  pointer-events: auto;
  touch-action: manipulation;
}

.page-promotions__reward-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.page-promotions__reward-modal[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.page-promotions__reward-modal-content {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  position: relative;
  color: #333333;
}

.page-promotions__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #666;
}

.page-promotions__reward-modal-title {
  font-size: 1.8em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-promotions__reward-modal-text {
  margin-bottom: 25px;
  color: #555555;
}

.page-promotions__reward-modal .page-promotions__btn-primary {
  width: auto;
  padding: 10px 20px;
}