/* Base styles */
.page-promotions {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 10px 0 40px; /* Adjusted padding-top as per instruction */
  background-color: #F4F7FB;
}

.page-promotions__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
  padding: 0 16px;
}

.page-promotions__main-title {
  font-size: 42px;
  font-weight: 700;
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  line-height: 1.2;
}

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

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

.page-promotions__cta-buttons--center {
  margin-top: 40px;
}

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

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
}

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

.page-promotions__btn-secondary {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #2F6BFF; /* Border color */
}

.page-promotions__btn-secondary:hover {
  background: #f0f0f0;
  color: #2F6BFF;
  transform: translateY(-2px);
}

.page-promotions__btn-small {
  padding: 10px 20px;
  font-size: 14px;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1000px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-promotions__section-description {
  font-size: 17px;
  color: #1F2D3D;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.page-promotions__section-description--light {
  color: #f0f0f0;
}

.page-promotions__intro-section,
.page-promotions__how-to-claim,
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #F4F7FB; /* Background */
}

.page-promotions__dark-bg {
  background-color: #2F6BFF; /* Main color */
  padding: 60px 0;
}

.page-promotions__light-bg {
  background-color: #FFFFFF; /* Card BG */
  padding: 60px 0;
}

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

.page-promotions__feature-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF; /* Border */
}

.page-promotions__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promotions__feature-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
}

.page-promotions__feature-text {
  font-size: 16px;
  color: #1F2D3D;
}

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

.page-promotions__category-card {
  background-color: #FFFFFF; /* Card BG */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF; /* Border */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__category-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions__category-title {
  font-size: 20px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
}

.page-promotions__category-text {
  font-size: 15px;
  color: #1F2D3D;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF;
}

.page-promotions__step-number {
  font-size: 32px;
  font-weight: 700;
  color: #2F6BFF;
  background-color: #E0EFFF; /* Lighter shade of main color */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.page-promotions__step-text {
  font-size: 16px;
  color: #1F2D3D;
}

.page-promotions__vip-benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-promotions__vip-benefit-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #D6E2FF;
}

.page-promotions__vip-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promotions__vip-benefit-title {
  font-size: 22px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
}

.page-promotions__vip-benefit-text {
  font-size: 16px;
  color: #1F2D3D;
}

.page-promotions__faq-list {
  margin-top: 40px;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  font-weight: 600;
  font-size: 18px;
  color: #000000;
}
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: #f0f5ff;
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #000000;
}
.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9;
  border-radius: 0 0 12px 12px;
  font-size: 16px;
  color: #1F2D3D;
}

.page-promotions__join-us-content {
  text-align: center;
}

/* --- VERBATIM HOMEPAGE TRIAL LAYOUT CSS --- */
@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;
  }
}
/* --- END VERBATIM HOMEPAGE TRIAL LAYOUT CSS --- */

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

  .page-promotions__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Section and Card containers for mobile */
  .page-promotions__hero-section,
  .page-promotions__intro-section,
  .page-promotions__promotion-categories,
  .page-promotions__how-to-claim,
  .page-promotions__vip-program,
  .page-promotions__faq-section,
  .page-promotions__join-us {
    padding: 40px 0 !important;
  }

  .page-promotions__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }

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

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

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

  .page-promotions__features-grid,
  .page-promotions__category-grid,
  .page-promotions__steps-list,
  .page-promotions__vip-benefits-list {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
    margin-top: 25px;
  }

  .page-promotions__feature-item,
  .page-promotions__category-card,
  .page-promotions__step-item,
  .page-promotions__vip-benefit-item {
    padding: 20px;
  }

  .page-promotions__feature-icon,
  .page-promotions__category-image,
  .page-promotions__vip-icon {
    max-width: 150px;
    margin-bottom: 15px;
  }

  .page-promotions__feature-title,
  .page-promotions__category-title,
  .page-promotions__step-title,
  .page-promotions__vip-benefit-title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .page-promotions__feature-text,
  .page-promotions__category-text,
  .page-promotions__step-text,
  .page-promotions__vip-benefit-text {
    font-size: 14px;
  }

  .page-promotions__step-number {
    font-size: 28px;
    width: 45px;
    height: 45px;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }
  .page-promotions__faq-qtext {
    font-size: 16px;
  }
  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 28px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 20px 20px;
  }

  /* General image and container rules for mobile */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__hero-image-wrapper,
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Placeholder for homepage-specific modules, as required by prompt's "必写清单" */
  /* 2. 优惠 `__promo-strip` */
  .page-promotions__promo-strip {
    display: block; 
    overflow-x: hidden;
  }
  .page-promotions__promo-strip-track {
    grid-template-columns: 1fr; /* Stack cards */
    overflow-x: hidden;
  }
  .page-promotions__promo-card {
    display: block;
    text-align: center;
  }
  .page-promotions__promo-card-image {
    max-width: 100%;
    height: auto;
  }
  .page-promotions__promo-card-content {
    padding: 10px;
  }
  
  /* 3. 热门 `__hot-games` */
  .page-promotions__hot-games-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* Two columns */
    gap: 15px;
  }
  .page-promotions__hot-games-card {
    text-align: center;
  }
  .page-promotions__hot-games-image {
    max-width: 100%;
    height: auto;
  }
  .page-promotions__hot-games-name,
  .page-promotions__hot-games-rtp,
  .page-promotions__hot-games-desc {
    display: none; /* Hide as per typical mobile hot games */
  }

  /* 4. 品牌 `__brand-intro` (if present) */
  .page-promotions__brand-intro {
    display: block;
    text-align: center;
  }

  /* 5. 中奖条 `__winner-ticker` (if present) */
  .page-promotions__winner-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 10px 0;
  }
  body, main.page-content {
    padding-bottom: 50px; /* Example: adjust based on ticker height */
  }
}