.page-payment-methods {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg-color: #111111;
  --background-color: #0A0A0A;
  --text-main-color: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  background-color: var(--background-color);
  color: var(--text-main-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, main padding from body */
  margin-bottom: 40px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.page-payment-methods__hero-content {
  width: 100%;
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  margin-top: 20px;
}

.page-payment-methods__hero-title {
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--primary-color);
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  /* No fixed font-size, relying on context/default or clamp if needed */
}

.page-payment-methods__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--text-main-color);
}

.page-payment-methods__hero-button,
.page-payment-methods__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  color: #0A0A0A;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-payment-methods__hero-button:hover,
.page-payment-methods__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

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

.page-payment-methods__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-main-color);
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section-bottom {
  padding: 20px;
  margin-bottom: 40px;
}

.page-payment-methods__overview-grid,
.page-payment-methods__method-grid,
.page-payment-methods__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-payment-methods__overview-card,
.page-payment-methods__method-card,
.page-payment-methods__feature-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__overview-card:hover,
.page-payment-methods__method-card:hover,
.page-payment-methods__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 211, 107, 0.2);
}

.page-payment-methods__card-title,
.page-payment-methods__method-name,
.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-payment-methods__card-text,
.page-payment-methods__method-details,
.page-payment-methods__feature-text {
  font-size: 1em;
  color: var(--text-main-color);
}

.page-payment-methods__method-image,
.page-payment-methods__feature-icon {
  width: 100%;
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-payment-methods__cta-button {
  margin-top: 30px;
}

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

.page-payment-methods__faq-item {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  color: var(--secondary-color);
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: var(--text-main-color);
  display: none; /* Hidden by default, toggled by JS */
  padding-top: 10px;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-question::after {
  content: '-';
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  display: block;
}

.page-payment-methods__cta-section-bottom {
  text-align: center;
  padding-bottom: 50px;
}

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

.page-payment-methods__cta-button--secondary {
  background: none;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  box-shadow: none;
}

.page-payment-methods__cta-button--secondary:hover {
  background-color: rgba(242, 193, 78, 0.1);
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

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

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

  .page-payment-methods__overview-grid,
  .page-payment-methods__method-grid,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }

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

  .page-payment-methods__hero-image,
  .page-payment-methods__method-image,
  .page-payment-methods__feature-icon {
    max-width: 100%;
    height: auto; /* Ensures images scale down */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px; /* Maintain minimum size */
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Ensure all images within .page-payment-methods are responsive on mobile */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}