.page-promotions {
  background-color: #000000; /* Body background is dark, so content background should be adjusted */
  color: #ffffff;
  font-family: Arial, sans-serif;
}

.page-promotions__hero-section {
  padding-top: 10px; /* Small top padding as shared.css handles body padding-top */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #000000; /* Ensure hero section also has dark background */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

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

.page-promotions__hero-content {
  max-width: 800px;
  padding: 20px;
}

.page-promotions__main-title {
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-promotions__lead-text {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__introduction {
  background-color: #000000;
  color: #ffffff;
}

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

.page-promotions__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 40px;
  line-height: 1.3;
}

.page-promotions__paragraph {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-promotions__types-of-promotions {
  background-color: #0d0d0d; /* Slightly lighter dark background for contrast */
  color: #ffffff;
}

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

.page-promotions__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards on dark background */
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-promotions__card-image {
  width: 100%;
  height: auto;
  max-height: 200px; /* Constrain card image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.4em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
  flex-grow: 1;
}

.page-promotions__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__cta-button,
.page-promotions__small-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary,
.page-promotions__cta-button {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-promotions__btn-primary:hover,
.page-promotions__cta-button:hover {
  background-color: #1e87b7;
  border-color: #1e87b7;
}

.page-promotions__btn-secondary,
.page-promotions__small-button {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

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

.page-promotions__small-button {
  font-size: 0.9em;
  padding: 8px 15px;
  margin-top: auto; /* Push button to bottom of card */
}

.page-promotions__how-to-claim {
  background-color: #000000;
  color: #ffffff;
}

.page-promotions__ordered-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__ordered-list li {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  padding: 20px 25px;
  border-radius: 8px;
  line-height: 1.7;
  color: #f0f0f0;
  position: relative;
  padding-left: 55px;
}

.page-promotions__ordered-list li::before {
  content: counter(list-item);
  counter-increment: list-item;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #26A9E0;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1em;
}

.page-promotions__list-title {
  color: #26A9E0;
  font-size: 1.1em;
}

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

.page-promotions__terms-conditions {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-promotions__terms-conditions .page-promotions__section-title,
.page-promotions__terms-conditions .page-promotions__paragraph,
.page-promotions__terms-conditions .page-promotions__list-title {
  color: #ffffff;
}

.page-promotions__unordered-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-promotions__unordered-list li {
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 8px;
  line-height: 1.6;
  color: #ffffff;
}

.page-promotions__top-promotional-casinos {
  background-color: #0d0d0d;
  color: #ffffff;
}

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

.page-promotions__casino-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.page-promotions__casino-image {
  width: 100%;
  height: auto;
  max-height: 250px; /* Constrain casino image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  display: block;
}

.page-promotions__casino-name {
  font-size: 1.5em;
  font-weight: bold;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions__casino-offer {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__link-text {
  color: #26A9E0;
  text-decoration: underline;
}

.page-promotions__link-text:hover {
  color: #1e87b7;
}

.page-promotions__faq {
  background-color: #000000;
  color: #ffffff;
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  color: #f0f0f0;
}

.page-promotions__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  list-style: none;
  color: #26A9E0;
  background: rgba(255, 255, 255, 0.05);
}

.page-promotions__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: '−';
}

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  line-height: 1.7;
  color: #cccccc;
}

.page-promotions__cta-bottom {
  padding-bottom: 80px;
  background-color: #0d0d0d;
  color: #ffffff;
}

.highlight {
  color: #26A9E0;
}

/* --- Responsive Styles --- */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .page-promotions__container {
    padding: 0 15px;
  }

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

  .page-promotions__card-title {
    font-size: 1.3em;
  }
}

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

  /* HERO 主图区域 */
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Small top padding as shared.css handles body padding-top */
    padding-bottom: 20px;
  }

  .page-promotions__main-title {
    font-size: 1.8em;
  }

  .page-promotions__lead-text {
    font-size: 1em;
  }

  /* 通用图片与容器 */
  .page-promotions 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,
  .page-promotions__casino-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 产品展示图区域 */
  .page-promotions__grid,
  .page-promotions__casino-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card,
  .page-promotions__casino-item {
    padding: 20px;
  }

  .page-promotions__card-image,
  .page-promotions__casino-image {
    max-height: 180px;
  }

  .page-promotions__section-title {
    font-size: 1.7em;
    margin-bottom: 25px;
  }

  .page-promotions__ordered-list li,
  .page-promotions__unordered-list li {
    padding: 15px 15px 15px 45px;
  }

  .page-promotions__ordered-list li::before {
    left: 15px;
    width: 25px;
    height: 25px;
    font-size: 1em;
  }

  /* 按钮与按钮容器 */
  .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,
  .page-promotions__cta-wrapper {
    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; /* Ensure vertical stacking for multiple buttons */
  }

  /* FAQ */
  .page-promotions__faq-item summary {
    padding: 15px 20px;
    font-size: 1em;
  }

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

  /* 其他内容模块 */
  .page-promotions__introduction, .page-promotions__how-to-claim, .page-promotions__terms-conditions, .page-promotions__top-promotional-casinos, .page-promotions__faq, .page-promotions__cta-bottom {
    padding: 30px 0;
  }
}