/* Стилі для сторінки дякування */
.success {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-family-accent);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Фонове зображення на весь екран з оверлеєм та блюром */
.success::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("../images/pexels-kampus-8428076.jpg") center/cover no-repeat;
  filter: blur(12px) brightness(0.8);
  z-index: -2;
}

.success::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: -1;
}

.success__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.success__img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  animation: bounceIn 1s ease-out 0.5s both;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

.success__title {
  margin: 20px 0;
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
  animation: slideInUp 1s ease-out 0.8s both;
}

.success__description {
  margin: 15px 0;
  font-size: clamp(16px, 2.5vw, 20px);
  color: #ffffff;
  line-height: 1.5;
  animation: slideInUp 1s ease-out 1.1s both;
  max-width: 400px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  font-weight: 500;
}

.success__link {
  background: linear-gradient(45deg, var(--color-accent), #1a5f2a);
  color: var(--color-light);
  border-radius: 50px;
  font-weight: 600;
  padding: 14px 32px;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 20px rgba(21, 139, 44, 0.4);
  animation: slideInUp 1s ease-out 1.4s both;
  position: relative;
  overflow: hidden;
  margin: 10px 0;
}

.success__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s;
}

.success__link:hover::before {
  left: 100%;
}

.success__link:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(21, 139, 44, 0.6);
  background: linear-gradient(45deg, #1a5f2a, var(--color-accent));
}

.success__socials {
  margin-top: 35px;
  text-align: center;
  animation: fadeIn 1s ease-out 1.7s both;
}

.success__socials-title {
  margin-bottom: 20px;
  font-size: clamp(18px, 3vw, 22px);
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(255, 255, 255, 0.2);
  position: relative;
}

.success__socials-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent),
    transparent
  );
  border-radius: 1px;
}

.success__socials-list {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.success__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(15px);
          backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.success__social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.1)
  );
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.success__social-link:hover::before {
  transform: scale(1);
}

.success__social-link:hover {
  transform: translateY(-6px) scale(1.08);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.success__social-icon {
  width: 28px;
  height: 28px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.success__social-link:hover .success__social-icon {
  transform: scale(1.15) rotate(3deg);
}

/* Анімації */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-50px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05) translateY(0);
  }
  70% {
    transform: scale(0.9) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Адаптивність для різних розмірів екрану */
@media (max-width: 1200px) {
  .success__inner {
    max-width: 450px;
    padding: 35px 18px;
  }
}

@media (max-width: 768px) {
  .success__inner {
    max-width: 400px;
    padding: 30px 16px;
    margin: 0 15px;
  }

  .success__img {
    width: 70px;
    height: 70px;
    margin-bottom: 18px;
  }

  .success__title {
    margin: 18px 0;
  }

  .success__description {
    margin: 12px 0;
  }

  .success__socials {
    margin-top: 30px;
  }

  .success__socials-list {
    gap: 16px;
  }

  .success__social-link {
    width: 50px;
    height: 50px;
  }

  .success__social-icon {
    width: 25px;
    height: 25px;
  }
}

@media (max-width: 480px) {
  .success__inner {
    max-width: 350px;
    padding: 25px 15px;
    margin: 0 10px;
  }

  .success__img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .success__title {
    margin: 15px 0;
  }

  .success__description {
    margin: 10px 0;
  }

  .success__link {
    padding: 12px 28px;
    font-size: 15px;
  }

  .success__socials {
    margin-top: 25px;
  }

  .success__socials-list {
    gap: 14px;
  }

  .success__social-link {
    width: 45px;
    height: 45px;
  }

  .success__social-icon {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 360px) {
  .success__inner {
    max-width: 300px;
    padding: 20px 12px;
    margin: 0 8px;
  }

  .success__img {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
  }

  .success__socials-list {
    gap: 12px;
  }

  .success__social-link {
    width: 40px;
    height: 40px;
  }

  .success__social-icon {
    width: 20px;
    height: 20px;
  }
}

/* Додаткові ефекти для кращої взаємодії */
.success__link:active {
  transform: translateY(-2px) scale(0.98);
}

.success__social-link:active {
  transform: translateY(-3px) scale(0.95);
}

/* Покращення для темної теми */
@media (prefers-color-scheme: dark) {
  .success__title {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
  }
}

/* Покращення для високих екранів */
@media (min-height: 800px) {
  .success__inner {
    padding: 50px 25px;
  }

  .success__socials {
    margin-top: 40px;
  }
}
/*# sourceMappingURL=success.css.map */