.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light backgrounds */
  background-color: #f5f5f5; /* Default light background for light sections */
}

.page-payment-methods__dark-section {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark backgrounds */
}

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 40px;
  background-color: #08160F;
  color: #F2FFF6;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
}

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

.page-payment-methods__hero-content {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-payment-methods__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #A7D9B8;
}

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

.page-payment-methods__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  background-color: transparent;
  border: 2px solid #2AD16F;
  color: #2AD16F;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

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

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  color: inherit;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-payment-methods__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
  max-width: 800px;
}

.page-payment-methods__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  text-align: justify;
  color: inherit;
}

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

.page-payment-methods__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-payment-methods__card {
  background-color: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

.page-payment-methods__card-dark {
  background-color: #11271B;
  color: #F2FFF6;
  border: 1px solid #2E7A4E;
}

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

.page-payment-methods__feature-title {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: inherit;
}

.page-payment-methods__feature-text {
  font-size: 1em;
  color: inherit;
}

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

.page-payment-methods__e-wallet-item {
  text-align: center;
  padding: 30px;
  border-radius: 10px;
  background-color: #11271B;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #F2FFF6;
}

.page-payment-methods__e-wallet-logo {
  width: 100px;
  height: 100px;
  margin-bottom: 15px;
  object-fit: contain;
}

.page-payment-methods__e-wallet-name {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-payment-methods__e-wallet-description {
  font-size: 1em;
  color: #A7D9B8;
}

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

.page-payment-methods__crypto-item {
  padding: 25px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-payment-methods__crypto-name {
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #11A84E;
}

.page-payment-methods__crypto-description {
  font-size: 1em;
  color: #333333;
}

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

.page-payment-methods__guide-item {
  background-color: #11271B;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F2FFF6;
}

.page-payment-methods__guide-step-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #F2C14E; /* Gold color for step titles */
}

.page-payment-methods__guide-step-description {
  font-size: 1em;
  color: #A7D9B8;
}

.page-payment-methods__inline-link {
  color: #2AD16F;
  text-decoration: underline;
}

.page-payment-methods__inline-link:hover {
  color: #57E38D;
}

.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-payment-methods__security-feature-item {
  background-color: #11271B;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #F2FFF6;
}

.page-payment-methods__security-feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #57E38D; /* Glow color for security titles */
}

.page-payment-methods__security-feature-description {
  font-size: 1em;
  color: #A7D9B8;
}

.page-payment-methods__faq-list {
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #333333;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #f9f9f9;
  color: #11A84E;
  list-style: none;
}

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

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #11A84E;
  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: 15px 25px 20px;
  font-size: 1em;
  color: #333333;
  background-color: #ffffff;
}

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

/* --- Responsive Styles --- */

/* Mobile-specific styles for images and containers */
@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 10px !important; /* Specific top padding for mobile hero */
    padding-bottom: 20px;
  }

  .page-payment-methods__hero-image-wrapper {
    max-height: 300px;
  }

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

  .page-payment-methods__main-title {
    font-size: 2em;
  }

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

  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .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-wrap: wrap !important;
    gap: 10px;
    flex-direction: column; /* Ensure vertical stacking for multiple buttons */
  }

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

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

  .page-payment-methods__section-description {
    font-size: 0.95em;
  }

  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  .page-payment-methods__introduction-section,
  .page-payment-methods__bank-transfer-section,
  .page-payment-methods__e-wallet-section,
  .page-payment-methods__cryptocurrency-section,
  .page-payment-methods__deposit-guide-section,
  .page-payment-methods__withdrawal-guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
  }

  .page-payment-methods__feature-grid,
  .page-payment-methods__e-wallet-list,
  .page-payment-methods__crypto-list,
  .page-payment-methods__guide-list,
  .page-payment-methods__security-features-list {
    grid-template-columns: 1fr; /* Stack items vertically */
    gap: 15px;
    padding: 0 15px;
  }

  .page-payment-methods__feature-item,
  .page-payment-methods__e-wallet-item,
  .page-payment-methods__crypto-item,
  .page-payment-methods__guide-item,
  .page-payment-methods__security-feature-item {
    padding: 20px;
  }

  .page-payment-methods__feature-title,
  .page-payment-methods__e-wallet-name,
  .page-payment-methods__crypto-name,
  .page-payment-methods__guide-step-title,
  .page-payment-methods__security-feature-title {
    font-size: 1.2em;
  }

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

  .page-payment-methods__faq-answer {
    padding: 10px 20px 15px;
  }
}

/* Tablet-specific styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .page-payment-methods__hero-content {
    padding: 30px;
  }

  .page-payment-methods__main-title {
    font-size: 3em;
  }

  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }

  .page-payment-methods__container {
    padding: 30px;
  }

  .page-payment-methods__section-title {
    font-size: 2.2em;
  }

  .page-payment-methods__section-description {
    font-size: 1em;
  }

  .page-payment-methods__feature-grid,
  .page-payment-methods__e-wallet-list,
  .page-payment-methods__crypto-list,
  .page-payment-methods__guide-list,
  .page-payment-methods__security-features-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .page-payment-methods__faq-question {
    font-size: 1.05em;
  }
}