/* style/payment-methods.css */
.page-payment-methods {
  color: #333333; /* Default dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content starts below fixed header */
}

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  padding: 0;
}

.page-payment-methods__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Minimum height for hero section */
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  font-weight: bold;
}

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

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

.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;
  white-space: nowrap;
}

.page-payment-methods__button--primary {
  background-color: #FFD700; /* Gold primary button */
  color: #8B0000; /* Burgundy text */
  border: 2px solid #FFD700;
}

.page-payment-methods__button--primary:hover {
  background-color: #e0b800;
  transform: translateY(-2px);
}

.page-payment-methods__button--secondary {
  background-color: #8B0000; /* Burgundy secondary button */
  color: #FFD700; /* Gold text */
  border: 2px solid #8B0000;
}

.page-payment-methods__button--secondary:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

.page-payment-methods__section {
  padding: 60px 20px;
  text-align: center;
}

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #8B0000; /* Burgundy for section titles */
  font-weight: bold;
}

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

.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods {
  background-color: #f9f9f9;
}

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

.page-payment-methods__card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.page-payment-methods__card-title {
  font-size: 1.8em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__card-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

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

.page-payment-methods__card-features li {
  margin-bottom: 8px;
  color: #444444;
  font-size: 0.95em;
}

.page-payment-methods__card-features li::before {
  content: '✔';
  color: #FFD700;
  font-weight: bold;
  margin-right: 10px;
}

.page-payment-methods__card .page-payment-methods__button {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
  text-align: center;
  background-color: #FFD700;
  color: #8B0000;
  border: 2px solid #FFD700;
}

.page-payment-methods__card .page-payment-methods__button:hover {
  background-color: #e0b800;
}

.page-payment-methods__security-commitment {
  background-color: #ffffff;
}

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

.page-payment-methods__feature-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
}

.page-payment-methods__feature-icon {
  width: 200px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__feature-title {
  font-size: 1.6em;
  color: #8B0000;
  margin-bottom: 15px;
  font-weight: bold;
}

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

.page-payment-methods__security-cta-text {
  font-size: 1.1em;
  margin-top: 40px;
  margin-bottom: 30px;
  color: #555555;
}

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

.page-payment-methods__accordion {
  margin-top: 40px;
  text-align: left;
}

.page-payment-methods__accordion-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__accordion-header {
  width: 100%;
  padding: 20px 25px;
  background-color: #FFD700; /* Gold for accordion header */
  color: #8B0000;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-payment-methods__accordion-header::after {
  content: '+';
  font-size: 1.5em;
  transition: transform 0.3s ease;
}

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

.page-payment-methods__accordion-content {
  padding: 0 25px;
  background-color: #fdfdfd;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-payment-methods__accordion-content p {
  padding: 20px 0;
  margin: 0;
  color: #666666;
}

.page-payment-methods__faq-cta-text {
  font-size: 1.1em;
  margin-top: 40px;
  margin-bottom: 30px;
  color: #555555;
}

.page-payment-methods__cta-banner {
  background: linear-gradient(135deg, #8B0000, #FFD700);
  color: #ffffff;
  padding: 60px 20px;
}

.page-payment-methods__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.page-payment-methods__cta-image {
  width: 600px;
  height: 338px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__cta-content {
  text-align: center;
  max-width: 700px;
}

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

.page-payment-methods__cta-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  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;
  }
  .page-payment-methods__cta-title {
    font-size: 2.4em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 100%;
    padding: 12px 25px;
  }
  .page-payment-methods__section {
    padding: 40px 15px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-payment-methods__grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card-image {
    height: 180px;
  }
  .page-payment-methods__card-title {
    font-size: 1.5em;
  }
  .page-payment-methods__features-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__feature-icon {
    width: 180px;
    height: 135px;
  }
  .page-payment-methods__feature-title {
    font-size: 1.4em;
  }
  .page-payment-methods__accordion-header {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-payment-methods__accordion-content p {
    padding: 15px 0;
  }
  .page-payment-methods__cta-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Constrain image width for smaller screens */
  }
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__cta-description {
    font-size: 1.1em;
  }
  /* Ensure content area images do not overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  /* Specific override for card images to ensure they don't get too small if parent is small */
  .page-payment-methods__card-image,
  .page-payment-methods__feature-icon {
    max-width: 100%; /* Ensure these are also responsive */
    height: auto;
  }
  .page-payment-methods__hero-image {
    max-width: 100%;
    height: 100%; /* Keep hero image height fixed relative to section */
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__button {
    font-size: 1em;
  }
}