.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: var(--dark-bg, #0d0d0d); /* Assuming dark-bg from shared.css is dark */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-payment-methods__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-content {
  z-index: 1;
  max-width: 900px;
  margin-bottom: 30px;
}

.page-payment-methods__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: #ffffff; /* White text on brand blue background */
}

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

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Make background image subtle */
  z-index: 0;
}

.page-payment-methods__section {
  padding: 60px 20px;
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods__section:nth-of-type(odd) {
  background-color: #f8f8f8;
}

.page-payment-methods__overview {
  background-color: #ffffff;
}

.page-payment-methods__withdrawal-methods {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods__faq {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods__cta-bottom {
  text-align: center;
}

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

.page-payment-methods__heading {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 30px;
  text-align: center;
}

.page-payment-methods__dark-bg .page-payment-methods__heading {
  color: #ffffff;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
}

.page-payment-methods__image {
  display: block;
  margin: 40px auto;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-payment-methods__card {
  background-color: #ffffff;
  color: #333333;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-payment-methods__card-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-payment-methods__dark-bg .page-payment-methods__card {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.page-payment-methods__dark-bg .page-payment-methods__card-title {
  color: #ffffff;
}

.page-payment-methods__card-description {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-payment-methods__card-link {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-align: center;
}

.page-payment-methods__card-link:hover {
  background-color: #1e87b6;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  margin: 10px;
  cursor: pointer;
  border: 2px solid transparent;
}

.page-payment-methods__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border-color: #EA7C07;
}

.page-payment-methods__btn-primary:hover {
  background-color: #d16e06;
  border-color: #d16e06;
}

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #26A9E0;
  border-color: #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-payment-methods__btn-center {
  display: block;
  margin: 30px auto 0 auto;
  max-width: 250px;
}

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

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

.page-payment-methods__list-item {
  background-color: #ffffff;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #26A9E0;
}

.page-payment-methods__list-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
}

.page-payment-methods__list-description {
  font-size: 1em;
  color: #555555;
}

.page-payment-methods__info-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.page-payment-methods__info-cards .page-payment-methods__card {
  flex: 1;
  max-width: 45%;
  text-align: center;
}

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

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-payment-methods__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 1.1em;
  color: #ffffff;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }

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

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-payment-methods__hero-section {
    padding: 40px 15px;
  }

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

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

  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .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: 5px 0;
    padding: 12px 20px;
  }

  .page-payment-methods__section,
  .page-payment-methods__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-payment-methods__method-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__card {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__info-cards {
    flex-direction: column;
    gap: 20px;
  }

  .page-payment-methods__info-cards .page-payment-methods__card {
    max-width: 100%;
  }

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

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

  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}