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

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

.page-payment-methods-deposit__hero-section {
  background-color: #000000; /* Main color for hero background */
  color: #FFFFFF;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.page-payment-methods-deposit__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.page-payment-methods-deposit__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  display: block;
}

.page-payment-methods-deposit__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.page-payment-methods-deposit__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFFFF;
}

.page-payment-methods-deposit__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  opacity: 0.9;
  color: #FFFFFF;
}

.page-payment-methods-deposit__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000; /* Dark text for light button */
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods-deposit__hero-button:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

.page-payment-methods-deposit__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
  color: #000000; /* Main color for titles */
}

.page-payment-methods-deposit__text-content {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: #333333;
}

.page-payment-methods-deposit__introduction-section,
.page-payment-methods-deposit__how-to-deposit,
.page-payment-methods-deposit__security-section,
.page-payment-methods-deposit__cta-section {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.page-payment-methods-deposit__methods-overview {
  padding: 60px 0;
  background-color: #f8f8f8;
}

.page-payment-methods-deposit__primary-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 15px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods-deposit__primary-button:hover {
  background-color: #e0a53a;
  transform: translateY(-2px);
}

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

.page-payment-methods-deposit__method-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-payment-methods-deposit__method-card:hover {
  transform: translateY(-5px);
}

.page-payment-methods-deposit__method-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 25px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

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

.page-payment-methods-deposit__method-description {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
}

.page-payment-methods-deposit__method-details {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
  text-align: left;
}

.page-payment-methods-deposit__method-details li {
  margin-bottom: 8px;
  color: #333333;
  font-size: 0.95em;
}

.page-payment-methods-deposit__method-button {
  display: inline-block;
  background-color: #000000; /* Main color for buttons */
  color: #FFFFFF;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
}

.page-payment-methods-deposit__method-button:hover {
  background-color: #333333;
}

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

.page-payment-methods-deposit__steps-list li {
  background-color: #f0f0f0;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1em;
  color: #333333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: background-color 0.3s ease;
}

.page-payment-methods-deposit__steps-list li:hover {
  background-color: #e8e8e8;
}

.page-payment-methods-deposit__step-number {
  color: #000000;
  margin-right: 10px;
}

.page-payment-methods-deposit__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-payment-methods-deposit__secondary-button {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background-color: #FFFFFF;
  color: #000000;
  border: 2px solid #000000;
  padding: 15px 35px;
  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;
}

.page-payment-methods-deposit__secondary-button:hover {
  background-color: #000000;
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

.page-payment-methods-deposit__tips-card,
.page-payment-methods-deposit__faq-card {
  background-color: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  text-align: left;
}

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

.page-payment-methods-deposit__tips-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.page-payment-methods-deposit__tips-list li {
  margin-bottom: 10px;
  color: #333333;
}

.page-payment-methods-deposit__card-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease;
  margin-top: 20px;
}

.page-payment-methods-deposit__card-button:hover {
  background-color: #e0a53a;
}

.page-payment-methods-deposit__faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.page-payment-methods-deposit__faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.page-payment-methods-deposit__faq-question {
  font-size: 1.2em;
  color: #000000;
  margin-bottom: 10px;
}

.page-payment-methods-deposit__faq-answer {
  font-size: 1em;
  color: #555555;
}

.page-payment-methods-deposit__cta-button {
  display: block;
  width: fit-content;
  margin: 40px auto 20px auto;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 18px 45px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods-deposit__cta-button:hover {
  background-color: #e0a53a;
  transform: translateY(-3px);
}

.page-payment-methods-deposit__cta-secondary-button {
  display: block;
  width: fit-content;
  margin: 0 auto;
  background-color: #FFFFFF; /* Register button color */
  color: #000000;
  border: 2px solid #000000;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.page-payment-methods-deposit__cta-secondary-button:hover {
  background-color: #000000;
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

  .page-payment-methods-deposit__hero-description {
    font-size: 1.2em;
  }

  .page-payment-methods-deposit__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-payment-methods-deposit {
    padding-top: var(--header-offset, 120px);
  }
  .page-payment-methods-deposit__hero-section {
    padding: 60px 20px;
    min-height: 400px;
  }

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

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

  .page-payment-methods-deposit__hero-button,
  .page-payment-methods-deposit__primary-button,
  .page-payment-methods-deposit__secondary-button,
  .page-payment-methods-deposit__cta-button,
  .page-payment-methods-deposit__cta-secondary-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-payment-methods-deposit__text-content {
    font-size: 0.95em;
  }

  .page-payment-methods-deposit__method-grid,
  .page-payment-methods-deposit__grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods-deposit__method-card,
  .page-payment-methods-deposit__tips-card,
  .page-payment-methods-deposit__faq-card {
    padding: 25px;
  }

  .page-payment-methods-deposit__method-icon,
  .page-payment-methods-deposit__security-image {
    max-width: 100%;
    height: auto; /* Ensure images are responsive */
    min-width: 200px;
    min-height: 200px;
  }

  .page-payment-methods-deposit__how-to-deposit .page-payment-methods-deposit__steps-list li,
  .page-payment-methods-deposit__tips-list li,
  .page-payment-methods-deposit__faq-answer {
    font-size: 0.9em;
  }

  .page-payment-methods-deposit__faq-question {
    font-size: 1.1em;
  }

  /* Ensure all content area images are responsive and do not overflow */
  .page-payment-methods-deposit img {
    max-width: 100%;
    height: auto;
  }

  /* Override any specific width/height that might cause overflow */
  .page-payment-methods-deposit__method-icon,
  .page-payment-methods-deposit__security-image {
    width: 100%; /* Ensure full width on mobile */
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods-deposit__hero-title {
    font-size: 1.8em;
  }

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

  .page-payment-methods-deposit__section-title {
    font-size: 1.6em;
  }

  .page-payment-methods-deposit__method-title {
    font-size: 1.5em;
  }

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

  .page-payment-methods-deposit__hero-button,
  .page-payment-methods-deposit__primary-button,
  .page-payment-methods-deposit__secondary-button,
  .page-payment-methods-deposit__cta-button,
  .page-payment-methods-deposit__cta-secondary-button {
    width: 100%;
    box-sizing: border-box;
  }
}