/* Base Styles */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
  padding-top: 10px; /* Minimal top padding, shared.css handles body padding-top */
}

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

.page-promotions__section-title {
  font-size: 32px;
  font-weight: 700;
  color: #2F6BFF;
  text-align: center;
  margin-bottom: 20px;
}

.page-promotions__section-subtitle {
  font-size: 18px;
  color: #1F2D3D;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__text-block {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 15px;
  text-align: justify;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 40px;
}

.page-promotions__hero-image-container {
  width: 100%;
  max-height: 450px; /* Adjust as needed */
  overflow: hidden;
  position: relative;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95); /* Semi-transparent white background for readability */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly with image */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__main-title {
  font-size: 40px;
  font-weight: 800;
  color: #2F6BFF;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 18px;
  color: #1F2D3D;
  margin-bottom: 30px;
}

/* CTA Button */
.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

/* Intro Section */
.page-promotions__intro-section {
  padding: 60px 0;
}

/* Promo Types Section */
.page-promotions__promo-types-section {
  background-color: #2F6BFF;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-promotions__promo-types-section .page-promotions__section-title,
.page-promotions__promo-types-section .page-promotions__section-subtitle {
  color: #FFFFFF;
}

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

.page-promotions__promo-card {
  background-color: #FFFFFF;
  color: #1F2D3D;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

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

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

.page-promotions__promo-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-promotions__promo-card-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FFFFFF;
  color: #2F6BFF;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #2F6BFF;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-secondary:hover {
  background-color: #2F6BFF;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 60px 0;
}

.page-promotions__terms-list {
  list-style: disc;
  margin-left: 25px;
  font-size: 16px;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
}

.page-promotions__terms-list li strong {
  color: #000000; /* Custom Color_1776249996415 */
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  background-color: #2F6BFF;
  color: #FFFFFF;
  padding: 60px 0;
}

.page-promotions__how-to-claim-section .page-promotions__section-title,
.page-promotions__how-to-claim-section .page-promotions__section-subtitle {
  color: #FFFFFF;
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promotions__step-card {
  background-color: #FFFFFF;
  color: #1F2D3D;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #2F6BFF;
  margin-bottom: 10px;
}

.page-promotions__step-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* Benefits Section */
.page-promotions__benefits-section {
  padding: 60px 0;
}

.page-promotions__benefits-list {
  list-style: disc;
  margin-left: 25px;
  font-size: 16px;
  line-height: 1.7;
  color: #1F2D3D;
}

.page-promotions__benefits-list li {
  margin-bottom: 10px;
}

.page-promotions__benefits-list li strong {
  color: #000000;
}

.page-promotions__cta-bottom {
  text-align: center;
  margin-top: 40px;
}

/* FAQ Section */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  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: #1F2D3D;
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF;
  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: #1F2D3D;
}

/* Color Contrast Fixes (if needed, though design aims for good contrast) */
.page-promotions__dark-bg {
  background: #2F6BFF;
  color: #ffffff;
}
.page-promotions__dark-bg .page-promotions__text-block, .page-promotions__dark-bg .page-promotions__section-subtitle {
  color: #ffffff;
}

.page-promotions__light-bg {
  background: #F4F7FB;
  color: #1F2D3D;
}

/* Global Image & Container Responsive */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}
.page-promotions__container, .page-promotions__promo-grid, .page-promotions__steps-grid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden; /* Prevent content overflow */
}

/* Homepage Game Trial Placeholder 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;
  }
  /* Placeholder for promo strip, hot games, brand intro, winner ticker for PC */
  .page-promotions__promo-strip { margin-top: 16px; }
  .page-promotions__promo-strip-track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .page-promotions__hot-games-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .page-promotions__hot-games-name, .page-promotions__hot-games-rtp, .page-promotions__hot-games-desc { display: block; }
  .page-promotions__hot-games-card-content { text-align: center; }
  .page-promotions__hero-brand, .page-promotions__hero-jackpot { display: block; } /* Show for PC */
}

/* Mobile Specific Styles (max-width: 768px) */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 15px;
    line-height: 1.5;
  }

  .page-promotions__container {
    padding: 15px;
  }

  .page-promotions__section-title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .page-promotions__section-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-promotions__hero-content {
    margin-top: -50px;
    padding: 15px;
  }

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

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

  .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% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 10px; /* Space between stacked buttons */
  }

  .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; /* Ensure flex for wrapping */
    flex-direction: column; /* Stack buttons vertically */
  }

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

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

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

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

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

  .page-promotions__step-card {
    padding: 20px 15px;
  }

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

  .page-promotions__faq-question {
    padding: 15px;
  }

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

  .page-promotions__faq-answer {
    padding: 0 15px 15px;
  }

  /* Placeholder for promo strip, hot games, brand intro, winner ticker for mobile */
  .page-promotions__promo-strip-track { grid-template-columns: repeat(2, 1fr); overflow-x: hidden; }
  .page-promotions__hot-games-grid { grid-template-columns: repeat(2, 1fr); }
  .page-promotions__hot-games-name, .page-promotions__hot-games-rtp, .page-promotions__hot-games-desc { display: none; }
  .page-promotions__brand-intro { display: block; } /* If hidden on PC, show on mobile */
  .page-promotions__winner-ticker { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 100; background: rgba(0,0,0,0.8); padding: 10px 0; color: #fff; text-align: center; }
  body { padding-bottom: 50px; } /* Adjust body padding for fixed ticker */
}

/* Game Trial Overlay & Modal Placeholder CSS (Mandatory Inclusion) */
.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;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  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: #fff;
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  position: relative;
  color: #1F2D3D;
}
.page-promotions__reward-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}
.page-promotions__reward-modal-title {
  font-size: 24px;
  color: #2F6BFF;
  margin-bottom: 15px;
}
.page-promotions__reward-modal-text {
  font-size: 16px;
  margin-bottom: 20px;
}