.page-payment-methods {
  color: #333333; /* Dark text for light body background */
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px);
  text-align: center;
  background-color: #000000; /* Hero background to match black theme */
  color: #FFFFFF;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

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

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.6;
  color: #f0f0f0;
}

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

.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, color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.page-payment-methods__button--primary {
  background-color: #FCBC45; /* Login color for primary action */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__button--primary:hover {
  background-color: #e0a030;
  border-color: #e0a030;
  transform: translateY(-2px);
}

.page-payment-methods__button--secondary {
  background-color: #FFFFFF; /* Register color for secondary action */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-payment-methods__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-payment-methods__section {
  padding: 80px 20px;
  background-color: #FFFFFF;
}

.page-payment-methods__section--deposit {
  background-color: #f8f8f8;
}

.page-payment-methods__section--security {
  background-color: #000000;
  color: #FFFFFF;
}

.page-payment-methods__section-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  text-align: center;
  color: #000000;
  font-weight: bold;
}

.page-payment-methods__section--security .page-payment-methods__section-title {
  color: #FFFFFF;
}

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

.page-payment-methods__section--security .page-payment-methods__text {
  color: #f0f0f0;
}

.page-payment-methods__text--centered {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

.page-payment-methods__text--centered a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__text--centered a:hover {
  text-decoration: underline;
}

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

.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: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__section--security .page-payment-methods__card {
  background-color: #1a1a1a;
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section--security .page-payment-methods__card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

.page-payment-methods__section--security .page-payment-methods__card-title {
  color: #FCBC45;
}

.page-payment-methods__card-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure minimum size */
  min-height: 200px; /* Ensure minimum size */
}

.page-payment-methods__card-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #555555;
}

.page-payment-methods__section--security .page-payment-methods__card-text {
  color: #cccccc;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  color: #555555;
}

.page-payment-methods__section--security .page-payment-methods__list {
  color: #cccccc;
}

.page-payment-methods__list li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.page-payment-methods__list li::before {
  content: '✓';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.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: #1a1a1a;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__feature-icon {
  width: 100%;
  height: auto;
  max-width: 250px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

.page-payment-methods__feature-title {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FCBC45;
  font-weight: bold;
}

.page-payment-methods__feature-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
}

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

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

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

.page-payment-methods__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
}

.page-payment-methods__section--cta {
  background: linear-gradient(135deg, #000000, #333333);
  color: #FFFFFF;
  text-align: center;
}

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

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

.page-payment-methods__section--cta .page-payment-methods__text {
  color: #f0f0f0;
}

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

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

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

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

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

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

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

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

  .page-payment-methods__section {
    padding: 60px 20px;
  }

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

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

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

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

  .page-payment-methods__feature-title {
    font-size: 1.4em;
  }

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

  /* Critical: prevent content overflow on mobile */
  .page-payment-methods img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important; /* Ensure minimum size even on mobile */
    min-height: 200px !important; /* Ensure minimum size even on mobile */
  }
  .page-payment-methods {
    overflow-x: hidden;
  }
}

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

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

  .page-payment-methods__section-title {
    font-size: 1.6em;
  }

  .page-payment-methods__button {
    padding: 12px 25px;
    font-size: 1em;
  }
}