.thank-you {
    position: relative;
    min-height: calc(100vh - 4.25rem);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.thank-you::before,
.thank-you::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(12px);
}

.thank-you::before {
    width: 24rem;
    height: 24rem;
    right: -8rem;
    top: 8rem;
    background: radial-gradient(circle, rgba(215, 38, 56, 0.28), transparent 68%);
}

.thank-you::after {
    width: 18rem;
    height: 18rem;
    left: -6rem;
    bottom: 4rem;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.12), transparent 70%);
}

.thank-you__card {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
}

.thank-you__badge {
    width: 5.25rem;
    height: 5.25rem;
    margin: 0 auto var(--space-6);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background:
            radial-gradient(circle at 30% 15%, rgba(255, 255, 255, 0.75), transparent 36%),
            linear-gradient(135deg, var(--color-primary-strong), #7f1d1d);
    box-shadow:
            0 0 0 1px rgba(248, 250, 252, 0.16),
            0 0 34px rgba(248, 113, 113, 0.75),
            0 22px 70px rgba(0, 0, 0, 0.75);
}

.thank-you__badge span {
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 800;
    color: #fff;
}

.thank-you__title {
    max-width: 680px;
    margin: 0 auto var(--space-4);
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: var(--leading-tight);
    background: linear-gradient(110deg, #f9fafb 10%, #fecaca 42%, #f97373 75%, #f9fafb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.thank-you__text {
    max-width: 620px;
    margin: 0 auto;
    color: var(--color-text-soft);
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
}

.thank-you__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-3);
    margin-top: var(--space-6);
}

.thank-you__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.thank-you__note {
    max-width: 560px;
    margin: var(--space-6) auto 0;
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
}

@media (max-width: 640px) {
    .thank-you {
        min-height: auto;
        padding-block: var(--space-10);
    }

    .thank-you__card {
        padding: var(--space-6);
    }

    .thank-you__actions {
        flex-direction: column;
    }

    .thank-you__actions .btn {
        width: 100%;
    }
}