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

.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  overflow: hidden;
  background: #1A202C;
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-promotions__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-promotions__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.page-promotions__hero-title {
  font-size: 48px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.page-promotions__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

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

.page-promotions__section-title {
  font-size: 38px;
  color: #FFD700;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.page-promotions__text-block {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 25px;
  line-height: 1.8;
  text-align: left;
}

.page-promotions__intro-section {
  background-color: #1A202C;
}

.page-promotions__promotion-types {
  background-color: #1A202C;
}

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

.page-promotions__card {
  background: rgba(255, 255, 255, 0.08); /* Semi-transparent light background for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  color: #ffffff;
}

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

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-promotions__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promotions__card-text {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
  flex-grow: 1;
  text-align: left;
}

.page-promotions__btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: #FFD700;
  color: #1A202C;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  margin-top: auto; /* Push button to bottom */
}

.page-promotions__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.page-promotions__guide-section {
  background-color: #1A202C;
}

.page-promotions__ordered-list,
.page-promotions__unordered-list {
  list-style-position: inside;
  text-align: left;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding-left: 0;
}

.page-promotions__ordered-list li,
.page-promotions__unordered-list li {
  font-size: 18px;
  color: #f0f0f0;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-promotions__ordered-list li strong {
  color: #FFD700;
}

.page-promotions__terms-section {
  background-color: #1A202C;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions__why-choose {
  background-color: #1A202C;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

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

.page-promotions__reason-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.1);
  color: #ffffff;
}

.page-promotions__reason-item h3 {
  font-size: 22px;
  color: #FFD700;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-promotions__reason-item p {
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.7;
}

.page-promotions__reason-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.page-promotions__faq-section {
  background-color: #1A202C;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

/* FAQ容器样式 */
.page-promotions__faq-list {
  max-width: 900px;
  margin: 0 auto;
  margin-top: 40px;
}

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

/* FAQ默认状态 - 答案隐藏 */
.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #e0e0e0;
  text-align: left;
  font-size: 17px;
  line-height: 1.7;
}

/* FAQ展开状态 - 🚨 Sử dụng!important và đủ lớn max-height để đảm bảo mở rộng */
.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* 🚨 Sử dụng!important đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
  padding: 20px 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 0 8px 8px;
}

/* Vấn đề phong cách */
.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-promotions__faq-item.active .page-promotions__faq-question {
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px 8px 0 0;
}

.page-promotions__faq-question:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 215, 0, 0.3);
}

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

/* Tiêu đề câu hỏi */
.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* Ngăn chặn thẻ h3 chặn sự kiện nhấp */
  color: #FFD700;
  text-align: left;
}

/* Biểu tượng chuyển đổi */
.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Ngăn chặn biểu tượng chặn sự kiện nhấp */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

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

.page-promotions__cta-final {
  padding-bottom: 80px;
  background-color: #1A202C;
  border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions__text-center {
  text-align: center;
}

.page-promotions__cta-final-btn {
  margin-top: 50px;
  font-size: 22px;
  padding: 18px 50px;
  border-radius: 50px;
}

/* 🚨 Mobile Responsive Design */
@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

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

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

  .page-promotions__cta-button {
    padding: 12px 30px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__section {
    padding: 50px 0;
  }

  .page-promotions__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-promotions__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

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

  .page-promotions__card {
    padding: 20px;
    border-radius: 8px;
  }

  .page-promotions__card-image {
    height: 180px;
    margin-bottom: 20px;
  }

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

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

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

  .page-promotions__ordered-list,
  .page-promotions__unordered-list {
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .page-promotions__ordered-list li,
  .page-promotions__unordered-list li {
    font-size: 16px;
    margin-bottom: 10px;
  }

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

  .page-promotions__reason-item {
    padding: 20px;
  }

  .page-promotions__reason-item h3 {
    font-size: 18px;
  }

  .page-promotions__reason-item p {
    font-size: 15px;
  }

  .page-promotions__reason-icon {
    width: 80px;
    height: 80px;
  }

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

  .page-promotions__faq-item {
    margin-bottom: 10px;
  }

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

  .page-promotions__faq-question h3 {
    font-size: 16px;
  }

  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-promotions__cta-final-btn {
    margin-top: 30px;
    font-size: 18px;
    padding: 15px 35px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__faq-list,
  .page-promotions__reason-grid,
  .page-promotions__grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden;
  }
}

/* Contrast fixes for specific elements if needed */
.page-promotions__dark-bg {
  background-color: #1A202C;
  color: #ffffff;
}

.page-promotions__light-bg {
  background-color: #f0f0f0;
  color: #1A202C;
}