/* style/promotions.css */
:root {
  --page-promotions-main-color: #11A84E;
  --page-promotions-accent-color: #22C768;
  --page-promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-promotions-card-bg: #11271B;
  --page-promotions-background: #08160F;
  --page-promotions-text-main: #F2FFF6;
  --page-promotions-text-secondary: #A7D9B8;
  --page-promotions-border-color: #2E7A4E;
  --page-promotions-glow-color: #57E38D;
  --page-promotions-gold-color: #F2C14E;
  --page-promotions-divider-color: #1E3A2A;
  --page-promotions-deep-green: #0A4B2C;
}

.page-promotions {
  background-color: var(--page-promotions-background);
  color: var(--page-promotions-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions__section {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

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

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

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--page-promotions-gold-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions__text-block {
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__highlight {
  color: var(--page-promotions-gold-color);
  font-weight: bold;
}

/* Hero Section */
.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0;
  background-color: var(--page-promotions-deep-green);
  text-align: center;
}

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

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

.page-promotions__hero-content {
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--page-promotions-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: 900;
}

.page-promotions__description {
  font-size: 1.2rem;
  color: var(--page-promotions-text-main);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary {
  background: var(--page-promotions-button-gradient);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--page-promotions-gold-color);
  border: 2px solid var(--page-promotions-gold-color);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--page-promotions-gold-color);
  color: var(--page-promotions-background);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Overview Section */
.page-promotions__overview-section {
  background-color: var(--page-promotions-background);
}

/* Types Section */
.page-promotions__types-section {
  background-color: var(--page-promotions-deep-green);
}

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

.page-promotions__card {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-promotions-text-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  color: var(--page-promotions-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-text {
  font-size: 0.95rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  color: var(--page-promotions-text-secondary);
}

.page-promotions__card-list li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 0.9rem;
}

.page-promotions__card-list li::before {
  content: '✓';
  color: var(--page-promotions-glow-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Guide Section */
.page-promotions__guide-section {
  background-color: var(--page-promotions-background);
}

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

.page-promotions__step-card {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-promotions-text-main);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__step-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--page-promotions-glow-color);
  margin-bottom: 15px;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background-color: var(--page-promotions-deep-green);
  border: 2px solid var(--page-promotions-glow-color);
}

.page-promotions__step-title {
  font-size: 1.4rem;
  color: var(--page-promotions-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__step-text {
  font-size: 0.95rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-text {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  background-color: var(--page-promotions-main-color);
  color: #ffffff;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-text:hover {
  background-color: var(--page-promotions-accent-color);
}

/* Terms Section */
.page-promotions__terms-section {
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__accordion-group {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--page-promotions-text-main);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--page-promotions-gold-color);
  cursor: pointer;
  background-color: var(--page-promotions-deep-green);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-promotions__faq-question:hover {
  background-color: var(--page-promotions-main-color);
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 0.95rem;
  color: var(--page-promotions-text-secondary);
  text-align: justify;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: var(--page-promotions-main-color);
}

/* Why Choose Us Section */
.page-promotions__why-choose-us {
  background-color: var(--page-promotions-background);
}

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

.page-promotions__feature-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--page-promotions-text-main);
  transition: transform 0.3s ease;
}

.page-promotions__feature-item:hover {
  transform: translateY(-5px);
}

.page-promotions__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__feature-title {
  font-size: 1.4rem;
  color: var(--page-promotions-gold-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__feature-text {
  font-size: 0.95rem;
  color: var(--page-promotions-text-secondary);
}

/* CTA Bottom Section */
.page-promotions__cta-bottom {
  padding: 80px 0;
  background-color: var(--page-promotions-deep-green);
  text-align: center;
}

.page-promotions__btn-large {
  padding: 18px 40px;
  font-size: 1.3rem;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .page-promotions__main-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
  }

  .page-promotions__description {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

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

  .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__card-grid,
  .page-promotions__steps-grid,
  .page-promotions__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card,
  .page-promotions__step-card,
  .page-promotions__feature-item {
    padding: 20px;
  }

  .page-promotions__card-image,
  .page-promotions__feature-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__accordion-group {
    margin-top: 20px;
  }

  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-promotions__faq-answer {
    padding: 0 15px 15px 15px;
  }

  .page-promotions__cta-bottom {
    padding: 60px 0;
  }

  .page-promotions__btn-large {
    font-size: 1.1rem;
    padding: 15px 30px;
  }

  .page-promotions__video-section {
    padding-top: 10px !important; /* body đã xử lý --header-offset */
  }
  .page-promotions__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .page-promotions__description {
    font-size: 0.95rem;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}