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

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

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

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

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FFFFFF;
}

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

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

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

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

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

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

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

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

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

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

.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: #f8f8f8;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__method-icon {
  width: 250px;
  height: 167px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

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

.page-payment-methods__method-button {
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  font-size: 0.95em;
}

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

.page-payment-methods__withdrawal-section {
  background-color: #f0f0f0;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-payment-methods__security-info {
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-payment-methods__security-flex {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 40px;
}

.page-payment-methods__security-text {
  flex: 1;
}

.page-payment-methods__security-text p {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444444;
}

.page-payment-methods__security-image {
  flex: 1;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__button--contact {
  background-color: #000000;
  color: #FFFFFF;
  margin-right: 15px;
  margin-top: 20px;
}

.page-payment-methods__button--contact:hover {
  background-color: #333333;
}

.page-payment-methods__button--learn-more {
  background-color: #FCBC45;
  color: #000000;
  margin-top: 20px;
}

.page-payment-methods__button--learn-more:hover {
  background-color: #e6a73c;
}

.page-payment-methods__faq-section {
  background-color: #FFFFFF;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-payment-methods__faq-accordion {
  margin-top: 40px;
}

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

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

.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.5s ease-out, padding 0.5s ease-out;
  font-size: 1.05em;
  line-height: 1.6;
  color: #555555;
}

.page-payment-methods__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding: 20px 25px;
}

.page-payment-methods__call-to-action {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.page-payment-methods__cta-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

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

.page-payment-methods__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-payment-methods__button--join-now {
  background-color: #FCBC45;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 10px;
}

.page-payment-methods__button--join-now:hover {
  background-color: #e6a73c;
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
  .page-payment-methods__security-flex {
    flex-direction: column;
    gap: 30px;
  }
  .page-payment-methods__security-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 60px 15px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .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__content-area {
    padding: 40px 15px;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__section-intro {
    font-size: 0.95em;
    margin-bottom: 40px;
  }
  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__method-icon {
    width: 100%;
    height: auto;
    max-width: 300px;
  }
  .page-payment-methods__cta-title {
    font-size: 2.2em;
  }
  .page-payment-methods__cta-description {
    font-size: 1em;
  }
  .page-payment-methods__button--join-now {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  /* Mobile content image constraint */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__method-card img,
  .page-payment-methods__security-image,
  .page-payment-methods__cta-image {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-answer {
    font-size: 0.95em;
    padding: 15px 20px;
  }
}