.page-payment-methods {
  color: #333333; /* Dark text for light body background */
  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__hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0; /* Adjusted padding to ensure text content is visible */
  background-color: #002060;
  color: #ffffff;
  text-align: center;
}

.page-payment-methods__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

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

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

.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.5);
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  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;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-size: 1.1em;
  text-align: center;
}

.page-payment-methods__button--primary {
  background-color: #FFD700;
  color: #002060;
  border: 2px solid #FFD700;
}

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

.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.1);
  transform: translateY(-3px);
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #002060;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700;
  border-radius: 2px;
}

.page-payment-methods__section-intro {
  font-size: 1.1em;
  line-height: 1.8;
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-payment-methods__section-text {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #666666;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-measures,
.page-payment-methods__limits-fees,
.page-payment-methods__faq-section,
.page-payment-methods__support-cta {
  padding: 60px 0;
}

.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods {
  background-color: #f9f9f9;
}

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

.page-payment-methods__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 32, 96, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 32, 96, 0.15);
}

.page-payment-methods__method-icon {
  width: 200px; /* Min size for content images */
  height: 150px; /* Min size for content images */
  object-fit: contain;
  margin-bottom: 25px;
  border-radius: 8px;
}

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

.page-payment-methods__method-description {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
  flex-grow: 1;
  margin-bottom: 20px;
}

.page-payment-methods__method-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  width: 100%;
}

.page-payment-methods__method-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 8px;
  color: #555555;
}

.page-payment-methods__method-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #FFD700;
  font-weight: bold;
}

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

.page-payment-methods__security-measures {
  background-color: #002060;
  color: #ffffff;
}

.page-payment-methods__security-measures .page-payment-methods__section-title {
  color: #FFD700;
}

.page-payment-methods__security-measures .page-payment-methods__section-intro {
  color: #e0e0e0;
}

.page-payment-methods__security-measures .page-payment-methods__section-title::after {
  background-color: #ffffff;
}

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

.page-payment-methods__security-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__security-icon {
  width: 200px; /* Min size for content images */
  height: 150px; /* Min size for content images */
  object-fit: contain;
  margin-bottom: 25px;
}

.page-payment-methods__security-subtitle {
  font-size: 1.6em;
  color: #FFD700;
  margin-bottom: 15px;
}

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

.page-payment-methods__limits-fees {
  background-color: #f9f9f9;
}

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

.page-payment-methods__info-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-payment-methods__info-card-title {
  font-size: 1.8em;
  color: #002060;
  margin-bottom: 15px;
}

.page-payment-methods__info-card-text {
  font-size: 1em;
  line-height: 1.7;
  color: #666666;
}

.page-payment-methods__note {
  font-size: 0.95em;
  color: #888888;
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background-color: #eef;
  border-radius: 8px;
}

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

.page-payment-methods__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-item {
  background-color: #f0f5fa;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 32, 96, 0.05);
}

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

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

.page-payment-methods__faq-answer a {
  color: #002060;
  text-decoration: underline;
}

.page-payment-methods__faq-answer a:hover {
  color: #FFD700;
}

.page-payment-methods__support-cta {
  background-color: #FFD700;
  padding: 80px 0;
  text-align: center;
  color: #002060;
}

.page-payment-methods__support-cta .page-payment-methods__section-title {
  color: #002060;
}

.page-payment-methods__support-cta .page-payment-methods__section-title::after {
  background-color: #002060;
}

.page-payment-methods__support-cta .page-payment-methods__section-intro {
  color: #333333;
  margin-bottom: 40px;
}

.page-payment-methods__support-cta .page-payment-methods__button--primary {
  background-color: #002060;
  color: #FFD700;
  border-color: #002060;
}

.page-payment-methods__support-cta .page-payment-methods__button--primary:hover {
  background-color: #003380;
  border-color: #003380;
}

.page-payment-methods__support-cta .page-payment-methods__button--secondary {
  background-color: transparent;
  color: #002060;
  border-color: #002060;
}

.page-payment-methods__support-cta .page-payment-methods__button--secondary:hover {
  background-color: rgba(0, 32, 96, 0.1);
}

/* Responsive Design */
@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: 1.1em;
  }
  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 80%;
    max-width: 300px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-intro {
    font-size: 1em;
  }
  .page-payment-methods__methods-grid,
  .page-payment-methods__security-details,
  .page-payment-methods__info-cards {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__security-item,
  .page-payment-methods__info-card {
    padding: 20px;
  }
  .page-payment-methods__method-icon,
  .page-payment-methods__security-icon {
    width: 150px;
    height: 120px;
  }
  /* Prevent image overflow on mobile */
  .page-payment-methods__container img,
  .page-payment-methods__hero-image img,
  .page-payment-methods__method-card img,
  .page-payment-methods__security-item img {
    max-width: 100%;
    height: auto;
  }
}

@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: 12px 25px;
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__section-intro {
    font-size: 0.9em;
  }
  .page-payment-methods__method-title {
    font-size: 1.5em;
  }
  .page-payment-methods__security-subtitle {
    font-size: 1.4em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
}