.page-payment-methods {
  background-color: #000000;
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding to respect header offset handled by body */
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Maintain aspect ratio */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  padding: 40px 20px;
  z-index: 1;
  position: relative; /* Ensure content is above any background elements */
}

.page-payment-methods__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

@media (min-width: 769px) {
  .page-payment-methods__hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
}

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

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

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

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

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

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

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

.page-payment-methods__section-title {
  font-size: 2.2rem;
  color: #FFFFFF;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-payment-methods__overview-section,
.page-payment-methods__guide-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.page-payment-methods__option-card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__option-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-payment-methods__option-title {
  font-size: 1.5rem;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-payment-methods__option-text {
  color: #CCCCCC;
  font-size: 0.95rem;
}

.page-payment-methods__guide-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.page-payment-methods__step-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  flex: 1 1 calc(50% - 15px);
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-payment-methods__step-title {
  font-size: 1.8rem;
  color: #FCBC45;
  margin-bottom: 20px;
}

.page-payment-methods__step-list {
  list-style: decimal;
  text-align: left;
  padding-left: 25px;
  margin-bottom: 30px;
  color: #E5E5E5;
  font-size: 1rem;
}

.page-payment-methods__step-list li {
  margin-bottom: 10px;
}

.page-payment-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-payment-methods__feature-item {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-payment-methods__feature-text {
  color: #CCCCCC;
  font-size: 0.95rem;
}

.page-payment-methods__faq-accordion {
  margin-top: 40px;
}

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

.page-payment-methods__faq-question {
  font-size: 1.2rem;
  color: #FFFFFF;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-payment-methods__faq-answer p {
  color: #CCCCCC;
  padding-bottom: 20px;
  font-size: 0.95rem;
}

.page-payment-methods__faq-question.active + .page-payment-methods__faq-answer {
  max-height: 200px; /* Adjust as needed for content length */
  padding-top: 10px;
}

.page-payment-methods__cta-section {
  text-align: center;
}

.page-payment-methods__button--contact {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 30px;
}

.page-payment-methods__button--contact:hover {
  background-color: #E0A030;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-payment-methods__hero-content {
    padding: 30px 15px;
  }

  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__button {
    width: 100%;
    max-width: 250px;
  }

  .page-payment-methods__section-title {
    font-size: 1.8rem;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 15px;
  }

  .page-payment-methods__options-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__step-card {
    flex: 1 1 100%;
  }

  .page-payment-methods__option-icon,
  .page-payment-methods__hero-image {
    max-width: 100%;
    height: auto;
  }

  /* Mobile image constraint */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}