.page-payment-methods {
  color: #ffffff; /* Light text for dark 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 {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding-bottom: 60px; /* Add padding below hero image */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.6); /* Darken image slightly for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 20px 150px;
  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;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Dark background for sections */
}

.page-payment-methods__overview-title,
.page-payment-methods__deposit-title,
.page-payment-methods__withdrawal-title,
.page-payment-methods__security-title,
.page-payment-methods__faq-title,
.page-payment-methods__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__overview-text,
.page-payment-methods__deposit-intro,
.page-payment-methods__withdrawal-intro,
.page-payment-methods__security-intro,
.page-payment-methods__cta-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #f0f0f0;
}

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

.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
}

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

.page-payment-methods__card-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-details {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
  color: #cccccc;
}

.page-payment-methods__card-details li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

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

.page-payment-methods__card-button {
  display: inline-block;
  background-color: #DC143C; /* Emphasis color for action */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__kyc-info {
  background-color: rgba(255, 215, 0, 0.1); /* Light gold background for info */
  border-left: 5px solid #FFD700;
  padding: 30px;
  margin-top: 60px;
  border-radius: 8px;
  text-align: center;
}

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

.page-payment-methods__kyc-text {
  font-size: 1.1em;
  color: #f0f0f0;
  margin-bottom: 25px;
}

.page-payment-methods__kyc-button {
  display: inline-block;
  background-color: #FFD700;
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__kyc-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.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: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__feature-icon {
  width: 100px; /* Smallest allowed size for content images */
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size for images */
  min-height: 200px;
}

.page-payment-methods__feature-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-payment-methods__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

.page-payment-methods__security-button {
  display: inline-block;
  background-color: #000000; /* Dark button for contrast */
  color: #FFD700;
  padding: 12px 25px;
  border: 2px solid #FFD700;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  margin-top: 40px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-payment-methods__security-button:hover {
  background-color: #FFD700;
  color: #000000;
}

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

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  padding: 20px 30px;
  margin: 0;
  cursor: pointer;
  position: relative;
  text-align: left;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

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

.page-payment-methods__faq-answer.open {
  max-height: 300px; /* Adjust based on expected content length */
  padding: 20px 30px;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  color: #f0f0f0;
}

.page-payment-methods__faq-button {
  display: inline-block;
  background-color: #DC143C;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  margin-top: 40px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__faq-button:hover {
  background-color: #a8102e;
  transform: translateY(-2px);
}

.page-payment-methods__cta-section {
  text-align: center;
  background-color: #000000; /* Primary dark color */
  padding: 80px 0;
  border-top: 5px solid #FFD700;
}

.page-payment-methods__cta-title {
  font-size: 3em;
  color: #FFD700;
  margin-bottom: 25px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__cta-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #000000;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__deposit-title,
  .page-payment-methods__withdrawal-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-content {
    padding: 80px 20px 120px;
  }
  .page-payment-methods__card-image {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__deposit-title,
  .page-payment-methods__withdrawal-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__overview-text,
  .page-payment-methods__deposit-intro,
  .page-payment-methods__withdrawal-intro,
  .page-payment-methods__security-intro,
  .page-payment-methods__cta-text {
    font-size: 1em;
  }
  .page-payment-methods__cards-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card-image {
    height: 200px; /* Ensure min 200px height for mobile */
    max-width: 100%; /* Prevent overflow */
  }
  .page-payment-methods__feature-icon {
    width: 200px; /* Ensure min 200px width for mobile */
    height: 200px; /* Ensure min 200px height for mobile */
    max-width: 100%; /* Prevent overflow */
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-question::after {
    right: 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }
  .page-payment-methods__cta-title {
    font-size: 2.5em;
  }
  .page-payment-methods__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-payment-methods__container { /* Ensure content does not cause horizontal scroll */
    max-width: 100%;
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-content {
    padding: 60px 15px 100px;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__deposit-title,
  .page-payment-methods__withdrawal-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__kyc-title {
    font-size: 1.6em;
  }
  .page-payment-methods__feature-title {
    font-size: 1.4em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
}