.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Body background is #121212 (dark), so text should be light */
  background-color: transparent; /* Main content area background is handled by body and sections */
}

.page-payment-methods__section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #E0B34C; /* Luxury Gold for titles */
  text-align: center;
  margin-bottom: 20px;
}

.page-payment-methods__section-title--light {
  color: #ffffff; /* White for titles on dark backgrounds */
}

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

.page-payment-methods__section-intro--light {
  color: #f0f0f0;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  padding-top: var(--header-offset, 120px); /* Account for fixed header */
  background-color: #0A2463; /* Royal Blue for hero background */
  overflow: hidden;
  min-height: 600px;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  color: #E0B34C; /* Luxury Gold for hero title */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__hero-description {
  font-size: 1.3em;
  color: #ffffff;
  margin-bottom: 40px;
}

.page-payment-methods__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3; /* Subtle overlay */
  display: block;
}

/* Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.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: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-payment-methods__btn-primary {
  background-color: #E0B34C; /* Luxury Gold */
  color: #0A2463; /* Royal Blue text */
  border: 2px solid #E0B34C;
}

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

.page-payment-methods__btn-secondary {
  background-color: transparent;
  color: #E0B34C; /* Luxury Gold text */
  border: 2px solid #E0B34C;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #E0B34C;
  color: #0A2463;
}

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

.page-payment-methods__feature-item.page-payment-methods__card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body */
  color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-payment-methods__feature-title {
  font-size: 1.8em;
  color: #E0B34C;
  margin-bottom: 15px;
}

.page-payment-methods__feature-text {
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Dark background section */
.page-payment-methods__dark-bg {
  background-color: #0A2463; /* Royal Blue */
  color: #ffffff;
}

.page-payment-methods__dark-bg-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark section */
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-payment-methods__method-card {
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.page-payment-methods__method-image {
  width: 100%;
  max-width: 400px; /* Constrain image width */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
  object-fit: cover;
}

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

.page-payment-methods__method-description {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 15px;
  flex-grow: 1; /* Allow description to take available space */
}

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

.page-payment-methods__method-list li {
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-payment-methods__method-list strong {
  color: #E0B34C;
}

/* Withdrawal Process */
.page-payment-methods__withdrawal-process {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.page-payment-methods__withdrawal-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-payment-methods__withdrawal-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-payment-methods__withdrawal-steps {
  flex: 2;
  min-width: 300px;
}

.page-payment-methods__withdrawal-subtitle {
  font-size: 1.8em;
  color: #E0B34C;
  margin-bottom: 15px;
}

.page-payment-methods__step-list,
.page-payment-methods__important-notes {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-payment-methods__step-list li,
.page-payment-methods__important-notes li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
  padding-left: 25px;
  position: relative;
}

.page-payment-methods__step-list li strong {
  color: #E0B34C;
}

.page-payment-methods__step-list li::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #E0B34C;
  color: #0A2463;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-payment-methods__important-notes li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #E0B34C;
  font-size: 1.5em;
  line-height: 1;
}

/* Video Section */
.page-payment-methods__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px; /* Constrain video width */
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.page-payment-methods__video {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.page-payment-methods__video-link {
  display: block;
  text-decoration: none;
}

/* FAQ */
.page-payment-methods__faq-container {
  margin-top: 40px;
}

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

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
}

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

.page-payment-methods__faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: #E0B34C;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #E0B34C;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item.active .page-payment-methods__faq-toggle {
  transform: rotate(45deg); /* Change to X or rotate for active state */
}

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

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

/* Security Tips */
.page-payment-methods__security-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  align-items: center;
}

.page-payment-methods__security-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.page-payment-methods__tip-list {
  flex: 2;
  min-width: 300px;
  list-style: none;
  padding: 0;
}

.page-payment-methods__tip-list li {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #f0f0f0;
  padding-left: 30px;
  position: relative;
}

.page-payment-methods__tip-list li::before {
  content: "✅";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
  line-height: 1.5;
}

/* CTA Section */
.page-payment-methods__cta-section {
  text-align: center;
  padding: 80px 20px;
  background-color: #0A2463; /* Royal Blue */
  color: #ffffff;
}

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

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

  /* Images responsive */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__container,
  .page-payment-methods__video-wrapper,
  .page-payment-methods__withdrawal-image-wrapper,
  .page-payment-methods__security-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Prevent horizontal scroll */
  }
}