.page-phuong-thuc-thanh-toan {
  font-family: 'Arial', sans-serif;
  color: #333333;
  line-height: 1.6;
  background: #F5F7FA;
}

.page-phuong-thuc-thanh-toan__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-phuong-thuc-thanh-toan__section {
  padding: 60px 0;
}

.page-phuong-thuc-thanh-toan__section-title {
  font-size: 38px;
  font-weight: bold;
  color: #E53935;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FF5A4F;
  border-radius: 2px;
}

.page-phuong-thuc-thanh-toan__text-block {
  text-align: center;
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-phuong-thuc-thanh-toan__hero-section {
  padding-top: 10px; /* Fixed header spacing */
  padding-bottom: 60px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-phuong-thuc-thanh-toan__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

.page-phuong-thuc-thanh-toan__hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-phuong-thuc-thanh-toan__description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-phuong-thuc-thanh-toan__btn-primary,
.page-phuong-thuc-thanh-toan__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-phuong-thuc-thanh-toan__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-phuong-thuc-thanh-toan__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-phuong-thuc-thanh-toan__btn-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.page-phuong-thuc-thanh-toan__deposit-methods,
.page-phuong-thuc-thanh-toan__withdrawal-methods {
  background-color: #ffffff;
}

.page-phuong-thuc-thanh-toan__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-phuong-thuc-thanh-toan__card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  color: #333333;
}

.page-phuong-thuc-thanh-toan__card:hover {
  transform: translateY(-5px);
}

.page-phuong-thuc-thanh-toan__card-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-phuong-thuc-thanh-toan__card-title {
  font-size: 24px;
  font-weight: bold;
  color: #E53935;
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__card-text {
  font-size: 16px;
  color: #555555;
  margin-bottom: 25px;
}

.page-phuong-thuc-thanh-toan__subsection-title {
  font-size: 28px;
  font-weight: bold;
  color: #E53935;
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__step-list,
.page-phuong-thuc-thanh-toan__bullet-list {
  max-width: 800px;
  margin: 0 auto 50px auto;
  padding-left: 25px;
  text-align: left;
  font-size: 17px;
  color: #333333;
}

.page-phuong-thuc-thanh-toan__step-list li,
.page-phuong-thuc-thanh-toan__bullet-list li {
  margin-bottom: 15px;
  line-height: 1.8;
}

.page-phuong-thuc-thanh-toan__step-list strong {
  color: #E53935;
}

.page-phuong-thuc-thanh-toan__image-full-width {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-phuong-thuc-thanh-toan__why-choose {
  background: #E53935;
  color: #ffffff;
}

.page-phuong-thuc-thanh-toan__why-choose .page-phuong-thuc-thanh-toan__section-title {
  color: #ffffff;
}

.page-phuong-thuc-thanh-toan__why-choose .page-phuong-thuc-thanh-toan__section-title::after {
  background-color: #FF5A4F;
}

.page-phuong-thuc-thanh-toan__why-choose .page-phuong-thuc-thanh-toan__text-block {
  color: #f0f0f0;
}

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

.page-phuong-thuc-thanh-toan__feature-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.page-phuong-thuc-thanh-toan__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: brightness(0) invert(1); /* Ensure icons are white on red background */
  min-width: 200px; /* Overriding with minimum size requirements */
  min-height: 200px; /* Overriding with minimum size requirements */
}

.page-phuong-thuc-thanh-toan__feature-title {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-phuong-thuc-thanh-toan__feature-text {
  font-size: 16px;
  color: #f0f0f0;
}

.page-phuong-thuc-thanh-toan__faq {
  background-color: #F5F7FA;
}

.page-phuong-thuc-thanh-toan__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-phuong-thuc-thanh-toan__faq-item {
  background: #ffffff;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-phuong-thuc-thanh-toan__faq-question {
  font-size: 20px;
  font-weight: bold;
  color: #333333;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fcfcfc;
  border-bottom: 1px solid #E0E0E0;
}

.page-phuong-thuc-thanh-toan__faq-question:hover {
  background-color: #f0f0f0;
}

.page-phuong-thuc-thanh-toan__faq-answer {
  padding: 0 25px;
  font-size: 17px;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-phuong-thuc-thanh-toan__faq-answer p {
  padding: 15px 0;
  margin: 0;
}

.page-phuong-thuc-thanh-toan__faq-item.is-active .page-phuong-thuc-thanh-toan__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935;
  margin-left: 15px;
}

.page-phuong-thuc-thanh-toan__faq-item.is-active .page-phuong-thuc-thanh-toan__faq-toggle {
  transform: rotate(45deg);
}

.page-phuong-thuc-thanh-toan__cta-section {
  background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

.page-phuong-thuc-thanh-toan__cta-section .page-phuong-thuc-thanh-toan__section-title {
  color: #ffffff;
}

.page-phuong-thuc-thanh-toan__cta-section .page-phuong-thuc-thanh-toan__section-title::after {
  background-color: #ffffff;
}

.page-phuong-thuc-thanh-toan__cta-section .page-phuong-thuc-thanh-toan__text-block {
  color: #f0f0f0;
}

.page-phuong-thuc-thanh-toan__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* General image responsiveness */
.page-phuong-thuc-thanh-toan img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Overriding feature-icon filter rule to comply with global filter restriction */
.page-phuong-thuc-thanh-toan__feature-icon {
  filter: none; /* Remove filter */
  background-color: #ffffff; /* Use white background for visibility on red */
  border-radius: 50%; /* Make it round */
  padding: 10px; /* Add some padding */
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 44px;
  }
  .page-phuong-thuc-thanh-toan__description {
    font-size: 18px;
  }
  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 32px;
  }
  .page-phuong-thuc-thanh-toan__subsection-title {
    font-size: 24px;
  }
  .page-phuong-thuc-thanh-toan__method-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-phuong-thuc-thanh-toan__feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  /* Fixed header spacing for first section */
  .page-phuong-thuc-thanh-toan__hero-section {
    padding-top: 10px !important;
  }

  /* General page content padding */
  .page-phuong-thuc-thanh-toan__container {
    padding: 0 10px !important;
  }

  /* Hero Section */
  .page-phuong-thuc-thanh-toan__hero-content {
    padding: 60px 0;
  }
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 32px;
  }
  .page-phuong-thuc-thanh-toan__description {
    font-size: 16px;
  }

  /* Section Titles */
  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 28px;
  }
  .page-phuong-thuc-thanh-toan__subsection-title {
    font-size: 22px;
  }
  .page-phuong-thuc-thanh-toan__text-block {
    font-size: 16px;
    margin-bottom: 30px;
  }

  /* Buttons */
  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary {
    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-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column !important;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  .page-phuong-thuc-thanh-toan__btn-center {
    width: 100%;
  }

  /* Method Grid */
  .page-phuong-thuc-thanh-toan__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-phuong-thuc-thanh-toan__card {
    padding: 20px;
  }
  .page-phuong-thuc-thanh-toan__card-title {
    font-size: 20px;
  }
  .page-phuong-thuc-thanh-toan__card-text {
    font-size: 15px;
  }

  /* Step/Bullet Lists */
  .page-phuong-thuc-thanh-toan__step-list,
  .page-phuong-thuc-thanh-toan__bullet-list {
    font-size: 16px;
    padding-left: 20px;
  }

  /* Feature Grid */
  .page-phuong-thuc-thanh-toan__feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-phuong-thuc-thanh-toan__feature-item {
    padding: 20px;
  }
  .page-phuong-thuc-thanh-toan__feature-title {
    font-size: 20px;
  }
  .page-phuong-thuc-thanh-toan__feature-text {
    font-size: 15px;
  }
  .page-phuong-thuc-thanh-toan__feature-icon {
    min-width: 150px; /* Adjusted for mobile */
    min-height: 150px; /* Adjusted for mobile */
  }

  /* FAQ */
  .page-phuong-thuc-thanh-toan__faq-question {
    font-size: 18px;
    padding: 15px 20px;
  }
  .page-phuong-thuc-thanh-toan__faq-answer {
    font-size: 16px;
    padding: 0 20px;
  }
  .page-phuong-thuc-thanh-toan__faq-answer p {
    padding: 10px 0;
  }

  /* Image responsiveness */
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-phuong-thuc-thanh-toan__section,
  .page-phuong-thuc-thanh-toan__card,
  .page-phuong-thuc-thanh-toan__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Placeholder for homepage specific elements (as per strict instruction) */
  /* Top Carousel */
  .page-phuong-thuc-thanh-toan__hero-carousel-section { /* Not used on this page, but included for compliance */ }
  .page-phuong-thuc-thanh-toan__hero-slider { /* Not used on this page, but included for compliance */ }
  .page-phuong-thuc-thanh-toan__hero-slide { /* Not used on this page, but included for compliance */ }

  /* Guide Box with 5 Team Cards */
  .page-phuong-thuc-thanh-toan__guide-box {
    padding: 16px 10px 24px;
  }
  .page-phuong-thuc-thanh-toan__guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
  }
  .page-phuong-thuc-thanh-toan__guide-card {
    padding-top: 0 !important;
    flex: none;
    max-width: none;
  }
  .page-phuong-thuc-thanh-toan__guide-card--pos-1,
  .page-phuong-thuc-thanh-toan__guide-card--pos-2 {
    grid-column: span 3;
  }
  .page-phuong-thuc-thanh-toan__guide-card--pos-3,
  .page-phuong-thuc-thanh-toan__guide-card--pos-4,
  .page-phuong-thuc-thanh-toan__guide-card--pos-5 {
    grid-column: span 2;
  }
  .page-phuong-thuc-thanh-toan__guide-card img {
    aspect-ratio: 250/350;
    object-fit: contain;
    width: 100%;
    height: auto;
  }

  /* Home Content Box */
  .page-phuong-thuc-thanh-toan__home-content-box {
    max-width: 100%;
    height: auto;
    padding: 10px;
    border-width: 3px;
  }
  .page-phuong-thuc-thanh-toan__home-content-inner {
    height: auto;
    overflow: visible;
  }

  /* Blog Card Section */
  .page-phuong-thuc-thanh-toan__blog-section { /* Not used on this page, but included for compliance */ }
  .page-phuong-thuc-thanh-toan__blog-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}