.page-payment-methods {
  background-color: #08160F; /* Background */
  color: #F2FFF6; /* Text Main */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__section-padding {
  padding: 60px 0;
}

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

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

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background-color: rgba(8, 22, 15, 0.7); /* Deep Green with transparency for readability */
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: #F2FFF6; /* Text Main */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.15rem;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-payment-methods__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
  color: #F2FFF6; /* Text Main */
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: #2AD16F; /* Brighter green for contrast */
  text-decoration: none;
  border: 2px solid #2AD16F; /* Brighter green border */
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  margin-left: 15px;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6; /* Text Main */
}

.page-payment-methods__section-title {
  font-size: 2.5rem;
  color: #F2FFF6; /* Text Main */
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
}

.page-payment-methods__section-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Text Secondary */
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

.page-payment-methods__method-card {
  background-color: #11271B; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #2E7A4E; /* Border */
  transition: transform 0.3s ease;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
}

.page-payment-methods__method-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-height: 200px; /* Limit height for consistency */
  object-fit: cover;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-payment-methods__method-title {
  font-size: 1.6rem;
  color: #F2FFF6; /* Text Main */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__method-description {
  font-size: 1rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-payment-methods__process-wrapper {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

.page-payment-methods__process-list {
  list-style: none;
  padding: 0;
  flex: 1;
}

.page-payment-methods__process-item {
  background-color: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 5px solid #2AD16F; /* Deep Green accent */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__process-item:last-child {
  margin-bottom: 0;
}

.page-payment-methods__process-item strong {
  color: #F2FFF6; /* Text Main */
  font-size: 1.2rem;
  display: block;
  margin-bottom: 5px;
}

.page-payment-methods__process-item p {
  color: #A7D9B8; /* Text Secondary */
  font-size: 0.95rem;
  text-align: left;
}

.page-payment-methods__image-half-width {
  flex: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover;
}

.page-payment-methods__btn-center {
  margin-left: auto;
  margin-right: auto;
  display: block;
  width: fit-content;
  margin-top: 40px;
}

.page-payment-methods__dark-section {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2FFF6; /* Text Main */
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-payment-methods__security-list li {
  background-color: #11271B; /* Card BG */
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #57E38D; /* Glow accent */
  font-size: 1.05rem;
  color: #A7D9B8; /* Text Secondary */
}

.page-payment-methods__security-list li strong {
  color: #F2FFF6; /* Text Main */
  display: block;
  margin-bottom: 5px;
}

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

.page-payment-methods__faq-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2rem;
  color: #F2FFF6; /* Text Main */
  font-weight: bold;
  background-color: #1E3A2A; /* Divider slightly darker */
  list-style: none;
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: #2AD16F;
  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;
  background-color: #11271B; /* Card BG */
  color: #A7D9B8; /* Text Secondary */
  font-size: 1rem;
  border-top: 1px solid #2E7A4E; /* Border */
}

.page-payment-methods__text-center {
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-payment-methods__process-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .page-payment-methods__image-half-width {
    max-width: 600px;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__section-padding {
    padding: 40px 0;
  }

  .page-payment-methods__container {
    padding: 0 15px;
  }

  .page-payment-methods__hero-content {
    padding: 15px;
  }

  .page-payment-methods__hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

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

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    margin-left: 0;
  }

  .page-payment-methods__btn-secondary {
    margin-top: 15px;
  }

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-payment-methods__section-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .page-payment-methods__methods-grid {
    gap: 20px;
  }

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

  .page-payment-methods__method-title {
    font-size: 1.4rem;
  }

  .page-payment-methods__method-description {
    font-size: 0.9rem;
  }

  .page-payment-methods__process-item {
    padding: 15px;
  }

  .page-payment-methods__process-item strong {
    font-size: 1.1rem;
  }

  .page-payment-methods__process-item p {
    font-size: 0.9rem;
  }

  .page-payment-methods__security-list {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-payment-methods__security-list li {
    font-size: 0.95rem;
  }

  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  .page-payment-methods__faq-answer {
    font-size: 0.9rem;
    padding: 15px;
  }

  /* Mobile image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__overview-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__deposit-process-section,
  .page-payment-methods__withdrawal-process-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__final-cta {
    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: 10px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .page-payment-methods__hero-content {
    max-width: calc(100% - 30px) !important;
  }

  .page-payment-methods__process-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}