.page-payment-methods {
  color: #333333; /* Dark text for default light body background */
  line-height: 1.6;
  font-family: Arial, sans-serif;
  padding-top: var(--header-offset, 120px);
}

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

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(184, 0, 0, 0.9), rgba(255, 215, 0, 0.7)); /* Blended brand colors for hero background */
  color: #ffffff;
  padding: 80px 20px;
}

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

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

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

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.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.2s ease;
  white-space: nowrap;
}

.page-payment-methods__button--primary {
  background-color: #FFD700; /* Auxiliary color for primary button */
  color: #B80000; /* Main color for text */
  border: 2px solid #FFD700;
}

.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: rgba(255, 215, 0, 0.2);
  transform: translateY(-2px);
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #B80000; /* Main color for titles */
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

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

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

.page-payment-methods__overview-section {
  background-color: #f8f8f8;
}

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

.page-payment-methods__method-card,
.page-payment-methods__security-item,
.page-payment-methods__step-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__method-card:hover,
.page-payment-methods__security-item:hover,
.page-payment-methods__step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__method-icon,
.page-payment-methods__security-icon {
  width: 100%; /* Ensure images are responsive within card */
  max-width: 250px; /* Constrain icon size */
  height: auto;
  object-fit: contain;
  margin: 0 auto 25px auto;
  display: block;
}

.page-payment-methods__card-title,
.page-payment-methods__item-title,
.page-payment-methods__step-title {
  font-size: 1.6em;
  color: #B80000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__card-description,
.page-payment-methods__item-description,
.page-payment-methods__step-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
  color: #444444;
}

.page-payment-methods__card-features li {
  margin-bottom: 8px;
  font-size: 0.95em;
}

.page-payment-methods__feature-label {
  font-weight: bold;
  color: #B80000;
}

.page-payment-methods__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  margin-top: auto; /* Push button to bottom */
}

.page-payment-methods__note {
  background-color: #fffbe6;
  border-left: 5px solid #FFD700;
  padding: 20px 25px;
  margin-top: 50px;
  font-size: 1em;
  color: #7a6100;
  border-radius: 8px;
  text-align: left;
}

.page-payment-methods__note strong {
  color: #B80000;
}

.page-payment-methods__how-to-guide {
  background-color: #f0f0f0;
}

.page-payment-methods__step-card {
  background-color: #ffffff;
  text-align: left;
}

.page-payment-methods__step-card a {
  color: #B80000;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__step-card a:hover {
  text-decoration: underline;
}

.page-payment-methods__cta-text {
  text-align: center;
  font-size: 1.2em;
  margin-top: 40px;
}

.page-payment-methods__cta-text .page-payment-methods__button {
  margin: 0 10px;
}

.page-payment-methods__faq-section {
  background-color: #ffffff;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

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

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #B80000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-payment-methods__cta-section {
  background: linear-gradient(90deg, #B80000, #FFD700); /* Gradient brand colors */
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__section-description {
  color: #f0f0f0;
}

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

/* 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-section {
    min-height: 400px;
    padding: 60px 15px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__hero-buttons {
    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: 1em;
  }
  .page-payment-methods__method-grid,
  .page-payment-methods__security-grid,
  .page-payment-methods__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__method-icon,
  .page-payment-methods__security-icon {
    max-width: 200px;
  }
  .page-payment-methods__method-card img,
  .page-payment-methods__security-item img,
  .page-payment-methods__step-card img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__cta-text .page-payment-methods__button {
    width: 80%;
    margin: 10px auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods__note {
    padding: 15px;
  }
}

/* Ensure all images in content area are not smaller than 200px */
.page-payment-methods__method-card img,
.page-payment-methods__security-item img {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile specific image handling to prevent overflow */
@media (max-width: 768px) {
  .page-payment-methods img {
    max-width: 100% !important;
    height: auto !important;
  }
}