.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 below 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: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Overlay to ensure text readability */
  z-index: 0;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-payment-methods__button--register:hover {
  background-color: #F0F0F0;
  transform: translateY(-3px);
}

.page-payment-methods__button--login,
.page-payment-methods__button--deposit,
.page-payment-methods__button--withdraw,
.page-payment-methods__button--support {
  background-color: #FCBC45;
  color: #000000;
}

.page-payment-methods__button--login:hover,
.page-payment-methods__button--deposit:hover,
.page-payment-methods__button--withdraw:hover,
.page-payment-methods__button--support:hover {
  background-color: #FFD700;
  transform: translateY(-3px);
}

.page-payment-methods__heading {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
}

.page-payment-methods__text {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__limits-section,
.page-payment-methods__security-section,
.page-payment-methods__support-section,
.page-payment-methods__related-resources,
.page-payment-methods__cta-final-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-payment-methods__features-grid,
.page-payment-methods__methods-grid,
.page-payment-methods__process-steps,
.page-payment-methods__faq-grid,
.page-payment-methods__resource-cards {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

.page-payment-methods__features-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-payment-methods__methods-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.page-payment-methods__process-steps {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.page-payment-methods__faq-grid {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-payment-methods__resource-cards {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-payment-methods__feature-card,
.page-payment-methods__method-card,
.page-payment-methods__step-card,
.page-payment-methods__faq-item,
.page-payment-methods__resource-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover,
.page-payment-methods__step-card:hover,
.page-payment-methods__faq-item:hover,
.page-payment-methods__resource-card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__feature-title,
.page-payment-methods__method-title,
.page-payment-methods__step-title,
.page-payment-methods__faq-question,
.page-payment-methods__resource-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 15px;
}

.page-payment-methods__feature-description,
.page-payment-methods__method-description,
.page-payment-methods__step-description,
.page-payment-methods__faq-answer,
.page-payment-methods__resource-description {
  font-size: 1em;
  color: #555555;
}

.page-payment-methods__method-image,
.page-payment-methods__limits-image,
.page-payment-methods__cta-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px; /* Enforce min size for content images */
  min-height: 200px; /* Enforce min size for content images */
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  text-align: center;
  margin-top: 40px;
}

.page-payment-methods__security-item {
  background-color: #000000;
  color: #FCBC45;
  padding: 15px 25px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-size: 1.1em;
  display: inline-block;
  margin-right: 10px;
  margin-left: 10px;
}

.page-payment-methods__cta-block {
  text-align: center;
  margin-top: 60px;
  background-color: #000000;
  color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
}

.page-payment-methods__cta-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #F0F0F0;
}

.page-payment-methods__cta-image {
  max-width: 800px;
  margin: 0 auto 30px auto;
  display: block;
}

.page-payment-methods__resource-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__resource-title a:hover {
  color: #FCBC45;
}

.page-payment-methods__button--view-details {
  background-color: #000000;
  color: #FFFFFF;
  margin-top: 20px;
}

.page-payment-methods__button--view-details:hover {
  background-color: #333333;
}

.page-payment-methods__cta-final-section {
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
  padding: 80px 0;
}

.page-payment-methods__cta-final-section .page-payment-methods__heading {
  color: #000000;
}

.page-payment-methods__cta-final-section .page-payment-methods__text {
  color: #333333;
}

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

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

.page-payment-methods__cta-final-section .page-payment-methods__button--register:hover {
  background-color: #333333;
}

.page-payment-methods__cta-final-section .page-payment-methods__button--login {
  background-color: #FFFFFF;
  color: #000000;
}

.page-payment-methods__cta-final-section .page-payment-methods__button--login:hover {
  background-color: #F0F0F0;
}

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

  .page-payment-methods__heading {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 60px 0;
  }

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

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

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

  .page-payment-methods__button {
    width: 80%;
    margin: 0 auto;
  }

  .page-payment-methods__heading {
    font-size: 1.8em;
  }

  .page-payment-methods__text {
    font-size: 0.95em;
    margin-bottom: 40px;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__process-steps,
  .page-payment-methods__faq-grid,
  .page-payment-methods__resource-cards {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__security-item {
    margin-right: 5px;
    margin-left: 5px;
    padding: 12px 20px;
    font-size: 1em;
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-payment-methods img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__hero-container,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__limits-section,
  .page-payment-methods__security-section,
  .page-payment-methods__support-section,
  .page-payment-methods__related-resources,
  .page-payment-methods__cta-final-section {
    max-width: 100%;
    overflow-x: hidden;
  }
}

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

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

  .page-payment-methods__button {
    width: 90%;
    padding: 12px 25px;
  }

  .page-payment-methods__security-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .page-payment-methods__security-item {
    width: calc(50% - 20px);
    margin: 5px;
  }
}