.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__hero-section {
  position: relative;
  text-align: center;
  padding-top: 10px; /* Small top padding, not --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  background-color: #08160F;
}

.page-payment-methods__hero-image-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 10;
  padding: 40px 20px;
  max-width: 900px;
  margin: -150px auto 0;
  background: rgba(17, 39, 27, 0.9); /* Card B G with transparency */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  border: 1px solid #2E7A4E;
}

.page-payment-methods__main-title {
  font-size: 48px;
  font-weight: bold;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-payment-methods__description {
  font-size: 18px;
  color: #A7D9B8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-payment-methods__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__overview-section,
.page-payment-methods__how-to-section,
.page-payment-methods__faq-section,
.page-payment-methods__security-info {
  padding: 60px 0;
  background-color: #08160F;
}

.page-payment-methods__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #F2FFF6;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__section-description {
  font-size: 17px;
  color: #A7D9B8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

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

.page-payment-methods__method-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-payment-methods__method-icon {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 10px;
}

.page-payment-methods__method-title {
  font-size: 24px;
  color: #F2FFF6;
  margin-bottom: 15px;
}

.page-payment-methods__method-text {
  font-size: 16px;
  color: #A7D9B8;
}

.page-payment-methods__steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-payment-methods__step-card {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 50%;
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__step-title {
  font-size: 22px;
  color: #F2FFF6;
  margin-bottom: 10px;
}

.page-payment-methods__step-text {
  font-size: 16px;
  color: #A7D9B8;
}

.page-payment-methods__cta-bottom {
  text-align: center;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-payment-methods__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  background: transparent;
  color: #2AD16F;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 18px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 2px solid #2AD16F;
  cursor: pointer;
}

.page-payment-methods__btn-secondary:hover {
  background-color: #2AD16F;
  color: #F2FFF6;
}

.page-payment-methods__faq-list {
  margin-top: 40px;
}

details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #2E7A4E;
  overflow: hidden;
  background: #11271B;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F2FFF6;
  font-size: 18px;
  font-weight: 600;
}

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

details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: rgba(46, 122, 78, 0.2); /* Lighter version of border color */
}

.page-payment-methods__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}

.page-payment-methods__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #57E38D;
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}

details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  background: rgba(17, 39, 27, 0.7); /* Card B G with transparency */
  border-radius: 0 0 10px 10px;
  color: #A7D9B8;
  font-size: 16px;
}

.page-payment-methods__security-info {
  text-align: center;
}

.page-payment-methods__security-image {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto 30px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-payment-methods__security-text {
  font-size: 17px;
  color: #A7D9B8;
  max-width: 900px;
  margin: 0 auto 40px;
}

/* Universal image responsive styles */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Universal button responsive styles */
.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__cta-bottom {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-payment-methods__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }

  .page-payment-methods__hero-content {
    margin-top: -80px;
    padding: 25px 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 15px;
  }

  .page-payment-methods__description {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__overview-section,
  .page-payment-methods__how-to-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__security-info {
    padding: 40px 0;
  }

  .page-payment-methods__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-payment-methods__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-payment-methods__methods-grid,
  .page-payment-methods__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

  .page-payment-methods__method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }

  .page-payment-methods__method-title {
    font-size: 20px;
  }

  .page-payment-methods__step-number {
    width: 50px;
    height: 50px;
    font-size: 28px;
    margin-bottom: 15px;
  }

  .page-payment-methods__step-title {
    font-size: 18px;
  }

  .page-payment-methods__cta-bottom {
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
  }

  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
    padding: 15px;
    font-size: 16px;
  }

  .page-payment-methods__faq-toggle {
    font-size: 24px;
    width: 25px;
    margin-left: 10px;
  }

  details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  .page-payment-methods__security-image {
    margin-top: 30px;
    margin-bottom: 20px;
  }

  .page-payment-methods__security-text {
    font-size: 15px;
    margin-bottom: 30px;
  }

  /* Image specific mobile styles */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}