.page-payment-methods {
  color: #ffffff; /* Default text color for dark body background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: #000000; /* Ensure consistency with body background */
}

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

.page-payment-methods__hero-section {
  position: relative;
  padding: 120px 0 60px; /* Adjusted padding-top for header offset */
  text-align: center;
  background-color: #000000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-payment-methods__hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
  z-index: 1;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-payment-methods__hero-section > .page-payment-methods__container {
  position: relative;
  z-index: 2;
}

.page-payment-methods__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #26A9E0; /* Brand color for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #f0f0f0;
}

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

.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;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
}

.page-payment-methods__btn-primary {
  background: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

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

.page-payment-methods__btn-secondary {
  background: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-payment-methods__btn-secondary:hover {
  background: #f0f0f0;
  color: #1e87b6;
  border-color: #1e87b6;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 40px;
  color: #26A9E0;
}

.page-payment-methods__light-bg {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-payment-methods__dark-bg {
  background-color: #000000;
  color: #ffffff;
  padding: 80px 0;
}

.page-payment-methods__why-choose-us .page-payment-methods__section-title,
.page-payment-methods__how-to-deposit .page-payment-methods__section-title,
.page-payment-methods__important-notes .page-payment-methods__section-title,
.page-payment-methods__cta-section .page-payment-methods__section-title {
  color: #26A9E0;
}

.page-payment-methods__features-grid,
.page-payment-methods__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-payment-methods__feature-item,
.page-payment-methods__step-item {
  background: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
}

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

.page-payment-methods__feature-icon,
.page-payment-methods__step-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-payment-methods__feature-text,
.page-payment-methods__step-text {
  font-size: 1em;
  color: #555555;
}

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

.page-payment-methods__card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-payment-methods__card-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-payment-methods__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__card-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.page-payment-methods__card-link:hover {
  background: #26A9E0;
  color: #ffffff;
}

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

.page-payment-methods__how-to-deposit .page-payment-methods__intro-text,
.page-payment-methods__how-to-withdraw .page-payment-methods__intro-text {
  color: #555555; /* For light background */
}

.page-payment-methods__how-to-withdraw .page-payment-methods__intro-text {
  color: #f0f0f0; /* For dark background */
}

.page-payment-methods__cta-center {
  text-align: center;
  margin-top: 50px;
}

.page-payment-methods__note-item {
  background: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #333333;
  text-align: center;
}

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

.page-payment-methods__note-icon {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-payment-methods__note-text {
  font-size: 1em;
  color: #555555;
}

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

.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #000000;
  color: #ffffff;
}

.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__faq-item {
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease;
}

.page-payment-methods__faq-question:hover {
  background: rgba(255, 255, 255, 0.1);
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #f0f0f0;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Ensure it expands sufficiently */
  padding: 15px 25px 25px;
}

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

.page-payment-methods__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #ffffff;
  color: #333333;
}

.page-payment-methods__cta-section .page-payment-methods__description {
  color: #555555;
}

.page-payment-methods__hero-section {
  padding-top: var(--header-offset, 120px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 2.8em;
  }

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

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }

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

  .page-payment-methods__hero-section {
    padding: 100px 0 40px; /* Adjust for smaller screens */
    padding-top: var(--header-offset, 120px) !important;
  }

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

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

  .page-payment-methods__cta-group {
    flex-direction: column;
    gap: 15px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 20px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-payment-methods__light-bg,
  .page-payment-methods__dark-bg {
    padding: 60px 0;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__method-cards,
  .page-payment-methods__steps-grid,
  .page-payment-methods__notes-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__feature-item,
  .page-payment-methods__step-item,
  .page-payment-methods__card,
  .page-payment-methods__note-item {
    padding: 20px;
  }

  .page-payment-methods__feature-title,
  .page-payment-methods__step-title,
  .page-payment-methods__card-title,
  .page-payment-methods__note-title {
    font-size: 1.3em;
  }

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

  .page-payment-methods__video-section {
    padding-top: var(--header-offset, 120px) !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-payment-methods__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !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__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

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

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