.page-payment-methods {
  font-family: 'Arial', sans-serif;
  color: var(--text-main);
  background-color: var(--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;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
}

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

.page-payment-methods__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -150px; /* Adjust to place content below image, not overlapping */
  position: relative;
  z-index: 1;
  background: var(--card-bg);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border);
}

.page-payment-methods__hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 30px;
}

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 30px;
  background: var(--button-gradient);
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-payment-methods__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-payment-methods__section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--gold);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-payment-methods__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--glow);
  border-radius: 2px;
}

.page-payment-methods__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 30px;
  text-align: center;
}

.page-payment-methods__highlight {
  color: var(--glow);
  font-weight: 600;
}

.page-payment-methods__overview-section,
.page-payment-methods__deposit-methods-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 80px 0;
  background-color: var(--background);
}

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

.page-payment-methods__feature-item {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider);
  transition: transform 0.3s ease;
}

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

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

.page-payment-methods__feature-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-payment-methods__feature-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.page-payment-methods__method-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider);
  transition: transform 0.3s ease;
}

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

.page-payment-methods__method-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  display: block;
}

.page-payment-methods__method-title {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 15px;
  line-height: 1.4;
}

.page-payment-methods__method-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-payment-methods__method-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__method-details li {
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.page-payment-methods__detail-icon {
  color: var(--glow);
  font-size: 1.2rem;
  margin-right: 10px;
  font-weight: bold;
}

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

.page-payment-methods__info-card {
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider);
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  overflow: hidden;
}

.page-payment-methods__info-image {
  width: 100%;
  max-width: 50%; /* Half width for desktop */
  height: auto;
  object-fit: cover;
  display: block;
}

.page-payment-methods__info-content {
  flex: 1;
  padding: 40px;
  box-sizing: border-box;
}

.page-payment-methods__info-title {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 20px;
  line-height: 1.3;
}

.page-payment-methods__info-content p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 25px;
}

.page-payment-methods__withdrawal-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__withdrawal-steps li {
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.page-payment-methods__step-icon {
  background: var(--deep-green);
  color: var(--text-main);
  width: 28px;
  height: 28px;
  min-width: 28px; /* Ensure icon doesn't shrink */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-right: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.page-payment-methods__notes-card {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  margin-top: 50px;
}

.page-payment-methods__notes-title {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 25px;
  text-align: center;
}

.page-payment-methods__notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__notes-list li {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.page-payment-methods__note-icon {
  color: var(--gold);
  font-size: 1.4rem;
  margin-right: 15px;
  min-width: 20px;
}

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

.page-payment-methods__security-item {
  background: var(--card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--divider);
  transition: transform 0.3s ease;
}

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

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

.page-payment-methods__security-title {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 15px;
}

.page-payment-methods__security-item p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

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

.page-payment-methods__faq-item {
  background: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--divider);
  overflow: hidden;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-main);
  font-weight: 600;
  background: var(--deep-green);
  border-bottom: 1px solid var(--divider);
  list-style: none; /* For details/summary */
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom: 1px solid var(--border);
}

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

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--glow);
  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: 20px 25px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
  .page-payment-methods__hero-content {
    margin-top: -100px;
    padding: 30px 15px;
  }
  .page-payment-methods__hero-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  .page-payment-methods__hero-description {
    font-size: 1rem;
  }
  .page-payment-methods__info-image {
    max-width: 100%; /* Full width for mobile */
  }
  .page-payment-methods__info-content {
    padding: 30px;
  }
  .page-payment-methods__info-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 0 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important;
  }

  .page-payment-methods__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }

  .page-payment-methods__hero-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-payment-methods__hero-description {
    font-size: 0.95rem;
  }

  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 30px;
  }

  .page-payment-methods__text-block {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-methods-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__method-card-grid,
  .page-payment-methods__security-grid {
    gap: 20px;
  }

  .page-payment-methods__feature-item,
  .page-payment-methods__method-card,
  .page-payment-methods__security-item {
    padding: 25px;
  }

  .page-payment-methods__feature-title,
  .page-payment-methods__method-title,
  .page-payment-methods__security-title {
    font-size: 1.3rem;
  }

  .page-payment-methods__method-details li,
  .page-payment-methods__notes-list li,
  .page-payment-methods__withdrawal-steps li {
    font-size: 0.9rem;
  }

  .page-payment-methods__info-card {
    flex-direction: column;
  }

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

  .page-payment-methods__info-content {
    padding: 25px;
  }

  .page-payment-methods__info-title {
    font-size: 1.5rem;
  }

  .page-payment-methods__notes-card {
    padding: 25px;
    margin-top: 30px;
  }

  .page-payment-methods__notes-title {
    font-size: 1.4rem;
  }

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

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

  /* Ensure all images are responsive */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Ensure all video elements are responsive (if any) */
  .page-payment-methods video,
  .page-payment-methods__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* Video/Image/Button containers mobile adaptation */
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__video-section,
  .page-payment-methods__video-container,
  .page-payment-methods__video-wrapper,
  .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;
    overflow: hidden !important;
  }

  /* Buttons specific mobile styles */
  .page-payment-methods__cta-button,
  .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;
  }

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