.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 clears fixed header */
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden; /* Prevent image overflow */
  background-color: #0A2463; /* Main brand color for hero background */
  color: #ffffff;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3; /* Subtle overlay */
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.page-payment-methods__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #E3B505; /* Accent color for title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #E3B505; /* Accent color for CTA */
  color: #0A2463;
  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__cta-button:hover {
  background-color: #f0c94d;
  transform: translateY(-2px);
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-payment-methods__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #E3B505;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: -20px auto 50px;
  color: #555555;
}

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

.page-payment-methods__feature-card, .page-payment-methods__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-payment-methods__feature-card:hover, .page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-payment-methods__feature-card img, .page-payment-methods__method-card img {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__feature-description, .page-payment-methods__method-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

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

.page-payment-methods__method-details li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

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

.page-payment-methods__deposit-button, .page-payment-methods__withdraw-button {
  display: inline-block;
  background-color: #0A2463;
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 0.95em;
  margin-top: 15px;
}

.page-payment-methods__deposit-button:hover, .page-payment-methods__withdraw-button:hover {
  background-color: #1a3c7c;
}

.page-payment-methods__call-to-action {
  text-align: center;
  background-color: #f9f9f9;
  padding: 40px 20px;
  border-radius: 12px;
  margin-top: 60px;
  border: 1px solid #eee;
}

.page-payment-methods__cta-text {
  font-size: 1.5em;
  color: #0A2463;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-payment-methods__cta-button--secondary {
  background-color: #E3B505;
  color: #0A2463;
}

.page-payment-methods__cta-button--secondary:hover {
  background-color: #f0c94d;
}

.page-payment-methods__security-commitment {
  background-color: #0A2463;
  color: #ffffff;
  padding: 80px 20px;
  margin: 60px auto;
  border-radius: 12px;
  text-align: center;
}

.page-payment-methods__security-commitment .page-payment-methods__section-title {
  color: #E3B505;
}

.page-payment-methods__security-commitment .page-payment-methods__section-title::after {
  background-color: #f0f0f0;
}

.page-payment-methods__security-commitment .page-payment-methods__section-intro {
  color: #f0f0f0;
}

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

.page-payment-methods__security-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods__security-item img {
  width: 100%;
  max-width: 200px; /* Min width 200px */
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__security-item-title {
  font-size: 1.6em;
  color: #E3B505;
  margin-bottom: 10px;
}

.page-payment-methods__security-item-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

.page-payment-methods__faq {
  margin-bottom: 80px;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

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

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2em;
  color: #E3B505;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
  opacity: 0;
}

.page-payment-methods__faq-answer.open {
  max-height: 200px; /* Adjust as needed for content */
  opacity: 1;
  margin-top: 15px;
}

.page-payment-methods__final-cta {
  text-align: center;
  margin-bottom: 80px;
}

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

.page-payment-methods__cta-button--outline {
  background-color: transparent;
  border: 2px solid #0A2463;
  color: #0A2463;
  padding: 13px 28px;
}

.page-payment-methods__cta-button--outline:hover {
  background-color: #0A2463;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 3em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 60px 15px;
  }
  .page-payment-methods__main-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-payment-methods__section {
    margin: 40px auto;
    padding: 0 15px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-payment-methods__section-intro {
    font-size: 0.95em;
    margin: -10px auto 40px;
  }
  .page-payment-methods__feature-grid, .page-payment-methods__method-grid, .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__feature-card img, .page-payment-methods__method-card img, .page-payment-methods__security-item img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .page-payment-methods__feature-title, .page-payment-methods__method-title {
    font-size: 1.5em;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__cta-button, .page-payment-methods__cta-button--outline {
    width: 100%;
    max-width: 300px;
  }
  /* Ensure all content area images are responsive and don't overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  /* Content area image size minimum check - applies to any img within .page-payment-methods */
  .page-payment-methods__feature-card img,
  .page-payment-methods__method-card img,
  .page-payment-methods__security-item img {
    min-width: 200px; /* Enforce minimum size for mobile, even if max-width: 100% is present */
    min-height: 200px;
  }
}

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