/* style/payment-methods.css */

/* Base styles */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

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

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

.page-payment-methods__dark-bg {
  background-color: #0a0a0a;
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 500px;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #ffffff;
}

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

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

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #C30808; /* Custom color for registration/login */
  color: #FFFF00; /* Custom font color for registration/login */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

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

/* Intro Section */
.page-payment-methods__intro-section {
  padding: 60px 0;
}

.page-payment-methods__intro-section .page-payment-methods__section-description {
  color: #333333;
}

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

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

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

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Deposit Methods Section */
.page-payment-methods__deposit-methods {
  padding: 60px 0;
}

.page-payment-methods__deposit-methods .page-payment-methods__section-description {
  color: #f0f0f0;
}

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

.page-payment-methods__method-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333333;
}

.page-payment-methods__method-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__method-title {
  font-size: 1.6em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__method-text {
  font-size: 1em;
  color: #555555;
}

/* Deposit Guide Section */
.page-payment-methods__deposit-guide {
  padding: 60px 0;
}

.page-payment-methods__deposit-guide .page-payment-methods__section-description {
  color: #333333;
}

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

.page-payment-methods__guide-item {
  text-align: center;
  color: #333333;
}

.page-payment-methods__guide-image {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__guide-step-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__guide-step-text {
  font-size: 1em;
  color: #555555;
}

/* Withdrawal Methods Section */
.page-payment-methods__withdrawal-methods {
  padding: 60px 0;
}

.page-payment-methods__withdrawal-methods .page-payment-methods__section-description {
  color: #f0f0f0;
}

.page-payment-methods__withdrawal-process {
  background-color: #f9f9f9;
  padding: 40px;
  border-radius: 10px;
  margin-top: 60px;
  color: #333333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-payment-methods__subtitle {
  font-size: 2em;
  color: #017439;
  margin-bottom: 20px;
  text-align: center;
  font-weight: bold;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-payment-methods__list-item {
  font-size: 1.1em;
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #555555;
}

.page-payment-methods__list-item::before {
  content: '✓';
  color: #017439;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
}

/* Important Notes Section */
.page-payment-methods__important-notes {
  padding: 60px 0;
}

.page-payment-methods__important-notes .page-payment-methods__section-description {
  color: #333333;
}

.page-payment-methods__important-notes .page-payment-methods__list-item {
  color: #555555;
}

/* FAQ Section */
.page-payment-methods__faq-section {
  padding: 60px 0;
}

.page-payment-methods__faq-section .page-payment-methods__section-description {
  color: #f0f0f0;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: #1a1a1a;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  background-color: #017439;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  list-style: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Safari */
  -khtml-user-select: none;    /* Konqueror HTML */
  -moz-user-select: none;      /* Old versions of Firefox */
  -ms-user-select: none;       /* Internet Explorer/Edge */
  user-select: none;           /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: #f0f0f0;
  background-color: #1a1a1a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #017439;
}

.page-payment-methods__cta-section .page-payment-methods__section-description {
  color: #333333;
  margin-bottom: 40px;
}

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

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding: 60px 15px;
    min-height: 400px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__feature-grid,
  .page-payment-methods__method-grid,
  .page-payment-methods__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__withdrawal-process {
    padding: 20px;
  }
  .page-payment-methods__feature-icon {
    width: 80px;
    height: 80px;
  }
  .page-payment-methods__method-image,
  .page-payment-methods__guide-image,
  .page-payment-methods__image-full-width {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }
  /* Ensure all image containers are responsive */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__guide-item,
  .page-payment-methods__withdrawal-process,
  .page-payment-methods__faq-item,
  .page-payment-methods__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }
}

@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__btn-primary,
  .page-payment-methods__cta-button {
    font-size: 0.95em;
  }
}