.page-payment-methods {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px);
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  overflow: hidden;
  text-align: center;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 20px;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-payment-methods__btn {
  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.2s ease;
  border: none;
  cursor: pointer;
}

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

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

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

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

.page-payment-methods__btn--deposit, .page-payment-methods__btn--withdraw, .page-payment-methods__btn--view-details {
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 15px;
}

.page-payment-methods__btn--deposit:hover, .page-payment-methods__btn--withdraw:hover, .page-payment-methods__btn--view-details:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

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

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

.page-payment-methods__introduction-section, 
.page-payment-methods__deposit-methods, 
.page-payment-methods__withdrawal-methods, 
.page-payment-methods__security-section, 
.page-payment-methods__faq-section, 
.page-payment-methods__guides-section, 
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-payment-methods__introduction-section {
  padding-top: 40px;
}

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

.page-payment-methods__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  text-align: justify;
}

.page-payment-methods__text-block--note {
  font-weight: bold;
  color: #000000;
  text-align: center;
  margin-top: 30px;
}

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

.page-payment-methods__method-card, .page-payment-methods__guide-card {
  background-color: #f8f8f8;
  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, .page-payment-methods__guide-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__method-icon, .page-payment-methods__guide-image {
  width: 100%; /* Ensure images take full width of card */
  max-width: 400px; /* Max width for content images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
}

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

.page-payment-methods__guide-title a {
  color: #000000;
  text-decoration: none;
}

.page-payment-methods__guide-title a:hover {
  color: #FCBC45;
  text-decoration: underline;
}

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

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

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

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

.page-payment-methods__security-item {
  text-align: center;
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  padding: 30px 20px;
  transition: transform 0.3s ease;
}

.page-payment-methods__security-item:hover {
  transform: translateY(-8px);
}

.page-payment-methods__security-icon {
  width: 200px;
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-payment-methods__security-feature-title {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 10px;
}

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

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

.page-payment-methods__faq-item {
  background-color: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

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

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FCBC45;
  transition: transform 0.3s ease;
}

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

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

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

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

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

.page-payment-methods__cta-section .page-payment-methods__text-block {
  color: #f0f0f0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__methods-grid, .page-payment-methods__guides-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    min-height: 400px;
    padding: 30px 15px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn {
    width: 80%;
    margin: 0 auto;
  }
  .page-payment-methods__introduction-section, 
  .page-payment-methods__deposit-methods, 
  .page-payment-methods__withdrawal-methods, 
  .page-payment-methods__security-section, 
  .page-payment-methods__faq-section, 
  .page-payment-methods__guides-section, 
.page-payment-methods__cta-section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-payment-methods__text-block {
    font-size: 0.95em;
  }
  .page-payment-methods__method-card, .page-payment-methods__guide-card {
    padding: 20px;
  }
  .page-payment-methods__method-title, .page-payment-methods__guide-title {
    font-size: 1.5em;
  }
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
  .page-payment-methods__btn--register-large {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  /* Ensure content images do not overflow on mobile */
  .page-payment-methods__container img, 
  .page-payment-methods__methods-grid img, 
  .page-payment-methods__guides-grid img, 
  .page-payment-methods__security-features img {
    max-width: 100%;
    height: auto;
  }
}