/* style/promotions.css */
.page-promotions {
  color: #333333;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: var(--secondary-color); /* Sử dụng biến từ shared.css */
  padding-top: 120px; /* Khoảng cách cho fixed header trên desktop */
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 100px; /* Khoảng cách cho fixed header trên mobile */
  }
}

.page-promotions__hero-banner {
  background: linear-gradient(135deg, #1A1A2E, #33334d);
  padding: 80px 20px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid #FFD700;
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-promotions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #FFD700;
}

.page-promotions__subtitle {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.page-promotions__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A2E;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

.page-promotions__section {
  padding: 60px 20px;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.page-promotions__section--highlight {
  background-color: #f9f9f9;
}

.page-promotions__section--alt-bg {
  background-color: #f0f2f5;
}

.page-promotions__section--cta {
  background: linear-gradient(90deg, #1A1A2E, #33334d);
  color: #ffffff;
  padding: 80px 20px;
  text-align: center;
}

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

.page-promotions__container--flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-promotions__cta-text {
  max-width: 800px;
}

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

.page-promotions__cta-button--primary {
  background-color: #FFD700;
  color: #1A1A2E;
}

.page-promotions__cta-button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
  box-shadow: none;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: #1A1A2E;
  text-align: center;
  margin-bottom: 25px;
  font-weight: 700;
}

.page-promotions__section--cta .page-promotions__section-title {
  color: #FFD700;
}

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

.page-promotions__section--cta .page-promotions__section-description {
  color: #f0f0f0;
}

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

.page-promotions__promo-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #e0e0e0;
}

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

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

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

.page-promotions__card-title {
  font-size: 1.5em;
  color: #1A1A2E;
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__promo-info p {
  font-size: 1em;
  color: #444444;
  margin-bottom: 15px;
}

.page-promotions__promo-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__promo-info ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
  color: #333333;
}

.page-promotions__promo-info ul li::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
}

.page-promotions__card-button {
  display: inline-block;
  background-color: #1A1A2E;
  color: #FFD700;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  align-self: flex-start;
}

.page-promotions__card-button:hover {
  background-color: #FFD700;
  color: #1A1A2E;
}

.page-promotions__terms-content h3 {
  font-size: 1.6em;
  color: #1A1A2E;
  margin-top: 30px;
  margin-bottom: 15px;
  border-left: 4px solid #FFD700;
  padding-left: 15px;
}

.page-promotions__terms-content p {
  font-size: 1em;
  color: #444444;
  margin-bottom: 20px;
}

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

.page-promotions__step-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  background-color: #FFD700;
  color: #1A1A2E;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.page-promotions__step-title {
  font-size: 1.3em;
  color: #1A1A2E;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__step-card p {
  color: #555555;
  font-size: 0.95em;
}

.page-promotions__step-card p a {
  color: #1A1A2E;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__step-card p a:hover {
  color: #FFD700;
}

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

.page-promotions__benefit-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  border-left: 5px solid #FFD700;
}

.page-promotions__benefit-icon {
  font-size: 1.5em;
  color: #FFD700;
  margin-right: 15px;
  line-height: 1;
  flex-shrink: 0;
}

.page-promotions__benefit-list li p {
  margin: 0;
  color: #333333;
}

.page-promotions__benefit-list li strong {
  color: #1A1A2E;
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.15em;
  font-weight: 600;
  line-height: 1.5;
  color: #1A1A2E;
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

.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;
  background-color: #fcfcfc;
  color: #444444;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* Ensure enough space for content */
  padding: 20px 25px !important;
  opacity: 1;
  border-top: 1px solid #eeeeee;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.6;
}

.text-highlight {
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2.2em;
  }
  .page-promotions__promo-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 100px !important;
  }
  .page-promotions__hero-banner {
    padding: 60px 15px;
  }
  .page-promotions__main-title {
    font-size: 2.2em;
  }
  .page-promotions__subtitle {
    font-size: 1.1em;
  }
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions__section {
    padding: 40px 15px;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__promo-image {
    height: 200px;
  }
  .page-promotions__promo-info {
    padding: 20px;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__card-button {
    width: 100%;
    box-sizing: border-box;
  }
  .page-promotions__terms-content h3 {
    font-size: 1.4em;
    padding-left: 10px;
  }
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__benefit-list li {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
  }
  .page-promotions__benefit-icon {
    margin-bottom: 10px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
  }
  .page-promotions__faq-question h3 {
    font-size: 1em;
  }
  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px;
  }
  .page-promotions__faq-item.active .page-promotions__faq-answer {
    padding: 15px 20px !important;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .page-promotions__cta-button {
    width: 100%;
  }
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__promo-card,
  .page-promotions__step-card,
  .page-promotions__faq-item,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-banner .page-promotions__container, .page-promotions__section--cta .page-promotions__container {
      padding-left: 0;
      padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__promo-image {
    height: 180px;
  }
  .page-promotions__faq-question h3 {
    font-size: 0.95em;
  }
}