:root {
  --page-payment-methods-bg: #08160F;
  --page-payment-methods-card-bg: #11271B;
  --page-payment-methods-text-main: #F2FFF6;
  --page-payment-methods-text-secondary: #A7D9B8;
  --page-payment-methods-border: #2E7A4E;
  --page-payment-methods-glow: #57E38D;
  --page-payment-methods-gold: #F2C14E;
  --page-payment-methods-divider: #1E3A2A;
  --page-payment-methods-deep-green: #0A4B2C;
  --page-payment-methods-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-payment-methods-primary-color: #11A84E; /* Main color from prompt */
  --page-payment-methods-secondary-color: #22C768; /* Auxiliary color from prompt */
}

.page-payment-methods {
  background-color: var(--page-payment-methods-bg);
  color: var(--page-payment-methods-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden; /* Ensure no overflow from image */
}

.page-payment-methods__hero-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
  border-radius: 10px;
}

.page-payment-methods__hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: 700;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 1.1rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 30px;
}

/* General Section Styling */
.page-payment-methods__section {
  padding: 60px 20px;
  border-bottom: 1px solid var(--page-payment-methods-divider);
}

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

.page-payment-methods__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--page-payment-methods-gold);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-payment-methods__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--page-payment-methods-glow);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-payment-methods__text-block {
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

.page-payment-methods__note {
  font-style: italic;
  font-size: 0.95rem;
  color: var(--page-payment-methods-text-secondary);
  margin-top: 30px;
  padding: 15px;
  background-color: rgba(17, 168, 78, 0.1); /* Semi-transparent primary color */
  border-left: 4px solid var(--page-payment-methods-primary-color);
  border-radius: 5px;
}

/* CTA Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-payment-methods__cta-buttons--center {
  justify-content: center;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-payment-methods__btn-primary {
  background: var(--page-payment-methods-btn-gradient);
  color: var(--page-payment-methods-text-main);
  border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(42, 209, 111, 0.3);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: var(--page-payment-methods-primary-color);
  border: 2px solid var(--page-payment-methods-primary-color);
}

.page-payment-methods__btn-secondary:hover {
  background: var(--page-payment-methods-primary-color);
  color: var(--page-payment-methods-text-main);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(17, 168, 78, 0.3);
}

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

.page-payment-methods__card {
  background-color: var(--page-payment-methods-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--page-payment-methods-border);
}

.page-payment-methods__card-title {
  font-size: 1.4rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__card-image {
  width: 100%;
  max-width: 400px; /* Ensure images are not too wide for cards */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--page-payment-methods-divider);
  min-height: 200px; /* Min image size */
  min-width: 200px; /* Min image size */
}

.page-payment-methods__card-description {
  font-size: 0.95rem;
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-payment-methods__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
}

.page-payment-methods__feature-list li {
  color: var(--page-payment-methods-text-secondary);
  margin-bottom: 8px;
  padding-left: 25px;
  position: relative;
  font-size: 0.9rem;
}

.page-payment-methods__feature-list li::before {
  content: '✓';
  color: var(--page-payment-methods-glow);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__card-button {
  margin-top: auto; /* Aligns button to the bottom */
  width: calc(100% - 20px); /* Adjust width to fit card padding */
}

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

.page-payment-methods__step-card {
  background-color: var(--page-payment-methods-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--page-payment-methods-border);
}

.page-payment-methods__step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--page-payment-methods-glow);
  margin-bottom: 15px;
}

.page-payment-methods__step-title {
  font-size: 1.3rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods__step-description {
  font-size: 0.95rem;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__bullet-list {
  list-style: disc;
  padding-left: 20px;
  color: var(--page-payment-methods-text-secondary);
}

.page-payment-methods__bullet-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* Security Features */
.page-payment-methods__security-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__security-item {
  background-color: var(--page-payment-methods-card-bg);
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  border: 1px solid var(--page-payment-methods-border);
}

.page-payment-methods__security-image {
  width: 100%;
  max-width: 200px;
  height: auto;
  object-fit: contain;
  margin-bottom: 15px;
  min-height: 200px; /* Min image size */
  min-width: 200px; /* Min image size */
}

.page-payment-methods__security-title {
  font-size: 1.2rem;
  color: var(--page-payment-methods-text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods__security-description {
  font-size: 0.9rem;
  color: var(--page-payment-methods-text-secondary);
}

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

.page-payment-methods__faq-item {
  background-color: var(--page-payment-methods-card-bg);
  border: 1px solid var(--page-payment-methods-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 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--page-payment-methods-text-main);
  cursor: pointer;
  background-color: var(--page-payment-methods-deep-green);
  transition: background-color 0.3s ease;
  user-select: none; /* Prevent text selection on click */
}

.page-payment-methods__faq-question:hover {
  background-color: rgba(10, 75, 44, 0.8); /* Slightly lighter deep green on hover */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: var(--page-payment-methods-primary-color);
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-payment-methods-glow);
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1rem;
  color: var(--page-payment-methods-text-secondary);
  border-top: 1px solid var(--page-payment-methods-divider);
}

.page-payment-methods__faq-answer p {
  margin-bottom: 0;
}

/* Contact CTA Section */
.page-payment-methods__contact-cta {
  background-color: var(--page-payment-methods-deep-green);
  padding: 80px 20px;
  text-align: center;
}

.page-payment-methods__contact-cta .page-payment-methods__container {
  background-color: transparent; /* Override card-bg if applied by default */
}

.page-payment-methods__contact-cta .page-payment-methods__section-title {
  color: var(--page-payment-methods-text-main);
  margin-bottom: 20px;
}

.page-payment-methods__contact-cta .page-payment-methods__section-title::after {
  background: var(--page-payment-methods-glow);
}

.page-payment-methods__contact-cta .page-payment-methods__text-block {
  color: var(--page-payment-methods-text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__hero-section {
    padding: 40px 15px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-payment-methods__section {
    padding: 40px 15px;
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  /* Mobile image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile video responsiveness (if any) */
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video and image containers */
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .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;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }

  /* Specific padding for video section top */
  .page-payment-methods__video-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Button responsiveness */
  .page-payment-methods__cta-button,
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__cta-buttons,
  .page-payment-methods__button-group,
  .page-payment-methods__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
  }

  .page-payment-methods__hero-section {
    padding: 30px 10px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }
  .page-payment-methods__description {
    font-size: 1rem;
  }
  .page-payment-methods__section {
    padding: 30px 10px;
  }
  .page-payment-methods__section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .page-payment-methods__text-block,
  .page-payment-methods__note,
  .page-payment-methods__feature-list li,
  .page-payment-methods__step-description,
  .page-payment-methods__security-description,
  .page-payment-methods__faq-answer p,
  .page-payment-methods__bullet-list li {
    font-size: 0.9rem;
  }
  .page-payment-methods__card-title,
  .page-payment-methods__step-title,
  .page-payment-methods__security-title {
    font-size: 1.1rem;
  }
  .page-payment-methods__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }
}