.page-payment-methods {
  background-color: #0A0A0A;
  color: #FFF6D6;
  font-family: Arial, sans-serif;
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  margin-bottom: 40px;
  text-align: center;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
}

.page-payment-methods__hero-content {
  padding: 20px;
  max-width: 900px;
  margin-top: 20px;
}

.page-payment-methods__main-title {
  font-size: clamp(2rem, 5vw, 3rem); /* Adaptive font size */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-payment-methods__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #E5E5E5;
}

.page-payment-methods__hero-cta {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-payment-methods__section-title {
  font-size: 2.2rem;
  color: #F2C14E;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.page-payment-methods__methods-section {
  padding: 40px 20px;
  margin-bottom: 40px;
}

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

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

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

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
}

.page-payment-methods__method-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-payment-methods__method-text {
  font-size: 1rem;
  color: #E5E5E5;
}

.page-payment-methods__view-all-cta {
  display: block;
  width: fit-content;
  margin: 50px auto 0 auto;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__view-all-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-payment-methods__how-to-section {
  padding: 40px 20px;
  margin-bottom: 40px;
  background-color: #111111;
}

.page-payment-methods__process-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.page-payment-methods__process-card {
  flex: 1;
  min-width: 300px;
  max-width: 550px;
  background-color: #0A0A0A;
  border-radius: 12px;
  padding: 30px;
  border: 1px solid #3A2A12;
  text-align: center;
}

.page-payment-methods__process-title {
  font-size: 1.8rem;
  color: #FFD36B;
  margin-bottom: 20px;
}

.page-payment-methods__process-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-payment-methods__process-list {
  list-style: none;
  padding: 0;
  text-align: left;
  color: #E5E5E5;
}

.page-payment-methods__process-list li {
  background-color: #1a1a1a;
  margin-bottom: 10px;
  padding: 12px 15px;
  border-left: 4px solid #F2C14E;
  border-radius: 4px;
  font-size: 1.05rem;
}

.page-payment-methods__process-list li a {
  color: #FFD36B;
  text-decoration: none;
}

.page-payment-methods__process-list li a:hover {
  text-decoration: underline;
}

.page-payment-methods__security-section {
  padding: 40px 20px;
  margin-bottom: 40px;
}

.page-payment-methods__security-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-payment-methods__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-payment-methods__security-text-block {
  flex: 2;
  min-width: 300px;
  color: #E5E5E5;
  font-size: 1.1rem;
  line-height: 1.6;
}

.page-payment-methods__security-text-block p {
  margin-bottom: 20px;
}

.page-payment-methods__security-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.page-payment-methods__security-link:hover {
  color: #FFD36B;
  text-decoration: underline;
}

.page-payment-methods__faq-section {
  padding: 40px 20px;
  margin-bottom: 40px;
  background-color: #111111;
  text-align: center;
}

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

.page-payment-methods__faq-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  width: 100%;
  background-color: #1a1a1a;
  color: #FFF6D6;
  padding: 18px 25px;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  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.5rem;
  color: #F2C14E;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
}

.page-payment-methods__faq-question:hover {
  background-color: #222222;
}

.page-payment-methods__faq-answer {
  padding: 0 25px;
  background-color: #0A0A0A;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-payment-methods__faq-answer p {
  padding: 15px 0;
  font-size: 1rem;
  color: #E5E5E5;
  line-height: 1.5;
}

.page-payment-methods__faq-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  margin-top: 20px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-payment-methods__cta-section {
  padding: 50px 20px;
  text-align: center;
  background-color: #0A0A0A;
}

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

.page-payment-methods__cta-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-payment-methods__hero-content {
    padding: 15px;
  }

  .page-payment-methods__main-title {
    font-size: 2rem;
  }

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

  .page-payment-methods__section-title {
    font-size: 1.8rem;
  }

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

  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-payment-methods__process-container {
    flex-direction: column;
  }

  .page-payment-methods__security-content {
    flex-direction: column;
  }

  .page-payment-methods__security-image,
  .page-payment-methods__security-text-block {
    min-width: unset;
    width: 100%;
  }

  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-payment-methods__faq-answer p {
    font-size: 0.95rem;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__hero-image,
  .page-payment-methods__method-icon,
  .page-payment-methods__process-image,
  .page-payment-methods__security-image,
  .page-payment-methods__faq-image {
    max-width: 100%;
    height: auto;
  }

  /* Ensure content images are not smaller than 200px on mobile, but scale down */
  .page-payment-methods img {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: auto;
  }

  .page-payment-methods__method-icon {
    min-width: 200px; /* Specific override for card icons */
    min-height: 150px;
    max-width: 250px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__hero-cta, .page-payment-methods__view-all-cta, .page-payment-methods__cta-btn {
    width: 100%;
  }
}