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

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

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column; /* Default for mobile */
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: #000000; /* Main color as background */
  color: #FFFFFF; /* White text for dark background */
}

.page-payment-methods__hero-content {
  max-width: 800px;
  margin-bottom: 40px;
}

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

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

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

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

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

.page-payment-methods__hero-button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

.page-payment-methods__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__hero-button--login:hover {
  background-color: #e6a73c;
  transform: translateY(-3px);
}

.page-payment-methods__hero-image-container {
  width: 100%;
  max-width: 900px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__introduction-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-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__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

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

.page-payment-methods__text-content {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
  color: #333333;
}

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

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

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

.page-payment-methods__method-icon {
  width: 200px; /* Min size */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-payment-methods__method-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__note {
  font-size: 0.95em;
  color: #777777;
  margin-top: 30px;
  text-align: center;
}

.page-payment-methods__security-section {
  background-color: #000000;
  color: #FFFFFF;
  padding: 80px 0;
}

.page-payment-methods__security-section .page-payment-methods__section-title {
  color: #FFFFFF;
}

.page-payment-methods__security-section .page-payment-methods__section-title::after {
  background-color: #FFFFFF;
}

.page-payment-methods__security-content {
  display: flex;
  flex-direction: column; /* Default for mobile */
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-payment-methods__security-image {
  width: 100%;
  max-width: 400px; /* Min size 200px, but visually larger */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.page-payment-methods__security-text .page-payment-methods__text-content {
  color: #f0f0f0;
}

.page-payment-methods__security-link {
  display: inline-block;
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: color 0.3s ease;
}

.page-payment-methods__security-link:hover {
  color: #FFFFFF;
}

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

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

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

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #000000;
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-question.active {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-payment-methods__faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-payment-methods__faq-answer.open {
  max-height: 200px; /* Adjust based on content */
  padding: 20px;
}

.page-payment-methods__faq-answer .page-payment-methods__text-content {
  margin-bottom: 0;
  color: #555555;
}

.page-payment-methods__cta {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
}

.page-payment-methods__support-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-payment-methods__support-link:hover {
  color: #000000;
}

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

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

.page-payment-methods__cta-section .page-payment-methods__section-title::after {
  background-color: #FFFFFF;
}

.page-payment-methods__cta-section .page-payment-methods__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 30px auto;
}

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

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

/* Desktop styles */
@media (min-width: 769px) {
  .page-payment-methods__hero-section {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    gap: 40px;
  }

  .page-payment-methods__hero-content {
    flex: 1;
    margin-bottom: 0;
  }

  .page-payment-methods__hero-image-container {
    flex: 1;
    text-align: right;
  }

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

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

  .page-payment-methods__hero-actions {
    justify-content: flex-start;
  }

  .page-payment-methods__security-content {
    flex-direction: row;
    text-align: left;
  }

  .page-payment-methods__security-image {
    order: 2;
    margin-left: 40px;
  }

  .page-payment-methods__security-text {
    order: 1;
    flex: 1;
  }
}

/* Mobile specific styles */
@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }

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

  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__hero-button {
    width: 80%;
    max-width: 300px;
  }

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

  .page-payment-methods__text-content {
    font-size: 1em;
  }

  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__security-content {
    flex-direction: column;
  }

  .page-payment-methods__security-image {
    max-width: 80%;
  }

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

  /* Ensure content area images are responsive and don't overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    /* Ensure minimum size is respected even with max-width: 100% for content images */
    min-width: 200px;
    min-height: 200px;
  }
  .page-payment-methods__method-icon, .page-payment-methods__security-image {
    width: 100%; /* Take full width of parent container */
    height: auto;
    max-width: 300px; /* Example max-width for mobile for better presentation */
    margin-left: auto;
    margin-right: auto;
  }

  .page-payment-methods__security-image {
    order: unset; /* Reset order for mobile */
    margin-left: auto;
  }

  .page-payment-methods__security-text {
    order: unset; /* Reset order for mobile */
  }
}