.page-payment-methods {
  color: #333333; /* Dark text on light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-payment-methods__hero-section {
  background-color: #000000; /* Main brand color for hero background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.page-payment-methods__hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-payment-methods__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.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;
  flex-wrap: wrap;
}

.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, color 0.3s ease;
  min-width: 180px;
  text-align: center;
  font-size: 1.1em;
}

.page-payment-methods__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__button--primary:hover {
  background-color: #e0a030;
  border-color: #e0a030;
}

.page-payment-methods__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-payment-methods__button--secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

.page-payment-methods__hero-image img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  width: 1200px; /* Matching HTML width attribute */
  height: 675px; /* Matching HTML height attribute */
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  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;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

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

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

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

.page-payment-methods__feature-card img {
  width: 100%;
  height: auto;
  max-width: 400px; /* Matching HTML width attribute */
  max-height: 300px; /* Matching HTML height attribute */
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-payment-methods__feature-description {
  color: #555555;
}

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

.page-payment-methods__method-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-payment-methods__method-card img {
  width: 100%;
  height: auto;
  max-width: 600px; /* Matching HTML width attribute */
  max-height: 400px; /* Matching HTML height attribute */
  border-radius: 8px;
  margin-bottom: 25px;
}

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

.page-payment-methods__method-description {
  color: #555555;
  text-align: center;
  margin-bottom: 20px;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  text-align: left;
  width: 100%;
  max-width: 300px;
}

.page-payment-methods__method-details li {
  margin-bottom: 10px;
  color: #333333;
  font-size: 0.95em;
  padding-left: 20px;
  position: relative;
}

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

.page-payment-methods__cta-deposit, .page-payment-methods__cta-withdraw, .page-payment-methods__cta-security {
  text-align: center;
  margin-top: 50px;
}

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

.page-payment-methods__security-item {
  background-color: #f8f8f8;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-payment-methods__security-text {
  color: #555555;
}

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

.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px;
  margin: 0;
  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 20px 20px 20px;
  margin: 0;
  color: #555555;
  display: none; /* Hidden by default */
}

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

.page-payment-methods__cta-final {
  text-align: center;
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 20px;
  border-radius: 10px;
  margin-bottom: 60px;
}

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

.page-payment-methods__cta-final .page-payment-methods__section-title::after {
  background-color: #FFFFFF;
}

.page-payment-methods__cta-final .page-payment-methods__section-description {
  color: #f0f0f0;
}

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

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

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

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

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

  .page-payment-methods__feature-title {
    font-size: 1.3em;
  }

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

  .page-payment-methods__security-subtitle {
    font-size: 1.2em;
  }

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

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

  .page-payment-methods__hero-image img,
  .page-payment-methods__feature-card img,
  .page-payment-methods__method-card img {
    max-width: 100%;
    height: auto; /* Ensure images scale correctly */
  }

  .page-payment-methods__section {
    margin: 40px auto;
  }

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

  .page-payment-methods {
    overflow-x: hidden;
  }
}