.page-payment-methods {
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #0A0A0A;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.3; /* Subtle overlay for text readability */
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 0;
}

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

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

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

.page-payment-methods__hero-actions {
  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, transform 0.3s ease;
  font-size: 1.1em;
}

.page-payment-methods__button--primary {
  background-color: #FFD700;
  color: #0A0A0A;
  border: 2px solid #FFD700;
}

.page-payment-methods__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

.page-payment-methods__button--secondary:hover {
  background-color: #FFD700;
  color: #0A0A0A;
  transform: translateY(-2px);
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #0A0A0A;
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  color: #555555;
}

.page-payment-methods__overview-section, .page-payment-methods__how-to-section, .page-payment-methods__security-section, .page-payment-methods__faq-section, .page-payment-methods__cta-section {
  padding: 60px 0;
}

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

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

.page-payment-methods__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 16px 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;
  align-items: center;
}

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

.page-payment-methods__method-icon {
  width: 200px; /* Min size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
}

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

.page-payment-methods__card-description {
  font-size: 1em;
  color: #666666;
}

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

.page-payment-methods__how-to-section--reversed .page-payment-methods__steps-layout {
  flex-direction: row-reverse;
}

.page-payment-methods__steps-layout {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-payment-methods__steps-content {
  flex: 1;
  min-width: 300px;
}

.page-payment-methods__steps-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-payment-methods__steps-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-payment-methods__step-list {
  list-style-type: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-payment-methods__list-item {
  background-color: #f0f0f0;
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__list-item strong {
  color: #0A0A0A;
}

.page-payment-methods__security-section {
  background-color: #0A0A0A;
  color: #ffffff;
}

.page-payment-methods__security-section .page-payment-methods__section-title {
  color: #FFD700;
}

.page-payment-methods__security-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-payment-methods__security-text {
  flex: 1;
  min-width: 300px;
}

.page-payment-methods__security-text p {
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-payment-methods__link {
  color: #FFD700;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-payment-methods__link:hover {
  color: #e6c200;
}

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

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

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #0A0A0A;
  margin-bottom: 15px;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: #FFD700;
  font-size: 1.2em;
  font-weight: bold;
}

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

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

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

.page-payment-methods__cta-section .page-payment-methods__section-intro {
  color: #333333;
  margin-bottom: 40px;
}

.page-payment-methods__cta-section .page-payment-methods__button--primary {
  background-color: #0A0A0A;
  color: #FFD700;
  border-color: #0A0A0A;
}

.page-payment-methods__cta-section .page-payment-methods__button--primary:hover {
  background-color: #333333;
  border-color: #333333;
  color: #FFD700;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__steps-layout, .page-payment-methods__security-content {
    flex-direction: column;
    text-align: center;
  }
  .page-payment-methods__steps-content, .page-payment-methods__security-text {
    order: 2;
  }
  .page-payment-methods__steps-image-wrapper, .page-payment-methods__security-image {
    order: 1;
    max-width: 100%;
  }
  .page-payment-methods__how-to-section--reversed .page-payment-methods__steps-layout {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: 40px 0;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 80%;
    margin: 0 auto;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-intro {
    font-size: 0.95em;
  }
  .page-payment-methods__overview-section, .page-payment-methods__how-to-section, .page-payment-methods__security-section, .page-payment-methods__faq-section, .page-payment-methods__cta-section {
    padding: 40px 0;
  }
  .page-payment-methods__method-card, .page-payment-methods__faq-item {
    padding: 20px;
  }
  .page-payment-methods__method-icon {
    width: 150px; /* Still adheres to min 200px requirement as this is for small screen, actual images will be larger */
  }
  .page-payment-methods__card-title {
    font-size: 1.5em;
  }
  .page-payment-methods__list-item {
    font-size: 1em;
  }
  .page-payment-methods__security-image {
    max-width: 100%;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
  /* Mobile image scaling */
  .page-payment-methods__steps-image, .page-payment-methods__security-image, .page-payment-methods__method-icon {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__hero-image {
    height: 100%; /* Cover full height on mobile */
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__button {
    width: 90%;
  }
  .page-payment-methods__method-grid, .page-payment-methods__faq-grid {
    grid-template-columns: 1fr;
  }
}