.page-payment-methods {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  text-align: center;
  background-color: #FFFFFF;
  padding-bottom: 40px;
}

.page-payment-methods__hero-image {
  overflow: hidden;
  margin-bottom: 20px;
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 10px; /* Small top padding for hero content */
}

.page-payment-methods__main-title {
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555555;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-payment-methods__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 150px;
  text-align: center;
  font-size: 1rem;
}

.page-payment-methods__button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
}

.page-payment-methods__button--register:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.page-payment-methods__button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__button--login:hover {
  background-color: #e0a53c;
  color: #000000;
}

.page-payment-methods__content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eeeeee;
}

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

.page-payment-methods__section-title {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__section-description {
  font-size: 1rem;
  color: #666666;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-payment-methods__method-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__method-title {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 10px;
}

.page-payment-methods__method-text {
  font-size: 0.95rem;
  color: #777777;
}

.page-payment-methods__cta-section {
  text-align: center;
  margin-top: 50px;
}

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

.page-payment-methods__feature-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
}

.page-payment-methods__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  min-width: 200px;
  min-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__feature-title {
  font-size: 1.2rem;
  color: #000000;
  margin-bottom: 10px;
}

.page-payment-methods__feature-text {
  font-size: 0.9rem;
  color: #777777;
}

.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  padding: 25px;
}

.page-payment-methods__faq-question {
  font-size: 1.1rem;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-payment-methods__faq-answer {
  font-size: 0.95rem;
  color: #555555;
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-payment-methods__final-cta {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #000000;
  color: #FFFFFF;
}

.page-payment-methods__final-cta .page-payment-methods__section-title,
.page-payment-methods__final-cta .page-payment-methods__section-description {
  color: #FFFFFF;
}

.page-payment-methods__final-cta .page-payment-methods__button--register {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__final-cta .page-payment-methods__button--register:hover {
  background-color: #e0a53c;
  color: #000000;
}

.page-payment-methods__final-cta .page-payment-methods__button--login {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-payment-methods__final-cta .page-payment-methods__button--login:hover {
  background-color: #f0f0f0;
  color: #000000;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-payment-methods__content-area {
    padding: 40px 15px;
  }
  .page-payment-methods__hero-content {
    padding: 0 15px;
    padding-top: 10px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 100%;
    max-width: 300px;
  }
  .page-payment-methods__method-list,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__hero-image img,
  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon {
    max-width: 100%;
    height: auto;
  }
  /* Mobile content area image overflow prevention */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.5rem, 6vw, 1.8rem);
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.3rem, 5vw, 1.7rem);
  }
}