:root {
    --primary-color: #113B7A;
    --secondary-color: #1D5FD1;
    --text-main: #F3F8FF;
    --text-secondary: #AFC4E8;
    --card-bg: #10233F;
    --border-color: #244D84;
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy: #08162B; /* Body background color */
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    --button-hover-gradient: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%); /* Inverted for hover */
}

.page-promotions {
    color: var(--text-main); /* Default text color for the page, based on dark body background */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
    background-color: var(--deep-navy); /* Ensure consistency if main is not full width */
}

/* ⚠️ Điện thoại để bàn HERO chủ ảnh phong cách khu vực (đảm bảo tuân thủ nghiệm ngặt) */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  /* body đã để trắng; với máy tính để bàn, chỉ cần một lượng nhỏ khoảng trắng ở trên là đủ */
  padding-top: 10px; /* ⚠️ Fixed header offset rule */
  background-color: var(--deep-navy); /* Match body background */
}

.page-promotions__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure full width within max-width */
}

.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;
  min-width: 200px; /* Min image size */
  min-height: 200px; /* Min image size */
}

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

.page-promotions__main-title {
    font-size: clamp(2em, 5vw, 3.2em); /* H1 font size with clamp */
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.page-promotions__intro-text {
    font-size: 1.1em;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-promotions__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* For mobile responsiveness */
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--button-gradient);
  color: #ffffff; /* Button text always white */
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 0; /* Adjusted from hero-section style */
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  background: var(--button-hover-gradient);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
}

.page-promotions__btn-secondary {
    background: var(--card-bg); /* Use a dark background for secondary button */
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.page-promotions__btn-secondary:hover {
    background: var(--border-color);
    color: var(--text-main);
}

.page-promotions__section {
    padding: 60px 20px;
    background-color: var(--deep-navy); /* Default section background */
    border-bottom: 1px solid var(--divider-color);
}

.page-promotions__section:last-of-type {
    border-bottom: none;
}

.page-promotions__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%; /* Ensure full width within max-width */
    box-sizing: border-box;
}

.page-promotions__section-title {
    font-size: 2.2em;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-promotions__section-title--light {
    color: #ffffff;
}

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

.page-promotions__text-block--light {
    color: #ffffff;
}

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

.page-promotions__promo-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    padding-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

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

.page-promotions__promo-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency in cards */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Min image size */
    min-height: 200px; /* Min image size */
}

.page-promotions__card-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin: 20px 15px 10px 15px;
    font-weight: 600;
}

.page-promotions__card-description {
    font-size: 0.95em;
    color: var(--text-secondary);
    padding: 0 15px 20px 15px;
    flex-grow: 1; /* Push button to bottom */
}

.page-promotions__card-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto; /* Align button at bottom */
    max-width: 90%; /* Adjust for padding in card */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-promotions__card-button:hover {
    background: var(--button-hover-gradient);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-promotions__detail-block {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__detail-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.page-promotions__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-promotions__list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    margin-bottom: 8px;
    border-left: 3px solid var(--secondary-color);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.95em;
}

.page-promotions__list li strong {
    color: var(--text-main);
}

.page-promotions__terms-section {
    padding-top: 40px;
}

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

.page-promotions__feature-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__feature-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 600;
}

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

/* FAQ styles */
.page-promotions__faq-section {
    padding-bottom: 60px;
}

.page-promotions__faq-list {
    margin-top: 40px;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: rgba(var(--border-color), 0.5); /* Lighter hover for dark background */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main); /* Ensure contrast */
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color); /* Gold color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--deep-navy), 0.7); /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary); /* Ensure contrast */
}

.page-promotions__cta-final .page-promotions__container {
    background: var(--primary-color); /* Use primary color for final CTA */
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-promotions__cta-final .page-promotions__section-title {
    margin-bottom: 20px;
    color: #ffffff;
}

.page-promotions__cta-final .page-promotions__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ffffff;
}

/* ⚠️ Đáp ứng thiết kế di động (đảm bảo tuân thủ nghiệm ngặt) */
@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important; /* ⚠️ Fixed header offset rule */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__hero-image img {
    border-radius: 4px;
  }
  
  .page-promotions__main-title {
      font-size: 1.8em;
  }
  
  .page-promotions__intro-text {
      font-size: 1em;
  }

  .page-promotions__cta-buttons {
      flex-direction: column; /* Stack buttons vertically */
      gap: 15px;
      padding-left: 15px;
      padding-right: 15px;
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
  }

  .page-promotions__cta-button,
  .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__section {
      padding: 40px 15px;
  }

  .page-promotions__container {
      padding-left: 0;
      padding-right: 0;
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
  }

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

  .page-promotions__promo-grid {
      grid-template-columns: 1fr;
      gap: 25px;
  }

  .page-promotions__promo-card img {
      
  }

  .page-promotions__card-title {
      font-size: 1.2em;
  }

  .page-promotions__card-description {
      font-size: 0.9em;
  }

  .page-promotions__detail-block {
      padding: 20px;
      margin-bottom: 20px;
  }

  .page-promotions__detail-title {
      font-size: 1.5em;
  }

  .page-promotions__list li {
      padding: 10px 12px;
      font-size: 0.9em;
  }

  .page-promotions__feature-grid {
      grid-template-columns: 1fr;
      gap: 20px;
  }

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

  .page-promotions__feature-title {
      font-size: 1.1em;
  }

  details.page-promotions__faq-item summary.page-promotions__faq-question { padding: 15px; }
  .page-promotions__faq-qtext { font-size: 15px; }
  details.page-promotions__faq-item .page-promotions__faq-answer { padding: 0 15px 15px; }

  /* Ảnh di động buộc phải thích ứng */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}

/* đảm bảo tất cả các kích thước ảnh lớn hơn 200px */
.page-promotions img {
    min-width: 200px;
    min-height: 200px;
}

/* đảm bảo CSS kích thước ảnh khu vực nội dung tối thiểu */
.page-promotions__hero-image img,
.page-promotions__promo-card img,
.page-promotions__detail-block img,
.page-promotions__feature-item img {
}

/* Contrast fix for general text in case of issues */
.page-promotions p,
.page-promotions li,
.page-promotions span,
.page-promotions a {
}

.page-promotions__dark-bg {
    background-color: var(--primary-color); /* Example dark background section */
    color: #ffffff;
}