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

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

.page-payment-methods__hero-container {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Darken image slightly for text contrast, not color change */
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  max-width: 90%;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background for text */
  border-radius: 10px;
}

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

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

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

.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: #e0a53b;
}

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

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__related-guides,
.page-payment-methods__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-payment-methods__paragraph {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

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

.page-payment-methods__method-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  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;
  justify-content: space-between;
}

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

.page-payment-methods__method-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 250px; /* Max width for consistency */
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
  min-width: 200px;
  min-height: 200px;
}

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

.page-payment-methods__method-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

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

.page-payment-methods__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  object-fit: cover;
  margin: 40px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__security-cta-button {
  display: inline-block;
  padding: 15px 35px;
  background-color: #000000;
  color: #FFFFFF;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 30px;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px 30px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

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

.page-payment-methods__related-guides {
  background-color: #f9f9f9;
}

.page-payment-methods__guide-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__guide-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__guide-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-payment-methods__guide-title a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__guide-title a:hover {
  color: #FCBC45;
}

.page-payment-methods__guide-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  margin-bottom: 20px;
}

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

.page-payment-methods__guide-button:hover {
  background-color: #e0a53b;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 15px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-payment-methods__cta-button--login:hover {
  background-color: #e0a53b;
  border-color: #e0a53b;
}

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

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 10px 5px;
  }
  .page-payment-methods__hero-content {
    padding: 15px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__paragraph {
    font-size: 0.95em;
  }
  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__method-icon,
  .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
    max-height: 100%; /* Ensure content images don't overflow */
    min-width: 200px;
    min-height: 200px;
  }
  .page-payment-methods__security-cta-button,
  .page-payment-methods__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
    margin: 10px 0;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
  .page-payment-methods__faq-answer {
    font-size: 0.9em;
  }
  .page-payment-methods__guide-title {
    font-size: 1.4em;
  }
  .page-payment-methods__guide-description {
    font-size: 0.9em;
  }
  .page-payment-methods__container {
    padding: 20px 15px;
  }
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
  }
  .page-payment-methods__method-card img,
  .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
  }
}

@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__hero-button {
    display: block;
    width: calc(100% - 20px);
    margin: 10px auto;
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods__cta-button {
    display: block;
    width: calc(100% - 30px);
    margin: 15px auto;
  }
}