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

.page-payment-methods__hero-section {
  position: relative;
  padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  overflow: hidden;
}

.page-payment-methods__hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

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

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

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

.page-payment-methods__hero-button {
  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;
  min-width: 200px; /* Ensure button minimum width */
  text-align: center;
}

.page-payment-methods__hero-button--register {
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #FFFFFF;
}

.page-payment-methods__hero-button--register:hover {
  background-color: transparent;
  color: #FFFFFF;
}

.page-payment-methods__hero-button--login {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__hero-button--login:hover {
  background-color: transparent;
  color: #FCBC45;
}

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

.page-payment-methods__overview-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__details-section,
.page-payment-methods__security-section,
.page-payment-methods__faq-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-payment-methods__overview-section {
  background-color: #F8F8F8;
}

.page-payment-methods__security-section {
  background-color: #000000;
  color: #FFFFFF;
}

.page-payment-methods__security-title, .page-payment-methods__security-intro, .page-payment-methods__security-list-item {
  color: #FFFFFF;
}

.page-payment-methods__security-list-item strong {
  color: #FCBC45;
}

.page-payment-methods__overview-title,
.page-payment-methods__deposit-title,
.page-payment-methods__withdrawal-title,
.page-payment-methods__details-title,
.page-payment-methods__faq-title,
.page-payment-methods__cta-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #000000;
}

.page-payment-methods__security-title {
  color: #FFFFFF;
}

.page-payment-methods__overview-text,
.page-payment-methods__deposit-intro,
.page-payment-methods__withdrawal-intro,
.page-payment-methods__details-intro,
.page-payment-methods__security-intro,
.page-payment-methods__cta-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-payment-methods__security-intro {
  color: #F0F0F0;
}

.page-payment-methods__overview-grid,
.page-payment-methods__method-grid,
.page-payment-methods__details-grid,
.page-payment-methods__faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-payment-methods__overview-card,
.page-payment-methods__method-card,
.page-payment-methods__details-card,
.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 200px; /* Minimum height for cards */
}

.page-payment-methods__overview-card:hover,
.page-payment-methods__method-card:hover,
.page-payment-methods__details-card:hover,
.page-payment-methods__faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__overview-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-payment-methods__overview-card-title,
.page-payment-methods__method-card-title,
.page-payment-methods__details-card-title,
.page-payment-methods__faq-question {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #000000;
}

.page-payment-methods__overview-card-description,
.page-payment-methods__method-card-description,
.page-payment-methods__details-card-description,
.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #666666;
}

.page-payment-methods__action-center {
  text-align: center;
  margin-top: 50px;
}

.page-payment-methods__action-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease;
  border: 2px solid #FCBC45;
}

.page-payment-methods__action-button:hover {
  background-color: transparent;
  color: #FCBC45;
}

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

.page-payment-methods__security-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.page-payment-methods__security-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 700px;
}

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

.page-payment-methods__security-list-item::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__cta-section {
  background-color: #F8F8F8;
}

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

.page-payment-methods__cta-button {
  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;
  min-width: 200px;
  text-align: center;
}

.page-payment-methods__cta-button--register {
  background-color: #000000;
  color: #FFFFFF;
  border: 2px solid #000000;
}

.page-payment-methods__cta-button--register:hover {
  background-color: transparent;
  color: #000000;
}

.page-payment-methods__cta-button--support {
  background-color: #FCBC45;
  color: #000000;
  border: 2px solid #FCBC45;
}

.page-payment-methods__cta-button--support:hover {
  background-color: transparent;
  color: #FCBC45;
}

/* Responsive Design */
@media (min-width: 769px) {
  .page-payment-methods__hero-content {
    padding: 100px 0;
  }
  .page-payment-methods__hero-title {
    font-size: 4.5em;
  }
  .page-payment-methods__security-content {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }
  .page-payment-methods__security-image {
    flex-shrink: 0;
    margin-right: 40px;
  }
  .page-payment-methods__security-list {
    flex-grow: 1;
  }
}

@media (max-width: 768px) {
  .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__hero-button,
  .page-payment-methods__action-button,
  .page-payment-methods__cta-button {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__deposit-title,
  .page-payment-methods__withdrawal-title,
  .page-payment-methods__details-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__overview-text,
  .page-payment-methods__deposit-intro,
  .page-payment-methods__withdrawal-intro,
  .page-payment-methods__details-intro,
  .page-payment-methods__security-intro,
  .page-payment-methods__cta-description {
    font-size: 0.95em;
  }
  .page-payment-methods__overview-grid,
  .page-payment-methods__method-grid,
  .page-payment-methods__details-grid,
  .page-payment-methods__faq-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__overview-card,
  .page-payment-methods__method-card,
  .page-payment-methods__details-card,
  .page-payment-methods__faq-item {
    padding: 20px;
  }
  .page-payment-methods__overview-card-image {
    height: 200px;
  }
  .page-payment-methods__security-image {
    width: 100%;
    max-width: 100%;
  }
  .page-payment-methods__cta-actions {
    flex-direction: column;
  }
  /* Mobile content image constraint */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}