.page-payment-methods {
  color: #ffffff; /* Text color for dark body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
  padding: 0;
  min-height: 500px; /* Minimum height for hero section */
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 40px 20px;
  border-radius: 8px;
  max-width: 900px;
  margin: 20px;
}

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

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

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-payment-methods__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  text-align: justify;
  color: #f0f0f0;
}

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

.page-payment-methods__card {
  background: rgba(255, 255, 255, 0.08); /* Light transparent background for cards */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-payment-methods__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__card-icon {
  width: 200px; /* Enforce minimum size for images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

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

.page-payment-methods__card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  text-align: left;
  width: 100%;
  color: #e0e0e0;
}

.page-payment-methods__card-features li {
  margin-bottom: 8px;
  padding-left: 10px;
  position: relative;
}

.page-payment-methods__card-features li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: -10px;
}

.page-payment-methods__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: auto; /* Push button to bottom of card */
}

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

.page-payment-methods__button--register:hover {
  background-color: #e0e0e0;
  transform: translateY(-3px);
}

.page-payment-methods__button--login,
.page-payment-methods__button--deposit,
.page-payment-methods__button--withdraw,
.page-payment-methods__button--support {
  background-color: #FCBC45;
  color: #000000;
}

.page-payment-methods__button--login:hover,
.page-payment-methods__button--deposit:hover,
.page-payment-methods__button--withdraw:hover,
.page-payment-methods__button--support:hover {
  background-color: #e0a33a;
  transform: translateY(-3px);
}

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

.page-payment-methods__security-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__security-icon {
  width: 200px; /* Enforce minimum size for images */
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-payment-methods__security-title {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-payment-methods__security-description {
  font-size: 0.95em;
  color: #cccccc;
}

.page-payment-methods__info-table {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  overflow-x: auto; /* Ensure table is responsive */
}

.page-payment-methods__table-heading {
  font-size: 2em;
  color: #FCBC45;
  text-align: center;
  margin-bottom: 25px;
}

.page-payment-methods__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.page-payment-methods__table th,
.page-payment-methods__table td {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px;
  text-align: left;
  color: #f0f0f0;
}

.page-payment-methods__table th {
  background-color: rgba(255, 255, 255, 0.15);
  font-weight: bold;
  color: #FCBC45;
}

.page-payment-methods__table tbody tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.03);
}

.page-payment-methods__table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

.page-payment-methods__table-note {
  font-size: 0.9em;
  color: #cccccc;
  text-align: center;
  margin-top: 20px;
}

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

.page-payment-methods__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #cccccc;
}

.page-payment-methods__button--more-faq {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods__button--more-faq:hover {
  background-color: #e0a33a;
  transform: translateY(-3px);
}

.page-payment-methods__cta-section {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(252, 188, 69, 0.2));
  border-radius: 15px;
  margin: 60px auto;
  max-width: 1000px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 3em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.2em;
  }
  .page-payment-methods__section-title {
    font-size: 2.2em;
  }
  .page-payment-methods__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    min-height: 400px;
    padding: 20px;
  }
  .page-payment-methods__hero-title {
    font-size: 2.5em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 100%;
    max-width: 250px;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__text-block {
    font-size: 1em;
  }
  .page-payment-methods__card {
    padding: 20px;
  }
  .page-payment-methods__card-title {
    font-size: 1.5em;
  }
  .page-payment-methods__card-icon,
  .page-payment-methods__security-icon {
    width: 200px;
    height: auto; /* Allow auto height for mobile responsiveness */
    max-width: 100%; /* Ensure images don't overflow */
  }
  .page-payment-methods__security-features .page-payment-methods__grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__table th,
  .page-payment-methods__table td {
    padding: 10px;
    font-size: 0.9em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
  .page-payment-methods__faq-answer {
    font-size: 0.9em;
  }
  .page-payment-methods__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__cta-section {
    padding: 40px 15px;
    margin: 40px auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__button {
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.6em;
  }
  .page-payment-methods__grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__card-title {
    font-size: 1.3em;
  }
  .page-payment-methods__card-description {
    font-size: 0.9em;
  }
  .page-payment-methods__security-title {
    font-size: 1.3em;
  }
  .page-payment-methods__security-description {
    font-size: 0.85em;
  }
  .page-payment-methods__table-heading {
    font-size: 1.5em;
  }
}