.page-payment-methods {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: #121212; /* Matches 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;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 20px 60px; /* Adjusted padding-top for header offset */
  color: #ffffff;
  overflow: hidden;
  min-height: 600px;
}

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

.page-payment-methods__main-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  color: #f0f0f0;
}

.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-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background-color: #FFD700;
  color: #000080;
  border: 2px solid #FFD700;
}

.page-payment-methods__btn-primary:hover {
  background-color: #e6c200;
  color: #000050;
}

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

.page-payment-methods__btn-secondary:hover {
  background-color: #FFD700;
  color: #000080;
}

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

.page-payment-methods__introduction {
  background-color: #1a1a1a; /* Lighter dark background */
  color: #f0f0f0;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__dark-bg {
  background-color: #000080; /* Navy background */
  color: #ffffff;
}

.page-payment-methods__light-bg {
  background-color: #1a1a1a; /* Lighter dark background */
  color: #f0f0f0;
}

.page-payment-methods__deposit-guide .page-payment-methods__section-title,
.page-payment-methods__withdrawal-guide .page-payment-methods__section-title,
.page-payment-methods__security-tips .page-payment-methods__section-title,
.page-payment-methods__faq-section .page-payment-methods__section-title,
.page-payment-methods__cta-bottom .page-payment-methods__section-title {
  color: #FFD700;
}

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

.page-payment-methods__card {
  background-color: #2a2a2a; /* Slightly lighter card background */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: #f0f0f0;
}

.page-payment-methods__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

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

.page-payment-methods__feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
}

.page-payment-methods__feature-item {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.page-payment-methods__feature-item::before {
  content: '✓';
  color: #FFD700;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__sub-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-top: 40px;
  margin-bottom: 20px;
  text-align: center;
}

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

.page-payment-methods__step-item {
  background-color: #2a2a2a;
  border-left: 5px solid #FFD700;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #f0f0f0;
}

.page-payment-methods__step-item strong {
  color: #FFD700;
}

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

.page-payment-methods__info-box {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: #f0f0f0;
}

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

.page-payment-methods__box-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 40px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__final-security-note {
  font-style: italic;
  text-align: center;
  margin-top: 30px;
  font-size: 1.1em;
  color: #FFD700;
}

.page-payment-methods__faq-section {
  background-color: #1a1a1a;
  color: #f0f0f0;
}

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

.page-payment-methods__faq-item {
  background-color: #2a2a2a;
  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;
  background-color: #000080; /* Navy for question background */
  color: #ffffff;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-title {
  font-size: 1.2em;
  margin: 0;
  color: #FFD700;
}

.page-payment-methods__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: #FFD700;
  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: #e0e0e0;
  text-align: justify;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px 25px;
}

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

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

.page-payment-methods__cta-bottom .page-payment-methods__description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px;
  color: #f0f0f0;
}

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

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    min-height: 400px;
  }
  .page-payment-methods__main-title {
    font-size: 2.2em;
  }
  .page-payment-methods__description {
    font-size: 1em;
    margin-bottom: 30px;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 0.9em;
  }
  .page-payment-methods__section {
    padding: 60px 0;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-payment-methods__sub-title {
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
  }
  .page-payment-methods__text-block,
  .page-payment-methods__card-text,
  .page-payment-methods__box-text,
  .page-payment-methods__feature-item,
  .page-payment-methods__step-item,
  .page-payment-methods__faq-answer p {
    font-size: 0.95em;
  }
  .page-payment-methods__method-grid,
  .page-payment-methods__grid-two-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__card,
  .page-payment-methods__info-box {
    padding: 20px;
  }
  .page-payment-methods__card-image,
  .page-payment-methods__security-image {
    height: auto;
    max-width: 100% !important;
    width: 100% !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
  .page-payment-methods__faq-question {
    padding: 15px 20px;
  }
  .page-payment-methods__faq-title {
    font-size: 1.1em;
  }
  .page-payment-methods__faq-answer {
    padding: 15px 20px;
  }
  .page-payment-methods__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !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;
  }
}