.thanks {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background: linear-gradient(135deg, var(--bg-color) 0%, rgba(42, 127, 98, 0.05) 100%);
}

.thanks__container {
  width: 100%;
  max-width: 600px;
}

.thanks__content {
  position: relative;
  border: 1px solid rgba(42, 127, 98, 0.1);
  border-radius: 20px;
  padding: 60px 40px;
  box-shadow: 0 20px 60px rgba(42, 127, 98, 0.1);
  text-align: center;
  background: var(--secondary-bg-color);
}

.thanks__content::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
}

.thanks__icon {
  margin-bottom: 30px;
}

.thanks__icon i {
  color: var(--main-color);
  font-size: 80px;
  animation: checkAnimation 0.6s ease-in-out;
}

@keyframes checkAnimation {
  0% {
    opacity: 0;
    transform: scale(0);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.thanks__title {
  margin-bottom: 20px;
  color: var(--main-color);
  font-weight: 700;
  font-size: 36px;
  line-height: 1.2;
}

.thanks__message {
  margin-bottom: 40px;
  opacity: 0.8;
  color: var(--text-color);
  font-size: 18px;
  line-height: 1.6;
}

.thanks__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 50px;
  padding: 16px 32px;
  box-shadow: 0 8px 25px rgba(42, 127, 98, 0.3);
  overflow: hidden;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  background: linear-gradient(135deg, var(--main-color), var(--accent-color));
  transition: all 0.3s ease;
}

.thanks__btn::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.5s ease;
}

.thanks__btn:hover::before {
  left: 100%;
}

.thanks__btn:hover {
  box-shadow: 0 12px 35px rgba(42, 127, 98, 0.4);
  transform: translateY(-2px);
}

.thanks__btn:active {
  transform: translateY(0);
}

.thanks__btn i {
  font-size: 18px;
}


@media (max-width: 768px) {
  .thanks {
    padding: 15px;
  }

  .thanks__content {
    border-radius: 15px;
    padding: 40px 30px;
  }

  .thanks__icon i {
    font-size: 60px;
  }

  .thanks__title {
    font-size: 28px;
  }

  .thanks__message {
    font-size: 16px;
  }

  .thanks__btn {
    padding: 14px 28px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .thanks__content {
    padding: 30px 20px;
  }

  .thanks__icon i {
    font-size: 50px;
  }

  .thanks__title {
    font-size: 24px;
  }

  .thanks__message {
    margin-bottom: 30px;
    font-size: 15px;
  }

  .thanks__btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}