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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #000000; /* Main color */
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.4; /* Soften image to make text readable */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  color: #FFD700; /* Accent color for title */
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #DC143C; /* Emphasize color */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-payment-methods__cta-button:hover {
  background-color: #ff4d6b;
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  color: #cccccc;
}

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

.page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide */
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-payment-methods__card-description {
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  max-width: 250px;
}

.page-payment-methods__card-features li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23FFD700" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 28px;
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-payment-methods__card-button {
  display: inline-block;
  background-color: #DC143C;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Push button to bottom */
}

.page-payment-methods__card-button:hover {
  background-color: #ff4d6b;
}

.page-payment-methods__note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95em;
  color: #aaaaaa;
}

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

.page-payment-methods__link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.page-payment-methods__security-faq {
  margin-top: 80px;
}

.page-payment-methods__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-payment-methods__text-content {
  flex: 1;
  min-width: 300px;
  max-width: 700px;
}

.page-payment-methods__text-intro {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #cccccc;
}

.page-payment-methods__subsection-title {
  font-size: 2em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 25px;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 4px solid #FFD700;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-payment-methods__faq-answer {
  color: #cccccc;
}

.page-payment-methods__security-image {
  flex: 0 0 auto;
  width: 100%;
  max-width: 400px;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__cta-final {
  text-align: center;
  background-color: rgba(255, 215, 0, 0.1); /* Light gold background */
  padding: 60px 20px;
  border-radius: 10px;
  margin-top: 80px;
}

.page-payment-methods__cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 20px;
}

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

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

.page-payment-methods__cta-button--secondary {
  background-color: transparent;
  border: 2px solid #DC143C;
}

.page-payment-methods__cta-button--secondary:hover {
  background-color: #DC143C;
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description,
  .page-payment-methods__section-intro,
  .page-payment-methods__text-intro,
  .page-payment-methods__cta-description {
    font-size: 1em;
  }
  .page-payment-methods__cards-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__content-wrapper {
    flex-direction: column;
  }
  .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-payment-methods__card-image,
  .page-payment-methods__security-image,
  .page-payment-methods__hero-image img { /* Select any img under main content */
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__card-image,
  .page-payment-methods__security-image {
    min-width: 200px; /* Ensure images maintain minimum size */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-section,
  .page-payment-methods__section,
  .page-payment-methods__cta-final {
    padding: 40px 15px;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
  .page-payment-methods__cta-button {
    width: 100%;
    box-sizing: border-box;
  }
}