.page-payment-methods {
  background-color: #08160F;
  color: #F2FFF6;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

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

.page-payment-methods__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-payment-methods__section-title--light {
  color: #F2FFF6;
}

.page-payment-methods__section-text {
  font-size: 1.1em;
  line-height: 1.7;
  text-align: center;
  margin-bottom: 20px;
  color: #A7D9B8;
}

.page-payment-methods__section-text--light {
  color: #A7D9B8;
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-payment-methods__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.6);
}

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: -300px; /* Adjust to layer content over lower part of image */
  padding: 40px 20px;
  background: linear-gradient(0deg, #08160F 0%, rgba(8, 22, 15, 0.8) 50%, rgba(8, 22, 15, 0) 100%);
  border-radius: 10px;
}

.page-payment-methods__hero-title {
  font-size: clamp(2.5em, 4vw, 3.5em);
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__hero-description {
  font-size: 1.2em;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__cta-button--primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-payment-methods__cta-button--primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px #57E38D;
}

.page-payment-methods__cta-button--secondary {
  background: #11271B;
  color: #2AD16F;
  border: 2px solid #2E7A4E;
}

.page-payment-methods__cta-button--secondary:hover {
  background: #2E7A4E;
  color: #F2FFF6;
  border-color: #57E38D;
}

/* Intro Section */
.page-payment-methods__intro-section .page-payment-methods__section-title {
  color: #F2C14E;
}

/* Methods Section */
.page-payment-methods__dark-section {
  background-color: #11271B;
}

.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: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.page-payment-methods__method-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-payment-methods__method-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-payment-methods__method-title {
  font-size: 1.6em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-payment-methods__method-description {
  font-size: 1em;
  color: #A7D9B8;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-payment-methods__method-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

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

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

.page-payment-methods__guide-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-payment-methods__guide-card-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #F2C14E;
  margin-bottom: 25px;
  text-align: center;
}

.page-payment-methods__guide-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.page-payment-methods__guide-list li {
  background-color: #0A4B2C;
  color: #F2FFF6;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 15px;
  position: relative;
  padding-left: 45px;
  font-size: 1.05em;
}

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

.page-payment-methods__guide-list li::before {
  content: attr(data-step);
  counter-increment: step-counter;
  content: counter(step-counter);
  background-color: #2AD16F;
  color: #08160F;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9em;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.page-payment-methods__guide-card .page-payment-methods__cta-button {
  margin-top: 25px;
  align-self: center;
}

/* Security Section */
.page-payment-methods__security-layout {
  display: flex;
  align-items: center;
  gap: 50px;
}

.page-payment-methods__security-content {
  flex: 1;
}

.page-payment-methods__security-image-wrapper {
  flex: 1;
  min-width: 300px;
}

.page-payment-methods__security-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__security-features {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.page-payment-methods__security-features li {
  color: #F2FFF6;
  margin-bottom: 12px;
  padding-left: 30px;
  position: relative;
  font-size: 1.1em;
}

.page-payment-methods__security-features li::before {
  content: '🔒';
  position: absolute;
  left: 0;
  font-size: 1.2em;
  top: 0;
}

/* FAQ Section */
.page-payment-methods__faq-list {
  margin-top: 40px;
}

.page-payment-methods__faq-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-payment-methods__faq-item[open] {
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.4);
  border-color: #57E38D;
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2FFF6;
  background-color: #0A4B2C;
  border-bottom: 1px solid transparent; /* default */
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease;
  list-style: none;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-question {
  border-bottom-color: #2E7A4E;
}

.page-payment-methods__faq-question:hover {
  background-color: #0A4B2C;
  color: #F2C14E;
}

.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}

.page-payment-methods__faq-qtext {
  flex-grow: 1;
}

.page-payment-methods__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  color: #2AD16F;
  margin-left: 15px;
}

.page-payment-methods__faq-answer {
  padding: 20px 25px;
  font-size: 1.05em;
  color: #A7D9B8;
  line-height: 1.6;
}

/* Conclusion CTA Section */
.page-payment-methods__center-content {
  text-align: center;
}

.page-payment-methods__cta-buttons-group {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Global image styles */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-payment-methods__hero-content {
    margin-top: -200px;
  }
  .page-payment-methods__security-layout {
    flex-direction: column;
    text-align: center;
  }
  .page-payment-methods__security-image-wrapper {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 0 15px;
  }
  .page-payment-methods__section-padding {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 2em;
  }
  .page-payment-methods__section-text {
    font-size: 1em;
  }
  .page-payment-methods__hero-content {
    margin-top: -150px;
    padding: 20px 15px;
  }
  .page-payment-methods__hero-title {
    font-size: clamp(2em, 5vw, 2.5em);
  }
  .page-payment-methods__hero-description {
    font-size: 1em;
  }
  .page-payment-methods__methods-grid, .page-payment-methods__guide-cards {
    grid-template-columns: 1fr;
  }
  .page-payment-methods__cta-button {
    padding: 12px 20px;
    font-size: 1em;
    width: 100% !important;
  }
  .page-payment-methods__cta-buttons-group {
    flex-direction: column;
    gap: 15px;
  }
  .page-payment-methods__method-image {
    height: 200px;
  }
  .page-payment-methods__security-features li {
    font-size: 1em;
  }
  .page-payment-methods__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-payment-methods__faq-answer {
    font-size: 0.95em;
    padding: 15px 20px;
  }

  /* Mobile responsive image styles (forced) */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__method-card,
  .page-payment-methods__guide-card,
  .page-payment-methods__security-image-wrapper,
  .page-payment-methods__faq-item,
  .page-payment-methods__container,
  .page-payment-methods__hero-section,
  .page-payment-methods__intro-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-payment-methods__hero-section {
    padding-top: 10px !important; 
  }
}

@media (max-width: 480px) {
  .page-payment-methods__section-title {
    font-size: 1.8em;
  }
  .page-payment-methods__hero-title {
    font-size: 2em;
  }
  .page-payment-methods__method-title {
    font-size: 1.4em;
  }
  .page-payment-methods__guide-card-title {
    font-size: 1.6em;
  }
}