.thanks-page {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-color) 0%, var(--secondary-bg-color) 100%);
}

.thanks-page::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    radial-gradient(circle at 25% 25%, rgba(106, 0, 244, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 209, 255, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 45, 117, 0.1) 0%, transparent 50%),
    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="%23663399" stroke-width="0.3" opacity="0.3"/></pattern></defs><rect width="100" height="100"/></svg>');
  animation: backgroundPulse 8s ease-in-out infinite;
  pointer-events: none;
}


.gratitude {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0;
}

.gratitude__content {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  border: 2px solid rgba(106, 0, 244, 0.4);
  border-radius: 30px;
  padding: 60px 40px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  text-align: center;
  background: rgba(26, 26, 31, 0.9);
  backdrop-filter: blur(20px);
}

.gratitude__content::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: -1;
  border-radius: 20px;
  opacity: 0.5;
  background: linear-gradient(135deg,
      rgba(106, 0, 244, 0.1) 0%,
      rgba(0, 209, 255, 0.1) 50%,
      rgba(255, 45, 117, 0.1) 100%);
}


.gratitude__icon {
  position: relative;
  margin-bottom: 30px;
}

.gratitude__icon i {
  position: relative;
  color: var(--secondary-color);
  font-size: 80px;
  filter: drop-shadow(0 0 30px var(--secondary-color));
  animation: iconPulse 2s ease-in-out infinite;
}

.gratitude__icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 209, 255, 0.2) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: iconGlow 3s ease-in-out infinite;
}


.gratitude__title {
  position: relative;
  margin-bottom: 25px;
  font-weight: bold;
  font-size: 42px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(45deg, var(--main-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  animation: titleGlow 4s ease-in-out infinite;
  -webkit-text-fill-color: transparent;
}

.gratitude__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 80px;
  height: 3px;
  border-radius: 2px;
  box-shadow: 0 0 15px var(--main-color);
  background: linear-gradient(90deg, var(--main-color), var(--secondary-color));
  transform: translateX(-50%);
}


.gratitude__message {
  position: relative;
  max-width: 450px;
  margin-right: auto;
  margin-bottom: 40px;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.7;
}

.gratitude__message::before {
  content: '"';
  position: absolute;
  top: -15px;
  left: -20px;
  opacity: 0.6;
  color: var(--accent-color);
  font-family: serif;
  font-size: 40px;
}

.gratitude__message::after {
  content: '"';
  position: absolute;
  right: -20px;
  bottom: -25px;
  opacity: 0.6;
  color: var(--accent-color);
  font-family: serif;
  font-size: 40px;
}


.gratitude__home-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  border-radius: 50px;
  padding: 18px 40px;
  box-shadow:
    0 10px 30px rgba(106, 0, 244, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  color: var(--text-color);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--main-color), var(--secondary-color));
  transition: all 0.4s ease;
}

.gratitude__home-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.3),
      transparent);
  transition: left 0.6s ease;
}

.gratitude__home-btn:hover::before {
  left: 100%;
}

.gratitude__home-btn:hover {
  box-shadow:
    0 15px 40px rgba(106, 0, 244, 0.6),
    0 0 30px rgba(0, 209, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
  transform: translateY(-3px) scale(1.05);
}

.gratitude__home-btn:active {
  transform: translateY(-1px) scale(1.02);
}

.gratitude__home-btn i {
  font-size: 20px;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
  transition: transform 0.3s ease;
}

.gratitude__home-btn:hover i {
  transform: scale(1.2);
  animation: homeIconBounce 0.6s ease;
}

.gratitude__home-btn span {
  position: relative;
  z-index: 1;
}


@keyframes backgroundPulse {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

@keyframes borderGlow {

  0%,
  100% {
    opacity: 0.6;
    filter: blur(1px);
  }

  50% {
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes iconPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 30px var(--secondary-color));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 40px var(--secondary-color));
    transform: scale(1.1);
  }
}

@keyframes iconGlow {

  0%,
  100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

@keyframes titleGlow {

  0%,
  100% {
    text-shadow: 0 0 20px rgba(106, 0, 244, 0.5);
  }

  50% {
    text-shadow: 0 0 30px rgba(0, 209, 255, 0.7);
  }
}

@keyframes homeIconBounce {

  0%,
  100% {
    transform: scale(1.2);
  }

  25% {
    transform: scale(1.4);
  }

  50% {
    transform: scale(1.2);
  }

  75% {
    transform: scale(1.3);
  }
}


@media (max-width: 768px) {
  .gratitude__content {
    margin: 20px;
    border-radius: 25px;
    padding: 40px 30px;
  }

  .gratitude__icon i {
    font-size: 60px;
  }

  .gratitude__icon::before {
    width: 100px;
    height: 100px;
  }

  .gratitude__title {
    margin-bottom: 20px;
    font-size: 32px;
  }

  .gratitude__message {
    margin-bottom: 30px;
    font-size: 16px;
  }

  .gratitude__message::before,
  .gratitude__message::after {
    font-size: 30px;
  }

  .gratitude__home-btn {
    gap: 12px;
    padding: 15px 30px;
    font-size: 16px;
  }

  .gratitude__home-btn i {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .gratitude__content {
    margin: 15px;
    border-radius: 20px;
    padding: 30px 20px;
  }

  .gratitude__icon i {
    font-size: 50px;
  }

  .gratitude__title {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .gratitude__message {
    font-size: 15px;
  }

  .gratitude__home-btn {
    gap: 10px;
    padding: 12px 25px;
    font-size: 15px;
  }
}


@media (prefers-reduced-motion: no-preference) {
  .gratitude__content {
    animation: contentFloat 6s ease-in-out infinite;
  }
}

@keyframes contentFloat {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}


.gratitude__home-btn:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 4px;
}

.gratitude__home-btn:focus:not(:focus-visible) {
  outline: none;
}