/* style/promotions.css */
.page-promotions {
  color: #ffffff; /* Body background is dark, so text is light */
  background-color: #121212;
}

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for titles on dark background */
  line-height: 1.3;
}

.page-promotions__section-description {
  font-size: 18px;
  text-align: center;
  margin-bottom: 40px;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #CC0000 0%, #FFD700 100%); /* Brand colors */
  padding-top: 0; /* Assuming shared.css handles body padding-top */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 100px 20px 80px;
  box-sizing: border-box;
}

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

.page-promotions__hero-description {
  font-size: 22px;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.5;
}

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

.page-promotions__hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2;
}

.page-promotions__hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Intro Section */
.page-promotions__intro-section {
  padding: 80px 0;
}

/* Current Promotions Section */
.page-promotions__current-promotions-section {
  padding: 80px 0;
  background-color: #f0f0f0; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
}

.page-promotions__current-promotions-section .page-promotions__section-title {
  color: #CC0000; /* Red for titles on light background */
}

.page-promotions__current-promotions-section .page-promotions__section-description {
  color: #555555;
}

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

.page-promotions__promotion-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-promotions__promotion-image-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.page-promotions__promotion-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-promotions__promotion-title {
  font-size: 22px;
  font-weight: 700;
  color: #CC0000;
  padding: 20px 25px 10px;
  margin: 0;
  line-height: 1.4;
}

.page-promotions__promotion-desc {
  font-size: 16px;
  color: #666666;
  padding: 0 25px 20px;
  flex-grow: 1;
  line-height: 1.6;
}

.page-promotions__promotion-card .page-promotions__btn-primary {
  margin: 0 25px 25px;
  width: calc(100% - 50px);
  text-align: center;
  box-sizing: border-box;
}

/* 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;
}

.page-promotions__step-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter on dark bg */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.page-promotions__step-card:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.page-promotions__step-icon-container {
  width: 80px;
  height: 80px;
  background: #FFD700; /* Gold icon background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__step-icon-container img {
  
  
  object-fit: contain;
}

.page-promotions__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFD700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.page-promotions__step-desc {
  font-size: 15px;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Terms Section */
.page-promotions__terms-section {
  padding: 80px 0;
  background-color: #f0f0f0; /* Light background for contrast */
  color: #333333; /* Dark text on light background */
}

.page-promotions__terms-section .page-promotions__section-title {
  color: #CC0000;
}

.page-promotions__terms-section .page-promotions__section-description {
  color: #555555;
}

.page-promotions__terms-list {
  list-style: disc;
  margin: 0 auto 40px;
  padding-left: 40px;
  max-width: 800px;
  font-size: 16px;
  line-height: 1.8;
  color: #444444;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
}

.page-promotions__terms-section .page-promotions__btn-secondary {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

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

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

/* FAQ容器样式 */
.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08); /* Slightly lighter on dark bg */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 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: #f0f0f0;
}

/* FAQ展开状态 - 🚨 Sử dụng!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 25px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0 0 8px 8px;
}

/* Kiểu dáng câu hỏi */
.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  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: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

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