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

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background-color: #000000; /* Main color as background */
  color: #ffffff;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-payment-methods__hero-content {
  max-width: 900px;
  margin-bottom: 40px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FCBC45; /* Login color for emphasis */
}

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

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

.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;
  font-size: 1.1em;
}

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

.page-payment-methods__button--deposit:hover {
  background-color: #e0a53a;
}

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

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

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 1000px;
  margin-top: 40px;
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.page-payment-methods__overview-section, 
.page-payment-methods__deposit-section, 
.page-payment-methods__withdrawal-section, 
.page-payment-methods__security-section, 
.page-payment-methods__faq-section, 
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Auxiliary color for content sections */
  text-align: center;
}

.page-payment-methods__overview-section {
  background-color: #f8f8f8;
}

.page-payment-methods__section-title {
  font-size: 2.8em;
  margin-bottom: 30px;
  color: #000000;
  position: relative;
  padding-bottom: 15px;
}

.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-text {
  font-size: 1.1em;
  line-height: 1.8;
  max-width: 800px;
  margin: 20px auto 40px auto;
  color: #555555;
}

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

.page-payment-methods__payment-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

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

.page-payment-methods__card-image {
  width: 100%;
  height: auto;
  max-height: 200px; /* Constrain card image height */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px;
  min-height: 200px;
}

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

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

.page-payment-methods__card-list {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  color: #555555;
}

.page-payment-methods__card-list li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

.page-payment-methods__card-list strong {
  color: #000000;
}

.page-payment-methods__button--card-cta {
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  border: 2px solid #000000;
  padding: 12px 25px;
  font-size: 0.95em;
  border-radius: 6px;
}

.page-payment-methods__button--card-cta:hover {
  background-color: #333333;
  border-color: #333333;
}

.page-payment-methods__security-section {
  background-color: #f0f0f0;
}

.page-payment-methods__security-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 40px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__faq-section {
  background-color: #ffffff;
}

.page-payment-methods__faq-item {
  text-align: left;
  max-width: 900px;
  margin: 0 auto 25px auto;
  border: 1px solid #eeeeee;
  border-radius: 10px;
  padding: 25px;
  background-color: #fdfdfd;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-payment-methods__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
}

.page-payment-methods__cta-section {
  background-color: #000000; /* Main color */
  color: #ffffff;
  padding: 80px 0;
}

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

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

.page-payment-methods__cta-section .page-payment-methods__section-text {
  color: #f0f0f0;
}

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

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

.page-payment-methods__button--join:hover {
  background-color: #e0a53a;
}

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

.page-payment-methods__button--support:hover {
  background-color: #ffffff;
  color: #000000;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
  .page-payment-methods__payment-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    flex-direction: column;
    padding: 40px 15px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-cta {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 100%;
    max-width: 300px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-text {
    font-size: 0.95em;
  }
  .page-payment-methods__payment-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card-title {
    font-size: 1.5em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  /* Ensure all images within .page-payment-methods are responsive */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  /* Specific overrides for content images to ensure min-size is respected, but also responsive */
  .page-payment-methods__card-image, .page-payment-methods__security-image {
    width: 100%; /* Take full width of parent */
    height: auto; /* Maintain aspect ratio */
    max-width: 100%; /* Crucial for mobile overflow prevention */
    min-width: 200px; /* Minimum size still applies */
    min-height: 200px;
    object-fit: cover;
  }
}

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