.page-resources-recharge-card-exchange-guide {
  font-family: 'Arial', sans-serif;
  color: #f0f0f0; /* Mặc định cho nền tối */
  background-color: var(--dark-bg-1);
  line-height: 1.6;
}

.page-resources-recharge-card-exchange-guide__hero-banner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 180px; /* Đảm bảo không bị che bởi nav bar cố định */
  background: linear-gradient(135deg, #2a2a2a, #0d0d0d); /* Nền tối cho hero banner */
  color: #ffffff;
}

.page-resources-recharge-card-exchange-guide__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-resources-recharge-card-exchange-guide__hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-recharge-card-exchange-guide__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-resources-recharge-card-exchange-guide__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-resources-recharge-card-exchange-guide__title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Màu vàng thương hiệu */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-recharge-card-exchange-guide__subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: #ffffff;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-resources-recharge-card-exchange-guide__subtitle a {
  color: #1E90FF; /* Màu xanh thương hiệu cho link */
  text-decoration: underline;
  font-weight: bold;
}

.page-resources-recharge-card-exchange-guide__subtitle a:hover {
  color: #007bff;
}

.page-resources-recharge-card-exchange-guide__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(135deg, #FFD700, #FFA500); /* Nút CTA vàng */
  color: #333333; /* Chữ đen trên nền vàng */
  text-decoration: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-resources-recharge-card-exchange-guide__cta-button:hover {
  background: linear-gradient(135deg, #FFA500, #FFC107);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  color: #000000;
}

.page-resources-recharge-card-exchange-guide__section {
  padding: 60px 20px;
  background-color: var(--dark-bg-1);
  color: #f0f0f0;
}

.page-resources-recharge-card-exchange-guide__section:nth-of-type(even) {
  background-color: var(--dark-bg-2); /* Xen kẽ màu nền tối */
}

.page-resources-recharge-card-exchange-guide__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-resources-recharge-card-exchange-guide__heading {
  font-size: 36px;
  font-weight: bold;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-resources-recharge-card-exchange-guide__sub-heading {
  font-size: 28px;
  font-weight: bold;
  color: #1E90FF; /* Màu xanh thương hiệu */
  margin-top: 35px;
  margin-bottom: 20px;
  border-left: 5px solid #FFD700;
  padding-left: 15px;
}

.page-resources-recharge-card-exchange-guide__paragraph {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-recharge-card-exchange-guide__paragraph strong {
  color: #FFD700;
}

.page-resources-recharge-card-exchange-guide__paragraph a {
  color: #1E90FF;
  text-decoration: underline;
}

.page-resources-recharge-card-exchange-guide__paragraph a:hover {
  color: #007bff;
}

.page-resources-recharge-card-exchange-guide__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-recharge-card-exchange-guide__ordered-list {
  list-style-type: decimal;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-resources-recharge-card-exchange-guide__list-item,
.page-resources-recharge-card-exchange-guide__ordered-list-item {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.page-resources-recharge-card-exchange-guide__list-item strong,
.page-resources-recharge-card-exchange-guide__ordered-list-item strong {
  color: #FFD700;
}

.page-resources-recharge-card-exchange-guide__image-wrapper {
  margin: 30px auto;
  max-width: 900px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-recharge-card-exchange-guide__content-image {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  object-fit: cover;
}

.page-resources-recharge-card-exchange-guide__inline-button {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(135deg, #1E90FF, #007bff); /* Nút xanh */
  color: #ffffff;
  text-decoration: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: none;
}

.page-resources-recharge-card-exchange-guide__inline-button:hover {
  background: linear-gradient(135deg, #007bff, #1E90FF);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-resources-recharge-card-exchange-guide__faq {
  background-color: var(--dark-bg-2);
  padding-bottom: 80px;
}

.page-resources-recharge-card-exchange-guide__faq-list {
  margin-top: 30px;
}

.page-resources-recharge-card-exchange-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-recharge-card-exchange-guide__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #2b2b2b; /* Nền tối cho câu hỏi */
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: #ffffff;
}

.page-resources-recharge-card-exchange-guide__faq-question:hover {
  background: #3a3a3a;
  border-color: #4a4a4a;
}

.page-resources-recharge-card-exchange-guide__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #FFD700;
}

.page-resources-recharge-card-exchange-guide__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #1E90FF;
  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;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-recharge-card-exchange-guide__faq-item.active .page-resources-recharge-card-exchange-guide__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg); /* Xoay dấu + thành X hoặc - */
}

.page-resources-recharge-card-exchange-guide__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: #1f1f1f; /* Nền tối cho câu trả lời */
  border-top: none;
  border-radius: 0 0 8px 8px;
}

.page-resources-recharge-card-exchange-guide__faq-item.active .page-resources-recharge-card-exchange-guide__faq-answer {
  max-height: 2000px !important; /* Đủ lớn để chứa mọi nội dung */
  padding: 20px 25px !important;
  opacity: 1;
  color: #e0e0e0;
}

.page-resources-recharge-card-exchange-guide__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-resources-recharge-card-exchange-guide__title {
    font-size: 38px;
  }

  .page-resources-recharge-card-exchange-guide__heading {
    font-size: 32px;
  }

  .page-resources-recharge-card-exchange-guide__sub-heading {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .page-resources-recharge-card-exchange-guide__hero-banner {
    padding-top: 160px !important; /* Mobile fixed nav bar adjustment */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-recharge-card-exchange-guide__title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .page-resources-recharge-card-exchange-guide__subtitle {
    font-size: 17px;
    margin-bottom: 20px;
  }

  .page-resources-recharge-card-exchange-guide__cta-button {
    padding: 12px 30px;
    font-size: 16px;
    margin-top: 20px;
  }

  .page-resources-recharge-card-exchange-guide__section {
    padding: 40px 15px;
  }

  .page-resources-recharge-card-exchange-guide__container {
    padding: 0;
  }

  .page-resources-recharge-card-exchange-guide__heading {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .page-resources-recharge-card-exchange-guide__sub-heading {
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .page-resources-recharge-card-exchange-guide__paragraph,
  .page-resources-recharge-card-exchange-guide__list-item,
  .page-resources-recharge-card-exchange-guide__ordered-list-item,
  .page-resources-recharge-card-exchange-guide__faq-answer p {
    font-size: 16px;
  }

  .page-resources-recharge-card-exchange-guide__image-wrapper {
    margin: 20px auto;
  }

  .page-resources-recharge-card-exchange-guide__content-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-resources-recharge-card-exchange-guide__section,
  .page-resources-recharge-card-exchange-guide__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-resources-recharge-card-exchange-guide__faq-question {
    padding: 15px 20px;
  }

  .page-resources-recharge-card-exchange-guide__faq-question h3 {
    font-size: 16px;
  }

  .page-resources-recharge-card-exchange-guide__faq-toggle {
    width: 26px;
    height: 26px;
    font-size: 22px;
  }

  .page-resources-recharge-card-exchange-guide__faq-item.active .page-resources-recharge-card-exchange-guide__faq-answer {
    padding: 15px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-resources-recharge-card-exchange-guide__title {
    font-size: 26px;
  }

  .page-resources-recharge-card-exchange-guide__heading {
    font-size: 24px;
  }

  .page-resources-recharge-card-exchange-guide__sub-heading {
    font-size: 18px;
  }

  .page-resources-recharge-card-exchange-guide__cta-button {
    padding: 10px 25px;
    font-size: 15px;
  }

  .page-resources-recharge-card-exchange-guide__inline-button {
    padding: 10px 20px;
    font-size: 15px;
  }

  .page-resources-recharge-card-exchange-guide__faq-question h3 {
    font-size: 15px;
  }
}