.page-payment-methods {
  padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
  color: #ffffff; /* Light text for dark body background */
  background-color: #0D0D0D; /* Body background color from shared.css */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-payment-methods__hero-section {
  text-align: center;
  padding: 80px 20px 40px;
  background-color: #1A1A1A;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-container {
  position: relative;
  z-index: 1;
}

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

.page-payment-methods__hero-description {
  font-size: 1.3em;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

.page-payment-methods__hero-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__security-section,
.page-payment-methods__support-section,
.page-payment-methods__guides-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #1A1A1A;
  border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.page-payment-methods__section-title {
  font-size: 2.8em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 30px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__section-text {
  font-size: 1.1em;
  color: #f0f0f0;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 25px;
}

.page-payment-methods__overview-image,
.page-payment-methods__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

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

.page-payment-methods__method-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 250px; /* Ensure images are not too small */
  height: auto;
  margin: 0 auto 20px;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

.page-payment-methods__method-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-payment-methods__method-button,
.page-payment-methods__action-button,
.page-payment-methods__support-button,
.page-payment-methods__guide-button,
.page-payment-methods__cta-button {
  display: inline-block;
  background-color: #FFD700;
  color: #1A1A1A;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 15px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__method-button:hover,
.page-payment-methods__action-button:hover,
.page-payment-methods__support-button:hover,
.page-payment-methods__guide-button:hover,
.page-payment-methods__cta-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-payment-methods__action-button,
.page-payment-methods__cta-button {
  margin-top: 50px;
  padding: 18px 40px;
  font-size: 1.3em;
  border-radius: 60px;
}

.page-payment-methods__support-button {
  margin-top: 30px;
  font-size: 1.1em;
}

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

.page-payment-methods__guide-card {
  background-color: rgba(255, 215, 0, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-payment-methods__guide-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 215, 0, 0.15);
}

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

.page-payment-methods__guide-title a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-payment-methods__guide-title a:hover {
  color: #e6c200;
}

.page-payment-methods__guide-description {
  font-size: 1em;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__hero-button {
    font-size: 1em;
    padding: 12px 25px;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__section-text {
    font-size: 0.95em;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__guide-card {
    padding: 20px;
  }
  .page-payment-methods__method-title,
  .page-payment-methods__guide-title {
    font-size: 1.5em;
  }
  .page-payment-methods__method-icon {
    max-width: 200px; /* Ensure images are not too small */
  }
  .page-payment-methods__action-button,
  .page-payment-methods__cta-button {
    font-size: 1.1em;
    padding: 15px 30px;
  }
  .page-payment-methods__container {
    padding: 0 15px;
  }

  /* Critical: Ensure all content area images are responsive and not smaller than 200px */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-section {
    padding: 60px 15px 30px;
  }
  .page-payment-methods__overview-section,
  .page-payment-methods__deposit-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__security-section,
  .page-payment-methods__support-section,
  .page-payment-methods__guides-section,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }
  .page-payment-methods__methods-grid,
  .page-payment-methods__guides-grid {
    grid-template-columns: 1fr;
  }
}