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

.page-payment-methods__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #FFFFFF;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #000000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

.page-payment-methods__hero-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.page-payment-methods__button {
  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;
  display: inline-block;
  min-width: 200px; /* Ensure buttons are not too small */
  text-align: center;
}

.page-payment-methods__button--register {
  background-color: #FFFFFF; /* White for Register */
  color: #000000; /* Dark text for white button */
  border: 2px solid #000000;
}

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

.page-payment-methods__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for yellow button */
  border: 2px solid #FCBC45;
}

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

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

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

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

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

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

.page-payment-methods__feature-card,
.page-payment-methods__method-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border: 1px solid #eee;
}

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

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

.page-payment-methods__feature-description,
.page-payment-methods__method-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

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

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

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

.page-payment-methods__section-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  min-height: 200px;
}

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

.page-payment-methods__button--deposit,
.page-payment-methods__button--withdraw {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__button--deposit:hover,
.page-payment-methods__button--withdraw:hover {
  background-color: #e0a73d;
  transform: translateY(-2px);
}

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

.page-payment-methods__security-item {
  background-color: #f0f0f0;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

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

.page-payment-methods__security-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555555;
}

.page-payment-methods__tips-list {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 40px auto 0;
}

.page-payment-methods__tips-list li {
  background-color: #f8f8f8;
  margin-bottom: 15px;
  padding: 20px 25px;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  font-size: 1.05em;
  line-height: 1.6;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  background-color: #f0f0f0;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #000000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-payment-methods__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background-color: #ffffff;
}

.page-payment-methods__faq-answer.active {
  max-height: 200px; /* Adjust based on content */
  padding: 15px 25px 25px;
}

.page-payment-methods__faq-answer p {
  margin: 0;
  color: #555555;
  line-height: 1.6;
}

.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-payment-methods__button--register-large,
.page-payment-methods__button--login-large {
  padding: 18px 35px;
  font-size: 1.2em;
  border-radius: 10px;
  min-width: 250px;
}

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

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

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

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

.page-payment-methods__cta-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px;
  min-height: 200px;
}

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

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-intro {
    font-size: 0.95em;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__method-grid,
  .page-payment-methods__security-details {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__button--register-large,
  .page-payment-methods__button--login-large {
    width: 90%;
    min-width: unset;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile content area images must be constrained */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure min size is maintained */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__button {
    font-size: 1em;
    padding: 12px 20px;
    width: 90%;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__feature-card, .page-payment-methods__method-card, .page-payment-methods__security-item {
    padding: 20px;
  }
  .page-payment-methods__feature-title, .page-payment-methods__method-title {
    font-size: 1.4em;
  }
  .page-payment-methods__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-payment-methods__button--register-large,
  .page-payment-methods__button--login-large {
    font-size: 1.1em;
    padding: 15px 25px;
  }
}