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

.page-payment-methods__hero-section {
  background-color: #000000; /* Main color for hero background */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-payment-methods__hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF;
  max-width: 900px;
  padding: 40px 20px;
}

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

.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;
}

.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;
  border: none;
  cursor: pointer;
}

.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: #e0a53a;
  transform: translateY(-2px);
}

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

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

.page-payment-methods__overview-section, 
.page-payment-methods__methods-section, 
.page-payment-methods__guide-section, 
.page-payment-methods__security-section, 
.page-payment-methods__faq-section, 
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Light background for content sections */
}

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

.page-payment-methods__subsection-title {
  font-size: 2em;
  color: #000000;
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-payment-methods__section-description a {
  color: #FCBC45;
  text-decoration: underline;
}

.page-payment-methods__features-list {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-payment-methods__feature-item {
  background-color: #f8f8f8;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-size: 1.05em;
  line-height: 1.5;
  color: #333333;
  text-align: left;
  border-left: 5px solid #FCBC45;
}

.page-payment-methods__feature-item strong {
  color: #000000;
}

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

.page-payment-methods__method-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__method-icon {
  width: 100%; /* Ensure images are responsive within their card */
  max-width: 400px; /* Max width for content images */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
  width: 100%;
}

.page-payment-methods__method-details li {
  font-size: 0.95em;
  margin-bottom: 8px;
  color: #444444;
  line-height: 1.4;
}

.page-payment-methods__method-details li strong {
  color: #000000;
}

.page-payment-methods__button--deposit {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  font-size: 1em;
}

.page-payment-methods__button--deposit:hover {
  background-color: #e0a53a;
}

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

.page-payment-methods__step-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
}

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

.page-payment-methods__step-list {
  list-style: decimal;
  padding-left: 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__step-list li {
  font-size: 1em;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 10px;
}

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

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

.page-payment-methods__button--deposit-guide, 
.page-payment-methods__button--withdraw-guide {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  font-size: 1em;
  align-self: flex-start;
}

.page-payment-methods__button--deposit-guide:hover, 
.page-payment-methods__button--withdraw-guide:hover {
  background-color: #333333;
}

.page-payment-methods__security-section {
  text-align: center;
}

.page-payment-methods__security-image {
  width: 100%;
  max-width: 600px; /* Max width for content images */
  height: auto;
  margin: 30px auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-payment-methods__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  text-align: left;
}

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

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

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

.page-payment-methods__cta-title {
  font-size: 3em;
  color: #FCBC45;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

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

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

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

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

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

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

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

  .page-payment-methods__button {
    width: 100%;
    max-width: 300px;
  }

  .page-payment-methods__container {
    padding: 30px 15px;
  }

  .page-payment-methods__overview-section, 
  .page-payment-methods__methods-section, 
  .page-payment-methods__guide-section, 
  .page-payment-methods__security-section, 
  .page-payment-methods__faq-section, 
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

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

  .page-payment-methods__subsection-title {
    font-size: 1.5em;
  }

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

  .page-payment-methods__method-grid,
  .page-payment-methods__guide-steps {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__method-icon,
  .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__method-details {
    text-align: center;
  }

  .page-payment-methods__cta-title {
    font-size: 2.2em;
  }

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

  .page-payment-methods__button--cta {
    padding: 15px 30px;
    font-size: 1.1em;
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    /* Enforcing minimum size for content images if not specifically styled smaller */
    min-width: 200px;
    min-height: 200px;
  }

  /* Specific overrides for smaller images if they exist, ensuring they meet min-size */
  .page-payment-methods__method-icon, .page-payment-methods__security-image {
    min-width: 200px;
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }

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

  .page-payment-methods__method-title,
  .page-payment-methods__step-title,
  .page-payment-methods__faq-question {
    font-size: 1.4em;
  }

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