.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Main text color for dark background */
  background-color: #B71C1C; /* Overall page background */
}

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

.page-promotions__hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 10px; /* Fixed header spacing */
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  background-color: #C91F17;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-promotions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #FFF5E1;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFF5E1;
}

.page-promotions__hero-description {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  margin-bottom: 30px;
}

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

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

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast on gold */
  border: none;
  box-shadow: 0 4px 15px rgba(255, 216, 106, 0.4);
}

.page-promotions__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-promotions__btn-secondary {
  background: #7A0E0E; /* Deep Red */
  color: #FFF5E1;
  border: 2px solid #F4D34D; /* Gold border */
  box-shadow: 0 4px 15px rgba(122, 14, 14, 0.4);
}

.page-promotions__btn-secondary:hover {
  background: #F4D34D;
  color: #7A0E0E;
  border-color: #7A0E0E;
  transform: translateY(-2px);
}

.page-promotions__btn-small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-promotions__btn-large {
  padding: 15px 30px;
  font-size: 1.1em;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: #F4D34D; /* Gold for titles */
}

.page-promotions__text-block {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__light-bg {
  background-color: #B71C1C; /* Deep Red background */
  color: #FFF5E1; /* Light text color */
  padding: 60px 0;
}

.page-promotions__dark-section {
  background-color: #7A0E0E; /* Even deeper red */
  color: #FFF5E1;
  padding: 60px 0;
}

.page-promotions__light-text {
  color: #FFF5E1;
}

.page-promotions__intro-section .page-promotions__section-title {
  color: #F4D34D;
}

.page-promotions__intro-section .page-promotions__text-block {
  color: #FFF5E1;
}

.page-promotions__inline-link {
  color: #FFCC66;
  text-decoration: underline;
}

.page-promotions__inline-link:hover {
  color: #E6B800;
}

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

.page-promotions__card {
  background-color: #D32F2F; /* Card background */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__card-bg {
  background-color: #D32F2F;
  color: #FFF5E1;
}

.page-promotions__card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 20px 20px 10px;
  color: #F4D34D;
}

.page-promotions__card-link {
  color: inherit;
  text-decoration: none;
}

.page-promotions__card-link:hover {
  text-decoration: underline;
}

.page-promotions__card-description {
  font-size: 1rem;
  margin: 0 20px 20px;
  flex-grow: 1;
  color: #FFF5E1;
}

.page-promotions__card .page-promotions__btn-primary {
  margin: 0 20px 20px;
  align-self: flex-start;
}

.page-promotions__image-text-block {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  background-color: #D32F2F;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  padding: 30px;
}

.page-promotions__image-text-block-image {
  width: 50%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  display: block;
}

.page-promotions__image-text-block-content {
  width: 50%;
}

.page-promotions__image-text-block-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #F4D34D;
}

.page-promotions__list-items {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 25px;
  color: #FFF5E1;
}

.page-promotions__list-item {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.page-promotions__numbered-list {
  list-style: decimal;
  margin-left: 25px;
  margin-bottom: 25px;
  color: #FFF5E1;
}

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

.page-promotions__faq-item {
  background-color: #D32F2F;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F4D34D;
  cursor: pointer;
  background-color: #C91F17;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

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

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFCC66;
  margin-left: 15px;
}

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

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1.05rem;
  color: #FFF5E1;
}

.page-promotions__conclusion-section {
  text-align: center;
  padding-bottom: 80px;
}

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

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

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    max-width: 90%;
  }
  .page-promotions__image-text-block {
    flex-direction: column;
    text-align: center;
  }
  .page-promotions__image-text-block-image,
  .page-promotions__image-text-block-content {
    width: 100%;
  }
  .page-promotions__image-text-block-image {
    margin-bottom: 20px;
  }
  .page-promotions__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 0 !important;
  }
  .page-promotions__hero-content {
    top: 55%; /* Adjust position for smaller screens */
    transform: translate(-50%, -50%);
    max-width: 95%;
    padding: 15px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 10px;
  }
  .page-promotions__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
    margin-bottom: 20px;
  }

  /* 产品展示图区域 & 通用图片与容器 */
  .page-promotions__card-grid {
    grid-template-columns: 1fr; /* Single column for cards */
    gap: 20px;
  }
  .page-promotions__card-image {
    height: 200px; /* Adjust card image height */
  }
  .page-promotions__card-title {
    font-size: 1.2rem;
  }
  .page-promotions__card-description {
    font-size: 0.9rem;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  .page-promotions__container,
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__image-text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .page-promotions__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .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__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 20px;
  }
  .page-promotions__text-block,
  .page-promotions__list-item,
  .page-promotions__faq-answer p {
    font-size: 1rem;
  }
  .page-promotions__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }
  .page-promotions__faq-toggle {
    font-size: 1.3rem;
  }
  .page-promotions__intro-section,
  .page-promotions__offers-section,
  .page-promotions__deposit-section,
  .page-promotions__cashback-section,
  .page-promotions__vip-section,
  .page-promotions__special-offers-section,
  .page-promotions__terms-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    padding: 30px 0;
  }
  .page-promotions__image-text-block {
    padding: 20px;
  }
}