.page-payment-methods {
  color: #333333; /* Dark text for light body background */
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Dark background for hero */
}

.page-payment-methods__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7;
  filter: brightness(0.6); /* Darken image for better text contrast */
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: #FFFFFF;
  padding: 20px;
  max-width: 90%;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-payment-methods__button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

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

.page-payment-methods__button--login:hover {
  background-color: #e6a73c;
  transform: translateY(-3px);
}

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

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

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

.page-payment-methods__overview-section {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-payment-methods__feature-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.page-payment-methods__feature-icon {
  width: 250px; /* Ensure images are not small icons */
  height: 187.5px;
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-payment-methods__feature-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.5;
}

.page-payment-methods__methods-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-payment-methods__method-card {
  background-color: #fdfdfd;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__method-image {
  width: 100%;
  height: 250px; /* Consistent height for method images */
  object-fit: cover;
  margin-bottom: 20px;
}

.page-payment-methods__method-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
  padding: 0 20px;
}

.page-payment-methods__method-text {
  font-size: 1em;
  color: #555555;
  line-height: 1.6;
  padding: 0 20px;
  margin-bottom: 20px;
}

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

.page-payment-methods__method-details li {
  font-size: 0.95em;
  color: #333333;
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

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

.page-payment-methods__button--learn-more {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  font-size: 1em;
  border-radius: 5px;
  margin-top: 15px;
}

.page-payment-methods__button--learn-more:hover {
  background-color: #333333;
}

.page-payment-methods__how-to-guide {
  background-color: #f8f8f8;
  padding: 60px 0;
}

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

.page-payment-methods__step-card {
  background-color: #FFFFFF;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__step-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000000;
  text-align: center;
}

.page-payment-methods__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__step-list li {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 15px;
  position: relative;
  padding-left: 35px;
  color: #333333;
}

.page-payment-methods__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.page-payment-methods__step-list a {
  color: #FCBC45;
  text-decoration: none;
}

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

.page-payment-methods__cta-bottom {
  text-align: center;
  margin-top: 50px;
}

.page-payment-methods__button--full-width {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
  font-weight: bold;
  width: fit-content;
}

.page-payment-methods__button--full-width:hover {
  background-color: #e6a73c;
  transform: translateY(-3px);
}

.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-payment-methods__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 25px;
}

.page-payment-methods__faq-item {
  background-color: #fdfdfd;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000000;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__method-grid,
  .page-payment-methods__guide-steps,
  .page-payment-methods__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__feature-icon,
  .page-payment-methods__method-image {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .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: 280px;
  }
  .page-payment-methods__hero-content {
    padding: 15px;
  }
  .page-payment-methods__container {
    padding: 30px 15px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-description {
    font-size: 0.95em;
  }
  .page-payment-methods__feature-icon,
  .page-payment-methods__method-image {
    width: 100%;
    height: auto;
    max-width: 100%; /* Prevent image overflow */
  }
  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__faq-item {
    padding: 25px;
  }
  .page-payment-methods__button--full-width {
    width: 100%;
    font-size: 1.1em;
    padding: 15px 20px;
  }
  /* Content area image restriction for mobile */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__feature-title {
    font-size: 1.4em;
  }
  .page-payment-methods__method-title {
    font-size: 1.6em;
  }
  .page-payment-methods__step-title {
    font-size: 1.5em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
}