.page-payment-methods {
  color: #ffffff; /* Text color for dark body background */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(26, 26, 26, 0.8)); /* Subtle gradient */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-payment-methods__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

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

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

.page-payment-methods__hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.page-payment-methods__hero-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: #FFD700;
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

.page-payment-methods__hero-button--secondary {
  background-color: #1A1A1A;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-payment-methods__hero-button--secondary:hover {
  background-color: #333333;
  border-color: #e6c200;
}

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

.page-payment-methods__intro-section,
.page-payment-methods__methods-section,
.page-payment-methods__process-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__guides-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__intro-heading,
.page-payment-methods__methods-heading,
.page-payment-methods__process-heading,
.page-payment-methods__security-heading,
.page-payment-methods__faq-heading,
.page-payment-methods__guides-heading,
.page-payment-methods__cta-heading {
  font-size: 2.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__intro-text,
.page-payment-methods__methods-description,
.page-payment-methods__process-description,
.page-payment-methods__security-description,
.page-payment-methods__guides-description,
.page-payment-methods__cta-description {
  font-size: 1.1em;
  color: #f0f0f0;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-payment-methods__method-grid,
.page-payment-methods__process-grid,
.page-payment-methods__guide-list {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

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

.page-payment-methods__method-card,
.page-payment-methods__process-step,
.page-payment-methods__guide-card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-width: 400px; /* Ensure images are not too small */
  min-width: 200px;
  min-height: 200px;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.page-payment-methods__card-title,
.page-payment-methods__step-title,
.page-payment-methods__guide-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-payment-methods__card-title a,
.page-payment-methods__guide-title a {
  color: #FFD700;
  text-decoration: none;
}

.page-payment-methods__card-title a:hover,
.page-payment-methods__guide-title a:hover {
  text-decoration: underline;
}

.page-payment-methods__card-text,
.page-payment-methods__step-text,
.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-payment-methods__card-features li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-payment-methods__feature-icon {
  color: #FFD700;
  font-size: 1.2em;
  margin-right: 10px;
}

.page-payment-methods__card-button,
.page-payment-methods__step-button,
.page-payment-methods__guide-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #FFD700;
  color: #1A1A1A;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__card-button:hover,
.page-payment-methods__step-button:hover,
.page-payment-methods__guide-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-payment-methods__process-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  text-align: center;
}

.page-payment-methods__process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-payment-methods__process-step .page-payment-methods__step-button {
  margin-top: auto; /* Push button to bottom */
}

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

.page-payment-methods__security-list li {
  background: rgba(255, 215, 0, 0.1);
  border-left: 5px solid #FFD700;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-payment-methods__security-feature {
  font-weight: bold;
  color: #FFD700;
}

.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  max-width: 600px;
  min-width: 200px;
  min-height: 200px;
  margin-top: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-payment-methods__faq-item {
  background: rgba(26, 26, 26, 0.7);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 20px;
  text-align: left;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-item:hover {
  background-color: rgba(26, 26, 26, 0.9);
}

.page-payment-methods__faq-question {
  font-size: 1.5em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #cccccc;
  line-height: 1.7;
  display: block; /* Ensure it's always visible for simplicity, or add JS for toggle */
}

.page-payment-methods__guide-list {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-payment-methods__guide-card {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-payment-methods__guide-card .page-payment-methods__guide-button {
  margin-top: auto;
  align-self: flex-start;
}

.page-payment-methods__cta-section {
  background: #FFD700;
  color: #1A1A1A;
  padding: 80px 0;
}

.page-payment-methods__cta-heading {
  color: #1A1A1A;
  text-shadow: none;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 18px 40px;
  background-color: #1A1A1A;
  color: #FFD700;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 2px solid #1A1A1A;
}

.page-payment-methods__cta-button:hover {
  background-color: #333333;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .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__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-payment-methods__intro-heading,
  .page-payment-methods__methods-heading,
  .page-payment-methods__process-heading,
  .page-payment-methods__security-heading,
  .page-payment-methods__faq-heading,
  .page-payment-methods__guides-heading,
  .page-payment-methods__cta-heading {
    font-size: 2em;
  }

  .page-payment-methods__container {
    padding: 20px 15px;
  }

  .page-payment-methods__intro-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__process-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__guides-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

  .page-payment-methods__process-grid {
    grid-template-columns: 1fr;
  }
  
  .page-payment-methods__security-list {
    margin: 20px auto;
  }

  .page-payment-methods__security-list li {
    font-size: 1em;
  }

  .page-payment-methods__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
}