* {
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* убираем горизонтальный скролл */
  font-family: "Montserrat", sans-serif;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../1613717704_2-p-krasivii-fon-dlya-internet-magazina-2.jpg")
    center/cover no-repeat;
  z-index: -1;
  pointer-events: none;
}

/* header */

.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center; /* выравнивание по центру */
  gap: 10px; /* расстояние между логотипом и текстом */
  margin-bottom: 20px;
}

.logo-image {
  max-width: 150px; /* можно менять размер */
}

.logo-text {
  text-align: center;
}

.logo-text .line1 {
  font-size: 24px;
  font-weight: bold;
  color: #ffccdd; /* нежно-розовый текст */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.logo-text .line2 {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff; /* белый текст */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.blur-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(12px) brightness(0.8);
  z-index: -1;
}

.container {
  margin: 0 auto;
  padding: 20px;
  max-width: 540px;
}

.payment-title {
  display: inline-block;
}

.left {
  position: absolute;
  left: 20px;
}

.viber-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 20px;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  height: 70px;
  padding: 12px 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #665cac, #592e91);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.viber-link::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: skewX(-25deg);
  transition: left 0.5s ease;
}

.viber-link:hover {
  transform: scale(1.02); /* лёгкое увеличение */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.viber-link:hover::after {
  left: 125%; /* анимация блеска слева направо */
}

.viber-link span {
  display: inline-block;
  text-align: center;
}

.viber-link img {
  max-width: 50px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
  animation: rotateLight 1s infinite linear; /* лёгкое вращение */
}

.telegram-link {
  margin-top: 20px;
  align-items: center;
  background: linear-gradient(135deg, #0088cc, #006699); /* цвета Telegram */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 480px) {
  .viber-link {
    padding: 14px 10px;
    justify-content: end;
  }

  .viber-link span {
    margin-right: 30px;
  }
}

@keyframes rotateLight {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  } /* наклон вправо */
  100% {
    transform: rotate(0deg);
  } /* возвращение в исходное положение */
}

.viber-link:hover img {
  transform: translateX(5px);
}

.viber-link span {
  line-height: 1.2;
}

.viber-link:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Карточка */

.card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  padding: 25px 30px;
  margin-top: 30px;
  max-width: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  line-height: 1.6;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card strong {
  display: block;
  margin-top: 10px;
  font-weight: 600;
}

.card {
  animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.center {
  text-align: center;
}

.emoji {
  font-size: 20px;
}

.payLink {
  display: inline-block;
  margin: 10px 0;
  max-width: 100%;
  padding: 12px 25px;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.6px;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: pulseLight 2.5s infinite;
}

.payLink:hover {
  background: linear-gradient(135deg, #feb47b, #ff7e5f);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.payLink:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#copy-all-btn {
  display: block;
  padding: 12px 12px;
  margin: 15px 0 10px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(
    135deg,
    #6a11cb,
    #2575fc
  ); /* фиолетово-синий градиент */
  color: #fff;
  transition: background 0.3s;
}

#copy-all-btn:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
}

.copy-btn {
  display: block;
  padding: 10px 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(135deg, #ff7e5f, #feb47b);
  color: #fff;
  transition: background 0.5s;
}
.copy-btn:hover {
  background: linear-gradient(135deg, #feb47b, #ff7e5f);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
.copied-text {
  animation: highlight 0.8s ease;
}

@keyframes highlight {
  0% {
    background-color: lab(93.66% -5.1 28.38 / 0.6);
  } /* светлый кремовый */
  50% {
    background-color: hwb(51 62% 0% / 0.6);
  } /* мягкий желтоватый */
  100% {
    background-color: transparent;
  }
}
