.page-payment-methods {
  color: #333333; /* Dark text for light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.page-payment-methods__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: var(--header-offset, 120px) 20px 60px; /* Ensure space for fixed header */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

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

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.3;
  overflow: hidden;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  z-index: 2;
  position: relative;
}

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

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  border-radius: 2px;
}

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

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

.page-payment-methods__method-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-payment-methods__method-icon {
  width: 250px; /* Min size 200px, so 250px is good */
  height: 188px; /* Maintain aspect ratio or adjust */
  object-fit: contain;
  margin-bottom: 25px;
}

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

.page-payment-methods__card-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__card-button {
  display: inline-block;
  background-color: #000000; /* Primary color */
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__guide-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods__guide-list {
  list-style-type: decimal;
  padding-left: 20px;
  font-size: 1.1em;
  flex: 1;
}

.page-payment-methods__guide-list li {
  margin-bottom: 15px;
  color: #333333;
}

.page-payment-methods__guide-list li strong {
  color: #000000;
}

.page-payment-methods__guide-image {
  width: 600px; /* Example size, adjust as needed */
  height: 450px; /* Example size, adjust as needed */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.page-payment-methods__guide-image--left {
  order: -1;
}

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

.page-payment-methods__security-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__security-icon {
  width: 250px; /* Min size 200px, 250px is good */
  height: 188px; /* Maintain aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

.page-payment-methods__main-security-image {
  display: block;
  max-width: 100%;
  width: 800px; /* Example size, adjust as needed */
  height: 533px; /* Example size, adjust as needed */
  object-fit: cover;
  border-radius: 10px;
  margin: 60px auto 0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f5f5f5;
  transition: background-color 0.3s ease;
}

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

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

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

.page-payment-methods__faq-answer {
  padding: 0 25px;
  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 20px;
}

.page-payment-methods__faq-answer p {
  color: #555555;
}

.page-payment-methods__cta-button--large {
  font-size: 1.3em;
  padding: 18px 40px;
  margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }

  .page-payment-methods__section-title {
    font-size: 2.2em;
  }

  .page-payment-methods__guide-content {
    flex-direction: column;
    gap: 30px;
  }

  .page-payment-methods__guide-image,
  .page-payment-methods__guide-image--left {
    width: 100%;
    height: auto;
    order: initial;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 120px); /* Ensure mobile header offset */
  }

  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px);
    padding-bottom: 40px;
  }

  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }

  .page-payment-methods__hero-description {
    font-size: 1em;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
  }

  .page-payment-methods__section-intro {
    font-size: 0.95em;
  }

  .page-payment-methods__method-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__security-item {
    padding: 20px;
  }

  .page-payment-methods__method-icon,
  .page-payment-methods__security-icon {
    width: 100%; /* Ensure images are responsive */
    height: auto;
    max-width: 250px; /* Keep a reasonable max-width for smaller screens */
  }

  .page-payment-methods__guide-list,
  .page-payment-methods__faq-answer p {
    font-size: 0.95em;
  }

  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-payment-methods__main-security-image {
    width: 100%;
    height: auto;
  }

  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  /* Ensure all images in content area are responsive and not smaller than 200px */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
  .page-payment-methods__method-icon, .page-payment-methods__security-icon {
    min-width: 200px;
    min-height: 200px;
  }
  .page-payment-methods__guide-image {
    min-width: 200px;
    min-height: 200px;
  }
  .page-payment-methods__main-security-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }

  .page-payment-methods__section-title {
    font-size: 1.6em;
  }

  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-guide-section,
  .page-payment-methods__withdrawal-guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    margin: 40px auto;
    padding: 0 15px;
  }
}