.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;
  color: #ffffff;
  padding-bottom: 60px; /* Adjust as needed */
}

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

.page-payment-methods__hero-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a minimum height */
  text-align: center;
  padding: 80px 20px;
}

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

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

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

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Accent color for button */
  color: #1A202C; /* Dark text on accent button */
  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__hero-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

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

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

.page-payment-methods__info-section, .page-payment-methods__deposit-methods, .page-payment-methods__withdrawal-methods, .page-payment-methods__how-to-guide, .page-payment-methods__security-play, .page-payment-methods__faq-section, .page-payment-methods__cta-section {
  padding: 60px 0;
}

.page-payment-methods__features-grid, .page-payment-methods__methods-grid, .page-payment-methods__guide-steps, .page-payment-methods__security-features {
  display: grid;
  gap: 30px;
  margin-top: 30px;
}

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

.page-payment-methods__feature-card {
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods__feature-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-payment-methods__feature-description {
  color: #cccccc;
}

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

.page-payment-methods__method-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__method-logo {
  width: 250px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__method-name {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-payment-methods__method-description {
  color: #cccccc;
  margin-bottom: 20px;
  min-height: 70px; /* Ensure consistent card height */
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  color: #f0f0f0;
}

.page-payment-methods__method-details li {
  margin-bottom: 8px;
}

.page-payment-methods__method-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A202C;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-payment-methods__method-button:hover {
  background-color: #e6c200;
}

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

.page-payment-methods__guide-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods__guide-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

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

.page-payment-methods__guide-list {
  list-style: none;
  padding: 0;
  text-align: left;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-payment-methods__guide-list li {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  padding: 12px 15px;
  border-left: 4px solid #FFD700;
  border-radius: 4px;
  font-size: 1.05em;
}

.page-payment-methods__guide-list li strong {
  color: #FFD700;
}

.page-payment-methods__guide-button {
  display: inline-block;
  background-color: #1A202C; /* Primary dark color for button */
  color: #FFD700; /* Accent text on dark button */
  padding: 12px 25px;
  border: 2px solid #FFD700;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.page-payment-methods__guide-button:hover {
  background-color: #FFD700;
  color: #1A202C;
}

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

.page-payment-methods__feature-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-payment-methods__security-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-payment-methods__feature-text {
  color: #cccccc;
}

.page-payment-methods__faq-accordion {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-payment-methods__faq-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.page-payment-methods__faq-question {
  font-size: 1.2em;
  color: #FFD700;
  padding: 20px;
  cursor: pointer;
  margin: 0;
  position: relative;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-payment-methods__faq-answer {
  padding: 0 20px 20px 20px;
  color: #cccccc;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding-top 0.3s ease-out;
}

.page-payment-methods__faq-answer.active {
  max-height: 200px; /* Max height for content, adjust if needed */
  padding-top: 10px;
}

.page-payment-methods__cta-section {
  background-color: #1A202C; /* Primary dark background */
  text-align: center;
  padding: 80px 20px;
  border-top: 5px solid #FFD700;
}

.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;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

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

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

  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
}

@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-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
  }

  .page-payment-methods__section-intro {
    font-size: 1em;
  }

  .page-payment-methods__features-grid, .page-payment-methods__methods-grid, .page-payment-methods__guide-steps, .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__feature-card, .page-payment-methods__method-card, .page-payment-methods__guide-card, .page-payment-methods__feature-item {
    padding: 20px;
  }

  .page-payment-methods__feature-title, .page-payment-methods__method-name, .page-payment-methods__guide-title, .page-payment-methods__feature-heading {
    font-size: 1.5em;
  }

  .page-payment-methods__hero-container {
    min-height: 400px;
    padding: 60px 15px;
  }

  /* Ensure images do not overflow on mobile */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__guide-image {
    height: 300px;
  }

  .page-payment-methods__cta-title {
    font-size: 2em;
  }

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

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }

  .page-payment-methods__section-title {
    font-size: 1.6em;
  }

  .page-payment-methods__hero-container {
    min-height: 350px;
    padding: 40px 10px;
  }

  .page-payment-methods__feature-icon, .page-payment-methods__method-logo, .page-payment-methods__security-icon {
    width: 200px;
    height: auto;
  }

  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }

  .page-payment-methods__faq-question::after {
    right: 15px;
  }

  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }

  .page-payment-methods__cta-button {
    font-size: 1em;
    padding: 12px 25px;
  }
}