.thanks {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 20px;
  overflow: hidden;
  background: linear-gradient(135deg,
      var(--bg-color) 0%,
      var(--secondary-bg-color) 50%,
      var(--bg-color) 100%);
}


.thanks::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227, 28, 121, 0.08) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.thanks::after {
  content: '';
  position: absolute;
  right: -10%;
  bottom: 10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite reverse;
}

.thanks__container {
  position: relative;
  z-index: 2;
  max-width: 600px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.1),
    0 8px 25px rgba(0, 0, 0, 0.06);
  text-align: center;
  background-color: var(--bg-color);
  animation: slideUp 0.8s ease-out;
}

.thanks__icon {
  display: block;
  margin-bottom: 30px;
  color: var(--accent-color);
  font-size: 80px;
  animation: bounceIn 1s ease-out 0.3s both;
}

.thanks__title {
  margin-bottom: 20px;
  color: var(--main-color);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.5px;
  animation: fadeIn 0.8s ease-out 0.5s both;
}

.thanks__subtitle {
  margin-bottom: 40px;
  color: var(--secondary-color);
  font-size: 18px;
  line-height: 1.6;
  animation: fadeIn 0.8s ease-out 0.7s both;
}

.thanks__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 50px;
  padding: 16px 32px;
  box-shadow: 0 4px 15px rgba(227, 28, 121, 0.3);
  color: var(--bg-color);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
  animation: fadeIn 0.8s ease-out 0.9s both;
}

.thanks__button:hover {
  box-shadow: 0 8px 25px rgba(227, 28, 121, 0.4);
  background-color: #d01967;
  transform: translateY(-2px);
}

.thanks__button:active {
  transform: translateY(0);
}

.thanks__button i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.thanks__button:hover i {
  transform: translateX(-3px);
}


@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  33% {
    transform: translateY(-20px) rotate(1deg);
  }

  66% {
    transform: translateY(-10px) rotate(-1deg);
  }
}




@media (max-width: 1024px) {
  .thanks__container {
    padding: 50px 35px;
  }

  .thanks__title {
    font-size: 36px;
  }

  .thanks__icon {
    font-size: 70px;
  }
}


@media (max-width: 768px) {
  .thanks {
    padding: 30px 16px;
  }

  .thanks__container {
    border-radius: 16px;
    padding: 40px 30px;
  }

  .thanks__title {
    font-size: 32px;
  }

  .thanks__subtitle {
    font-size: 16px;
  }

  .thanks__icon {
    margin-bottom: 25px;
    font-size: 60px;
  }

  .thanks__button {
    padding: 14px 28px;
    font-size: 15px;
  }

  .thanks::before,
  .thanks::after {
    display: none;
  }
}


@media (max-width: 480px) {
  .thanks__container {
    padding: 30px 20px;
  }

  .thanks__title {
    font-size: 28px;
  }

  .thanks__subtitle {
    font-size: 15px;
  }

  .thanks__icon {
    font-size: 50px;
  }

  .thanks__button {
    padding: 12px 24px;
    font-size: 14px;
  }
}