.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F4F7FB; /* Custom Background */
}

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1F2D3D; /* Custom Text Main */
  text-align: center;
  margin-bottom: 20px;
}

.page-promotions__section-description {
  font-size: 18px;
  color: #1F2D3D; /* Custom Text Main */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-promotions__hero-section {
  padding-top: 10px; /* Rely on body padding for header offset */
  padding-bottom: 40px;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Main color gradient */
  color: #ffffff;
  text-align: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-promotions__main-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__cta-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions__btn-secondary {
  background: #ffffff; /* Custom Card BG */
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF; /* Main color */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  background: #f0f0f0;
}

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

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

.page-promotions__promo-card {
  background: #ffffff; /* Custom Card BG */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #1F2D3D; /* Custom Text Main */
  margin-bottom: 15px;
}

.page-promotions__card-text {
  font-size: 16px;
  color: #1F2D3D; /* Custom Text Main */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-btn {
  display: inline-block;
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom Button */
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  transition: background 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__card-btn:hover {
  opacity: 0.9;
}

.page-promotions__promo-categories,
.page-promotions__terms-conditions,
.page-promotions__cta-final {
  padding: 60px 0;
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Main color gradient */
  color: #ffffff;
}

.page-promotions__promo-categories .page-promotions__section-title,
.page-promotions__promo-categories .page-promotions__section-description,
.page-promotions__terms-conditions .page-promotions__section-title,
.page-promotions__terms-conditions .page-promotions__section-description,
.page-promotions__cta-final .page-promotions__section-title,
.page-promotions__cta-final .page-promotions__section-description {
  color: #ffffff;
}

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

.page-promotions__category-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__category-card:hover {
  background: rgba(255, 255, 255, 0.25);
}

.page-promotions__category-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
}

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

.page-promotions__how-to-claim .page-promotions__section-title,
.page-promotions__why-f168bet .page-promotions__section-title,
.page-promotions__faq-section .page-promotions__section-title {
  color: #1F2D3D; /* Custom Text Main */
}

.page-promotions__step-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  text-align: left;
}

.page-promotions__step-item {
  background: #ffffff; /* Custom Card BG */
  border: 1px solid #D6E2FF; /* Custom Border */
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #1F2D3D; /* Custom Text Main */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.page-promotions__step-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.page-promotions__step-item strong {
  color: #2F6BFF;
}

.page-promotions__step-item a {
  color: #2F6BFF;
  text-decoration: underline;
}

.page-promotions__terms-list {
  list-style: disc;
  padding-left: 25px;
  margin: 40px auto;
  max-width: 900px;
  color: #f0f0f0;
  font-size: 16px;
}

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

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

.page-promotions__advantage-item {
  background: #ffffff; /* Custom Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__advantage-title {
  font-size: 24px;
  font-weight: 700;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
}

.page-promotions__advantage-text {
  font-size: 16px;
  color: #1F2D3D; /* Custom Text Main */
  flex-grow: 1;
}

/* FAQ Styles */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Custom Border */
  overflow: hidden;
  background: #ffffff; /* Custom Card BG */
  box-shadow: 0 2px 8px 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 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: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Custom Text Main */
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* Main color */
  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; /* Custom Text Main */
  font-size: 16px;
}

/* Custom colors for contrast assurance */
.page-promotions__dark-section .page-promotions__section-title,
.page-promotions__dark-section .page-promotions__section-description {
  color: #ffffff;
}

.page-promotions__dark-section .page-promotions__card-btn {
  background: #ffffff;
  color: #2F6BFF;
  border: 2px solid #ffffff;
}

.page-promotions__dark-section .page-promotions__card-btn:hover {
  background: #f0f0f0;
  color: #2F6BFF;
}

.page-promotions__light-bg {
  background: #F4F7FB; /* Custom Background */
  color: #1F2D3D; /* Custom Text Main */
}

.page-promotions__dark-section {
  background: linear-gradient(180deg, #2F6BFF 0%, #6FA3FF 100%); /* Main color gradient */
  color: #ffffff;
}

/* --- Media Queries --- */
/* Mobile/Tablet - General */
@media (max-width: 1023px) {
  .page-promotions__hero-section {
    padding-top: 10px;
  }
  .page-promotions__main-title {
    font-size: 38px;
  }
  .page-promotions__description {
    font-size: 18px;
  }
  .page-promotions__section-title {
    font-size: 30px;
  }
  .page-promotions__section-description {
    font-size: 16px;
  }
  .page-promotions__promo-image {
    height: 180px;
  }
  .page-promotions__card-title {
    font-size: 20px;
  }
  .page-promotions__category-title {
    font-size: 24px;
  }
  .page-promotions__advantage-title {
    font-size: 20px;
  }
  .page-promotions__faq-qtext {
    font-size: 16px;
  }
}

/* Mobile - Max 768px */
@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__hero-image {
    margin-bottom: 20px;
  }
  .page-promotions__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-promotions__description {
    font-size: 16px;
    margin-bottom: 25px;
  }
  .page-promotions__cta-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__promo-grid,
  .page-promotions__category-grid,
  .page-promotions__advantage-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promotions__promo-card {
    padding-bottom: 0;
  }
  .page-promotions__promo-image {
    height: 160px;
  }
  .page-promotions__card-content {
    padding: 20px;
  }
  .page-promotions__card-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .page-promotions__card-text {
    font-size: 15px;
    margin-bottom: 15px;
  }
  .page-promotions__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-promotions__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-promotions__step-item {
    font-size: 16px;
    padding: 18px 20px;
  }
  .page-promotions__terms-list {
    font-size: 15px;
    padding-left: 20px;
  }
  .page-promotions__faq-qtext {
    font-size: 15px;
  }
  details.page-promotions__faq-item summary.page-promotions__faq-question { padding: 15px; }
  .page-promotions__faq-answer { padding: 0 15px 15px; }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Ensure all containers with images/buttons are responsive */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__cta-group,
  .page-promotions__promo-grid,
  .page-promotions__category-grid,
  .page-promotions__advantage-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__cta-group {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* --- Homepage Specific Media Queries (Strictly included as per prompt, even for inner page) --- */
@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;}}

/* --- Game Trial / Reward Modal (Homepage related, included as per prompt) --- */
.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;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.7);visibility:hidden;opacity:0;transition:visibility 0.3s, opacity 0.3s;}
.page-promotions__reward-modal.page-promotions--reward-open{visibility:visible;opacity:1;}
.page-promotions__reward-modal-content{background:#ffffff;padding:30px;border-radius:10px;text-align:center;position:relative;max-width:400px;width:90%;box-shadow:0 5px 20px rgba(0,0,0,0.3);}
.page-promotions__reward-modal-close{position:absolute;top:10px;right:10px;font-size:24px;cursor:pointer;color:#888;}
.page-promotions__reward-modal-title{font-size:28px;color:#2F6BFF;margin-bottom:15px;}
.page-promotions__reward-modal-text{font-size:18px;color:#333;margin-bottom:25px;}
.page-promotions__reward-modal-button{background:linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);color:#ffffff;padding:12px 25px;border-radius:8px;text-decoration:none;font-weight:600;display:inline-block;}