.page-payment-methods {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF;
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Dark background for hero content */
  color: #FFFFFF;
  overflow: hidden;
}

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

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay to make text readable */
}

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

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

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

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

.page-payment-methods__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  font-size: 1em;
}

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

.page-payment-methods__button--primary:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

.page-payment-methods__button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.page-payment-methods__button--small {
  padding: 8px 15px;
  font-size: 0.9em;
  background-color: #FCBC45;
  color: #000000;
  border: none;
}

.page-payment-methods__button--small:hover {
  background-color: #e0a53b;
}

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

.page-payment-methods__section-title {
  font-size: 2.2em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

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

.page-payment-methods__features-grid,
.page-payment-methods__method-list {
  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: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__feature-icon,
.page-payment-methods__method-logo {
  width: 200px; /* Minimum size requirement */
  height: auto;
  max-width: 100%;
  margin-bottom: 15px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__feature-text,
.page-payment-methods__method-details,
.page-payment-methods__method-guide {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 15px;
}

.page-payment-methods__cta-banner {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  margin-top: 50px;
}

.page-payment-methods__cta-text {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: #FCBC45;
}

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

.page-payment-methods__security-item,
.page-payment-methods__responsible-item {
  background-color: #f0f0f0;
  border-left: 5px solid #FCBC45;
  padding: 20px;
  border-radius: 8px;
}

.page-payment-methods__security-title,
.page-payment-methods__responsible-title {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
}

.page-payment-methods__security-text,
.page-payment-methods__responsible-text {
  font-size: 0.9em;
  color: #555555;
}

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

.page-payment-methods__faq-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  font-size: 1.1em;
  color: #000000;
  padding: 15px 20px;
  cursor: pointer;
  background-color: #ededed;
  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-answer {
  padding: 0 20px 15px;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-payment-methods__faq-question.active + .page-payment-methods__faq-answer {
  max-height: 200px; /* Adjust as needed */
  padding: 10px 20px 15px;
}

.page-payment-methods__final-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-payment-methods__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-payment-methods__floating-button {
  display: block;
  padding: 12px 20px;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  font-size: 1em;
  min-width: 100px;
}

.page-payment-methods__floating-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-payment-methods__floating-button--register:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__floating-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__floating-button--login:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

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

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

  .page-payment-methods__hero-actions {
    flex-direction: column;
  }

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

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

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

  .page-payment-methods__floating-buttons {
    bottom: 15px;
    right: 15px;
  }

  .page-payment-methods__button {
    width: 100%;
    box-sizing: border-box;
  }

  /* Ensure images in content area are responsive and not smaller than 200px */
  .page-payment-methods img {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    min-width: 200px;
    min-height: 200px;
    object-fit: contain; /* or cover, depending on desired effect */
  }

  .page-payment-methods__feature-icon,
  .page-payment-methods__method-logo {
    width: 100%; /* Adjust width for smaller screens */
    height: auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
    object-fit: contain;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-section {
    padding: 40px 15px;
  }

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

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

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

  .page-payment-methods__section {
    margin: 30px auto;
    padding: 0 15px;
  }

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

  .page-payment-methods__cta-banner {
    padding: 20px;
  }

  .page-payment-methods__cta-text {
    font-size: 1.1em;
  }
}