.page-payment-methods {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-payment-methods__section-title,
.page-payment-methods__cta-title {
  font-size: 2.8em;
  color: #FFD700; /* Gold primary color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__section-description,
.page-payment-methods__cta-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
  color: #f0f0f0;
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-payment-methods__hero-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  text-align: center;
}

.page-payment-methods__hero-content {
  max-width: 800px;
  color: #ffffff;
  z-index: 1;
}

.page-payment-methods__hero-title {
  font-size: 3.8em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
}

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

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

.page-payment-methods__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__button--primary {
  background-color: #FFD700; /* Gold */
  color: #1a1a1a; /* Dark text for gold button */
}

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

.page-payment-methods__button--secondary {
  background-color: #8B0000; /* Dark Red */
  color: #ffffff;
  border: 2px solid #8B0000;
}

.page-payment-methods__button--secondary:hover {
  background-color: #6b0000;
  transform: translateY(-3px);
}

.page-payment-methods__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-payment-methods__overview-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
  border-radius: 10px;
  margin: 40px auto;
}

.page-payment-methods__overview-section .page-payment-methods__container p {
  text-align: justify;
  font-size: 1.05em;
  line-height: 1.8;
}

.page-payment-methods__features-section {
  padding: 60px 0;
}

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

.page-payment-methods__feature-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

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

.page-payment-methods__feature-text {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-payment-methods__options-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 40px auto;
}

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

.page-payment-methods__category-card {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__category-image {
  width: 100%;
  height: 300px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-payment-methods__category-text {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
  text-align: justify;
  margin-bottom: 20px;
}

.page-payment-methods__method-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-payment-methods__method-list li {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 10px 15px;
  margin-bottom: 8px;
  border-radius: 5px;
  font-size: 0.95em;
  color: #FFD700;
  text-align: left;
}

.page-payment-methods__how-to-guide-section {
  padding: 60px 0;
}

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

.page-payment-methods__guide-step {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align text to left */
  text-align: left;
}

.page-payment-methods__guide-step .page-payment-methods__step-title {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-payment-methods__guide-step .page-payment-methods__step-text {
  font-size: 1em;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1; /* Make text content take available space */
}

.page-payment-methods__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin: 40px auto;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-payment-methods__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #8B0000; /* Dark Red for strong CTA contrast */
  margin-top: 60px;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.2em;
  }
  .page-payment-methods__section-title,
  .page-payment-methods__cta-title {
    font-size: 2.2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    height: auto;
    padding: 60px 0;
  }
  .page-payment-methods__hero-container {
    height: auto;
    flex-direction: column;
    padding: 20px;
  }
  .page-payment-methods__hero-image {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    filter: brightness(0.7); /* Less darkening for smaller screens */
  }
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 100%;
  }
  .page-payment-methods__section-title,
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-description,
  .page-payment-methods__cta-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__payment-categories,
  .page-payment-methods__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__overview-section,
  .page-payment-methods__options-section,
  .page-payment-methods__faq-section {
    margin: 20px auto;
    padding: 30px 0;
  }

  /* Ensure content images do not overflow on mobile */
  .page-payment-methods__container img,
  .page-payment-methods__category-card img,
  .page-payment-methods__guide-step img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__category-image {
    height: auto; /* Allow height to adjust naturally */
  }

  /* Content area image size enforcement for mobile */
  .page-payment-methods__container img,
  .page-payment-methods__features-grid img,
  .page-payment-methods__payment-categories img,
  .page-payment-methods__guide-steps img,
  .page-payment-methods__faq-section img {
    max-width: 100%; /* Important: Ensure images don't overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px; /* Enforce minimum size for content images */
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.95em;
  }
  .page-payment-methods__button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-payment-methods__section-title,
  .page-payment-methods__cta-title {
    font-size: 1.5em;
  }
  .page-payment-methods__feature-title,
  .page-payment-methods__category-title,
  .page-payment-methods__step-title {
    font-size: 1.5em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
}