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

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

.page-payment-methods__hero-section {
  background-color: #000000; /* Dark background for hero text */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}

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

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

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

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

.page-payment-methods__hero-button--register:hover {
  background-color: #f0f0f0;
}

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

.page-payment-methods__hero-button--login:hover {
  background-color: #e0a030;
}

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-payment-methods__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-payment-methods__method-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.page-payment-methods__method-icon {
  width: 250px;
  height: auto;
  max-height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-payment-methods__method-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  min-height: 90px; /* Ensure consistent card height */
}

.page-payment-methods__method-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  color: #666666;
}

.page-payment-methods__method-features li {
  margin-bottom: 5px;
  position: relative;
  padding-left: 20px;
  text-align: left;
}

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

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

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

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-payment-methods__security-list li {
  background-color: #f9f9f9;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  font-size: 1.1em;
  color: #333333;
}

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

.page-payment-methods__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.page-payment-methods__faq-answer {
  font-size: 1.05em;
  color: #555555;
}

.page-payment-methods__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #FCBC45;
}

.page-payment-methods__cta-section .page-payment-methods__text-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1.1em;
}

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

.page-payment-methods__cta-button--register:hover {
  background-color: #f0f0f0;
}

.page-payment-methods__cta-button--explore {
  background-color: #FCBC45;
  color: #000000;
}

.page-payment-methods__cta-button--explore:hover {
  background-color: #e0a030;
}

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

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 80px);
  }
  .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__hero-button,
  .page-payment-methods__cta-button {
    width: 100%;
    max-width: 300px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__text-content {
    font-size: 1em;
  }
  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__method-card {
    padding: 20px;
  }
  .page-payment-methods__method-icon {
    width: 200px;
    height: auto;
    max-height: 200px;
  }
  .page-payment-methods__method-description {
    min-height: auto;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
  .page-payment-methods__faq-answer {
    font-size: 0.95em;
  }
  .page-payment-methods__cta-actions {
    flex-direction: column;
  }
  /* Mobile image overflow prevention */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-section {
    padding: 60px 15px;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__method-title {
    font-size: 1.4em;
  }
  .page-payment-methods__method-icon {
    width: 180px;
    height: auto;
    max-height: 180px;
  }
}