.page-payment-methods {
  color: #333333; /* Dark text on light body background */
}

.page-payment-methods__hero-section {
  background-color: #000000; /* Dark background for hero */
  color: #FFFFFF;
  padding: calc(var(--header-offset, 120px) + 60px) 20px 60px; /* Add header offset to top padding */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: relative;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3; /* Subtly blend background image */
}

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

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

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  color: #FCBC45; /* Gold accent for title */
}

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

.page-payment-methods__hero-button {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  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;
  display: inline-block;
  border: none;
  cursor: pointer;
}

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

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-payment-methods__section-description {
  font-size: 1.1em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #555555;
}

.page-payment-methods__why-choose-section,
.page-payment-methods__deposit-section,
.page-payment-methods__withdrawal-section,
.page-payment-methods__how-to-guide-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__why-choose-section {
  background-color: #f9f9f9;
}

.page-payment-methods__features-grid,
.page-payment-methods__methods-grid,
.page-payment-methods__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.page-payment-methods__feature-card,
.page-payment-methods__method-card,
.page-payment-methods__step-card,
.page-payment-methods__faq-item {
  background-color: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-payment-methods__feature-card:hover,
.page-payment-methods__method-card:hover,
.page-payment-methods__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.page-payment-methods__feature-card img {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

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

.page-payment-methods__card-description {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  flex-grow: 1;
}

.page-payment-methods__main-button {
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  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;
  display: inline-block;
  border: none;
  cursor: pointer;
  margin-top: 20px;
}

.page-payment-methods__main-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.page-payment-methods__call-to-action {
  text-align: center;
  margin-top: 40px;
}

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

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

.page-payment-methods__security-list li {
  background-color: #f0f0f0;
  margin-bottom: 15px;
  padding: 15px 20px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-payment-methods__list-icon {
  color: #FCBC45;
  font-size: 1.5em;
}

.page-payment-methods__responsible-gaming-text {
  margin-top: 30px;
  font-size: 1em;
}

.page-payment-methods__responsible-gaming-text a {
  color: #000000;
  text-decoration: underline;
  font-weight: bold;
}

.page-payment-methods__responsible-gaming-text a:hover {
  color: #FCBC45;
}

.page-payment-methods__faq-item {
  text-align: left;
  margin-bottom: 20px;
  cursor: pointer;
}

.page-payment-methods__faq-question {
  font-size: 1.4em;
  color: #000000;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__faq-answer {
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
}

.page-payment-methods__secondary-button {
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  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-color 0.3s ease;
  display: inline-block;
  border: 2px solid #000000;
  cursor: pointer;
  margin-left: 20px;
}

.page-payment-methods__secondary-button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  border-color: #FCBC45;
}

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

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

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding: calc(var(--header-offset, 120px) + 40px) 15px 40px;
    gap: 20px;
  }

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

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

  .page-payment-methods__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

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

  .page-payment-methods__section-description {
    font-size: 0.95em;
  }

  .page-payment-methods__features-grid,
  .page-payment-methods__methods-grid,
  .page-payment-methods__guide-steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-payment-methods__feature-card,
  .page-payment-methods__method-card,
  .page-payment-methods__step-card,
  .page-payment-methods__faq-item {
    padding: 25px;
  }

  .page-payment-methods__feature-card img {
    max-width: 200px;
  }

  .page-payment-methods__card-title {
    font-size: 1.4em;
  }

  .page-payment-methods__card-description {
    font-size: 0.9em;
  }

  .page-payment-methods__main-button,
  .page-payment-methods__secondary-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-left: 0;
    margin-top: 15px;
  }

  .page-payment-methods__cta-section .page-payment-methods__main-button,
  .page-payment-methods__cta-section .page-payment-methods__secondary-button {
    display: block;
    width: 100%;
    margin-left: 0;
  }
  
  .page-payment-methods__cta-section .page-payment-methods__secondary-button {
    margin-top: 15px;
  }

  /* Ensure images in content area are responsive and don't overflow */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__guide-image,
  .page-payment-methods__security-image {
    max-width: 100%;
    height: auto;
  }

  .page-payment-methods__security-list li {
    font-size: 1em;
    padding: 12px 15px;
  }

  .page-payment-methods__faq-question {
    font-size: 1.2em;
  }

  .page-payment-methods__faq-answer {
    font-size: 0.9em;
  }
}