.page-payment-methods {
  color: #ffffff; /* Text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #1a1a1a;
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-payment-methods__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-payment-methods__section:last-of-type {
  border-bottom: none;
}

.page-payment-methods__section-title {
  font-size: 36px;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-payment-methods__text-block {
  font-size: 17px;
  margin-bottom: 25px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

.page-payment-methods__image-wrapper {
    margin: 40px auto;
    text-align: center;
}

.page-payment-methods__image-wrapper img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px);
  background: linear-gradient(135deg, #0A0A0A 0%, #1a1a1a 50%, #0A0A0A 100%);
  overflow: hidden;
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.page-payment-methods__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-payment-methods__main-title {
  font-size: 52px;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.page-payment-methods__description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #FFD700;
  color: #0A0A0A;
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  border: none;
}

.page-payment-methods__cta-button:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.page-payment-methods__popular-methods {
  background-color: #0A0A0A;
}

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

.page-payment-methods__method-card {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.1);
}

.page-payment-methods__method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
}

.page-payment-methods__card-title {
  font-size: 24px;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-payment-methods__method-card p {
  font-size: 16px;
  color: #f0f0f0;
  line-height: 1.5;
  margin-bottom: 20px;
}

.page-payment-methods__image-wrapper--small {
    margin: 20px auto;
    width: 100%;
    max-width: 200px; /* Smaller image for cards */
}

.page-payment-methods__image-wrapper--small img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.page-payment-methods__guide-list {
  list-style: none;
  counter-reset: guide-step;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
}

.page-payment-methods__guide-list li {
  position: relative;
  margin-bottom: 30px;
  padding-left: 60px;
  text-align: left;
}

.page-payment-methods__guide-list li::before {
  counter-increment: guide-step;
  content: "Bước " counter(guide-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background-color: #FFD700;
  color: #0A0A0A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.page-payment-methods__list-title {
  font-size: 22px;
  color: #FFD700;
  margin-bottom: 10px;
  font-weight: 700;
}

.page-payment-methods__guide-list p {
  font-size: 16px;
  color: #f0f0f0;
  margin-bottom: 0;
  text-align: left;
}

.page-payment-methods__security-features {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-payment-methods__security-features li {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-payment-methods__security-features li strong {
    color: #FFD700;
}

.page-payment-methods__security-features li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 0;
  color: #FFD700;
  font-weight: bold;
  font-size: 20px;
}

.page-payment-methods__benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px auto;
  max-width: 900px;
  text-align: left;
}

.page-payment-methods__benefit-list li {
  font-size: 17px;
  color: #f0f0f0;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.page-payment-methods__benefit-list li strong {
    color: #FFD700;
}

.page-payment-methods__benefit-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  top: 0;
  color: #FFD700;
  font-weight: bold;
  font-size: 18px;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  background-color: #0A0A0A;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__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 20px;
  opacity: 0;
  background: #1a1a1a;
  color: #f0f0f0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
  background: #1a1a1a;
  border-radius: 0 0 8px 8px;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-payment-methods__faq-question:hover {
  background: #3a3a3a;
  border-color: #FFD700;
}

.page-payment-methods__faq-question:active {
  background: #4a4a4a;
}

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

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  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: 32px;
  height: 32px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  color: #FFD700;
  transform: rotate(180deg);
}

.page-payment-methods__cta-bottom {
  text-align: center;
  background: linear-gradient(90deg, #0A0A0A, #FFD700, #0A0A0A);
  padding: 80px 20px;
}

.page-payment-methods__cta-content {
  max-width: 900px;
}

.page-payment-methods__cta-bottom .page-payment-methods__section-title {
  color: #0A0A0A;
  text-shadow: none;
}

.page-payment-methods__cta-bottom .page-payment-methods__text-block {
  color: #0A0A0A;
  font-weight: 600;
}

.page-payment-methods__cta-button--large {
  padding: 20px 60px;
  font-size: 22px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-image img {
    border-radius: 8px;
  }

  .page-payment-methods__main-title {
    font-size: 44px;
  }

  .page-payment-methods__description {
    font-size: 18px;
  }

  .page-payment-methods__section-title {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-payment-methods__hero-image img {
    border-radius: 6px;
  }

  .page-payment-methods__main-title {
    font-size: 36px;
  }

  .page-payment-methods__description {
    font-size: 16px;
  }

  .page-payment-methods__cta-button {
    padding: 15px 35px;
    font-size: 18px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section {
    padding: 40px 0;
  }

  .page-payment-methods__section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .page-payment-methods__text-block {
    font-size: 15px;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .page-payment-methods__image-wrapper img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 8px;
  }
  .page-payment-methods__image-wrapper--small img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-payment-methods__method-card {
    padding: 25px;
    border-radius: 10px;
  }

  .page-payment-methods__card-title {
    font-size: 20px;
  }

  .page-payment-methods__method-card p {
    font-size: 15px;
  }

  .page-payment-methods__guide-list {
    padding: 0 15px;
  }

  .page-payment-methods__guide-list li {
    padding-left: 50px;
    margin-bottom: 25px;
  }

  .page-payment-methods__guide-list li::before {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .page-payment-methods__list-title {
    font-size: 19px;
  }

  .page-payment-methods__guide-list p {
    font-size: 15px;
  }

  .page-payment-methods__security-features, 
  .page-payment-methods__benefit-list {
    padding: 0 15px;
  }

  .page-payment-methods__security-features li,
  .page-payment-methods__benefit-list li {
    font-size: 15px;
    padding-left: 25px;
  }

  .page-payment-methods__faq-list {
    padding: 0 15px;
  }

  .page-payment-methods__faq-item {
    border-radius: 6px;
  }

  .page-payment-methods__faq-question {
    padding: 15px;
    border-radius: 6px;
  }

  .page-payment-methods__faq-question h3 {
    font-size: 16px;
  }

  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
    padding: 15px !important;
  }

  .page-payment-methods__cta-bottom {
    padding: 60px 15px;
  }

  .page-payment-methods__cta-button--large {
    padding: 18px 40px;
    font-size: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__container,
  .page-payment-methods__cta-content {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 30px;
  }

  .page-payment-methods__description {
    font-size: 14px;
  }

  .page-payment-methods__section-title {
    font-size: 22px;
  }

  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

  .page-payment-methods__list-title {
    font-size: 18px;
  }

  .page-payment-methods__faq-question h3 {
    font-size: 15px;
  }

  .page-payment-methods__cta-button--large {
    padding: 15px 30px;
    font-size: 18px;
  }
}