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

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

.page-payment-methods__hero-section {
  background-color: #000000; /* Dark background for hero section */
  color: #ffffff;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.page-payment-methods__hero-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 500px; /* Minimum height for hero */
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4; /* Slightly dim the image for text readability */
  z-index: 0;
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 60px 20px;
}

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

.page-payment-methods__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-actions {
  display: flex;
  gap: 15px;
  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, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

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

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

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

.page-payment-methods__overview-section {
  padding: 60px 0;
  background-color: #f9f9f9;
  text-align: center;
}

.page-payment-methods__overview-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #000000;
}

.page-payment-methods__overview-text {
  font-size: 1.1em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #555555;
}

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

.page-payment-methods__overview-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.page-payment-methods__overview-item:hover {
  transform: translateY(-5px);
}

.page-payment-methods__overview-icon {
  width: 250px; /* Ensuring minimum size for images */
  height: 250px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-payment-methods__overview-item-description {
  color: #666666;
  font-size: 1em;
}

.page-payment-methods__details-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-payment-methods__details-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  text-align: center;
  color: #000000;
}

.page-payment-methods__details-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 60px auto;
  text-align: center;
  color: #555555;
}

.page-payment-methods__method-card {
  display: flex;
  align-items: center;
  background-color: #f5f5f5;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  overflow: hidden;
  flex-direction: row;
}

.page-payment-methods__method-card--reverse {
  flex-direction: row-reverse;
}

.page-payment-methods__method-image {
  width: 50%;
  height: 400px;
  object-fit: cover;
  display: block; /* Ensure image behaves as a block element */
}

.page-payment-methods__method-content {
  width: 50%;
  padding: 40px;
}

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

.page-payment-methods__method-description {
  font-size: 1.1em;
  margin-bottom: 25px;
  color: #666666;
}

.page-payment-methods__method-button {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.page-payment-methods__deposit-withdrawal-guide-section {
  padding: 80px 0;
  background-color: #f0f0f0;
}

.page-payment-methods__guide-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  text-align: center;
  color: #000000;
}

.page-payment-methods__guide-intro {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
  color: #555555;
}

.page-payment-methods__guide-step-container {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-payment-methods__guide-step {
  background-color: #ffffff;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  flex: 1;
  min-width: 45%;
  max-width: 550px;
}

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

.page-payment-methods__guide-list {
  list-style-type: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
}

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

.page-payment-methods__list-highlight {
  color: #000000;
}

.page-payment-methods__list-link {
  color: #FCBC45;
  text-decoration: none;
  font-weight: bold;
}

.page-payment-methods__list-link:hover {
  text-decoration: underline;
}

.page-payment-methods__guide-note {
  font-style: italic;
  color: #777777;
  margin-top: 20px;
  text-align: center;
}

.page-payment-methods__faq-section {
  padding: 80px 0;
  background-color: #ffffff;
}

.page-payment-methods__faq-title {
  font-size: 2.8em;
  margin-bottom: 40px;
  text-align: center;
  color: #000000;
}

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

.page-payment-methods__faq-question {
  font-size: 1.6em;
  color: #000000;
  margin-bottom: 10px;
  cursor: pointer; /* Implies expand/collapse functionality via JS */
}

.page-payment-methods__faq-answer {
  font-size: 1.05em;
  color: #555555;
  line-height: 1.8;
  /* Initially hidden, shown by JS */
  display: none;
}

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

.page-payment-methods__cta-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #FCBC45; /* Highlight color */
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

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

.page-payment-methods__cta-button {
  display: inline-block;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.page-payment-methods__cta-button--register:hover {
  background-color: #f0f0f0;
  transform: translateY(-3px);
}

.page-payment-methods__cta-button--login {
  background-color: #FCBC45;
  color: #000000;
}

.page-payment-methods__cta-button--login:hover {
  background-color: #e0a53b;
  transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 1.1em;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__method-card--reverse {
    flex-direction: column;
  }
  .page-payment-methods__method-image,
  .page-payment-methods__method-content {
    width: 100%;
  }
  .page-payment-methods__method-image {
    height: 350px;
  }
  .page-payment-methods__guide-step {
    min-width: 80%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-title {
    font-size: 2.2em;
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-payment-methods__hero-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__details-title,
  .page-payment-methods__guide-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 2em;
  }
  .page-payment-methods__overview-grid {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__overview-icon {
    width: 200px; /* Ensuring minimum size for images */
    height: 200px;
  }
  .page-payment-methods__method-image {
    height: 300px;
  }
  .page-payment-methods__method-content {
    padding: 30px;
  }
  .page-payment-methods__method-title {
    font-size: 1.8em;
  }
  .page-payment-methods__guide-step {
    min-width: 95%;
  }
  .page-payment-methods__cta-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-payment-methods__cta-button {
    width: 90%;
    margin: 0 auto;
  }
  /* Mobile image overflow prevention */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
  .page-payment-methods__overview-icon,
  .page-payment-methods__method-image {
    width: 100%; /* Adjusting width to prevent overflow */
    height: auto; /* Maintain aspect ratio */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.95em;
  }
  .page-payment-methods__hero-button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-payment-methods__overview-title,
  .page-payment-methods__details-title,
  .page-payment-methods__guide-title,
  .page-payment-methods__faq-title,
  .page-payment-methods__cta-title {
    font-size: 1.8em;
  }
  .page-payment-methods__method-title {
    font-size: 1.6em;
  }
  .page-payment-methods__method-description {
    font-size: 0.95em;
  }
  .page-payment-methods__guide-step-title {
    font-size: 1.6em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.4em;
  }
  .page-payment-methods__cta-button {
    padding: 15px 25px;
    font-size: 1.1em;
  }
}