.page-payment-methods {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-payment-methods__hero-section {
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 80px 20px;
  z-index: 2;
}

.page-payment-methods__hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 3;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Highlight for main title */
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #FFFFFF;
}

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

.page-payment-methods__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-payment-methods__hero-button--register:hover {
  background-color: #e0e0e0;
}

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

.page-payment-methods__hero-button--login:hover {
  background-color: #e6a83a;
}

.page-payment-methods__introduction-section,
.page-payment-methods__deposits-section,
.page-payment-methods__withdrawals-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-payment-methods__introduction-title,
.page-payment-methods__deposits-title,
.page-payment-methods__withdrawals-title,
.page-payment-methods__security-title,
.page-payment-methods__faq-title,
.page-payment-methods__cta-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #000000;
  font-weight: bold;
}

.page-payment-methods__introduction-text,
.page-payment-methods__deposits-description,
.page-payment-methods__withdrawals-description,
.page-payment-methods__security-text,
.page-payment-methods__cta-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

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

.page-payment-methods__card {
  background-color: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-payment-methods__card:hover {
  transform: translateY(-10px);
}

.page-payment-methods__card-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__card-title {
  font-size: 1.8em;
  color: #000000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__card-text {
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  max-width: 250px;
}

.page-payment-methods__card-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FCBC45" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #333333;
}

.page-payment-methods__card-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 150px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-payment-methods__card-button:hover {
  background-color: #e6a83a;
}

.page-payment-methods__security-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-payment-methods__security-title {
  color: #FCBC45;
}

.page-payment-methods__security-text {
  color: #e0e0e0;
  margin-bottom: 30px;
}

.page-payment-methods__security-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.page-payment-methods__security-link:hover {
  color: #FFFFFF;
}

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

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__faq-answer {
  color: #555555;
}

.page-payment-methods__cta-section {
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
}

.page-payment-methods__cta-title {
  color: #000000;
}

.page-payment-methods__cta-description {
  color: #333333;
}

.page-payment-methods__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-width: 200px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.page-payment-methods__cta-button--register:hover {
  background-color: #333333;
}

.page-payment-methods__cta-button--login {
  background-color: #FFFFFF;
  color: #000000;
}

.page-payment-methods__cta-button--login:hover {
  background-color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }

  .page-payment-methods__introduction-title,
  .page-payment-methods__deposits-title,
  .page-payment-methods__withdrawals-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-container {
    min-height: 400px;
    padding: 60px 20px;
  }

  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }

  .page-payment-methods__hero-description {
    font-size: 1em;
  }

  .page-payment-methods__hero-actions,
  .page-payment-methods__cta-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__hero-button,
  .page-payment-methods__cta-button {
    width: 100%;
    max-width: 300px;
  }

  .page-payment-methods__grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__introduction-title,
  .page-payment-methods__deposits-title,
  .page-payment-methods__withdrawals-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }

  .page-payment-methods__card-title {
    font-size: 1.5em;
  }

  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }

  /* Ensure images do not overflow on mobile */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }

  .page-payment-methods__card-image {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }

  .page-payment-methods__introduction-title,
  .page-payment-methods__deposits-title,
  .page-payment-methods__withdrawals-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 1.5em;
  }

  .page-payment-methods__hero-content,
  .page-payment-methods__introduction-text,
  .page-payment-methods__deposits-description,
  .page-payment-methods__withdrawals-description,
  .page-payment-methods__security-text,
  .page-payment-methods__cta-description {
    padding: 0 10px;
  }
}