/* style/payment-methods.css */

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

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

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero */
  color: #FFFFFF; /* Light text for hero content */
  text-align: center;
}

.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-container {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  max-width: 800px;
}

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

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

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

/* General Section Styles */
.page-payment-methods__intro-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-section,
.page-payment-methods__fees-limits,
.page-payment-methods__faq-section,
.page-payment-methods__cta-final {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #000000; /* Main color for titles */
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

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

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

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

.page-payment-methods__method-card {
  background-color: #FFFFFF;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

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

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

.page-payment-methods__card-description {
  font-size: 1em;
  color: #666666;
  flex-grow: 1;
}

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

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

/* Security Section */
.page-payment-methods__security-section {
  background-color: #f8f8f8;
}

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

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

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

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

/* Fees & Limits Section */
.page-payment-methods__info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__info-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.page-payment-methods__info-card .page-payment-methods__card-title {
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-payment-methods__info-card .page-payment-methods__card-description {
  font-size: 0.95em;
  color: #777777;
}

/* FAQ Section */
.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FCBC45;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #555555;
  display: none; /* Hidden by default, shown with JS */
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 15px;
}

/* Final CTA Section */
.page-payment-methods__cta-final {
  background-color: #000000; /* Main dark color */
  color: #FFFFFF;
  padding: 80px 0;
}

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

.page-payment-methods__cta-final .page-payment-methods__section-text {
  color: #f0f0f0;
}

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

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

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

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

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

/* 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 {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }

  .page-payment-methods__hero-section {
    min-height: 400px;
    padding: 40px 15px;
  }

  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }

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

  .page-payment-methods__hero-button,
  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-payment-methods__section-text {
    font-size: 0.95em;
  }

  .page-payment-methods__method-grid,
  .page-payment-methods__info-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__method-card,
  .page-payment-methods__info-card {
    padding: 20px;
  }

  .page-payment-methods__method-icon {
    width: 200px; /* Ensure minimum size */
    height: 150px;
  }

  .page-payment-methods__security-image {
    width: 100%;
    height: auto;
  }

  .page-payment-methods__security-list,
  .page-payment-methods__faq-item {
    margin-left: 0;
    margin-right: 0;
  }

  .page-payment-methods__button-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__cta-button--register,
  .page-payment-methods__cta-button--login {
    width: 100%;
  }

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

  /* Ensure content area does not cause horizontal scroll */
  .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__section-title {
    font-size: 1.5em;
  }

  .page-payment-methods__method-card .page-payment-methods__card-title {
    font-size: 1.3em;
  }

  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
}