/* style/payment-methods.css */
.page-payment-methods {
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  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 {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FCBC45; /* Login button color for emphasis */
}

.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-image {
  margin: 40px auto;
  max-width: 1000px;
}

.page-payment-methods__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

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

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__process-guide-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
}

.page-payment-methods__introduction-section {
  background-color: #F8F8F8;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

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

.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: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 400px; /* Max width for card images */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Ensure min size */
  min-height: 200px; /* Ensure min size */
  object-fit: cover;
}

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

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

.page-payment-methods__method-button {
  display: inline-block;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

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

.page-payment-methods__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-payment-methods__process-guide-section {
  background-color: #F0F0F0;
}

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

.page-payment-methods__step-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
}

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

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

.page-payment-methods__step-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 8px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  transition: background-color 0.3s ease;
}

.page-payment-methods__step-button:hover {
  background-color: #333333;
}

.page-payment-methods__security-section {
  background-color: #FFFFFF;
}

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

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

.page-payment-methods__security-item {
  background-color: #F8F8F8;
  padding: 20px;
  border-left: 5px solid #FCBC45;
  border-radius: 5px;
  font-size: 1.05em;
  color: #333333;
}

.page-payment-methods__security-item strong {
  color: #000000;
}

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

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

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

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

.page-payment-methods__cta-section--final {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 20px;
}

.page-payment-methods__cta-title {
  font-size: 2.8em;
  color: #FCBC45;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__cta-button--register {
  background-color: #FCBC45;
  color: #000000;
  margin-right: 20px;
}

.page-payment-methods__cta-button--register:hover {
  background-color: #FFD700;
}

.page-payment-methods__cta-button--login {
  background-color: #FFFFFF;
  color: #000000;
}

.page-payment-methods__cta-button--login:hover {
  background-color: #F0F0F0;
}

/* 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: 1.1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__text-content,
  .page-payment-methods__method-description,
  .page-payment-methods__step-description,
  .page-payment-methods__faq-answer {
    font-size: 0.95em;
  }
  .page-payment-methods__cta-title {
    font-size: 2.2em;
  }
  .page-payment-methods__cta-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-button,
  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin: 20px auto;
  }
  .page-payment-methods__hero-button--register {
    margin-right: 0; /* Remove margin for stacked buttons */
  }
  .page-payment-methods__cta-button--register {
    margin-right: 0;
  }
  .page-payment-methods__methods-grid,
  .page-payment-methods__guide-steps,
  .page-payment-methods__security-list {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__hero-image img,
  .page-payment-methods__method-icon,
  .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__hero-section,
  .page-payment-methods__introduction-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__process-guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }
  .page-payment-methods__text-content,
  .page-payment-methods__method-description,
  .page-payment-methods__faq-answer {
    text-align: left;
  }
  /* Ensure no horizontal scroll for content images */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}