.desktop {
  display: flex;
  height: 100%;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px;
  padding: max(20px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  box-sizing: border-box;
  animation: fadeIn 0.6s ease-in;
  -webkit-animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

.desktop .hamkor-bank {
  position: relative;
  width: 238px;
  height: 40px;
  max-width: 90%;
  height: auto;
  transition: transform 0.3s ease;
}

.desktop .hamkor-bank:hover {
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
}

.desktop .payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: slideIn 0.8s ease-out 0.2s backwards;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@-webkit-keyframes slideIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(-30px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateX(0);
  }
}

.desktop .footer-icon {
  position: relative;
  width: 30px;
  height: 40px;
  aspect-ratio: 0.75;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.desktop .footer-icon:hover {
  transform: translateY(-5px);
  filter: brightness(1.2);
}

.desktop .payment-method-icon {
  position: relative;
  width: 52px;
  height: 13px;
  aspect-ratio: 3.88;
  object-fit: cover;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.desktop .payment-method-icon:hover {
  transform: translateY(-5px);
  filter: brightness(1.2);
}



.desktop .vector {
  position: absolute;
  width: 81.41%;
  height: 58.25%;
  top: 26.67%;
  left: 7.36%;
}

.desktop .mastercard {
  position: relative;
  width: 41px;
  height: 32px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.desktop .mastercard:hover {
  transform: translateY(-5px);
  filter: brightness(1.2);
}

.desktop .XMLID {
  position: absolute;
  width: 90.20%;
  height: 15.04%;
  top: 84.96%;
  left: 4.98%;
}

.desktop .group {
  position: absolute;
  width: 100%;
  height: 79.64%;
  top: 0;
  left: 0;
}

.desktop .rect {
  position: absolute;
  width: 27.06%;
  height: 78.61%;
  top: 10.70%;
  left: 36.43%;
}

.desktop .img {
  position: absolute;
  width: 50.00%;
  height: 100%;
  top: 0;
  left: 0;
}

.desktop .path {
  position: absolute;
  width: 50.00%;
  height: 100%;
  top: 0;
  left: 50.00%;
}

.desktop .visa-inc {
  position: relative;
  width: 43.96px;
  height: 13.96px;
  background-image: url(./img/visa.svg);
  background-size: 100% 100%;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.desktop .visa-inc:hover {
  transform: translateY(-5px);
  filter: brightness(1.2);
}

.desktop .payment-info {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 30px 15px 10px;
  position: relative;
  flex: 0 0 auto;
  background-color: #174a43;
  border-radius: 69px;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  animation: scaleIn 0.6s ease-out 0.3s backwards;
  -webkit-animation: scaleIn 0.6s ease-out 0.3s backwards;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  -webkit-transition: box-shadow 0.3s ease, -webkit-transform 0.3s ease;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.desktop .payment-info:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
  -webkit-transform: translateY(-5px);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@-webkit-keyframes scaleIn {
  from {
    opacity: 0;
    -webkit-transform: scale(0.9);
  }
  to {
    opacity: 1;
    -webkit-transform: scale(1);
  }
}

.desktop .payment-instructions {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 514px;
  align-items: center;
  gap: 6px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 61px;
  padding: 0 15px;
  box-sizing: border-box;
}

.desktop .text-wrapper {
  display: flex;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 700;
  color: #c7ffee;
  font-size: clamp(18px, 4vw, 23px);
  text-align: center;
  letter-spacing: 0;
  line-height: 1.3;
  align-items: center;
  justify-content: center;
  position: relative;
}

.desktop .confirmation {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  font-weight: 400;
  color: #84bfad;
  font-size: clamp(14px, 3vw, 16px);
  text-align: center;
  letter-spacing: 0;
  line-height: 1.3;
}

.desktop .bank-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
}

.desktop .div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 19px;
  padding: 40px 20px;
  position: relative;
  align-self: stretch;
  width: 100%;
  flex: 0 0 auto;
  background-color: #e0fff5;
  border-radius: 61px;
  box-sizing: border-box;
  transition: transform 0.3s ease;
}

.desktop .div:hover {
  transform: scale(1.02);
}

.desktop .div-2 {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 auto;
  align-items: center;
  position: relative;
}

.desktop .text-wrapper-2 {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 500;
  color: #174a43;
  font-size: clamp(14px, 3vw, 16px);
  text-align: center;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
  align-items: center;
  position: relative;
}

.desktop .text-wrapper-3 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  font-family: "Montserrat", Helvetica;
  font-weight: 700;
  color: #174a43;
  font-size: clamp(18px, 4vw, 25px);
  text-align: center;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
  transition: color 0.3s ease;
}

#card-number {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: color 0.3s ease, transform 0.2s ease;
  -webkit-transition: color 0.3s ease, -webkit-transform 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

#card-number:hover {
  color: #1cca59;
  transform: scale(1.05);
  -webkit-transform: scale(1.05);
}

#card-number:active {
  transform: scale(0.98);
  -webkit-transform: scale(0.98);
}

.desktop .divider {
  position: relative;
  align-self: stretch;
  width: 100%;
  height: 1px;
  background-color: #b0e2d4;
}

.desktop .contact-manager {
  display: flex;
  flex-direction: column;
  width: 514px;
  align-items: center;
  gap: 10px;
  position: relative;
  flex: 0 0 auto;
  border-radius: 61px;
}

.desktop .contact-manager-wrapper {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 30px;
  flex: 0 0 auto;
  background-color: #1cca59;
  border-radius: 53px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(28, 202, 89, 0.3);
  -webkit-tap-highlight-color: transparent;
}

.desktop .contact-manager-wrapper:hover {
  background-color: #19b34f;
  transform: translateY(-3px);
  -webkit-transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(28, 202, 89, 0.5);
}

.desktop .contact-manager-wrapper:active {
  transform: translateY(0);
  -webkit-transform: translateY(0);
  box-shadow: 0 2px 10px rgba(28, 202, 89, 0.4);
}

.desktop .contact-manager-2 {
  display: flex;
  width: fit-content;
  margin-top: -1.00px;
  font-family: "Montserrat", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(15px, 3vw, 17px);
  text-align: center;
  letter-spacing: 0;
  line-height: 1.3;
  text-decoration: underline;
  white-space: nowrap;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Стили для кнопки копирования и обертки */
.card-number-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.copy-btn {
  background: #174a43;
  border: none;
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  color: #c7ffee;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  -webkit-tap-highlight-color: transparent;
}

.copy-btn:hover {
  background: #1cca59;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  -webkit-transform: scale(1.1) rotate(5deg);
  box-shadow: 0 4px 12px rgba(28, 202, 89, 0.3);
}

.copy-btn:active {
  transform: scale(0.95);
  -webkit-transform: scale(0.95);
}

.copy-btn svg {
  width: 20px;
  height: 20px;
}

/* Уведомление о копировании */
.copy-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  -webkit-transform: translateX(-50%) translateY(100px);
  background: #1cca59;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "Montserrat", Helvetica;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(28, 202, 89, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  -webkit-transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1000;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.copy-notification.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  -webkit-transform: translateX(-50%) translateY(0);
}

.copy-notification svg {
  width: 18px;
  height: 18px;
}

/* Адаптивные стили для мобильных */
@media (max-width: 768px) {
  .desktop {
    padding: 15px;
    gap: 12px;
  }

  .desktop .hamkor-bank {
    width: 180px;
  }

  .desktop .footer-icon {
    width: 24px;
    height: 32px;
  }

  .desktop .payment-method-icon {
    width: 42px;
    height: 10px;
  }

  .desktop .mastercard {
    width: 33px;
    height: 26px;
  }

  .desktop .visa-inc {
    width: 35px;
    height: 11px;
  }

  .desktop .text-wrapper {
    font-size: 20px;
    line-height: 1.4;
  }

  .desktop .confirmation {
    font-size: 16px;
    line-height: 1.4;
  }

  .desktop .text-wrapper-2 {
    font-size: 16px;
  }

  .desktop .text-wrapper-3 {
    font-size: 22px;
  }

  .desktop .contact-manager-2 {
    font-size: 17px;
  }

  .desktop .payment-info {
    padding: 25px 12px 10px;
    border-radius: 40px;
    gap: 20px;
  }

  .desktop .div {
    padding: 30px 15px;
    border-radius: 40px;
    gap: 15px;
  }

  .desktop .payment-instructions {
    padding: 0 10px;
  }

  .desktop .contact-manager {
    width: 100%;
    max-width: 100%;
  }

  .desktop .contact-manager-wrapper {
    padding: 18px 25px;
    border-radius: 40px;
  }

  .copy-notification {
    bottom: 20px;
    font-size: 15px;
    padding: 12px 20px;
  }

  .copy-btn {
    padding: 6px;
  }

  .copy-btn svg {
    width: 18px;
    height: 18px;
  }

  .card-number-wrapper {
    flex-wrap: nowrap;
  }
}

@media (max-width: 480px) {
  .desktop {
    padding: 20px;
    gap: 20px;
  }

  .desktop .hamkor-bank {
    width: 200px;
  }

  .desktop .footer-icon {
    width: 20px;
    height: 27px;
  }

  .desktop .payment-method-icon {
    width: 36px;
    height: 9px;
  }

  .desktop .mastercard {
    width: 28px;
    height: 22px;
  }

  .desktop .visa-inc {
    width: 30px;
    height: 9.5px;
  }

  .desktop .text-wrapper {
    font-size: 19px;
    line-height: 1.4;
  }

  .desktop .confirmation {
    font-size: 15px;
    line-height: 1.4;
  }

  .desktop .text-wrapper-2 {
    font-size: 15px;
  }

  .desktop .text-wrapper-3 {
    font-size: 20px;
  }

  .desktop .contact-manager-2 {
    font-size: 16px;
  }

  .desktop .payment-info {
    padding: 20px 10px 8px;
    border-radius: 30px;
  }

  .desktop .div {
    padding: 25px 12px;
    border-radius: 30px;
  }

  .desktop .payment-methods {
    gap: 12px;
  }

  .desktop .contact-manager-wrapper {
    padding: 15px 20px;
    border-radius: 30px;
  }

  .card-number-wrapper {
    flex-wrap: nowrap;
  }

  .copy-notification {
    font-size: 14px;
  }
}