.thanks {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, var(--main-color) 0%, #2D4A6B 100%);
}


.thanks::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.3;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100"/></svg>');
}


.thanks__container {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}


.thanks__content {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 60px 40px;
  overflow: hidden;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}


.thanks__content::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #ff6b6b, var(--accent-color));
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    background: linear-gradient(90deg, var(--accent-color), #ff6b6b, var(--accent-color));
  }

  50% {
    background: linear-gradient(90deg, #ff6b6b, var(--accent-color), #ff6b6b);
  }
}


.thanks__icon {
  margin-bottom: 30px;
}

.thanks__icon i {
  color: var(--accent-color);
  font-size: 80px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}


.thanks__title {
  margin-bottom: 20px;
  color: white;
  font-weight: 700;
  font-size: 48px;
  letter-spacing: -1px;
}


.thanks__message {
  max-width: 400px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
}


.thanks__button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 50px;
  padding: 16px 32px;
  overflow: hidden;
  color: white;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  background: var(--accent-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(229, 62, 62, 0.4);
  background: #d32f2f;
  transform: translateY(-3px);
}

.thanks__button i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.thanks__button:hover i {
  transform: translateX(-3px);
}


.thanks__content::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(229, 62, 62, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


@media (max-width: 768px) {
  .thanks__container {
    padding: 0 15px;
  }

  .thanks__content {
    border-radius: 20px;
    padding: 40px 25px;
  }

  .thanks__icon i {
    font-size: 60px;
  }

  .thanks__title {
    font-size: 36px;
  }

  .thanks__message {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .thanks__button {
    padding: 14px 28px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .thanks__content {
    border-radius: 16px;
    padding: 30px 20px;
  }

  .thanks__icon i {
    font-size: 50px;
  }

  .thanks__title {
    margin-bottom: 15px;
    font-size: 28px;
  }

  .thanks__message {
    margin-bottom: 25px;
    font-size: 15px;
  }

  .thanks__button {
    gap: 8px;
    padding: 12px 24px;
    font-size: 13px;
  }
}


@media (prefers-reduced-motion: reduce) {

  .thanks__icon i,
  .thanks__content::after {
    animation: none;
  }

  .thanks__content::before {
    background: var(--accent-color);
    animation: none;
  }
}