.page-payment-methods {
  color: #333333;
  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__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  padding: 0;
  text-align: center;
}

.page-payment-methods__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px; /* Max width for the container to match image */
  margin: 0 auto;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.7; /* Slightly dim the image to make text pop */
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
  max-width: 800px;
  padding: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: #FCBC45; /* Accent color for title */
}

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

.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;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  white-space: nowrap; /* Prevent button text from wrapping */
}

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

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

.page-payment-methods__button--login {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
}

.page-payment-methods__button--login:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.page-payment-methods__content-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
}

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

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

.page-payment-methods__section-description {
  font-size: 1.1em;
  color: #333333;
  text-align: center;
  margin-bottom: 30px;
}

.page-payment-methods__deposit-methods, .page-payment-methods__withdrawal-methods {
  background-color: #F8F8F8;
  padding: 60px 0;
}

.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: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-payment-methods__method-icon {
  width: 100%; /* Ensure image fills card width */
  max-width: 400px; /* Max width for image */
  height: auto;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  object-fit: cover;
}

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

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

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  color: #333333;
}

.page-payment-methods__card-features li {
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
}

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

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

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

.page-payment-methods__disclaimer {
  font-size: 0.9em;
  color: #777777;
  text-align: center;
  margin-top: 40px;
}

.page-payment-methods__security-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

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

.page-payment-methods__feature-item {
  background-color: #F8F8F8;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__feature-icon {
  width: 200px; /* Enforce min 200px */
  height: 150px; /* Enforce min 200px */
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-payment-methods__feature-text {
  font-size: 1em;
  color: #555555;
}

.page-payment-methods__security-cta-text {
  font-size: 1.1em;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  color: #333333;
}

.page-payment-methods__button--support {
  display: block;
  margin: 0 auto;
  width: fit-content;
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__button--support:hover {
  background-color: #e0a73d;
  border-color: #e0a73d;
}

.page-payment-methods__faq-section {
  background-color: #F0F0F0;
  padding: 60px 0;
}

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

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

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default */
  padding-top: 10px;
}

.page-payment-methods__faq-answer.active {
  display: block;
}

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

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

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

.page-payment-methods__cta-section .page-payment-methods__section-description {
  color: #F0F0F0;
  margin-bottom: 40px;
}

.page-payment-methods__button--join {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
  padding: 18px 40px;
  font-size: 1.2em;
}

.page-payment-methods__button--join:hover {
  background-color: #e0a73d;
  border-color: #e0a73d;
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__content-container {
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .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: 80%;
    margin: 0 auto;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__method-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__button--join {
    width: 90%;
  }
  .page-payment-methods img {
    max-width: 100%;
    height: auto; /* Ensure images scale down */
  }
  /* Content area image size constraint for mobile */
  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon {
    width: 100%;
    height: auto;
    max-width: 100%; /* Ensure no horizontal overflow */
    min-width: 200px; /* Maintain minimum size if not overflowing */
    min-height: 200px; /* Maintain minimum size if not overflowing */
    object-fit: cover;
  }
  .page-payment-methods__feature-icon {
    object-fit: contain;
  }
}

@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__button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__card-title {
    font-size: 1.5em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
}