.page-payment-methods {
  color: #ffffff; /* Light text for assumed dark body background */
  background-color: var(--secondary-color); /* Inherit from shared, expected dark */
  padding-top: var(--header-offset, 120px);
}

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  gap: 30px;
  background-color: #000000; /* Dark background for hero */
  color: #ffffff;
}

.page-payment-methods__hero-content {
  max-width: 900px;
}

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

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

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

.page-payment-methods__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.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.2s ease;
  white-space: nowrap;
}

.page-payment-methods__button--register {
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-payment-methods__button--login {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-payment-methods__overview-section {
  padding: 80px 20px;
  background-color: #1a1a1a; /* Darker background for content contrast */
  color: #ffffff;
}

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

.page-payment-methods__overview-title,
.page-payment-methods__cards-title,
.page-payment-methods__how-to-title,
.page-payment-methods__faq-title {
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 40px;
  color: #FCBC45;
}

.page-payment-methods__overview-text {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-payment-methods__cards-section {
  padding: 80px 20px;
  background-color: #000000;
}

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

.page-payment-methods__card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.page-payment-methods__card-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-payment-methods__card-heading {
  font-size: 1.6em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-payment-methods__card-description {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
}

.page-payment-methods__card-features li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__card-features li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
}

.page-payment-methods__how-to-section {
  padding: 80px 20px;
  background-color: #1a1a1a;
  color: #ffffff;
}

.page-payment-methods__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-payment-methods__step-card {
  background-color: #000000;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-payment-methods__step-heading {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #FCBC45;
}

.page-payment-methods__step-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.page-payment-methods__how-to-cta {
  text-align: center;
}

.page-payment-methods__how-to-cta-text {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #ffffff;
}

.page-payment-methods__button--primary {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
}

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

.page-payment-methods__faq-section {
  padding: 80px 20px;
  background-color: #000000;
  color: #ffffff;
}

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

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

.page-payment-methods__faq-question {
  font-size: 1.2em;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #FCBC45;
  margin: 0;
}

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

.page-payment-methods__faq-item.active .page-payment-methods__faq-question::after {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 1em;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-payment-methods__faq-answer p {
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }

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

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

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

  .page-payment-methods__overview-title,
  .page-payment-methods__cards-title,
  .page-payment-methods__how-to-title,
  .page-payment-methods__faq-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__cards-section,
  .page-payment-methods__how-to-section,
  .page-payment-methods__faq-section {
    padding: 50px 15px;
  }

  .page-payment-methods__card-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__steps-grid {
    grid-template-columns: 1fr;
  }

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

  /* Mobile content area image constraint */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__hero-image img, 
  .page-payment-methods__card-image { 
    max-width: 100%; 
    height: auto; 
  }
}