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

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

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

.page-payment-methods__hero-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

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

.page-payment-methods__hero-button,
.page-payment-methods__security-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__hero-button:hover,
.page-payment-methods__security-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
}

.page-payment-methods__overview-section,
.page-payment-methods__guide-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
  max-width: 1200px;
  margin: 0 auto 60px auto;
  padding: 20px;
  background-color: #111111;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.page-payment-methods__section-description {
  font-size: 1.05em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #E5E5E5;
}

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

.page-payment-methods__payment-card {
  background-color: #0A0A0A;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  border: 1px solid #3A2A12;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__payment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(242, 193, 78, 0.3);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 15px;
}

.page-payment-methods__card-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__card-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

.page-payment-methods__guide-content,
.page-payment-methods__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 30px;
}

.page-payment-methods__guide-content {
  flex-direction: row;
}

.page-payment-methods__security-content {
  flex-direction: row-reverse; /* Image on right */
}

.page-payment-methods__guide-image,
.page-payment-methods__security-image,
.page-payment-methods__faq-image {
  width: 50%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid #3A2A12;
}

.page-payment-methods__guide-steps,
.page-payment-methods__security-text {
  width: 50%;
}

.page-payment-methods__step {
  margin-bottom: 20px;
  padding: 15px;
  background-color: #0A0A0A;
  border-radius: 5px;
  border: 1px solid #3A2A12;
}

.page-payment-methods__step-title {
  font-size: 1.3em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-payment-methods__guide-steps ol {
  list-style-type: decimal;
  padding-left: 20px;
}

.page-payment-methods__guide-steps li {
  margin-bottom: 8px;
  color: #E5E5E5;
}

.page-payment-methods__security-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-payment-methods__security-section .page-payment-methods__security-button {
  margin-top: 30px;
  text-align: center;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

.page-payment-methods__faq-item {
  background-color: #0A0A0A;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #3A2A12;
}

.page-payment-methods__faq-question {
  font-size: 1.2em;
  color: #F2C14E;
  margin-bottom: 10px;
  cursor: pointer;
  font-weight: bold;
}

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

.page-payment-methods__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  width: 100%;
  max-width: 600px;
  height: auto;
}

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

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

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

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

  .page-payment-methods__guide-content,
  .page-payment-methods__security-content {
    flex-direction: column;
    text-align: center;
  }

  .page-payment-methods__guide-image,
  .page-payment-methods__security-image,
  .page-payment-methods__faq-image {
    width: 100%;
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
  }

  .page-payment-methods__guide-steps,
  .page-payment-methods__security-text {
    width: 100%;
  }

  .page-payment-methods__payment-card,
  .page-payment-methods__faq-item {
    padding: 20px;
  }

  .page-payment-methods__hero-image,
  .page-payment-methods__overview-section img,
  .page-payment-methods__guide-section img,
  .page-payment-methods__security-section img,
  .page-payment-methods__faq-section img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section {
    margin-bottom: 30px;
  }
}