.page-phuong-thuc-thanh-toan {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --background-main: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --btn-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);

  color: var(--text-main); /* Dark body background, so light text */
  background-color: var(--background-main);
  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__section {
  padding: 60px 0;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-phuong-thuc-thanh-toan__text-block {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main);
}

/* HERO Section */
.page-phuong-thuc-thanh-toan__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px; /* Rely on body padding-top, use ~10px top padding here */
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.page-phuong-thuc-thanh-toan__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

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

.page-phuong-thuc-thanh-toan__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--secondary-color);
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.7);
}

.page-phuong-thuc-thanh-toan__hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

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

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

.page-phuong-thuc-thanh-toan__btn-primary {
  background: var(--btn-gradient);
  color: #ffffff;
  border: none;
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  background: var(--primary-color);
  color: #ffffff;
}

.page-phuong-thuc-thanh-toan__cta-center {
  margin-top: 40px;
}

/* Deposit Methods Section */
.page-phuong-thuc-thanh-toan__deposit-methods {
  background-color: var(--background-main);
}

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

.page-phuong-thuc-thanh-toan__method-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

.page-phuong-thuc-thanh-toan__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
}

.page-phuong-thuc-thanh-toan__method-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-phuong-thuc-thanh-toan__method-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-phuong-thuc-thanh-toan__method-description {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-phuong-thuc-thanh-toan__method-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-phuong-thuc-thanh-toan__method-features li {
  font-size: 15px;
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  color: #c0c0c0;
}

.page-phuong-thuc-thanh-toan__method-features li::before {
  content: '✓';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Withdrawal Guide Section */
.page-phuong-thuc-thanh-toan__withdrawal-guide {
  background-color: var(--background-main);
}

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

.page-phuong-thuc-thanh-toan__step-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: var(--text-main);
}

.page-phuong-thuc-thanh-toan__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.6);
}

.page-phuong-thuc-thanh-toan__step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-phuong-thuc-thanh-toan__step-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-phuong-thuc-thanh-toan__info-box {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary-color);
  border-radius: 10px;
  padding: 25px;
  margin-top: 50px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-phuong-thuc-thanh-toan__info-box-title {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-phuong-thuc-thanh-toan__info-list li {
  font-size: 16px;
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  color: #e0e0e0;
}

.page-phuong-thuc-thanh-toan__info-list li strong {
  color: var(--secondary-color);
}

.page-phuong-thuc-thanh-toan__info-list li::before {
  content: '•';
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
  line-height: 1;
}

/* Important Notes Section */
.page-phuong-thuc-thanh-toan__important-notes {
  background-color: var(--background-main);
}

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

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

.page-phuong-thuc-thanh-toan__note-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
}

.page-phuong-thuc-thanh-toan__note-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

.page-phuong-thuc-thanh-toan__note-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-phuong-thuc-thanh-toan__note-item p {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
}

/* FAQ Section */
.page-phuong-thuc-thanh-toan__faq-section {
  background-color: var(--background-main);
  padding-bottom: 80px;
}

details.page-phuong-thuc-thanh-toan__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
details.page-phuong-thuc-thanh-toan__faq-item summary.page-phuong-thuc-thanh-toan__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;
  color: var(--secondary-color);
  font-weight: 600;
}
details.page-phuong-thuc-thanh-toan__faq-item summary.page-phuong-thuc-thanh-toan__faq-question::-webkit-details-marker {
  display: none;
}
details.page-phuong-thuc-thanh-toan__faq-item summary.page-phuong-thuc-thanh-toan__faq-question:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
}
.page-phuong-thuc-thanh-toan__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--secondary-color);
}
.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-phuong-thuc-thanh-toan__faq-item .page-phuong-thuc-thanh-toan__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--primary-color-rgb), 0.05);
  border-radius: 0 0 5px 5px;
  color: #e0e0e0;
  text-align: left;
  font-size: 16px;
  line-height: 1.7;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 42px;
  }
  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: 18px;
  }
  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 32px;
  }
  .page-phuong-thuc-thanh-toan__text-block {
    font-size: 17px;
  }
  .page-phuong-thuc-thanh-toan__method-grid,
  .page-phuong-thuc-thanh-toan__steps-grid,
  .page-phuong-thuc-thanh-toan__notes-grid {
    gap: 20px;
  }
  .page-phuong-thuc-thanh-toan__method-icon,
  .page-phuong-thuc-thanh-toan__note-icon {
    width: 120px;
    height: 120px;
  }
  .page-phuong-thuc-thanh-toan__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
  }
  .page-phuong-thuc-thanh-toan__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-phuong-thuc-thanh-toan__hero-section {
    padding-top: 10px; /* Specific top padding for mobile hero */
    padding-bottom: 40px;
  }
  .page-phuong-thuc-thanh-toan__hero-image-wrapper {
    position: relative; /* Adjust hero image positioning for mobile */
    height: 250px;
  }
  .page-phuong-thuc-thanh-toan__hero-image {
    object-fit: contain !important; /* HERO: object-fit:contain */
    aspect-ratio: unset !important; /* HERO: aspect-ratio:unset */
    width: 100% !important;
    height: 100% !important;
  }
  .page-phuong-thuc-thanh-toan__hero-content {
    padding: 30px 15px;
    margin-top: -80px; /* Pull content up over the image */
  }
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: 32px;
  }
  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: 16px;
  }
  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column; /* Buttons: column layout */
    gap: 15px;
  }
  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary,
  .page-phuong-thuc-thanh-toan a[class*="button"],
  .page-phuong-thuc-thanh-toan 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: 12px 20px;
  }
  .page-phuong-thuc-thanh-toan__cta-center {
    padding: 0 15px; /* Button container padding */
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    display: flex;
    justify-content: center;
  }
  .page-phuong-thuc-thanh-toan__section {
    padding: 40px 0;
  }
  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  .page-phuong-thuc-thanh-toan__text-block {
    font-size: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-phuong-thuc-thanh-toan__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-phuong-thuc-thanh-toan__method-grid,
  .page-phuong-thuc-thanh-toan__steps-grid,
  .page-phuong-thuc-thuc-thanh-toan__notes-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-phuong-thuc-thanh-toan__method-card,
  .page-phuong-thuc-thanh-toan__step-card,
  .page-phuong-thuc-thanh-toan__note-item {
    padding: 25px 20px;
  }
  .page-phuong-thuc-thanh-toan__method-icon,
  .page-phuong-thuc-thanh-toan__note-icon {
    width: 100px;
    height: 100px;
  }
  .page-phuong-thuc-thanh-toan__method-title,
  .page-phuong-thuc-thanh-toan__step-title,
  .page-phuong-thuc-thanh-toan__note-title {
    font-size: 20px;
  }
  .page-phuong-thuc-thanh-toan__method-description,
  .page-phuong-thuc-thanh-toan__step-card p,
  .page-phuong-thuc-thanh-toan__note-item p,
  .page-phuong-thuc-thanh-toan__info-list li {
    font-size: 15px;
  }
  .page-phuong-thuc-thanh-toan__info-box {
    padding: 20px;
  }
  .page-phuong-thuc-thanh-toan__info-box-title {
    font-size: 20px;
  }
  details.page-phuong-thuc-thanh-toan__faq-item summary.page-phuong-thuc-thanh-toan__faq-question { padding: 15px; }
  .page-phuong-thuc-thanh-toan__faq-qtext { font-size: 16px; }
  .page-phuong-thuc-thanh-toan__faq-toggle { font-size: 24px; width: 28px; }
  details.page-phuong-thuc-thanh-toan__faq-item .page-phuong-thuc-thanh-toan__faq-answer {
    padding: 0 15px 15px;
  }
  /* General images */
  .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;
  }
}