.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Default light text for dark body background */
  background-color: var(--dark-bg); /* Inherit from shared.css */
}

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

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding-top: var(--header-offset, 120px);
  box-sizing: border-box;
}

.page-payment-methods__hero-content {
  max-width: 800px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #E6B34B;
}

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

.page-payment-methods__section {
  padding: 80px 0;
}

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

.page-payment-methods__subtitle {
  font-size: 1.8em;
  color: #E6B34B;
  margin-top: 30px;
  margin-bottom: 20px;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

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

.page-payment-methods__card {
  background-color: #0A2240;
  border: 1px solid rgba(230, 179, 75, 0.3);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #ffffff;
}

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

.page-payment-methods__list,
.page-payment-methods__ordered-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-payment-methods__list li,
.page-payment-methods__ordered-list li {
  background-color: #0A2240;
  border-left: 5px solid #E6B34B;
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 5px;
  color: #f0f0f0;
  font-size: 1.1em;
}

.page-payment-methods__list li strong,
.page-payment-methods__ordered-list li strong {
  color: #E6B34B;
}

.page-payment-methods__guide-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__step-item {
  flex: 1 1 calc(25% - 30px);
  min-width: 250px;
  background-color: #0A2240;
  border: 1px solid rgba(230, 179, 75, 0.3);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.page-payment-methods__step-icon {
  font-size: 2.5em;
  color: #E6B34B;
  background-color: rgba(230, 179, 75, 0.1);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid #E6B34B;
}

.page-payment-methods__step-title {
  font-size: 1.6em;
  color: #E6B34B;
  margin-bottom: 10px;
}

.page-payment-methods__dark-section {
  background-color: #0A2240;
  color: #ffffff;
}

.page-payment-methods__dark-bg {
  background-color: #0A2240;
  color: #ffffff;
}

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

.page-payment-methods__faq-item {
  background-color: #0A2240;
  border: 1px solid rgba(230, 179, 75, 0.3);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  color: #E6B34B;
  cursor: pointer;
  background-color: #0A2240;
  transition: background-color 0.3s ease;
}

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

.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 20px;
  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; /* Sufficiently large to show content */
  padding: 15px 20px;
}

.page-payment-methods__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-payment-methods__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__image--centered {
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__inline-link {
  color: #E6B34B;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__inline-link:hover {
  text-decoration: underline;
}

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

.page-payment-methods__cta-title {
  font-size: 2.8em;
  color: #E6B34B;
  margin-bottom: 20px;
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  margin-bottom: 40px;
}

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

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

.page-payment-methods__btn-primary {
  background-color: #E6B34B;
  color: #0A2240;
  border: 2px solid #E6B34B;
}

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

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

.page-payment-methods__btn-secondary:hover {
  background-color: #E6B34B;
  color: #0A2240;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__guide-steps {
    flex-direction: column;
    align-items: center;
  }
  .page-payment-methods__step-item {
    flex: 1 1 80%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    height: 500px;
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__section {
    padding: 60px 0;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__text-block,
  .page-payment-methods__list li,
  .page-payment-methods__ordered-list li,
  .page-payment-methods p,
  .page-payment-methods li {
    font-size: 1em;
  }
  .page-payment-methods__grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__step-item {
    min-width: unset;
    width: 100%;
  }
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__cta-description {
    font-size: 1em;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__container,
  .page-payment-methods__card,
  .page-payment-methods__section,
  .page-payment-methods__step-item,
  .page-payment-methods__faq-item,
  .page-payment-methods__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__video-section {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-payment-methods__video-wrapper,
  .page-payment-methods__video-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-section {
    height: 400px;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}