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

.page-payment-methods__hero-section {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #000000; /* Main background color */
  color: #FFFFFF; /* Text color for dark background */
  text-align: center;
  padding-bottom: 80px;
  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: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

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

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

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

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

.page-payment-methods__hero-button--register:hover {
  background-color: #E0E0E0;
  color: #000000;
}

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

.page-payment-methods__hero-button--login:hover {
  background-color: #E0A030;
  color: #000000;
}

.page-payment-methods__intro-section {
  background-color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
}

.page-payment-methods__intro-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__intro-heading {
  font-size: 2.5em;
  color: #000000;
  margin-bottom: 20px;
}

.page-payment-methods__intro-text {
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
}

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

.page-payment-methods__deposit-methods, .page-payment-methods__withdrawal-methods, .page-payment-methods__security-section, .page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #F8F8F8;
}

.page-payment-methods__deposit-methods, .page-payment-methods__faq-section {
  background-color: #FFFFFF;
}

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

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

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

.page-payment-methods__card {
  background-color: #000000;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFFFFF;
}

.page-payment-methods__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__card-icon {
  width: 200px; /* Minimum size */
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

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

.page-payment-methods__card-text {
  font-size: 1em;
  line-height: 1.6;
  color: #E0E0E0;
  margin-bottom: 20px;
}

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

.page-payment-methods__card-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
  font-size: 0.95em;
}

.page-payment-methods__card-features li::before {
  content: '✓';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__deposit-info, .page-payment-methods__withdrawal-info {
  text-align: center;
  font-size: 1em;
  color: #555555;
  margin-top: 40px;
  line-height: 1.6;
}

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

.page-payment-methods__feature-item {
  background-color: #000000;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: #FFFFFF;
}

.page-payment-methods__feature-icon {
  width: 200px; /* Minimum size */
  height: auto;
  max-width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: cover;
}

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

.page-payment-methods__feature-text {
  font-size: 0.95em;
  line-height: 1.6;
  color: #E0E0E0;
}

.page-payment-methods__security-callout {
  text-align: center;
  margin-top: 40px;
  font-size: 1.05em;
  color: #555555;
}

.page-payment-methods__security-callout a {
  color: #FCBC45;
  text-decoration: none;
  font-weight: 600;
}

.page-payment-methods__security-callout a:hover {
  text-decoration: underline;
}

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

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

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #FCBC45;
  margin-bottom: 10px;
  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;
  line-height: 1.6;
  color: #E0E0E0;
  display: none;
  padding-top: 10px;
}

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

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

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

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #FCBC45;
}

.page-payment-methods__cta-button:hover {
  background-color: #E0A030;
  transform: translateY(-3px);
}

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

  .page-payment-methods__section-heading {
    font-size: 2.4em;
  }

  .page-payment-methods__cta-heading {
    font-size: 2.5em;
  }

  .page-payment-methods__grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 80px);
    padding-bottom: 60px;
  }

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

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

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

  .page-payment-methods__hero-button {
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
  }

  .page-payment-methods__intro-section, .page-payment-methods__deposit-methods, .page-payment-methods__withdrawal-methods, .page-payment-methods__security-section, .page-payment-methods__faq-section, .page-payment-methods__cta-section {
    padding: 50px 0;
  }

  .page-payment-methods__intro-heading, .page-payment-methods__section-heading, .page-payment-methods__cta-heading {
    font-size: 2em;
  }

  .page-payment-methods__section-description {
    font-size: 1em;
    margin-bottom: 40px;
  }

  .page-payment-methods__grid, .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__card-icon, .page-payment-methods__feature-icon {
    width: 200px; /* Minimum size */
    height: auto;
    max-width: 100%;
  }

  /* Ensure content area images do not overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }

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

  .page-payment-methods__faq-item {
    padding: 20px 25px;
  }

  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
}

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

  .page-payment-methods__intro-heading, .page-payment-methods__section-heading, .page-payment-methods__cta-heading {
    font-size: 1.8em;
  }

  .page-payment-methods__hero-button {
    width: 95%;
  }
}