.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
}

.page-promotions__dark-section {
  background-color: var(--dark-bg-1);
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0; /* Assumes shared.css handles body padding */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-promotions__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__btn-primary {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  background-color: #1e87c0;
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: inherit;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-promotions__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

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

.page-promotions__logo-carousel-section {
  padding: 60px 0;
  border-bottom: 1px solid #eee;
}

.page-promotions__logo-carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__logo-item {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.page-promotions__logo-item img {
  max-width: 60px;
  max-height: 60px;
  object-fit: contain;
}

.page-promotions__featured-promos {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-promotions__promo-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

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

.page-promotions__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #26A9E0;
}

.page-promotions__card-title a {
  color: #26A9E0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #1e87c0;
}

.page-promotions__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-secondary {
  display: inline-block;
  background-color: #ffffff;
  color: #26A9E0;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  border: 2px solid #26A9E0;
  transition: background-color 0.3s ease, color 0.3s ease;
  text-align: center;
}

.page-promotions__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__sports-promos, .page-promotions__casino-promos {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-promotions__promo-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-promotions__sports-promos .page-promotions__promo-item {
  background: rgba(255, 255, 255, 0.05); /* Slightly lighter for dark section */
  color: #f0f0f0;
}

.page-promotions__sports-promos .page-promotions__section-title,
.page-promotions__sports-promos .page-promotions__section-description {
  color: #ffffff;
}

.page-promotions__casino-promos .page-promotions__promo-item {
  background: #f8f8f8;
  color: #333333;
}

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

.page-promotions__promo-item-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
  color: inherit;
}

.page-promotions__promo-item a {
  text-decoration: none;
}

.page-promotions__how-to-claim {
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-promotions__step-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  color: #f0f0f0;
}

.page-promotions__step-icon {
  font-size: 2.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.page-promotions__step-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: #ffffff;
}

.page-promotions__step-text {
  font-size: 1em;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-promotions__step-text a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

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

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

.page-promotions__faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0;
}

.page-promotions__faq-item {
  background: #f8f8f8;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: #f5f5f5;
}

.page-promotions__faq-question-text {
  font-size: 1.2em;
  margin: 0;
  color: #333333;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: #f8f8f8;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important;
  padding: 20px 25px;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}

/* General image responsiveness */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }

  .page-promotions__hero-description {
    font-size: 1.1em;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__promo-grid,
  .page-promotions__promo-list,
  .page-promotions__steps-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .page-promotions__content-area {
    padding: 60px 15px;
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-promotions__hero-section {
    padding-top: 0; /* Ensures no double padding if shared handles body */
    padding-bottom: 40px;
    min-height: 400px;
  }

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

  .page-promotions__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    margin-bottom: 25px;
  }

  .page-promotions__btn-primary {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* LOGO 轮播区域 */
  .page-promotions__logo-carousel-section {
    padding: 40px 0;
  }

  .page-promotions__logo-carousel {
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
  }

  .page-promotions__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    box-sizing: border-box;
  }

  .page-promotions__logo-item img {
    max-width: 50px;
    max-height: 50px;
  }

  /* 游戏展示区域 */
  .page-promotions__featured-promos {
    padding-top: 40px;
    padding-bottom: 40px;
  }

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

  .page-promotions__promo-image {
    height: 200px;
  }

  .page-promotions__card-content {
    padding: 20px;
  }

  .page-promotions__card-title {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .page-promotions__card-text {
    font-size: 0.95em;
    margin-bottom: 15px;
  }

  .page-promotions__btn-secondary {
    padding: 10px 20px;
    font-size: 0.9em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 其他内容模块 */
  .page-promotions__content-area {
    padding: 40px 15px;
  }

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

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

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

  .page-promotions__promo-item {
    padding: 25px;
  }

  .page-promotions__promo-item-title {
    font-size: 1.5em;
  }

  .page-promotions__promo-item-text {
    font-size: 0.95em;
  }

  .page-promotions__how-to-claim {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-promotions__step-card {
    padding: 25px;
  }

  .page-promotions__step-title {
    font-size: 1.4em;
  }

  .page-promotions__step-text {
    font-size: 0.95em;
  }

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

  .page-promotions__faq-section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-promotions__faq-question {
    padding: 18px 20px;
  }

  .page-promotions__faq-question-text {
    font-size: 1.1em;
  }

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

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px;
  }

  /* 通用图片与容器 */
  .page-promotions img:not(.page-promotions__logo-item img) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* padding-left and padding-right are handled by specific sections or can be added here if needed for general content */
  }
  
  /* 按钮与按钮容器 */
  .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;
  }
  
  .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; /* Stack buttons vertically on mobile */
  }
}