/* 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 space for fixed header */
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000000; /* Dark background for hero text contrast */
  color: #FFFFFF;
  padding: 0; /* Content padding handled by hero-content */
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 900px;
  width: 90%;
  padding: 40px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__main-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login button color for highlight */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.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;
  cursor: pointer;
  border: none;
}

.page-payment-methods__button--primary {
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for contrast */
}

.page-payment-methods__button--primary:hover {
  background-color: #FFD700; /* Lighter gold on hover */
  transform: translateY(-3px);
}

.page-payment-methods__button--secondary {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__button--secondary:hover {
  background-color: #FCBC45;
  color: #FFFFFF;
  transform: translateY(-3px);
}

.page-payment-methods__button--small {
  padding: 10px 20px;
  font-size: 1em;
  margin-top: 15px;
}

.page-payment-methods__section {
  padding: 60px 20px;
  background-color: #FFFFFF;
}

.page-payment-methods__section--intro {
  background-color: #F8F8F8;
}

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

.page-payment-methods__sub-title {
  font-size: 1.8em;
  color: #000000;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 30px;
}

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

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

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

.page-payment-methods__method-card,
.page-payment-methods__security-item,
.page-payment-methods__faq-item {
  background-color: #FDFDFD;
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__method-card:hover,
.page-payment-methods__security-item:hover,
.page-payment-methods__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__method-icon,
.page-payment-methods__security-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-payment-methods__method-description,
.page-payment-methods__security-description,
.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555555;
  margin-bottom: 15px;
}

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

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

.page-payment-methods__method-features li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-payment-methods__withdrawal-steps {
  margin-top: 50px;
}

.page-payment-methods__step-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.page-payment-methods__step-item {
  background-color: #FDFDFD;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

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

.page-payment-methods__step-description {
  font-size: 0.95em;
  color: #555555;
}

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

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

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

.page-payment-methods__cta-content .page-payment-methods__section-title {
  color: #FCBC45;
}

.page-payment-methods__cta-content .page-payment-methods__section-text {
  color: #E0E0E0;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 3em;
  }

  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__main-title {
    font-size: 2.2em;
  }

  .page-payment-methods__hero-description {
    font-size: 1em;
  }

  .page-payment-methods__hero-content {
    padding: 30px;
    width: 95%;
  }

  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__button {
    width: 100%;
  }

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

  .page-payment-methods__sub-title {
    font-size: 1.5em;
  }

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

  /* IMPORTANT: Content area images must not be smaller than 200px */
  .page-payment-methods__method-icon, 
  .page-payment-methods__security-icon {
    width: 200px; 
    height: auto; /* Maintain aspect ratio */
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  /* Mobile content area image constraint */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: 1.8em;
  }

  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }

  .page-payment-methods__hero-content {
    padding: 20px;
  }

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

  .page-payment-methods__step-item {
    padding: 20px;
  }

  .page-payment-methods__cta-content {
    padding: 40px 15px;
  }
}