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

.page-payment-methods__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  overflow: hidden;
}

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

.page-payment-methods__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 900px;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

.page-payment-methods__main-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #F2C14E;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.page-payment-methods__hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: #F2FFF6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

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

.page-payment-methods__cta-button:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

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

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

.page-payment-methods__section-title {
  font-size: 2.5rem;
  color: #F2C14E;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.3;
}

.page-payment-methods__text-block {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #A7D9B8;
  margin-bottom: 30px;
  text-align: justify;
}

.page-payment-methods__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__methods-section .page-payment-methods__container {
  padding-top: 0;
}

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

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

.page-payment-methods__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-payment-methods__card-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-payment-methods__card-title {
  font-size: 1.6rem;
  color: #F2FFF6;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-payment-methods__card-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #A7D9B8;
}

.page-payment-methods__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.page-payment-methods__list-item {
  background-color: #11271B;
  border-left: 5px solid #2AD16F;
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #F2FFF6;
  line-height: 1.7;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-payment-methods__list-item strong {
  color: #F2C14E;
}

.page-payment-methods__guide-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.page-payment-methods__guide-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 25px 30px 25px 70px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__guide-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 25px;
  top: 25px;
  background-color: #2AD16F;
  color: #08160F;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  border: 2px solid #13994A;
}

.page-payment-methods__guide-step-title {
  font-size: 1.5rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-payment-methods__guide-item p {
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.7;
}

.page-payment-methods__note {
  background-color: #0A4B2C;
  border-left: 5px solid #F2C14E;
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  color: #F2FFF6;
  margin-top: 40px;
  line-height: 1.6;
}

.page-payment-methods__note strong {
  color: #F2C14E;
}

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

.page-payment-methods__security-item {
  background-color: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 10px;
  padding: 20px 25px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #F2FFF6;
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
}

.page-payment-methods__security-item::before {
  content: '✔';
  color: #2AD16F;
  font-weight: bold;
  margin-right: 15px;
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
}

.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: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: #F2FFF6;
  background-color: #11271B;
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-payment-methods__faq-question:hover {
  background-color: #1E3A2A;
}

.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.8rem;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
  transition: transform 0.3s ease;
}

.page-payment-methods__faq-item[open] .page-payment-methods__faq-toggle {
  transform: rotate(45deg);
}

.page-payment-methods__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  color: #A7D9B8;
  line-height: 1.7;
}

.page-payment-methods__conclusion-section .page-payment-methods__container {
  text-align: center;
}

.page-payment-methods__conclusion-section .page-payment-methods__text-block {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

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

  .page-payment-methods__card-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-payment-methods__container {
    padding: 30px 15px;
  }

  .page-payment-methods__hero-content {
    padding: 15px;
  }

  .page-payment-methods__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 15px;
  }

  .page-payment-methods__hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    margin-bottom: 20px;
  }

  .page-payment-methods__cta-button {
    padding: 12px 25px;
    font-size: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-payment-methods__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-payment-methods__text-block {
    font-size: 1rem;
  }

  .page-payment-methods__card {
    padding: 20px;
  }

  .page-payment-methods__card-image {
    height: 150px;
  }

  .page-payment-methods__card-title {
    font-size: 1.4rem;
  }

  .page-payment-methods__list-item,
  .page-payment-methods__security-item {
    font-size: 1rem;
    padding: 15px 20px;
  }

  .page-payment-methods__guide-item {
    padding: 20px 20px 20px 60px;
  }

  .page-payment-methods__guide-item::before {
    left: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .page-payment-methods__guide-step-title {
    font-size: 1.3rem;
  }

  .page-payment-methods__note {
    font-size: 1rem;
    padding: 15px;
  }

  .page-payment-methods__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-payment-methods__faq-toggle {
    font-size: 1.5rem;
  }

  .page-payment-methods__faq-answer {
    padding: 0 20px 15px;
  }

  /* Mobile image specific rules */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-payment-methods__hero-section,
  .page-payment-methods__introduction-section,
  .page-payment-methods__methods-section,
  .page-payment-methods__withdrawal-section,
  .page-payment-methods__guide-section,
  .page-payment-methods__security-section,
  .page-payment-methods__faq-section,
  .page-payment-methods__conclusion-section,
  .page-payment-methods__container,
  .page-payment-methods__card-grid,
  .page-payment-methods__card {
    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-left: 0;
    padding-right: 0;
  }
  .page-payment-methods__hero-content {
    width: calc(100% - 30px);
    left: 15px;
    transform: translate(0, -50%);
    text-align: left;
  }
  .page-payment-methods__hero-description {
    text-align: left;
  }
  .page-payment-methods__section-title {
    text-align: left;
  }
  .page-payment-methods__cta-button {
    margin-left: auto;
    margin-right: auto;
  }
  .page-payment-methods__card-image {
    width: 100%;
    height: auto;
    max-height: 180px;
  }
  .page-payment-methods__cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-payment-methods__main-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .page-payment-methods__hero-description {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .page-payment-methods__section-title {
    font-size: 1.6rem;
  }

  .page-payment-methods__card-image {
    height: 120px;
  }
}