.text-scramble-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    cursor: pointer;
    user-select: none;
    --primary-color: oklch(0.85 0.15 55);
}
.ts-text-container {
    position: relative;
    font-family: monospace;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: pre-wrap;
}
.ts-char {
    display: inline-block;
    transition: all 150ms;
}
.ts-char.ts-space {
    width: 0.5em;
}
.ts-char.ts-scrambling {
    color: var(--primary-color);
    transform: scale(1.1);
}
.ts-underline {
    position: relative;
    height: 1px;
    width: 100%;
    margin-top: 0.5rem;
    overflow: hidden;
    background-color: #e5e7eb;
}
.ts-underline-fill {
    position: absolute;
    inset: 0;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 500ms ease-out;
}
.text-scramble-wrapper.is-hovering .ts-underline-fill {
    transform: scaleX(1);
}
.ts-glow {
    position: absolute;
    inset: -1rem;
    border-radius: 0.5rem;
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 300ms;
    z-index: -1;
    pointer-events: none;
}
.text-scramble-wrapper.is-hovering .ts-glow {
    opacity: 0.05;
}