.page-payment-methods {
  color: #ffffff; /* Light text for dark body background */
  background-color: #1a1a1a; /* Ensure consistency with body background */
  padding-top: var(--header-offset, 120px);
}

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px; /* Space below content before next section */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.6); /* Slightly darken image for text readability, not changing color */
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  min-width: 200px;
  min-height: 200px;
}

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

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

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

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 15px 40px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FFD700;
}

.page-payment-methods__hero-button:hover {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #FFD700;
}

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__call-to-action-section {
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 30px;
  font-weight: 700;
}

.page-payment-methods__section-text {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 25px auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #8B0000;
  color: #FFD700;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
  border: 2px solid #8B0000;
}

.page-payment-methods__cta-button:hover {
  background-color: #FFD700;
  color: #8B0000;
  border-color: #FFD700;
}

.page-payment-methods__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.page-payment-methods__method-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  min-width: 200px; /* Ensure card itself has a minimum width */
}

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

.page-payment-methods__method-icon {
  width: 200px; /* Minimum size for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__method-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #e0e0e0;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  width: 100%;
}

.page-payment-methods__method-details li {
  margin-bottom: 10px;
  font-size: 0.95em;
  color: #cccccc;
}

.page-payment-methods__method-details strong {
  color: #FFD700;
}

.page-payment-methods__card-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto; /* Pushes button to the bottom */
  border: 2px solid #FFD700;
}

.page-payment-methods__card-button:hover {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #FFD700;
}

.page-payment-methods__security-image {
  width: 800px; /* Example size */
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  margin-top: 40px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #cccccc;
  margin-top: 15px;
}

.page-payment-methods__final-cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #8B0000;
  padding: 18px 50px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 40px;
  border: 2px solid #FFD700;
}

.page-payment-methods__final-cta-button:hover {
  background-color: #8B0000;
  color: #FFD700;
  border-color: #FFD700;
}

.page-payment-methods__call-to-action-section a {
  color: #FFD700;
  text-decoration: underline;
}

.page-payment-methods__call-to-action-section a:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-content {
    padding: 80px 20px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-text {
    font-size: 1em;
  }
  .page-payment-methods__method-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__hero-content {
    min-height: 400px;
    padding: 60px 20px;
  }
  .page-payment-methods__method-icon, .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  /* Ensure all img within .page-payment-methods are responsive and not too small */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for all content images */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__hero-button,
  .page-payment-methods__final-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__introduction-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__call-to-action-section {
    padding: 40px 0;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
}