.page-payment-methods {
  padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background from shared.css */
}

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

.page-payment-methods__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 20px 40px;
  background-color: rgba(0, 0, 0, 0.7); /* Slightly transparent dark overlay for text readability */
  position: relative;
  overflow: hidden;
}

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

.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: 800px;
}

.page-payment-methods__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-payment-methods__hero-cta-button {
  display: inline-block;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

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

.page-payment-methods__section {
  padding: 60px 0;
}

.page-payment-methods__section:nth-of-type(odd) {
  background-color: rgba(255, 255, 255, 0.05); /* Light background for contrast */
}

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

.page-payment-methods__section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: #FCBC45;
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-payment-methods__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #f0f0f0;
}

.page-payment-methods__section-cta-button,
.page-payment-methods__general-cta-button,
.page-payment-methods__conclusion-cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
  background-color: #FCBC45; /* Login button color */
  color: #000000;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-payment-methods__section-cta-button:hover,
.page-payment-methods__general-cta-button:hover,
.page-payment-methods__conclusion-cta-button:hover {
  background-color: #e0a53b;
  transform: translateY(-2px);
}

.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: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__method-icon {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

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

.page-payment-methods__method-description {
  font-size: 1em;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-payment-methods__method-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  text-align: left;
  width: 100%;
  max-width: 300px;
}

.page-payment-methods__method-features li {
  color: #f0f0f0;
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-payment-methods__method-features li::before {
  content: '✔';
  color: #FCBC45;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-payment-methods__method-cta {
  display: inline-block;
  background-color: #FCBC45;
  color: #000000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
}

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

.page-payment-methods__note-text {
  text-align: center;
  font-style: italic;
  color: #aaaaaa;
  margin-top: 40px;
}

.page-payment-methods__sub-title {
  font-size: 2em;
  color: #FCBC45;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 30px;
}

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

.page-payment-methods__policy-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #f0f0f0;
  border-left: 5px solid #FCBC45;
}

.page-payment-methods__policy-list li strong {
  color: #FCBC45;
}

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

.page-payment-methods__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-payment-methods__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__feature-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
  object-fit: cover;
  border-radius: 8px;
}

.page-payment-methods__feature-title {
  font-size: 1.5em;
  color: #FCBC45;
  margin-bottom: 10px;
}

.page-payment-methods__feature-description {
  font-size: 0.95em;
  line-height: 1.6;
  color: #cccccc;
}

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

.page-payment-methods__tips-list li {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #f0f0f0;
  border-left: 5px solid #FCBC45;
}

.page-payment-methods__tips-list li strong {
  color: #FCBC45;
}

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

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

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

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

  .page-payment-methods__hero-section {
    padding: 60px 15px 30px;
  }

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

  .page-payment-methods__methods-grid,
  .page-payment-methods__feature-grid {
    grid-template-columns: 1fr;
  }

  .page-payment-methods__method-icon,
  .page-payment-methods__feature-icon {
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
    object-fit: cover;
  }

  /* Ensure content area images are not too small on mobile */
  .page-payment-methods img {
    max-width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }
}

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

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

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

  .page-payment-methods__method-card,
  .page-payment-methods__feature-item {
    padding: 20px;
  }
}