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

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

.page-payment-methods__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 50px;
  background-color: #0A4B2C;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-payment-methods__hero-image {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 10;
  padding: 30px 15px;
  max-width: 900px;
  box-sizing: border-box;
  color: #F2FFF6;
}

.page-payment-methods__main-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

.page-payment-methods__intro-text {
  font-size: 18px;
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

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

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: #57E38D; /* Glow */
  border: 2px solid #57E38D;
}

.page-payment-methods__btn-secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  color: #F2FFF6;
}

.page-payment-methods__section {
  padding: 60px 0;
  border-bottom: 1px solid #1E3A2A; /* Divider */
}

.page-payment-methods__section:last-of-type {
  border-bottom: none;
}

.page-payment-methods__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold */
}

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

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

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

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  min-height: 200px;
}

.page-payment-methods__card-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #57E38D; /* Glow */
}

.page-payment-methods__text-block {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 30px;
  color: #A7D9B8;
  text-align: left;
}

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

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

.page-payment-methods__step-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
  min-height: 200px;
}

.page-payment-methods__step-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #57E38D; /* Glow */
}

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

.page-payment-methods__list-item {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
  color: #F2FFF6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__list-item strong {
  color: #F2C14E; /* Gold */
}

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

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Border */
  overflow: hidden;
  background: #11271B; /* Card BG */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2FFF6;
}

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

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: rgba(46, 122, 78, 0.2); /* Slightly lighter green on hover */
}

.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #57E38D; /* Glow */
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  line-height: 1;
}

details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  background: #0A4B2C; /* Deep Green */
  border-radius: 0 0 5px 5px;
  color: #A7D9B8;
  font-size: 16px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 42px;
  }
  .page-payment-methods__section-title {
    font-size: 32px;
  }
  .page-payment-methods__card-grid,
  .page-payment-methods__step-by-step {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .page-payment-methods__hero-image img {
    object-fit: contain !important; /* Ensure image is not cropped */
    aspect-ratio: unset; /* Remove fixed aspect ratio */
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
    padding-bottom: 30px;
  }
  .page-payment-methods__hero-content {
    padding: 20px 10px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(28px, 8vw, 36px) !important; /* Use clamp for H1 */
    margin-bottom: 15px;
  }
  .page-payment-methods__intro-text {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px;
    padding: 12px 20px;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__section-title {
    font-size: clamp(24px, 7vw, 30px) !important;
    margin-bottom: 15px;
  }
  .page-payment-methods__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-payment-methods__card-grid,
  .page-payment-methods__step-by-step {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  .page-payment-methods__card,
  .page-payment-methods__step-card {
    padding: 20px;
  }
  .page-payment-methods__card img,
  .page-payment-methods__step-card img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
  }
  .page-payment-methods__card-title,
  .page-payment-methods__step-title {
    font-size: 20px;
  }
  .page-payment-methods__text-block {
    font-size: 15px;
    margin-top: 20px;
  }
  .page-payment-methods__list-item {
    padding: 15px 20px;
    font-size: 15px;
  }
  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
    padding: 15px;
  }
  .page-payment-methods__faq-qtext {
    font-size: 16px;
  }
  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }
  /* General image responsiveness */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__cta-buttons,
  .page-payment-methods__card-grid,
  .page-payment-methods__step-by-step,
  .page-payment-methods__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__hero-image {
    max-height: 400px; /* Adjust hero image height for mobile */
  }
  .page-payment-methods__hero-image img {
    object-fit: contain !important;
    aspect-ratio: unset !important;
  }
  .page-payment-methods__overview-section .page-payment-methods__card-grid,
  .page-payment-methods__deposit-guide .page-payment-methods__step-by-step,
  .page-payment-methods__withdrawal-guide .page-payment-methods__step-by-step {
    overflow-x: hidden;
  }
}