/* ==========================================================================
   result.css — big animated result text (HEADS / TAILS / YES / NO)
   ========================================================================== */

.result {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.result__text {
    display: flex;
    justify-content: center;
    padding: 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(3rem, 15vw, 10rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
}

/* Each letter lives in a clipping mask so it can slide up into view */
.result__char-mask {
    display: inline-block;
    overflow: hidden;
    margin: -0.1em 0;
    padding: 0.1em 0;
}

.result__char {
    display: inline-block;
    transform-origin: bottom center;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.5);
    will-change: transform;
}
