.page-payment-methods {
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
  padding-top: var(--header-offset, 120px); /* Offset for fixed header */
}

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

/* Hero Section */
.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.95) 100%);
  position: relative;
  overflow: hidden;
}

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

.page-payment-methods__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.page-payment-methods__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  margin-bottom: 40px;
  line-height: 1.6;
}

.page-payment-methods__hero-button,
.page-payment-methods__cta-button,
.page-payment-methods__method-button,
.page-payment-methods__final-cta-button {
  display: inline-block;
  background-color: #FFD700; /* Main accent color */
  color: #000000; /* Dark text for light button */
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__hero-button:hover,
.page-payment-methods__cta-button:hover,
.page-payment-methods__method-button:hover,
.page-payment-methods__final-cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* General Section Styling */
.page-payment-methods__why-choose-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__support-section,
.page-payment-methods__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-payment-methods__why-choose-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section {
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

.page-payment-methods__section-title,
.page-payment-methods__why-choose-title,
.page-payment-methods__final-cta-title {
  font-size: 2.8em;
  color: #FFD700;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__section-description,
.page-payment-methods__why-choose-intro,
.page-payment-methods__final-cta-description {
  font-size: 1.1em;
  color: #cccccc;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-payment-methods__feature-card,
.page-payment-methods__method-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__feature-heading,
.page-payment-methods__method-heading {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-payment-methods__feature-text,
.page-payment-methods__method-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
}

.page-payment-methods__method-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__method-steps {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  color: #e0e0e0;
  font-size: 0.95em;
}

.page-payment-methods__method-steps li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

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

.page-payment-methods__note {
  font-size: 0.9em;
  color: #aaaaaa;
  margin-top: 40px;
  line-height: 1.5;
}

/* Security Section */
.page-payment-methods__security-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.page-payment-methods__security-item {
  flex: 1 1 300px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-payment-methods__security-icon {
  width: 200px; /* Enforced minimum size */
  height: auto;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__security-heading {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-payment-methods__security-text {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
  text-align: left;
}

.page-payment-methods__faq-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 25px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #FFD700;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-payment-methods__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #e0e0e0;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding-top: 0;
}

.page-payment-methods__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  padding-top: 15px;
}

/* Support Section */
.page-payment-methods__support-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 50px;
  text-align: left;
}

.page-payment-methods__support-image {
  flex: 1 1 45%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__support-text {
  flex: 1 1 45%;
}

.page-payment-methods__support-text p {
  font-size: 1.1em;
  color: #e0e0e0;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-payment-methods__support-channels {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-payment-methods__support-channels li {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.page-payment-methods__support-channels strong {
  color: #FFD700;
}

/* Final CTA */
.page-payment-methods__final-cta-section {
  background-color: #000000;
  padding: 100px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__section-title,
  .page-payment-methods__why-choose-title,
  .page-payment-methods__final-cta-title {
    font-size: 2.5em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    padding-top: var(--header-offset, 120px); /* Ensure mobile also has offset */
  }
  .page-payment-methods__hero-section {
    padding: 60px 20px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-button,
  .page-payment-methods__cta-button,
  .page-payment-methods__method-button,
  .page-payment-methods__final-cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-payment-methods__section-title,
  .page-payment-methods__why-choose-title,
  .page-payment-methods__final-cta-title {
    font-size: 2em;
  }
  .page-payment-methods__section-description,
  .page-payment-methods__why-choose-intro,
  .page-payment-methods__final-cta-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__security-features,
  .page-payment-methods__support-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-payment-methods__support-image {
    flex: none;
    width: 100%;
  }
  .page-payment-methods__hero-image,
  .page-payment-methods__method-image,
  .page-payment-methods__security-icon,
  .page-payment-methods__support-image {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
  .page-payment-methods__faq-answer {
    font-size: 0.9em;
  }
}