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

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(135deg, #2C3E50 0%, #1a1a2e 100%);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid #FFD700;
}

.page-promotions__hero-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-promotions__main-title {
  font-size: 48px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

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

.page-promotions__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
}

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

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

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-promotions__btn-primary {
  background: #FFD700;
  color: #2C3E50;
}

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

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

.page-promotions__btn-secondary:hover {
  background: #3a506b;
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__categories-section,
.page-promotions__current-promotions-section,
.page-promotions__how-to-claim-section,
.page-promotions__terms-section,
.page-promotions__faq-section,
.page-promotions__final-cta-section {
  padding: 80px 20px;
  position: relative;
  z-index: 1;
}

.page-promotions__categories-container,
.page-promotions__current-promotions-container,
.page-promotions__how-to-claim-container,
.page-promotions__terms-container,
.page-promotions__faq-container,
.page-promotions__final-cta-container {
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-promotions__category-card {
  background: #2C3E50;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-promotions__category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-promotions__category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
}

.page-promotions__category-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  padding: 0 15px;
}

.page-promotions__category-text {
  font-size: 16px;
  color: #f0f0f0;
  padding: 0 20px;
  margin-bottom: 25px;
}

.page-promotions__category-button {
  display: inline-block;
  padding: 10px 25px;
  background: #FFD700;
  color: #2C3E50;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promotions__category-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

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

.page-promotions__promotion-card {
  background: #2C3E50;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.3);
  display: flex;
  flex-direction: column;
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

.page-promotions__promotion-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__promotion-title {
  font-size: 26px;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-promotions__promotion-description {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__promotion-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.page-promotions__promotion-tag {
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
}

.page-promotions__promotion-button {
  display: inline-block;
  padding: 10px 20px;
  background: #FFD700;
  color: #2C3E50;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promotions__promotion-button:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

.page-promotions__how-to-claim-section.page-promotions__dark-bg {
  background: #2C3E50;
}

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

.page-promotions__step-item {
  text-align: center;
  padding: 30px 20px;
  background: #1a1a2e;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: #FFD700;
  color: #2C3E50;
  border-radius: 50%;
  font-size: 30px;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-promotions__step-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-promotions__step-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
}

.page-promotions__terms-list li {
  background: #2C3E50;
  border-left: 5px solid #FFD700;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
  font-size: 16px;
}

.page-promotions__terms-list li p {
  margin: 0;
  color: #f0f0f0;
}

.page-promotions__terms-link {
  display: block;
  text-align: center;
  margin-top: 30px;
  color: #FFD700;
  text-decoration: none;
  font-weight: bold;
  font-size: 17px;
  transition: color 0.3s ease;
}

.page-promotions__terms-link:hover {
  color: #e6c200;
  text-decoration: underline;
}

.page-promotions__faq-section.page-promotions__dark-bg {
  background: #2C3E50;
}

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

/* FAQ容器样式 */
.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.3);
}

/* 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 20px;
  opacity: 0;
  color: #f0f0f0;
  background: #1a1a2e;
}

/* FAQ展开状态 - 🚨 使用!important và đủ lớn max-height đảm bảo có thể 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 !important;
  opacity: 1;
  background: #1a1a2e;
  border-radius: 0 0 8px 8px;
}

/* 问题样式 */
.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2C3E50;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-promotions__faq-question:active {
  background: #4a6280;
}

/* 问题标题样式 */
.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none; /* 防止h3标签阻止点击事件 */
  color: #FFD700;
}

/* 切换图标 */
.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; /* 防止图标阻止点击事件 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

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

.page-promotions__final-cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #2C3E50 100%);
  border-top: 2px solid #FFD700;
  padding-bottom: 100px;
}

/* ------------------ Responsive Design ------------------ */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 42px;
  }
  .page-promotions__section-title {
    font-size: 34px;
  }
  .page-promotions__hero-description,
  .page-promotions__section-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 15px !important;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-promotions__main-title {
    font-size: 36px;
    margin-bottom: 15px;
  }
  .page-promotions__hero-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__categories-section,
  .page-promotions__current-promotions-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__final-cta-section {
    padding: 50px 15px !important;
  }
  .page-promotions__section-title {
    font-size: 28px;
  }
  .page-promotions__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-promotions__categories-grid,
  .page-promotions__promotions-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promotions__category-image,
  .page-promotions__promotion-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__category-card,
  .page-promotions__promotion-card,
  .page-promotions__step-item,
  .page-promotions__terms-list li,
  .page-promotions__faq-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

  .page-promotions__promotion-content {
    padding: 20px;
  }
  .page-promotions__promotion-title {
    font-size: 22px;
  }
  .page-promotions__promotion-description {
    font-size: 15px;
  }
  .page-promotions__promotion-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .page-promotions__promotion-button {
    width: 100%;
    text-align: center;
  }

  .page-promotions__faq-question {
    padding: 15px;
  }
  .page-promotions__faq-question h3 {
    font-size: 16px;
  }
  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 26px;
    height: 26px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 30px;
  }
  .page-promotions__section-title {
    font-size: 24px;
  }
  .page-promotions__cta-button {
    padding: 10px 20px !important;
    font-size: 15px !important;
  }
  .page-promotions__category-title {
    font-size: 20px;
  }
  .page-promotions__promotion-title {
    font-size: 20px;
  }
  .page-promotions__step-icon {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 26px;
  }
}