/* Base styles for the page-phuong-thuc-thanh-toan */
.page-phuong-thuc-thanh-toan {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #F3F8FF; /* Text Main */
  background-color: #08162B; /* Deep Navy - body background */
}

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

.page-phuong-thuc-thanh-toan__section {
  padding: 40px 0;
  margin-bottom: 20px;
}

.page-phuong-thuc-thanh-toan__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #F3F8FF; /* Text Main */
  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: linear-gradient(90deg, #1D5FD1 0%, #2B73F6 100%);
  border-radius: 2px;
}

.page-phuong-thuc-thanh-toan__main-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.2;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.page-phuong-thuc-thanh-toan__sub-title {
  font-size: 28px;
  font-weight: 700;
  color: #F3F8FF;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

.page-phuong-thuc-thanh-toan__text-block {
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  text-align: justify;
}

.page-phuong-thuc-thanh-toan__text-block .text-highlight {
  color: #F2C14E; /* Gold */
  font-weight: 600;
}

.page-phuong-thuc-thanh-toan__list-icon {
  color: #F2C14E; /* Gold */
  margin-right: 10px;
  font-weight: bold;
}

.page-phuong-thuc-thanh-toan__list-strong {
  color: #F3F8FF; /* Text Main */
}

/* Hero Section */
.page-phuong-thuc-thanh-toan__hero-section {
  position: relative;
  width: 100%;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-phuong-thuc-thanh-toan__hero-image {
  width: 100%;
  max-height: 600px; /* Limit height for desktop */
  overflow: hidden;
  position: relative;
}

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

.page-phuong-thuc-thanh-toan__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 30px 20px;
  margin-top: -100px; /* Overlap slightly with image for visual flow */
  background: rgba(16, 35, 63, 0.9); /* Card BG with opacity */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  border: 1px solid #244D84; /* Border color */
}

.page-phuong-thuc-thanh-toan__hero-description {
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 30px;
}

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

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

.page-phuong-thuc-thanh-toan__btn-primary,
.page-phuong-thuc-thanh-toan__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  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, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-phuong-thuc-thanh-toan__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, #3C82FF 0%, #1555C9 100%);
}

.page-phuong-thuc-thanh-toan__btn-secondary {
  background: #10233F; /* Card BG */
  color: #F2C14E; /* Gold */
  border: 2px solid #F2C14E; /* Gold */
}

.page-phuong-thuc-thanh-toan__btn-secondary:hover {
  transform: translateY(-3px);
  background: #1B3357; /* Divider */
  color: #F3F8FF;
  border-color: #F3F8FF;
}

/* Introduction Section */
.page-phuong-thuc-thanh-toan__introduction .page-phuong-thuc-thanh-toan__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-phuong-thuc-thanh-toan__introduction .page-phuong-thuc-thanh-toan__benefits-list li {
  background: #10233F; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  font-size: 18px;
  color: #AFC4E8; /* Text Secondary */
  display: flex;
  align-items: center;
  border: 1px solid #244D84; /* Border color */
}

/* Deposit Methods Section */
.page-phuong-thuc-thanh-toan__deposit-methods .page-phuong-thuc-thanh-toan__method-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-phuong-thuc-thanh-toan__card {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-phuong-thuc-thanh-toan__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.page-phuong-thuc-thanh-toan__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #1B3357; /* Divider */
}

.page-phuong-thuc-thanh-toan__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__card-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-phuong-thuc-thanh-toan__details-list {
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
}

.page-phuong-thuc-thanh-toan__details-list li {
  font-size: 15px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
}

/* Withdrawal Guide Section */
.page-phuong-thuc-thanh-toan__withdrawal-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-phuong-thuc-thanh-toan__step-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.page-phuong-thuc-thanh-toan__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button color */
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.page-phuong-thuc-thanh-toan__step-title {
  font-size: 20px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__step-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

.page-phuong-thuc-thanh-toan__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  margin: 40px auto;
  border: 1px solid #244D84; /* Border color */
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

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

.page-phuong-thuc-thanh-toan__note-list li {
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

/* Security Policy Section */
.page-phuong-thuc-thanh-toan__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-phuong-thuc-thanh-toan__feature-item {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.page-phuong-thuc-thanh-toan__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 8px rgba(79, 168, 255, 0.5)); /* Glow */
}

.page-phuong-thuc-thanh-toan__feature-title {
  font-size: 20px;
  font-weight: 700;
  color: #F3F8FF; /* Text Main */
  margin-bottom: 15px;
}

.page-phuong-thuc-thanh-toan__feature-description {
  font-size: 16px;
  color: #AFC4E8; /* Text Secondary */
}

/* Tips and Tricks Section */
.page-phuong-thuc-thanh-toan__tips-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-phuong-thuc-thanh-toan__tips-list li {
  background: #10233F; /* Card BG */
  border: 1px solid #244D84; /* Border color */
  border-radius: 10px;
  padding: 18px 25px;
  margin-bottom: 15px;
  font-size: 17px;
  color: #AFC4E8; /* Text Secondary */
  display: flex;
  align-items: flex-start;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* FAQ Section */
details.page-phuong-thuc-thanh-toan__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #244D84; /* Border color */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
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 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3F8FF; /* Text Main */
}
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: #1B3357; /* Divider */
}
.page-phuong-thuc-thanh-toan__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
}
.page-phuong-thuc-thanh-toan__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-phuong-thuc-thanh-toan__faq-item .page-phuong-thuc-thanh-toan__faq-answer {
  padding: 0 25px 20px;
  background: #08162B; /* Deep Navy */
  border-radius: 0 0 10px 10px;
  color: #AFC4E8; /* Text Secondary */
}

/* Conclusion Section */
.page-phuong-thuc-thanh-toan__conclusion .page-phuong-thuc-thanh-toan__text-block {
  text-align: center;
}

/* Global image and button responsive rules */
.page-phuong-thuc-thanh-toan img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-phuong-thuc-thanh-toan__container,
.page-phuong-thuc-thanh-toan__method-cards,
.page-phuong-thuc-thanh-toan__withdrawal-steps,
.page-phuong-thuc-thanh-toan__security-features {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-phuong-thuc-thanh-toan__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }
  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 32px;
  }
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: clamp(26px, 5vw, 42px);
  }
  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: 16px;
  }
  .page-phuong-thuc-thanh-toan__btn-primary, .page-phuong-thuc-thanh-toan__btn-secondary {
    font-size: 16px;
    padding: 12px 25px;
  }
  .page-phuong-thuc-thanh-toan__card-image {
    height: 180px;
  }
  .page-phuong-thuc-thanh-toan__feature-icon {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 849px) {
  .page-phuong-thuc-thanh-toan__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
}

@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; /* Still small top padding */
  }
  .page-phuong-thuc-thanh-toan__hero-content {
    margin-top: -50px;
    padding: 20px 15px;
    border-radius: 10px;
  }
  .page-phuong-thuc-thanh-toan__main-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }
  .page-phuong-thuc-thanh-toan__hero-description {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .page-phuong-thuc-thanh-toan__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-phuong-thuc-thanh-toan__btn-primary,
  .page-phuong-thuc-thanh-toan__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 17px !important;
    padding: 12px 15px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-phuong-thuc-thanh-toan__container,
  .page-phuong-thuc-thanh-toan__section,
  .page-phuong-thuc-thanh-toan__card,
  .page-phuong-thuc-thanh-toan__feature-item,
  .page-phuong-thuc-thanh-toan__step-item,
  .page-phuong-thuc-thanh-toan__tips-list li,
  details.page-phuong-thuc-thanh-toan__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-phuong-thuc-thanh-toan__introduction .page-phuong-thuc-thanh-toan__benefits-list {
    grid-template-columns: 1fr;
  }
  .page-phuong-thuc-thanh-toan__deposit-methods .page-phuong-thuc-thanh-toan__method-cards {
    grid-template-columns: 1fr;
  }
  .page-phuong-thuc-thanh-toan__withdrawal-steps {
    grid-template-columns: 1fr;
  }
  .page-phuong-thuc-thanh-toan__security-features {
    grid-template-columns: 1fr;
  }
  .page-phuong-thuc-thanh-toan__section-title {
    font-size: 28px;
    margin-bottom: 25px;
  }
  .page-phuong-thuc-thanh-toan__section-title::after {
    width: 60px;
  }
  .page-phuong-thuc-thanh-toan__sub-title {
    font-size: 24px;
  }
  .page-phuong-thuc-thanh-toan__text-block {
    font-size: 16px;
  }
  .page-phuong-thuc-thanh-toan img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-phuong-thuc-thanh-toan__card-image {
    height: 160px;
  }
  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: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-phuong-thuc-thanh-toan__faq-item .page-phuong-thuc-thanh-toan__faq-answer {
    padding: 0 15px 15px;
  }
  .page-phuong-thuc-thanh-toan__products-grid { /* Generic for content with grids that might need overflow */
    overflow-x: hidden;
  }
}