/* 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); /* Ensures content is not hidden by fixed header */
  position: relative; /* For floating buttons */
}

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

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

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

.page-payment-methods__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight with login color */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

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

.page-payment-methods__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.page-payment-methods__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

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

.page-payment-methods__hero-button--deposit {
  background-color: #FCBC45;
  color: #000000;
}

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

/* General Section Styling */
.page-payment-methods__intro-section,
.page-payment-methods__benefits-section,
.page-payment-methods__deposits-section,
.page-payment-methods__withdrawals-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-payment-methods__intro-section,
.page-payment-methods__security-section {
  background-color: #f5f5f5;
}

.page-payment-methods__intro-title,
.page-payment-methods__benefits-title,
.page-payment-methods__deposits-title,
.page-payment-methods__withdrawals-title,
.page-payment-methods__security-title,
.page-payment-methods__faq-title,
.page-payment-methods__cta-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
}

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

/* Benefits Grid */
.page-payment-methods__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-payment-methods__benefit-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__benefit-heading {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-payment-methods__benefit-text {
  font-size: 1em;
  line-height: 1.8;
}

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

.page-payment-methods__method-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__method-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

.page-payment-methods__method-description {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
  flex-grow: 1;
}

.page-payment-methods__method-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: auto; /* Pushes button to bottom */
}

.page-payment-methods__method-button--deposit,
.page-payment-methods__method-button--learn-more {
  background-color: #FCBC45;
  color: #000000;
}

.page-payment-methods__method-button--deposit:hover,
.page-payment-methods__method-button--learn-more:hover {
  background-color: #e0a53b;
}

/* Withdrawal Steps */
.page-payment-methods__withdrawal-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__step-card {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__step-heading {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 15px;
}

.page-payment-methods__step-description {
  font-size: 1em;
  line-height: 1.8;
}

.page-payment-methods__withdrawal-image {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__feature-item {
  background-color: #000000;
  color: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__feature-description {
  font-size: 1em;
  line-height: 1.8;
}

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

/* FAQ Section */
.page-payment-methods__faq-items {
  margin-top: 40px;
}

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

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

.page-payment-methods__faq-answer {
  font-size: 1em;
  line-height: 1.7;
  /* Initially hidden, will be toggled by JS */
  display: none;
}

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

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

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 18px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3em;
  background-color: #FCBC45;
  color: #000000;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

/* Floating Buttons */
.page-payment-methods__floating-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-payment-methods__floating-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-payment-methods__floating-button--register {
  background-color: #FFFFFF;
  color: #000000;
}

.page-payment-methods__floating-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

.page-payment-methods__floating-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-payment-methods__floating-button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__intro-title,
  .page-payment-methods__benefits-title,
  .page-payment-methods__deposits-title,
  .page-payment-methods__withdrawals-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-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;
  }
  .page-payment-methods__hero-overlay {
    padding: 30px;
  }
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__hero-button {
    width: 100%;
  }
  .page-payment-methods__intro-title,
  .page-payment-methods__benefits-title,
  .page-payment-methods__deposits-title,
  .page-payment-methods__withdrawals-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-payment-methods__benefits-grid,
  .page-payment-methods__method-cards,
  .page-payment-methods__withdrawal-steps,
  .page-payment-methods__security-features {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__method-image {
    height: 200px;
  }
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__cta-button {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-payment-methods__floating-buttons {
    flex-direction: row;
    width: calc(100% - 40px);
    left: 20px;
    right: 20px;
    bottom: 15px;
    justify-content: space-around;
  }
  .page-payment-methods__floating-button {
    flex: 1;
    padding: 10px 15px;
    font-size: 0.9em;
  }

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

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__intro-title,
  .page-payment-methods__benefits-title,
  .page-payment-methods__deposits-title,
  .page-payment-methods__withdrawals-title,
  .page-payment-methods__security-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 1.5em;
  }
  .page-payment-methods__floating-buttons {
    gap: 5px;
  }
}