.page-payment-methods {
  color: #ffffff; /* Light text for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is below 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; /* Fallback for hero section */
  padding: 0;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 800px;
  z-index: 1;
  color: #ffffff;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  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;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

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

.page-payment-methods__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

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

.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__button--small {
  padding: 8px 18px;
  font-size: 0.9em;
}

.page-payment-methods__button--large {
  padding: 15px 35px;
  font-size: 1.1em;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__how-to-section,
.page-payment-methods__faq-section,
.page-payment-methods__support-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #1a1a1a; /* Consistent with body background */
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-payment-methods__card,
.page-payment-methods__feature-item,
.page-payment-methods__process-card {
  background-color: #0A0A0A;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-payment-methods__card:hover,
.page-payment-methods__feature-item:hover,
.page-payment-methods__process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__card-image,
.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px auto;
  border-radius: 8px;
  display: block;
}

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

.page-payment-methods__card-text,
.page-payment-methods__feature-text {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 20px;
}

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

.page-payment-methods__card-list li {
  margin-bottom: 8px;
}

.page-payment-methods__faq-item {
  background-color: #0A0A0A;
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #cccccc;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  display: block; /* Initially visible, JS can toggle */
}

.page-payment-methods__process-list {
  list-style-type: decimal;
  padding-left: 20px;
  text-align: left;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-payment-methods__process-list li {
  margin-bottom: 10px;
  font-size: 1em;
}

.page-payment-methods__support-actions,
.page-payment-methods__cta-section .page-payment-methods__button {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

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

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .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-description {
    font-size: 0.95em;
  }
  .page-payment-methods__cards-grid,
  .page-payment-methods__features-grid,
  .page-payment-methods__process-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card-image,
  .page-payment-methods__feature-icon {
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* Mobile content image constraint */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__button {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__card-title,
  .page-payment-methods__feature-title,
  .page-payment-methods__process-title {
    font-size: 1.5em;
  }
}

/* Ensure content images are not smaller than 200px display size */
.page-payment-methods__card-image, 
.page-payment-methods__feature-icon {
  min-width: 200px; /* Minimum display width */
  min-height: 200px; /* Minimum display height */
  width: auto; /* Allow natural scaling */
  height: auto; /* Allow natural scaling */
}

/* Override for specific small images if necessary, but generally avoid */
/* Example: if you had a small icon for a specific purpose (not allowed by current rules) */
/* .page-payment-methods__small-icon { width: 48px; height: 48px; min-width: unset; min-height: unset; } */