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

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

.page-promotions__dark-bg {
  background-color: #1a1a2e; /* Inherit from body or use a slightly lighter dark tone */
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #2c2c4a; /* A lighter dark background for contrast sections */
  color: #ffffff;
}

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

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

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

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

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

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

.page-promotions__btn-text {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  margin-top: 15px;
}

.page-promotions__btn-text:hover {
  color: #1e87b7;
  text-decoration: underline;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0; /* Handled by shared.css body padding-top */
  padding-bottom: 80px;
  min-height: 600px;
  gap: 40px;
  background-color: #1a1a2e;
}

.page-promotions__hero-content {
  flex: 1;
  padding-left: 20px;
  padding-right: 20px;
  text-align: left;
}

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

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

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

.page-promotions__hero-image-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 20px;
}

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

/* Overview Section */
.page-promotions__overview-section {
  padding: 80px 0;
}

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

.page-promotions__overview-card {
  background-color: #1a1a2e;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-promotions__overview-card:hover {
  transform: translateY(-10px);
}

.page-promotions__overview-card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  min-width: 200px; /* Enforce min size */
  min-height: 150px; /* Maintain aspect ratio */
}

.page-promotions__overview-card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-promotions__overview-card-text {
  color: #f0f0f0;
  font-size: 1em;
  flex-grow: 1;
}

/* Featured Section */
.page-promotions__featured-section {
  padding: 80px 0;
}

.page-promotions__featured-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

.page-promotions__featured-card {
  display: flex;
  background-color: #2c2c4a;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.page-promotions__featured-card:nth-child(even) {
  flex-direction: row-reverse; /* Alternate image and text */
}

.page-promotions__featured-card-image {
  width: 50%;
  height: auto;
  object-fit: cover;
  display: block;
  min-width: 300px; /* Enforce min size */
  min-height: 200px; /* Maintain aspect ratio */
}

.page-promotions__featured-card-content {
  width: 50%;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-promotions__featured-card-title {
  font-size: 2em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-promotions__featured-card-text {
  color: #f0f0f0;
  font-size: 1.1em;
  margin-bottom: 25px;
}

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 80px 0;
}

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

.page-promotions__step-item {
  background-color: #1a1a2e;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-number {
  font-size: 3em;
  font-weight: bold;
  color: #EA7C07; /* Login color for emphasis */
  margin-bottom: 15px;
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
}

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

.page-promotions__cta-buttons--center {
    text-align: center;
    margin-top: 50px;
}

.page-promotions__cta-buttons--center .page-promotions__btn-primary {
    margin: 0 auto;
}

/* Why Choose Section */
.page-promotions__why-choose-section {
  padding: 80px 0;
}

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

.page-promotions__benefit-item {
  background-color: #2c2c4a;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__benefit-text {
  color: #f0f0f0;
  font-size: 1em;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #2c2c4a; /* Slightly lighter for question background */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

.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-out, padding 0.3s ease-out;
  background-color: #1a1a2e;
  color: #f0f0f0;
}

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

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 1em;
}

/* Final CTA Section */
.page-promotions__cta-final-section {
  padding: 80px 0;
  text-align: center;
  background-color: #26A9E0;
}

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

.page-promotions__cta-final-section .page-promotions__section-title {
  color: #ffffff;
  margin-bottom: 25px;
}

.page-promotions__cta-final-section .page-promotions__section-description {
  color: #ffffff;
  margin-bottom: 40px;
}

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

.page-promotions__cta-final-section .page-promotions__btn-primary {
  background-color: #ffffff;
  color: #26A9E0;
  border-color: #ffffff;
}

.page-promotions__cta-final-section .page-promotions__btn-primary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-promotions__cta-final-section .page-promotions__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

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

/* Global image and button responsiveness for mobile */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

.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%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-buttons,
.page-promotions__button-group,
.page-promotions__btn-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

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

  .page-promotions__featured-card-image,
  .page-promotions__featured-card-content {
    width: 100%;
  }

  .page-promotions__featured-card {
    flex-direction: column;
  }

  .page-promotions__featured-card:nth-child(even) {
    flex-direction: column;
  }
}

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

  .page-promotions__hero-content {
    padding: 0 15px;
    text-align: center;
  }

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

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

  .page-promotions__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

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

  /* 产品展示图区域 */
  .page-promotions__overview-section {
    padding: 40px 0;
  }

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

  .page-promotions__overview-card-image {
    min-width: 200px !important;
    min-height: 150px !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promotions__featured-section {
    padding: 40px 0;
  }

  .page-promotions__featured-grid {
    gap: 30px;
  }

  .page-promotions__featured-card {
    flex-direction: column;
  }

  .page-promotions__featured-card:nth-child(even) {
    flex-direction: column;
  }

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

  .page-promotions__featured-card-content {
    width: 100%;
    padding: 25px;
  }

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

  /* Hướng Dẫn Chi Tiết Cách Nhận Ưu Đãi W88 */
  .page-promotions__how-to-claim-section {
    padding: 40px 0;
  }

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

  /* Tại Sao Chọn W88 Để Nhận Khuyến Mãi & Đăng Nhập W88? */
  .page-promotions__why-choose-section {
    padding: 40px 0;
  }

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

  /* Câu Hỏi Thường Gặp Về Khuyến Mãi W88 */
  .page-promotions__faq-section {
    padding: 40px 0;
  }

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

  .page-promotions__faq-question,
  .page-promotions__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Đừng Bỏ Lỡ Các Ưu Đãi Hấp Dẫn Nhất Từ W88! */
  .page-promotions__cta-final-section {
    padding: 40px 0;
  }

  .page-promotions__cta-final-section .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* 通用图片与容器 */
  .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-content,
  .page-promotions__hero-image-container,
  .page-promotions__overview-card,
  .page-promotions__featured-card,
  .page-promotions__step-item,
  .page-promotions__benefit-item,
  .page-promotions__faq-item,
  .page-promotions__cta-final-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* 按钮与按钮容器 */
  .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__hero-buttons,
  .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;
  }

  .page-promotions__hero-buttons,
  .page-promotions__cta-final-section .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* 其他内容模块 */
  .page-promotions__section-title {
    font-size: 1.8em;
  }

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

  .page-promotions__overview-card-title,
  .page-promotions__step-title,
  .page-promotions__benefit-title {
    font-size: 1.3em;
  }

  .page-promotions__overview-card-text,
  .page-promotions__step-text,
  .page-promotions__benefit-text {
    font-size: 0.9em;
  }
}