/* 须含：1023px试玩重置、1024px三栏300px、overlay z-index、promo、hot-games、768px */
@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 for promotions.html */
.page-promotions {
  color: #FFF1E8; /* Text Main */
  background: #140C0C; /* Background */
  padding-top: 10px; /* Small top padding, assuming body has padding-top from shared */
}

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
}

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

.page-promotions__hero-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  padding: 30px;
  border-radius: 10px;
  margin-top: -80px; /* Overlap with image slightly for visual effect */
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
}

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

.page-promotions__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF1E8; /* Text Main */
}

.page-promotions__section {
  padding: 40px 20px;
  margin-bottom: 30px;
}

.page-promotions__dark-section {
  background: #140C0C; /* Background */
  color: #FFF1E8;
}

.page-promotions__light-bg {
  background: #FFF1E8;
  color: #333333; /* Dark text for light background */
}

.page-promotions__text-dark {
  color: #333333;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.page-promotions__light-bg .page-promotions__section-title {
  color: #C61F1F; /* Primary color for light background titles */
}

.page-promotions__section-description {
  font-size: 17px;
  line-height: 1.7;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #FFF1E8;
}

.page-promotions__light-bg .page-promotions__section-description {
  color: #333333;
}

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

.page-promotions__promo-card,
.page-promotions__step-card,
.page-promotions__info-card,
.page-promotions__why-card {
  background: #2A1212; /* Card BG */
  border: 1px solid #6A1E1E; /* Border */
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #FFF1E8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__promo-card:hover,
.page-promotions__step-card:hover,
.page-promotions__info-card:hover,
.page-promotions__why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__light-bg .page-promotions__step-card,
.page-promotions__light-bg .page-promotions__why-card {
  background: #ffffff;
  border-color: #e0e0e0;
  color: #333333;
}

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

.page-promotions__card-title,
.page-promotions__step-title,
.page-promotions__info-title,
.page-promotions__why-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #F3C54D; /* Gold */
}

.page-promotions__light-bg .page-promotions__step-title,
.page-promotions__light-bg .page-promotions__why-title {
  color: #C61F1F; /* Primary color for light background titles */
}

.page-promotions__card-text,
.page-promotions__step-text,
.page-promotions__info-text,
.page-promotions__why-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #FFF1E8;
}

.page-promotions__light-bg .page-promotions__step-text,
.page-promotions__light-bg .page-promotions__info-text,
.page-promotions__light-bg .page-promotions__why-text {
  color: #333333;
}

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

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
  color: #FFF1E8; /* Text Main */
  border: none;
}

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

.page-promotions__btn-secondary {
  background: transparent;
  color: #F3C54D; /* Gold */
  border: 2px solid #F3C54D; /* Gold */
}

.page-promotions__btn-secondary:hover {
  background: #F3C54D;
  color: #2A1212; /* Card BG */
}

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

/* FAQ Styles */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #6A1E1E; /* Border */
  overflow: hidden;
  background: #2A1212; /* Card BG */
}
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: #3a1a1a;
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold */
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF1E8; /* Text Main */
  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: #140C0C; /* Background */
  border-radius: 0 0 10px 10px;
  color: #FFF1E8;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-promotions__hero-content {
    margin-top: -50px;
    padding: 20px;
  }
  .page-promotions__main-title {
    font-size: 28px;
  }
  .page-promotions__description {
    font-size: 16px;
  }
  .page-promotions__section-title {
    font-size: 32px;
  }
  .page-promotions__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-promotions__promo-grid,
  .page-promotions__steps-grid,
  .page-promotions__info-grid,
  .page-promotions__why-choose-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__card-image {
    height: 180px;
  }
  .page-promotions__card-title,
  .page-promotions__step-title,
  .page-promotions__info-title,
  .page-promotions__why-title {
    font-size: 20px;
  }
  .page-promotions__card-text,
  .page-promotions__step-text,
  .page-promotions__info-text,
  .page-promotions__why-text {
    font-size: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 10px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__cta-bottom {
    padding: 0 15px;
  }
  .page-promotions__promo-card,
  .page-promotions__step-card,
  .page-promotions__info-card,
  .page-promotions__why-card {
    padding: 20px;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__container {
    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: 16px; }
  .page-promotions__faq-toggle { font-size: 20px; width: 24px; height: 24px; }
  details.page-promotions__faq-item .page-promotions__faq-answer { padding: 0 15px 15px; }
}

/* Homepage specific CSS - required in output, but not directly used by promotions content */
.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;}
.page-promotions__hero-jackpot-claim{background:#c62828!important;color:#fff!important;}
@media (min-width:1024px){.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);}}