.page-payment-methods {
  font-family: 'Arial', sans-serif;
  color: #F2FFF6; /* Default text color for dark background */
  background-color: #08160F; /* Main background color */
}

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

.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small 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%;
  z-index: 0;
  overflow: hidden;
}

.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(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
  border-radius: 10px;
}

.page-payment-methods__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #F2FFF6;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(28px, 5vw, 48px); /* Responsive font size for H1 */
}

.page-payment-methods__description {
  font-size: 1.1em;
  line-height: 1.6;
  color: #A7D9B8;
  margin-bottom: 30px;
}

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

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #F2FFF6;
  border: 2px solid #2E7A4E;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #2E7A4E;
  color: #ffffff;
}

.page-payment-methods__section-title {
  font-size: clamp(24px, 4vw, 38px);
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-payment-methods__text-block {
  font-size: 1em;
  line-height: 1.7;
  color: #A7D9B8;
  text-align: justify;
  margin-bottom: 25px;
}

.page-payment-methods__intro-section,
.page-payment-methods__deposit-guide,
.page-payment-methods__withdraw-guide,
.page-payment-methods__supported-methods,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
}

.page-payment-methods__intro-section {
  background-color: #0A4B2C;
}

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

.page-payment-methods__feature-item {
  background-color: #11271B;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-5px);
}

.page-payment-methods__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__feature-description {
  font-size: 0.95em;
  color: #A7D9B8;
  line-height: 1.6;
}

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

.page-payment-methods__steps-list li {
  background-color: #11271B;
  border-left: 5px solid #2AD16F;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-title {
  font-size: 1.4em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods__step-description {
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.6;
}

.page-payment-methods__step-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 15px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__supported-methods {
  background-color: #0A4B2C;
}

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

.page-payment-methods__method-card {
  background-color: #11271B;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.page-payment-methods__method-icon {
  width: 150px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 100px;
}

.page-payment-methods__method-title {
  font-size: 1.3em;
  color: #F2FFF6;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-payment-methods__method-description {
  font-size: 0.9em;
  color: #A7D9B8;
  line-height: 1.5;
}

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

.page-payment-methods__security-item {
  background-color: #11271B;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.page-payment-methods__security-item:hover {
  transform: translateY(-5px);
}

.page-payment-methods__security-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-payment-methods__security-title {
  font-size: 1.5em;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__security-description {
  font-size: 0.95em;
  color: #A7D9B8;
  line-height: 1.6;
}

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

.page-payment-methods__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  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;
  cursor: pointer;
  font-size: 1.15em;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #11271B;
  transition: background-color 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background-color: #1E3A2A;
}

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

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

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

.page-payment-methods__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: #A7D9B8;
  line-height: 1.7;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  background-color: #1E3A2A;
}

.page-payment-methods__cta-section {
  background: linear-gradient(90deg, #11A84E 0%, #22C768 100%);
  text-align: center;
  padding: 80px 0;
}

.page-payment-methods__cta-section .page-payment-methods__section-title,
.page-payment-methods__cta-section .page-payment-methods__text-block {
  color: #ffffff;
}

.page-payment-methods__cta-section .page-payment-methods__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Global image reset for responsive */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Ensure images are not too small */
  min- /* Adjust min-height as needed for aspect ratio */
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    padding: 15px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(24px, 4.5vw, 42px);
  }
  .page-payment-methods__description {
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: clamp(22px, 3.5vw, 34px);
  }
  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-guide,
  .page-payment-methods__withdraw-guide,
  .page-payment-methods__supported-methods,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__security-features {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-bottom: 40px;
  }
  .page-payment-methods__main-title {
    font-size: clamp(22px, 6vw, 36px);
  }
  .page-payment-methods__description {
    font-size: 0.95em;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to container of buttons */
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.95em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__container {
    padding: 0 15px; /* Ensure content is not too wide */
  }

  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-guide,
  .page-payment-methods__withdraw-guide,
  .page-payment-methods__supported-methods,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 30px 0;
  }

  .page-payment-methods__section-title {
    font-size: clamp(20px, 5vw, 30px);
    margin-bottom: 30px;
  }
  .page-payment-methods__text-block {
    font-size: 0.9em;
  }
  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__security-item {
    padding: 20px;
  }
  .page-payment-methods__feature-title,
  .page-payment-methods__method-title,
  .page-payment-methods__security-title {
    font-size: 1.3em;
  }
  .page-payment-methods__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__deposit-guide .page-payment-methods__container,
  .page-payment-methods__withdraw-guide .page-payment-methods__container,
  .page-payment-methods__supported-methods .page-payment-methods__container,
  .page-payment-methods__security-section .page-payment-methods__container,
  .page-payment-methods__faq-section .page-payment-methods__container,
  .page-payment-methods__cta-section .page-payment-methods__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
  }
  .page-payment-methods__hero-content {
    padding: 15px;
  }
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
  }
}