/* style/payment-methods.css */

/* Base styles for the payment methods page */
.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 below fixed header */
}

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

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

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  background-color: #f0f0f0; /* Light background for hero section */
}

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

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

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #FFFFFF;
  z-index: 2;
  max-width: 90%;
  padding: 20px;
}

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

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

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

.page-payment-methods__hero-button:hover {
  background-color: #e0a53b;
}

/* Why Choose Us Section */
.page-payment-methods__why-choose-us {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-payment-methods__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-payment-methods__feature-card {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__feature-text {
  font-size: 1em;
  color: #666666;
}

/* Deposit & Withdrawal Options Sections */
.page-payment-methods__deposit-options,
.page-payment-methods__withdrawal-options {
  padding: 60px 0;
  background-color: #f2f2f2;
}

.page-payment-methods__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-payment-methods__image-centered {
  display: block;
  margin: 40px auto;
  max-width: 80%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

.page-payment-methods__method-card {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

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

.page-payment-methods__method-details li strong {
  color: #000000;
}

.page-payment-methods__method-button {
  display: inline-block;
  background-color: #000000; /* Main color for buttons */
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  text-align: center;
  margin-top: auto; /* Push button to bottom */
}

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

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

/* Security Guarantee Section */
.page-payment-methods__security-guarantee {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
}

.page-payment-methods__security-list li {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 5px solid #FCBC45; /* Accent color */
  border-radius: 5px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

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

.page-payment-methods__cta-button--centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
  text-align: center;
}

/* FAQ Section */
.page-payment-methods__faq {
  padding: 60px 0;
  background-color: #f2f2f2;
}

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

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px; /* Space for arrow */
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #666666;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-payment-methods__faq-answer.open {
  max-height: 200px; /* Max height for open state */
  margin-top: 15px;
}

/* CTA Section */
.page-payment-methods__cta-section {
  padding: 80px 0;
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
}

.page-payment-methods__cta-section .page-payment-methods__section-title,
.page-payment-methods__cta-section .page-payment-methods__section-intro {
  color: #FFFFFF;
}

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

.page-payment-methods__cta-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;
  min-width: 200px;
}

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

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

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

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

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

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__method-list {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__hero-button,
  .page-payment-methods__method-button,
  .page-payment-methods__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-payment-methods__hero-content {
    padding: 15px;
  }
  .page-payment-methods__image-full-width,
  .page-payment-methods__image-centered {
    max-width: 100%;
    height: auto;
  }
  /* Mobile content image constraint */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods {
    overflow-x: hidden;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__faq-item {
    padding: 20px;
  }
}