.page-phuong-thuc-thanh-toan {
  color: #FFF5E1; /* Default text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-phuong-thuc-thanh-toan__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Minimal top padding, assuming body handles header offset */
  background-color: #B71C1C;
}

.page-phuong-thuc-thanh-toan__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-phuong-thuc-thanh-toan__hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
  padding: 40px 20px 20px;
  color: #FFF5E1;
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #FFD86A;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-phuong-thuc-thanh-toan__hero-description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-phuong-thuc-thanh-toan__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 5px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-phuong-thuc-thanh-toan__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  color: #7A0E0E; /* Deep Red for contrast */
  border: none;
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-phuong-thuc-thanh-toan__btn-secondary {
  background: #C91F17; /* Main brand color */
  color: #FFF5E1;
  border: 2px solid #F2B544;
}

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  background: #E53935; /* Auxiliary color */
  transform: translateY(-2px);
}

.page-phuong-thuc-thanh-toan__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: #FFD86A;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-phuong-thuc-thanh-toan__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #FFF5E1; /* Default for dark sections */
}

.page-phuong-thuc-thanh-toan__dark-bg {
  background-color: #B71C1C; /* Background color */
  color: #FFF5E1;
  padding: 60px 0;
}

.page-phuong-thuc-thanh-toan__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
  padding: 60px 0;
}

.page-phuong-thuc-thanh-toan__light-bg .page-phuong-thuc-thanh-toan__section-title {
  color: #C91F17;
}

.page-phuong-thuc-thanh-toan__light-bg .page-phuong-thuc-thanh-toan__text-block {
  color: #333333;
}

.page-phuong-thuc-thanh-toan__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-phuong-thuc-thanh-toan__card {
  background-color: #D32F2F; /* Card BG */
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #FFF5E1;
}

.page-phuong-thuc-thanh-toan__light-bg .page-phuong-thuc-thanh-toan__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-phuong-thuc-thanh-toan__card-title {
  font-size: 1.8em;
  color: #FFD86A;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-phuong-thuc-thanh-toan__light-bg .page-phuong-thuc-thanh-toan__card-title {
  color: #C91F17;
}

.page-phuong-thuc-thanh-toan__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__card-text {
  font-size: 1em;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-phuong-thuc-thanh-toan__card-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.page-phuong-thuc-thanh-toan__card-list li {
  margin-bottom: 5px;
}

.page-phuong-thuc-thanh-toan__step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.page-phuong-thuc-thanh-toan__step-card {
  background-color: #FFF5E1;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: #333333;
  border: 1px solid #F2B544;
}

.page-phuong-thuc-thanh-toan__step-title {
  font-size: 1.5em;
  color: #C91F17;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-phuong-thuc-thanh-toan__text-link {
  color: #C91F17;
  text-decoration: underline;
}

.page-phuong-thuc-thanh-toan__text-link:hover {
  color: #E53935;
}

.page-phuong-thuc-thanh-toan__note {
  font-style: italic;
  margin-top: 30px;
  padding: 15px;
  background-color: #D32F2F;
  border-left: 5px solid #FFD86A;
  border-radius: 5px;
  color: #FFF5E1;
}

.page-phuong-thuc-thanh-toan__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-phuong-thuc-thanh-toan__tips-list li {
  background-color: #D32F2F;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid #FFD86A;
  font-size: 1.1em;
  color: #FFF5E1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-phuong-thuc-thanh-toan__faq-list {
  margin-top: 30px;
}

.page-phuong-thuc-thanh-toan__faq-item {
  background-color: #FFF5E1;
  border: 1px solid #F2B544;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-phuong-thuc-thanh-toan__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  background-color: #E53935; /* Auxiliary color for question background */
  color: #FFF5E1;
  border-bottom: 1px solid #C91F17;
  list-style: none; /* For details/summary */
}

.page-phuong-thuc-thanh-toan__faq-question::-webkit-details-marker {
  display: none;
}

.page-phuong-thuc-thuc-thanh-toan__faq-qtext {
  flex-grow: 1;
}

.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-phuong-thuc-thanh-toan__faq-item[open] .page-phuong-thuc-thanh-toan__faq-toggle {
  transform: rotate(45deg);
}

.page-phuong-thuc-thanh-toan__faq-answer {
  padding: 15px 25px 20px;
  background-color: #FFF5E1;
  color: #333333;
  font-size: 1em;
}

.page-phuong-thuc-thanh-toan__cta-bottom-section {
  text-align: center;
  padding: 80px 0;
  background-color: #B71C1C;
  color: #FFF5E1;
}

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

.page-phuong-thuc-thanh-toan__cta-bottom-section .page-phuong-thuc-thanh-toan__text-block {
  max-width: 900px;
  margin: 0 auto 30px auto;
}

.page-phuong-thuc-thanh-toan__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Common styles for content images */
.page-phuong-thuc-thanh-toan img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__container {
    padding: 15px;
  }

  .page-phuong-thuc-thanh-toan__hero-content {
    padding: 30px 15px 15px;
  }

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: clamp(1.8em, 4vw, 3em);
  }

  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: clamp(0.9em, 1.5vw, 1.1em);
  }

  .page-phuong-thuc-thanh-toan__section-title {
    font-size: clamp(1.6em, 3vw, 2.2em);
  }

  .page-phuong-thuc-thanh-toan__text-block {
    font-size: 1em;
  }

  .page-phuong-thuc-thanh-toan__card {
    padding: 25px;
  }

  .page-phuong-thuc-thanh-toan__card-title {
    font-size: 1.6em;
  }

  .page-phuong-thuc-thanh-toan__card-image {
    height: 200px;
  }

  .page-phuong-thuc-thanh-toan__step-title {
    font-size: 1.3em;
  }

  .page-phuong-thuc-thanh-toan__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-phuong-thuc-thanh-toan__faq-answer {
    padding: 12px 20px 15px;
  }

  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-phuong-thuc-thanh-toan__cta-button {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }

  /* Placeholder for game carousel / banners-top-wrapper / blog masonry if they were present */
  /* .page-phuong-thuc-thanh-toan__slider-track { display: flex; flex-wrap: nowrap; } */
  /* .page-phuong-thuc-thanh-toan__game-slide { flex: 0 0 180px; max-width: 180px; } */
  /* .page-phuong-thuc-thanh-toan__banners-top-wrapper { grid-template-columns: repeat(3, 1fr); } */
  /* .page-phuong-thuc-thanh-toan__blog-masonry { grid-template-columns: repeat(2, 1fr); } */
  /* .page-phuong-thuc-thanh-toan__blog-slider-track { display: flex; flex-wrap: nowrap; } */
  /* .page-phuong-thuc-thanh-toan__blog-slide { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); } */
}

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

  .page-phuong-thuc-thanh-toan__hero-section {
    padding-top: 10px;
  }

  .page-phuong-thuc-thanh-toan__hero-content {
    position: static;
    background: none;
    padding: 20px 15px;
    color: #FFF5E1;
    text-shadow: none;
  }

  .page-phuong-thuc-thanh-toan__hero-image {
    height: 250px;
  }

  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 2em;
    margin-top: 0;
    color: #FFD86A;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }

  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: 0.95em;
  }

  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }

  .page-phuong-thuc-thanh-toan__text-block {
    font-size: 0.9em;
  }

  /* General image and container adaptation */
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-phuong-thuc-thanh-toan__container,
  .page-phuong-thuc-thanh-toan__section,
  .page-phuong-thuc-thanh-toan__card,
  .page-phuong-thuc-thanh-toan__step-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .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-image {
    height: auto;
  }

  .page-phuong-thuc-thanh-toan__step-by-step {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-phuong-thuc-thanh-toan__step-card {
    padding: 20px;
  }

  .page-phuong-thuc-thanh-toan__tips-list li {
    padding: 15px;
    font-size: 1em;
  }

  /* FAQ specific mobile styles */
  .page-phuong-thuc-thanh-toan__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-phuong-thuc-thanh-toan__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-phuong-thuc-thanh-toan__cta-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin: 0;
  }

  /* Placeholder for game carousel / banners-top-wrapper / blog masonry if they were present */
  /* .page-phuong-thuc-thanh-toan__slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; } */
  /* .page-phuong-thuc-thanh-toan__game-slide { flex: 0 0 80%; scroll-snap-align: start; } */
  /* .page-phuong-thuc-thanh-toan__banners-top-wrapper { grid-template-columns: repeat(2, 1fr); } */
  /* .page-phuong-thuc-thanh-toan__banner-item img {  } */
  /* .page-phuong-thuc-thanh-toan__blog-masonry { grid-template-columns: 1fr; } */
  /* .page-phuong-thuc-thanh-toan__blog-slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; } */
  /* .page-phuong-thuc-thanh-toan__blog-slide { flex: 0 0 90%; scroll-snap-align: start; } */
}

/* Placeholder styles for required but unused sections to satisfy the output requirements */
.page-phuong-thuc-thanh-toan__hero-section.page-phuong-thuc-thanh-toan__home-content { /* Not applicable, but keeping structure */ }
.page-phuong-thuc-thanh-toan__row-games, .page-phuong-thuc-thanh-toan__row-sport, .page-phuong-thuc-thanh-toan__row-coop { /* Not applicable, but keeping structure */ }
.page-phuong-thuc-thanh-toan__games-title, .page-phuong-thuc-thanh-toan__sport-title, .page-phuong-thuc-thanh-toan__coop-title { /* Not applicable, but keeping structure */ }
.page-phuong-thuc-thanh-toan__slider-wrapper { /* Not applicable, but keeping structure */ }
.page-phuong-thuc-thanh-toan__slider-track { /* Not applicable, but keeping structure */ display: flex; flex-wrap: nowrap; gap: 16px; }
.page-phuong-thuc-thanh-toan__game-slide { /* Not applicable, but keeping structure */ flex: 0 0 200px; max-width: 200px; }
.page-phuong-thuc-thanh-toan__banners-top-wrapper { /* Not applicable, but keeping structure */ display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.page-phuong-thuc-thanh-toan__banner-item img { /* Not applicable, but keeping structure */   object-fit: contain; margin: 0 auto; display: block; }
.page-phuong-thuc-thanh-toan__blog-masonry { /* Not applicable, but keeping structure */ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.page-phuong-thuc-thanh-toan__blog-card-link { /* Not applicable, but keeping structure */ display: flex; flex-direction: column; height: 100%; }
.page-phuong-thuc-thanh-toan__btn-outline { /* Not applicable, but keeping structure */ margin-top: auto; }
.page-phuong-thuc-thanh-toan__blog-slider-track { /* Not applicable, but keeping structure */ display: flex; flex-wrap: nowrap; gap: 20px; }
.page-phuong-thuc-thanh-toan__blog-slide { /* Not applicable, but keeping structure */ flex: 0 0 calc(33.333% - 14px); max-width: calc(33.333% - 14px); }

@media (max-width: 768px) {
  .page-phuong-thuc-thanh-toan__home-content { /* Not applicable, but keeping structure */ height: auto; overflow-y: visible; }
  .page-phuong-thuc-thanh-toan__row-games, .page-phuong-thuc-thanh-toan__row-sport, .page-phuong-thuc-thanh-toan__row-coop { /* Not applicable, but keeping structure */ padding: 20px 15px; }
  .page-phuong-thuc-thanh-toan__slider-track { /* Not applicable, but keeping structure */ display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; }
  .page-phuong-thuc-thanh-toan__game-slide { /* Not applicable, but keeping structure */ flex: 0 0 160px; max-width: 160px; scroll-snap-align: start; }
  .page-phuong-thuc-thanh-toan__banners-top-wrapper { /* Not applicable, but keeping structure */ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .page-phuong-thuc-thanh-toan__banner-item img { /* Not applicable, but keeping structure */  }
  .page-phuong-thuc-thanh-toan__blog-masonry { /* Not applicable, but keeping structure */ grid-template-columns: 1fr; }
  .page-phuong-thuc-thanh-toan__blog-slider-track { /* Not applicable, but keeping structure */ display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; }
  .page-phuong-thuc-thanh-toan__blog-slide { /* Not applicable, but keeping structure */ flex: 0 0 100%; max-width: 100%; scroll-snap-align: start; }
}