.page-payment-methods {
  color: #333333;
  line-height: 1.6;
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #1a1a1a; /* Dark background for hero to contrast with light body */
  color: #ffffff;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure header offset for desktop */
}

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

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

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

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

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.page-payment-methods__button--primary {
  background-color: #FF6B00;
  color: #ffffff;
  border: 2px solid #FF6B00;
}

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

.page-payment-methods__button--secondary {
  background-color: transparent;
  color: #00A86B;
  border: 2px solid #00A86B;
}

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

.page-payment-methods__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__how-to-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.page-payment-methods__overview-title,
.page-payment-methods__deposit-title,
.page-payment-methods__withdrawal-title,
.page-payment-methods__how-to-title,
.page-payment-methods__security-title,
.page-payment-methods__faq-title,
.page-payment-methods__cta-title {
  font-size: 2.5em;
  color: #FF6B00;
  margin-bottom: 20px;
}

.page-payment-methods__overview-text,
.page-payment-methods__deposit-intro,
.page-payment-methods__withdrawal-intro,
.page-payment-methods__security-text,
.page-payment-methods__cta-description {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #555555;
}

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

.page-payment-methods__feature-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;
}

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

.page-payment-methods__feature-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-payment-methods__feature-description {
  color: #666666;
  font-size: 1em;
}

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

.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: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__method-name {
  font-size: 1.8em;
  color: #00A86B;
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  color: #666666;
  margin-bottom: 20px;
}

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

.page-payment-methods__method-details li {
  margin-bottom: 8px;
  color: #555555;
}

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

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

.page-payment-methods__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
}

.page-payment-methods__step-card img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-payment-methods__step-title {
  font-size: 1.4em;
  color: #FF6B00;
  margin-bottom: 10px;
}

.page-payment-methods__step-description {
  color: #666666;
}

.page-payment-methods__step-description a {
  color: #00A86B;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__step-description a:hover {
  text-decoration: underline;
}

.page-payment-methods__security-features {
  margin-top: 40px;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-payment-methods__security-list li {
  background-color: #ffffff;
  border-left: 5px solid #00A86B;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  color: #444444;
}

.page-payment-methods__security-list li:last-child {
  margin-bottom: 0;
}

.page-payment-methods__faq-accordion {
  max-width: 900px;
  margin: 40px auto 0;
  text-align: left;
}

.page-payment-methods__accordion-item {
  background-color: #ffffff;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
}

.page-payment-methods__accordion-header {
  width: 100%;
  padding: 20px 25px;
  background-color: #FF6B00;
  color: #ffffff;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  text-align: left;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-payment-methods__accordion-header:hover {
  background-color: #e65a00;
}

.page-payment-methods__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-payment-methods__accordion-header.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-payment-methods__accordion-content {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-payment-methods__accordion-content p {
  padding: 20px 0;
  margin: 0;
  color: #555555;
}

.page-payment-methods__accordion-content.active {
  max-height: 500px; /* Adjust as needed for content length */
  padding: 0 25px 20px;
}

.page-payment-methods__cta-section {
  background-color: #00A86B;
  color: #ffffff;
  border-radius: 15px;
  padding: 80px 20px;
  margin: 60px auto;
  max-width: 1000px;
}

.page-payment-methods__cta-title {
  color: #ffffff;
}

.page-payment-methods__cta-description {
  color: #e0e0e0;
}

.page-payment-methods__cta-section .page-payment-methods__button--primary {
  background-color: #FF6B00;
  border-color: #FF6B00;
  color: #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__button--primary:hover {
  background-color: #e65a00;
  border-color: #e65a00;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.2em;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__deposit-title,
  .page-payment-methods__withdrawal-title,
  .page-payment-methods__how-to-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 60px 15px 30px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 100%;
    max-width: 300px;
  }
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__how-to-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 15px;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__deposit-title,
  .page-payment-methods__withdrawal-title,
  .page-payment-methods__how-to-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__feature-card img,
  .page-payment-methods__step-card img {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* 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__cta-section {
    padding: 60px 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__deposit-title,
  .page-payment-methods__withdrawal-title,
  .page-payment-methods__how-to-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 1.5em;
  }
  .page-payment-methods__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-payment-methods__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-payment-methods__accordion-content {
    padding: 0 20px;
  }
  .page-payment-methods__accordion-content.active {
    padding: 0 20px 15px;
  }
}