.page-payment-methods {
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000000; /* Main background color for the page */
  color: #FFFFFF; /* Default text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  position: relative;
  padding: 80px 20px 60px; /* Adjust top padding as needed, hero image will cover */
  text-align: center;
  overflow: hidden;
  color: #FFFFFF;
}

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

.page-payment-methods__hero-container {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

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

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
}

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

.page-payment-methods__hero-button {
  display: inline-block;
  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;
  border: none;
  cursor: pointer;
}

.page-payment-methods__hero-button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

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

.page-payment-methods__hero-button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

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

.page-payment-methods__overview-section,
.page-payment-methods__deposits-section,
.page-payment-methods__withdrawals-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px 20px;
  background-color: #1a1a1a; /* Darker background for sections */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #F0F0F0;
}

.page-payment-methods__overview-title,
.page-payment-methods__deposits-title,
.page-payment-methods__withdrawals-title,
.page-payment-methods__security-title,
.page-payment-methods__faq-title {
  font-size: 2.5em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__overview-text,
.page-payment-methods__deposits-intro,
.page-payment-methods__withdrawals-intro,
.page-payment-methods__security-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
  color: #CCCCCC;
}

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

.page-payment-methods__feature-card,
.page-payment-methods__method-card {
  background-color: #000000; /* Black background for cards */
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.page-payment-methods__feature-icon,
.page-payment-methods__method-image {
  width: 100%;
  height: auto; /* Ensure image scales proportionally */
  min-height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 20px;
  display: block; /* Remove extra space below image */
}

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

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

.page-payment-methods__method-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-payment-methods__method-button:hover {
  background-color: #E0A83A;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__security-item {
  background-color: #000000;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  color: #FFFFFF;
  font-size: 1.1em;
}

.page-payment-methods__security-item strong {
  color: #FCBC45;
}

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

.page-payment-methods__faq-item {
  background-color: #000000;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__faq-question {
  width: 100%;
  background-color: #1a1a1a;
  color: #FCBC45;
  padding: 18px 25px;
  border: none;
  text-align: left;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

.page-payment-methods__faq-question:hover {
  background-color: #2a2a2a;
}

.page-payment-methods__faq-answer {
  padding: 0 25px;
  background-color: #000000;
  color: #CCCCCC;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-payment-methods__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding: 15px 25px 25px;
}

.page-payment-methods__cta-section {
  position: relative;
  max-width: 1200px;
  margin: 60px auto;
  border-radius: 10px;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
}

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

.page-payment-methods__cta-content {
  position: relative;
  z-index: 1;
  padding: 60px 30px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay */
}

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

.page-payment-methods__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  color: #F0F0F0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__cta-button:hover {
  background-color: #E0A83A;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__deposits-title,
  .page-payment-methods__withdrawals-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title {
    font-size: 2.2em;
  }
  .page-payment-methods__cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 60px 15px 40px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__hero-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-payment-methods__overview-section,
  .page-payment-methods__deposits-section,
  .page-payment-methods__withdrawals-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section {
    margin: 20px auto;
    padding: 25px 15px;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__deposits-title,
  .page-payment-methods__withdrawals-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  .page-payment-methods__overview-text,
  .page-payment-methods__deposits-intro,
  .page-payment-methods__withdrawals-intro,
  .page-payment-methods__security-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-payment-methods__feature-grid,
  .page-payment-methods__method-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__feature-heading,
  .page-payment-methods__method-heading {
    font-size: 1.5em;
  }
  .page-payment-methods__feature-description,
  .page-payment-methods__method-description {
    font-size: 0.9em;
  }
  .page-payment-methods__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 0 20px;
  }
  .page-payment-methods__faq-answer.active {
    padding: 10px 20px 20px;
  }
  .page-payment-methods__cta-content {
    padding: 40px 20px;
  }
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__cta-description {
    font-size: 1em;
  }
  .page-payment-methods__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Critical: Prevent images from overflowing on mobile */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure no content area image is smaller than 200px */
  .page-payment-methods__feature-icon,
  .page-payment-methods__method-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-button {
    width: 90%;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__deposits-title,
  .page-payment-methods__withdrawals-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title {
    font-size: 1.6em;
  }
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__cta-button {
    font-size: 1em;
  }
}