.page-best-payment-methods {
  color: #333333; /* Dark text for default light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #FFFFFF;
}

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

.page-best-payment-methods__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden; /* Prevent image overflow */
}

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

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

.page-best-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-best-payment-methods__hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-best-payment-methods__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  min-width: 150px; /* Ensure buttons are not too small */
}

.page-best-payment-methods__button--register {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
}

.page-best-payment-methods__button--register:hover {
  background-color: #e0a73b;
  transform: translateY(-2px);
}

.page-best-payment-methods__button--login {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
}

.page-best-payment-methods__button--login:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

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

.page-best-payment-methods__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

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

.page-best-payment-methods__overview-section,
.page-best-payment-methods__deposit-methods,
.page-best-payment-methods__withdrawal-methods,
.page-best-payment-methods__fees-limits-section,
.page-best-payment-methods__security-section,
.page-best-payment-methods__tips-section,
.page-best-payment-methods__faq-section,
.page-best-payment-methods__related-resources,
.page-best-payment-methods__cta-section {
  padding: 60px 0;
}

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

.page-best-payment-methods__link-button {
  display: inline-block;
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-best-payment-methods__link-button:hover {
  background-color: #FCBC45;
  color: #000000;
}

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

.page-best-payment-methods__method-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-best-payment-methods__method-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-best-payment-methods__method-icon {
  width: 200px; /* Min size 200px */
  height: auto; /* Maintain aspect ratio */
  margin-bottom: 20px;
  border-radius: 5px;
}

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

.page-best-payment-methods__method-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

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

.page-best-payment-methods__method-features li {
  margin-bottom: 8px;
  color: #555555;
  position: relative;
  padding-left: 25px;
}

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

.page-best-payment-methods__button--deposit,
.page-best-payment-methods__button--withdraw,
.page-best-payment-methods__button--learn-crypto {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
}

.page-best-payment-methods__button--deposit:hover,
.page-best-payment-methods__button--withdraw:hover,
.page-best-payment-methods__button--learn-crypto:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-best-payment-methods__table-responsive {
  overflow-x: auto;
  margin-top: 30px;
}

.page-best-payment-methods__info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  min-width: 600px; /* Ensure table is readable on smaller screens by allowing scroll */
}

.page-best-payment-methods__info-table th,
.page-best-payment-methods__info-table td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
}

.page-best-payment-methods__info-table th {
  background-color: #000000;
  color: #FFFFFF;
  font-weight: bold;
}

.page-best-payment-methods__info-table tr:nth-child(even) {
  background-color: #f2f2f2;
}

.page-best-payment-methods__info-table tr:hover {
  background-color: #e9e9e9;
}

.page-best-payment-methods__note {
  font-size: 0.9em;
  color: #777777;
  text-align: center;
  margin-top: 20px;
}

.page-best-payment-methods__security-content {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-best-payment-methods__security-image {
  flex: 1;
  min-width: 200px; /* Min size 200px */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-best-payment-methods__security-text {
  flex: 2;
}

.page-best-payment-methods__security-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-best-payment-methods__security-list li {
  margin-bottom: 10px;
  color: #555555;
  position: relative;
  padding-left: 30px;
}

.page-best-payment-methods__security-list li strong {
  color: #000000;
}

.page-best-payment-methods__security-list li::before {
  content: '🔒';
  position: absolute;
  left: 0;
  top: 0;
}

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

.page-best-payment-methods__tip-card {
  background-color: #f9f9f9;
  border-left: 5px solid #FCBC45;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.page-best-payment-methods__tip-title {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
}

.page-best-payment-methods__tip-description {
  font-size: 0.95em;
  color: #666666;
}

.page-best-payment-methods__faq-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px 30px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

.page-best-payment-methods__faq-answer {
  font-size: 1em;
  color: #666666;
  display: none;
  padding-top: 10px;
  border-top: 1px solid #eee;
  margin-top: 10px;
}

.page-best-payment-methods__faq-answer.active {
  display: block;
}

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

.page-best-payment-methods__resource-card {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.page-best-payment-methods__resource-title {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 15px;
}

.page-best-payment-methods__resource-title a {
  text-decoration: none;
  color: inherit;
}

.page-best-payment-methods__resource-title a:hover {
  color: #FCBC45;
}

.page-best-payment-methods__resource-description {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-best-payment-methods__button--view-details {
  background-color: #000000;
  color: #FFFFFF;
  padding: 12px 25px;
}

.page-best-payment-methods__button--view-details:hover {
  background-color: #FCBC45;
  color: #000000;
}

.page-best-payment-methods__cta-section {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 80px 0;
}

.page-best-payment-methods__cta-section .page-best-payment-methods__section-title {
  color: #FFFFFF;
}

.page-best-payment-methods__cta-section .page-best-payment-methods__section-title::after {
  background-color: #FCBC45;
}

.page-best-payment-methods__cta-section .page-best-payment-methods__text-content {
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-best-payment-methods__cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-best-payment-methods__button--promotions {
  background-color: #FFFFFF;
  color: #000000;
}

.page-best-payment-methods__button--promotions:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

  .page-best-payment-methods__section-title {
    font-size: 2em;
  }

  .page-best-payment-methods__security-content {
    flex-direction: column;
  }

  .page-best-payment-methods__security-image {
    width: 100%;
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .page-best-payment-methods__hero-section {
    padding-top: var(--header-offset, 120px); /* Mobile header offset */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-best-payment-methods__hero-title {
    font-size: 2.5em;
  }

  .page-best-payment-methods__hero-description {
    font-size: 1em;
  }

  .page-best-payment-methods__hero-actions {
    flex-direction: column;
  }

  .page-best-payment-methods__button {
    width: 100%;
    max-width: 300px;
  }

  .page-best-payment-methods__section-title {
    font-size: 1.8em;
  }

  .page-best-payment-methods__overview-section,
  .page-best-payment-methods__deposit-methods,
  .page-best-payment-methods__withdrawal-methods,
  .page-best-payment-methods__fees-limits-section,
  .page-best-payment-methods__security-section,
  .page-best-payment-methods__tips-section,
  .page-best-payment-methods__faq-section,
  .page-best-payment-methods__related-resources,
  .page-best-payment-methods__cta-section {
    padding: 40px 0;
  }

  .page-best-payment-methods__container {
    padding: 0 15px;
  }

  .page-best-payment-methods__method-grid {
    grid-template-columns: 1fr;
  }

  .page-best-payment-methods__info-table {
    min-width: unset; /* Allow table to shrink on mobile */
  }

  .page-best-payment-methods__security-image {
    width: 100%;
    height: auto; /* Ensure images are responsive */
    max-width: 100%; /* Prevent overflow */
  }

  .page-best-payment-methods__text-content {
    text-align: left;
  }

  .page-best-payment-methods__tips-grid {
    grid-template-columns: 1fr;
  }

  .page-best-payment-methods__cta-actions {
    flex-direction: column;
  }

  /* Ensure all content area images are responsive and not too small */
  .page-best-payment-methods img {
    max-width: 100%;
    height: auto;
    min-width: 200px; /* Ensure images are not tiny */
    min-height: 200px; /* Ensure images are not tiny */
  }
}

@media (max-width: 480px) {
  .page-best-payment-methods__hero-title {
    font-size: 2em;
  }

  .page-best-payment-methods__section-title {
    font-size: 1.5em;
  }

  .page-best-payment-methods__button {
    padding: 12px 20px;
  }

  .page-best-payment-methods__hero-image-container {
    opacity: 0.2;
  }
}