.page-payment-methods {
  color: #333333; /* Dark text for light body background */
  background-color: #FFFFFF;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-payment-methods__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6); /* Slightly darken background image for text readability */
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
  max-width: 800px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent dark overlay for text */
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

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

.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, transform 0.2s ease;
}

.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__intro-section,
.page-payment-methods__deposit-methods,
.page-payment-methods__withdrawal-methods,
.page-payment-methods__security-measures,
.page-payment-methods__transaction-info,
.page-payment-methods__how-to-guide,
.page-payment-methods__faq-section,
.page-payment-methods__why-choose,
.page-payment-methods__cta-section {
  padding: 60px 0;
}

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

.page-payment-methods__section-description,
.page-payment-methods__intro-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

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

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

.page-payment-methods__method-icon {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 25px;
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

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

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

.page-payment-methods__security-measures {
  background-color: #f2f2f2;
}

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

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

.page-payment-methods__security-item {
  background-color: #FFFFFF;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  font-size: 1.1em;
  line-height: 1.7;
  color: #333333;
  display: flex;
  align-items: flex-start;
}

.page-payment-methods__security-item strong {
  color: #000000;
  margin-right: 10px;
  flex-shrink: 0;
}

.page-payment-methods__security-footer {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.page-payment-methods__transaction-info {
  background-color: #FFFFFF;
}

.page-payment-methods__info-table-wrapper {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.page-payment-methods__info-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px; /* Ensure table is wide enough on smaller screens before overflow */
}

.page-payment-methods__info-table th,
.page-payment-methods__info-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #eeeeee;
  font-size: 1em;
}

.page-payment-methods__info-table th {
  background-color: #000000;
  color: #FFFFFF;
  font-weight: bold;
  text-transform: uppercase;
}

.page-payment-methods__info-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.page-payment-methods__info-table tr:hover {
  background-color: #f0f0f0;
}

.page-payment-methods__table-note {
  font-size: 0.9em;
  color: #777777;
  text-align: center;
  margin-top: 20px;
}

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

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

.page-payment-methods__guide-card {
  background-color: #FFFFFF;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-payment-methods__guide-title {
  font-size: 2em;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 600;
}

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

.page-payment-methods__guide-list li {
  font-size: 1.05em;
  line-height: 1.8;
  margin-bottom: 10px;
  color: #555555;
}

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

.page-payment-methods__guide-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #FCBC45;
  color: #000000;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: flex-start;
}

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

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

.page-payment-methods__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__faq-item {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

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

.page-payment-methods__why-choose {
  background-color: #f2f2f2;
}

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

.page-payment-methods__why-choose-image {
  flex: 1;
  max-width: 600px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  min-width: 200px; /* Enforce min size */
  min-height: 200px; /* Enforce min size */
}

.page-payment-methods__why-choose-list {
  flex: 1;
  list-style: none;
  padding: 0;
}

.page-payment-methods__why-choose-item {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 15px;
  color: #333333;
  position: relative;
  padding-left: 30px;
}

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

.page-payment-methods__why-choose-footer {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  max-width: 900px;
  margin: 40px auto 0 auto;
}

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

.page-payment-methods__cta-heading {
  color: #FFFFFF;
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-payment-methods__cta-description {
  font-size: 1.2em;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.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, transform 0.2s ease;
}

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

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

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

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-title {
    font-size: 2.8em;
  }
  .page-payment-methods__section-heading {
    font-size: 2.2em;
  }
  .page-payment-methods__methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-payment-methods__why-choose-content {
    flex-direction: column;
  }
  .page-payment-methods__why-choose-image {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    min-height: 400px;
    padding: 40px 0;
  }
  .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: 15px;
  }
  .page-payment-methods__hero-button {
    width: 80%;
    margin: 0 auto;
  }
  .page-payment-methods__intro-section,
  .page-payment-methods__deposit-methods,
  .page-payment-methods__withdrawal-methods,
  .page-payment-methods__security-measures,
  .page-payment-methods__transaction-info,
  .page-payment-methods__how-to-guide,
  .page-payment-methods__faq-section,
  .page-payment-methods__why-choose,
  .page-payment-methods__cta-section {
    padding: 40px 0;
  }
  .page-payment-methods__section-heading {
    font-size: 1.8em;
  }
  .page-payment-methods__section-description,
  .page-payment-methods__intro-text {
    font-size: 0.95em;
  }
  .page-payment-methods__methods-grid,
  .page-payment-methods__guide-steps {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__info-table-wrapper {
    margin: 20px -20px; /* Allow table to overflow horizontally */
  }
  .page-payment-methods__info-table {
    min-width: 600px;
  }
  .page-payment-methods__security-list,
  .page-payment-methods__why-choose-list {
    margin-left: 0;
    padding-left: 0;
  }
  .page-payment-methods__security-item,
  .page-payment-methods__why-choose-item {
    padding-left: 25px;
  }
  .page-payment-methods__security-item strong {
    margin-right: 5px;
  }
  .page-payment-methods__cta-heading {
    font-size: 2.2em;
  }
  .page-payment-methods__cta-actions {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__cta-button {
    width: 80%;
    margin: 0 auto;
  }
  /* Mobile image scaling */
  .page-payment-methods img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__hero-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-description {
    font-size: 0.9em;
  }
  .page-payment-methods__section-heading {
    font-size: 1.5em;
  }
  .page-payment-methods__cta-heading {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-button,
  .page-payment-methods__cta-button {
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__guide-card,
  .page-payment-methods__faq-item {
    padding: 20px;
  }
}