.page-payment-methods {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  background-color: #FFFFFF; /* Light background as per shared.css */
  color: #333333; /* Dark text for contrast on light background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF; /* Light text on hero image */
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Ensure hero section has a decent height */
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent black overlay for text readability */
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF;
  font-weight: bold;
}

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

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

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

.page-payment-methods__button--register {
  background-color: #FFFFFF; /* Register button color */
  color: #000000; /* Text color for register button */
}

.page-payment-methods__button--register:hover {
  background-color: #e0e0e0;
}

.page-payment-methods__button--login {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Text color for login button */
}

.page-payment-methods__button--login:hover {
  background-color: #e6a83d;
}

.page-payment-methods__section-title {
  font-size: 2.8em;
  color: #000000; /* Main color for section titles */
  text-align: center;
  margin-bottom: 40px;
  margin-top: 60px;
  font-weight: bold;
}

.page-payment-methods__text-content {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-payment-methods__introduction-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 {
  padding: 60px 0;
}

.page-payment-methods__feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-payment-methods__feature-item {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

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

.page-payment-methods__feature-description {
  font-size: 1em;
  color: #555555;
}

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

.page-payment-methods__method-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-payment-methods__method-icon {
  width: 250px; /* Minimum 200px */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-payment-methods__method-name {
  font-size: 2em;
  color: #000000;
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
}

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

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

.page-payment-methods__sub-heading {
  font-size: 1.5em;
  color: #000000;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-payment-methods__step-list {
  list-style: decimal;
  padding-left: 20px;
  text-align: left;
  font-size: 0.95em;
  color: #555555;
}

.page-payment-methods__step-list li {
  margin-bottom: 10px;
}

.page-payment-methods__note {
  font-size: 0.9em;
  color: #777777;
  text-align: center;
  margin-top: 40px;
  font-style: italic;
}

.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__text-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__text-link:hover {
  text-decoration: underline;
}

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

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

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

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

.page-payment-methods__button--promotions {
  background-color: #000000;
  color: #FFFFFF;
}

.page-payment-methods__button--promotions:hover {
  background-color: #333333;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
  .page-payment-methods__method-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 120px);
  }
  .page-payment-methods__hero-content {
    padding: 30px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-payment-methods__button {
    width: 100%;
    max-width: 300px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  .page-payment-methods__text-content {
    font-size: 0.95em;
  }
  .page-payment-methods__feature-list,
  .page-payment-methods__method-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__method-icon {
    width: 250px; /* Ensure minimum size is maintained */
    height: auto;
  }
  .page-payment-methods__cta-actions {
    flex-direction: column;
    gap: 10px;
  }
  /* Content area images must not overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__method-icon {
    max-width: 100%;
  }
  .page-payment-methods__security-image {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-content {
    padding: 20px;
  }
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__faq-item {
    padding: 20px;
  }
  .page-payment-methods__method-icon {
    width: 200px; /* Ensure minimum size */
  }
}