.page-promotions {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-promotions__hero-section {
  background-color: #017439;
  color: #ffffff;
  padding: 0; /* Handled by shared.css body padding-top */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 500px;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-content {
  flex: 1;
  padding: 80px 40px;
  text-align: left;
  z-index: 1;
}

.page-promotions__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFF00; /* Custom color for important titles */
}

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

.page-promotions__hero-buttons {
  display: flex;
  gap: 20px;
}

.page-promotions__btn-primary, .page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  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-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
  background-color: #a30606;
  border-color: #a30606;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

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

.page-promotions__hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  padding-right: 40px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-promotions__logo-carousel-section {
  background-color: #1a1a1a; /* Dark background from body */
  padding: 40px 0;
  text-align: center;
  color: #ffffff;
}

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

.page-promotions__logo-item {
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  transition: transform 0.3s ease;
  min-width: 80px;
  min-height: 80px;
}

.page-promotions__logo-item img {
  max-width: 100%;
  max-height: 100%;
  height: auto; /* Ensure aspect ratio */
  min-width: 80px; /* Enforce min size */
  min-height: 80px; /* Enforce min size */
}

.page-promotions__logo-item:hover {
  transform: translateY(-5px);
}

.page-promotions__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for important titles */
  text-align: center;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
}

.page-promotions__main-content-area {
  background-color: #1a1a1a; /* Dark background from body */
  color: #ffffff;
  padding: 60px 0;
}

.page-promotions__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #017439;
  font-weight: bold;
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-promotions__list, .page-promotions__ordered-list {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-promotions__ordered-list {
  list-style-type: decimal;
}

.page-promotions__list li, .page-promotions__ordered-list li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-promotions__list li a, .page-promotions__ordered-list li a {
  color: #FFFF00;
  text-decoration: none;
}

.page-promotions__list li a:hover, .page-promotions__ordered-list li a:hover {
  text-decoration: underline;
}

.page-promotions__game-promos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  list-style: none;
  padding-left: 0;
}

.page-promotions__game-promos li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-promotions__game-promos li:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
}

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

.page-promotions__gallery-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-promotions__cta-button {
  margin-top: 20px;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  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 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  color: #f0f0f0;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 1000px !important; /* Sufficiently large */
  padding: 15px 20px !important;
}

.page-promotions__faq-answer p {
  margin: 0;
  padding-bottom: 10px;
}

.page-promotions__cta-final {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: #017439;
  border-radius: 10px;
  color: #ffffff;
}

.page-promotions__cta-final p {
  font-size: 1.5em;
  margin-bottom: 30px;
  font-weight: bold;
  color: #FFFF00;
}

.page-promotions__cta-final .page-promotions__btn-primary {
  font-size: 1.2em;
  padding: 18px 40px;
}

/* General image styling for content area to meet min size */
.page-promotions img:not(.page-promotions__logo-item img) {
  min-width: 200px;
  min-height: 200px;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 20px;
    gap: 20px;
  }

  .page-promotions__hero-content {
    padding: 0;
  }

  .page-promotions__hero-image-wrapper {
    padding-right: 0;
    padding-top: 20px;
    max-width: 80%;
  }

  .page-promotions__hero-title {
    font-size: 2.8em;
  }

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

  .page-promotions__hero-buttons {
    justify-content: center;
  }

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

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

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

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

@media (max-width: 768px) {
  /* HERO 主图区域 */
  .page-promotions__hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 15px;
    min-height: auto;
    padding-top: 0; /* Always 0, shared.css handles body padding */
  }

  .page-promotions__hero-content {
    padding: 0;
  }

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

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

  .page-promotions__hero-buttons {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

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

  .page-promotions__hero-image-wrapper {
    padding-top: 20px;
    max-width: 100%;
  }

  .page-promotions__hero-image {
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

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

  .page-promotions__logo-item {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    padding: 8px;
  }

  .page-promotions__logo-item img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
  }

  /* 游戏展示区域 */
  .page-promotions__main-content-area {
    padding: 40px 0;
  }

  .page-promotions__content-container {
    padding: 0 15px;
  }

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

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

  .page-promotions__sub-title {
    font-size: 1.3em !important;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-promotions__text-block,
  .page-promotions__list li,
  .page-promotions__ordered-list li {
    font-size: 1em !important;
  }

  .page-promotions__game-promos {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-promotions__image-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-promotions__gallery-image {
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  /* 通用图片与容器 */
  .page-promotions img:not(.page-promotions__logo-item img) {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure content images are not tiny */
    min-height: 200px !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* 按钮与按钮容器 */
  .page-promotions__cta-button,
  .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__hero-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    flex-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Stack buttons vertically */
  }

  /* 其他内容模块 (FAQ, CTA final) */
  .page-promotions__faq-question {
    font-size: 1.1em !important;
    padding: 12px 15px;
  }

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

  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 10px 15px !important;
  }

  .page-promotions__cta-final {
    padding: 30px 15px;
  }

  .page-promotions__cta-final p {
    font-size: 1.2em !important;
    margin-bottom: 20px;
  }

  .page-promotions__cta-final .page-promotions__btn-primary {
    font-size: 1.1em !important;
    padding: 15px 30px !important;
  }
}