.page-payment-methods {
  font-family: Arial, sans-serif;
  color: #333333; /* Dark text on light body background */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background-color: #FFFFFF;
}

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  text-align: center;
  padding: 0;
  margin-bottom: 40px;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  z-index: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.page-payment-methods__button {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__button--register {
  background-color: #FFFFFF;
  color: #000000; /* Contrast with white background */
}

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

.page-payment-methods__button--login {
  background-color: #FCBC45;
  color: #000000; /* Contrast with yellow background */
}

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

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

.page-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-payment-methods__section-text {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #555555;
}

.page-payment-methods__introduction-section,
.page-payment-methods__methods-overview,
.page-payment-methods__security-features,
.page-payment-methods__how-to-guide,
.page-payment-methods__faq-section,
.page-payment-methods__details-list-section,
.page-payment-methods__cta-section {
  padding: 60px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #eeeeee;
}

.page-payment-methods__methods-overview {
  background-color: #F8F8F8;
}

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

.page-payment-methods__method-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.page-payment-methods__method-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.7;
}

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

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

.page-payment-methods__security-image {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__security-list {
  flex: 2;
  min-width: 300px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__security-item {
  background-color: #FFFFFF;
  border-left: 5px solid #FCBC45;
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

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

.page-payment-methods__how-to-guide {
  background-color: #FFFFFF;
}

.page-payment-methods__guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-payment-methods__guide-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.page-payment-methods__guide-title {
  font-size: 1.8em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 25px;
  text-align: center;
}

.page-payment-methods__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.page-payment-methods__guide-list li {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: #444444;
}

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

.page-payment-methods__button--deposit,
.page-payment-methods__button--withdraw {
  background-color: #FCBC45;
  color: #000000;
  text-align: center;
  align-self: center;
  width: fit-content;
}

.page-payment-methods__button--deposit:hover,
.page-payment-methods__button--withdraw:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-payment-methods__faq-section {
  background-color: #F0F0F0;
}

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

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

.page-payment-methods__faq-question {
  font-size: 1.3em;
  color: #000000;
  margin-top: 0;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

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

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

.page-payment-methods__faq-answer {
  font-size: 1em;
  color: #666666;
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.page-payment-methods__faq-answer.open {
  max-height: 500px; /* Adjust as needed */
}

.page-payment-methods__details-list-section {
  background-color: #FFFFFF;
}

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

.page-payment-methods__details-card {
  background-color: #F8F8F8;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__details-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
}

.page-payment-methods__details-title {
  font-size: 1.6em;
  margin-bottom: 15px;
}

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

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

.page-payment-methods__details-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.7;
  margin-bottom: 25px;
}

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

.page-payment-methods__button--view-details:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

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

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

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

.page-payment-methods__cta-section .page-payment-methods__section-text {
  color: #F0F0F0;
  margin-bottom: 50px;
}

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

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

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

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

.page-payment-methods__button--explore-games:hover {
  background-color: #F0F0F0;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__security-content {
    flex-direction: column;
  }
  .page-payment-methods__security-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__button {
    width: 80%;
  }
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__section-text {
    font-size: 0.95em;
  }
  .page-payment-methods__method-grid,
  .page-payment-methods__guide-steps,
  .page-payment-methods__details-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__method-image,
  .page-payment-methods__details-image {
    height: 200px;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
  }
  .page-payment-methods__security-list {
    min-width: unset;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
  }
  .page-payment-methods__button--deposit,
  .page-payment-methods__button--withdraw,
  .page-payment-methods__button--view-details,
  .page-payment-methods__button--register-now,
  .page-payment-methods__button--explore-games {
    width: 100%;
    max-width: 300px; /* Constrain buttons */
  }

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

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.6em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__button {
    padding: 10px 20px;
    font-size: 1em;
  }
  .page-payment-methods__section-title {
    font-size: 1.5em;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__guide-card,
  .page-payment-methods__details-card,
  .page-payment-methods__faq-item {
    padding: 20px;
  }
  .page-payment-methods__method-title,
  .page-payment-methods__guide-title,
  .page-payment-methods__details-title {
    font-size: 1.4em;
  }
  .page-payment-methods__list-title {
    font-size: 1.2em;
  }
  .page-payment-methods__faq-question {
    font-size: 1em;
  }
}