.page-payment-methods {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Minimal top padding as per instruction */
}

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px;
  /* HTML width/height attributes reflect display size, not original. 
     Example: If this image is meant to span 100% width of a 1200px container,
     and its aspect ratio is 16:9, then width=1200, height=675 */
  width: 1200px; /* Example display width for a common desktop layout */
  height: 675px; /* Example display height for a common desktop layout (16:9 ratio) */
}

.page-payment-methods__hero-content {
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(10, 10, 10, 0.8); /* Semi-transparent background for readability */
  margin-top: -5px; /* Adjust to sit just below the image if needed, or simply let it flow */
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: #FFD36B;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #FFF6D6;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-payment-methods__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-payment-methods__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #FFD36B;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  padding-top: 40px;
}

.page-payment-methods__section-description {
  font-size: 1rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

.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__join-cta-section {
  padding: 20px;
  margin-bottom: 40px;
}

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

.page-payment-methods__feature-card,
.page-payment-methods__method-card {
  background-color: #111111;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-payment-methods__feature-icon,
.page-payment-methods__method-image {
  width: 100%; /* Ensure images take full width of card */
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
  display: block; /* Ensure it behaves like a block element */
}

.page-payment-methods__feature-icon {
  width: 250px; /* Smaller for icons */
  height: 250px;
  object-fit: contain; /* Contain for icons */
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__feature-title,
.page-payment-methods__method-name {
  font-size: 1.5rem;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__feature-text,
.page-payment-methods__method-description {
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

.page-payment-methods__security-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  font-size: 1rem;
  color: #FFF6D6;
}

.page-payment-methods__security-item::before {
  content: '✅';
  margin-right: 10px;
  font-size: 1.2em;
}

.page-payment-methods__learn-more-link {
  display: block;
  text-align: center;
  color: #FFD36B;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.page-payment-methods__learn-more-link:hover {
  color: #F2C14E;
}

.page-payment-methods__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-question {
  font-size: 1.2rem;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__faq-answer {
  font-size: 0.95rem;
  color: #FFF6D6;
}

.page-payment-methods__button-group {
  text-align: center;
  margin-top: 30px;
}

.page-payment-methods__secondary-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: transparent;
  color: #FFD36B;
  text-decoration: none;
  border: 2px solid #FFD36B;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-left: 20px;
}

.page-payment-methods__secondary-button:hover {
  background-color: #FFD36B;
  color: #0A0A0A;
}

.page-payment-methods__cta-button--small {
  padding: 10px 20px;
  font-size: 1rem;
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-payment-methods__hero-image {
    width: 100%;
    height: 400px; /* Adjust height for mobile */
  }

  .page-payment-methods__hero-content {
    padding: 30px 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

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

  .page-payment-methods__cta-button,
  .page-payment-methods__secondary-button {
    width: 100%;
    margin-left: 0;
    margin-bottom: 15px;
  }

  .page-payment-methods__button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    padding-top: 30px;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__feature-icon,
  .page-payment-methods__method-image {
    height: 200px; /* Ensure images maintain minimum height */
    max-width: 100%; /* Important for mobile overflow */
    min-width: 200px;
    min-height: 200px;
  }
  
  .page-payment-methods__overview-section img,
  .page-payment-methods__deposit-section img,
  .page-payment-methods__withdrawal-section img,
  .page-payment-methods__security-section img,
  .page-payment-methods__faq-section img,
  .page-payment-methods__join-cta-section img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-image {
    height: 300px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }

  .page-payment-methods__hero-description {
    font-size: 0.9rem;
  }

  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-payment-methods__feature-title,
  .page-payment-methods__method-name {
    font-size: 1.3rem;
  }

  .page-payment-methods__feature-text,
  .page-payment-methods__method-description {
    font-size: 0.85rem;
  }
}