.thanks {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 40px 0;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--secondary-bg-color) 100%);
}

.thanks__content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  border: 2px solid rgba(139, 69, 19, 0.1);
  border-radius: 25px;
  padding: 60px 40px;
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 220, 0.9) 100%);
  animation: fadeInUp 0.8s ease-out;
}

.thanks__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  border-radius: 25px 25px 0 0;
  background: linear-gradient(90deg, var(--main-color), var(--secondary-color), var(--accent-color));
}

.thanks__content::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  z-index: -1;
  width: 200%;
  height: 200%;
  opacity: 0.03;
  background: radial-gradient(circle, var(--accent-color) 0%, transparent 40%);
}

.thanks__icon {
  margin-bottom: 25px;
  animation: heartbeat 2s ease-in-out infinite;
}

.thanks__icon i {
  color: var(--accent-color);
  font-size: 4rem;
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.1));
}

.thanks__title {
  margin-bottom: 20px;
  color: var(--main-color);
  font-weight: 700;
  font-size: 2.8rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.thanks__message {
  max-width: 450px;
  margin-right: auto;
  margin-bottom: 35px;
  margin-left: auto;
  color: #333;
  font-size: 1.3rem;
  line-height: 1.7;
}

.thanks__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 50px;
  padding: 15px 30px;
  box-shadow: 0 8px 20px rgba(139, 69, 19, 0.3);
  overflow: hidden;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  background: var(--main-color);
  transition: all 0.3s ease;
}

.thanks__button::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__button:hover::before {
  left: 100%;
}

.thanks__button:hover {
  box-shadow: 0 12px 30px rgba(139, 69, 19, 0.4);
  background: linear-gradient(135deg, var(--main-color) 0%, var(--accent-color) 100%);
  transform: translateY(-3px) scale(1.05);
}

.thanks__button:active {
  transform: translateY(-1px) scale(1.02);
}

.thanks__button i {
  font-size: 1.2rem;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
}


@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heartbeat {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}


@media (max-width: 768px) {
  .thanks {
    padding: 20px 0;
  }

  .thanks__content {
    margin: 0 20px;
    border-radius: 20px;
    padding: 40px 30px;
  }

  .thanks__icon i {
    font-size: 3.5rem;
  }

  .thanks__title {
    margin-bottom: 15px;
    font-size: 2.2rem;
  }

  .thanks__message {
    margin-bottom: 30px;
    font-size: 1.1rem;
  }

  .thanks__button {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .thanks__button i {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .thanks__content {
    margin: 0 15px;
    border-radius: 15px;
    padding: 35px 20px;
  }

  .thanks__icon i {
    font-size: 3rem;
  }

  .thanks__title {
    margin-bottom: 12px;
    font-size: 1.8rem;
  }

  .thanks__message {
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .thanks__button {
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
  }

  .thanks__button i {
    font-size: 1rem;
  }
}