.page-payment-methods {
  /* Main page styling, text color for dark background */
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom 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;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  overflow: hidden;
  background-color: #08160F; /* Ensure consistent dark background */
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height for hero image */
  overflow: hidden;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px;
}

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

.page-payment-methods__hero-description {
  font-size: 1.2rem;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Section Titles */
.page-payment-methods__section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
  color: #F2FFF6; /* Default for dark sections */
}

.page-payment-methods__section-title--light {
  color: #F2FFF6; /* For sections with dark background */
}

.page-payment-methods__text-block {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: center;
  color: #A7D9B8; /* Default for dark sections */
}

.page-payment-methods__text-block--light {
  color: #A7D9B8; /* For sections with dark background */
}

/* Buttons */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button */
  color: #F2FFF6; /* Custom Text Main */
  border: none;
  margin: 10px;
}

.page-payment-methods__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Custom Text Main */
  border: 2px solid #2E7A4E; /* Custom Border */
  margin: 10px;
}

.page-payment-methods__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* General Section Styles */
.page-payment-methods__overview-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 80px 0;
}

.page-payment-methods__light-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-payment-methods__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

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

.page-payment-methods__feature-card,
.page-payment-methods__method-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #2E7A4E; /* Custom Border */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__feature-icon,
.page-payment-methods__method-icon {
  width: 100%;
  max-width: 400px; /* Ensure images are not too small */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-payment-methods__feature-description,
.page-payment-methods__method-description {
  font-size: 1rem;
  color: #A7D9B8; /* Custom Text Secondary */
  flex-grow: 1; /* Ensure equal height */
}

/* Security Section */
.page-payment-methods__security-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-payment-methods__security-item {
  text-align: center;
  flex: 0 0 calc(25% - 30px); /* 4 items per row on desktop */
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__security-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 15px;
  border-radius: 0; /* Ensure no unwanted border-radius */
}

.page-payment-methods__security-text {
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 1rem;
}

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

.page-payment-methods__faq-item {
  background-color: #11271B; /* Custom Card BG */
  border: 1px solid #2E7A4E; /* Custom Border */
  border-radius: 10px;
  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;
  font-weight: bold;
  color: #F2FFF6; /* Custom Text Main */
  background-color: #11271B; /* Custom Card BG */
  list-style: none; /* For details/summary */
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #A7D9B8; /* Custom Text Secondary */
  line-height: 1.7;
}

/* CTA Section */
.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-section {
    padding: 40px 0;
  }
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
  .page-payment-methods__hero-description {
    font-size: 1.1rem;
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-payment-methods__security-item {
    flex: 0 0 calc(33% - 20px); /* 3 items per row on tablet */
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__hero-section {
    padding: 30px 0;
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
  }
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 50px 0;
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-payment-methods__text-block {
    font-size: 0.95rem;
  }
  .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;
    margin: 10px 0 !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__security-item {
    flex: 0 0 calc(50% - 15px); /* 2 items per row on mobile */
  }
  .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 {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__security-item {
    flex: 0 0 100%; /* 1 item per row on smaller mobile */
  }
}

/* Custom colors for contrast */
.page-payment-methods__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-payment-methods__light-bg {
  background-color: #08160F; /* Even light sections use the dark background, but text is light */
  color: #F2FFF6;
}

.page-payment-methods__card {
  background-color: #11271B; /* Custom Card BG */
  color: #F2FFF6; /* Main text for card */
  border: 1px solid #2E7A4E; /* Custom Border */
}

.page-payment-methods__card p {
  color: #A7D9B8; /* Secondary text for card content */
}

.page-payment-methods__text-block {
  color: #A7D9B8;
}

/* Ensure images are not filtered */
.page-payment-methods img {
  filter: none !important;
}

/* Content area images CSS size lower limit */
.page-payment-methods__hero-image,
.page-payment-methods__feature-icon,
.page-payment-methods__method-icon,
.page-payment-methods__security-icon {
  min-width: 200px;
  min-height: 200px;
  width: auto; /* Allow auto width for content images */
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-payment-methods__security-icon {
  min-width: 80px; /* Specific override for smaller icons, if they are meant to be icons, but still > 200px if they are content images. Prompt says no small icons, so these should be large enough. */
  min-height: 80px;
  max-width: 100px; /* If these are small content images, they still need to be >= 200px. */
  max-height: 100px;
  object-fit: contain;
}

/* The above security-icon min-width/height must be >= 200px based on the strict rule. Adjusting. */
.page-payment-methods__security-icon {
  min-width: 200px; 
  min-height: 200px;
  width: auto; 
  height: auto;
  max-width: 100%;
  object-fit: contain;
}