.thankyou-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--space-section-y-large) + 1.5rem);
  padding-bottom: var(--space-section-y-large);
}

.thankyou-shell {
  position: relative;
  max-width: 44rem;
  margin: 0 auto;
  padding: calc(var(--space-2xl) * 0.9) var(--space-2xl);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top left, rgba(255, 51, 102, 0.16), transparent 60%),
    radial-gradient(circle at bottom right, rgba(79, 70, 229, 0.2), transparent 60%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(var(--blur-glass));
  -webkit-backdrop-filter: blur(var(--blur-glass));
  overflow: hidden;
}

.thankyou-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.thankyou-glow {
  position: absolute;
  width: 60%;
  height: 40%;
  filter: blur(40px);
  opacity: 0.75;
}

.thankyou-glow-top {
  top: -10%;
  left: -10%;
  background: radial-gradient(circle at center, rgba(255, 51, 102, 0.7), transparent 60%);
}

.thankyou-glow-bottom {
  bottom: -15%;
  right: -10%;
  background: radial-gradient(circle at center, rgba(79, 70, 229, 0.7), transparent 60%);
}

.thankyou-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.65);
  background: rgba(15, 23, 42, 0.9);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-bottom: var(--space-md);
}

.thankyou-badge::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--color-accent-emerald);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.9);
}

.thankyou-title {
  font-size: clamp(2.3rem, 3.6vw, 2.8rem);
  margin-bottom: var(--space-sm);
}

.thankyou-lead {
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-md);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
}

.thankyou-next {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-lg);
  font-size: var(--text-base);
  color: var(--color-text-soft);
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.thankyou-note {
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.thankyou-note a {
  color: var(--color-accent-primary);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.thankyou-note a:hover {
  color: #fff !important;
}

@media (max-width: 768px) {
  .thankyou-hero {
    padding-top: var(--space-section-y-large);
    padding-bottom: var(--space-section-y);
  }

  .thankyou-shell {
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
  }

  .thankyou-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .thankyou-shell {
    padding: var(--space-lg) var(--space-md);
  }

  .thankyou-title {
    font-size: clamp(2rem, 8vw, 2.3rem);
  }
}
