/* =====================================
MARK: Silence Animation
===================================== */

.silence-container {
    --paper-color: #d3d3d3;
    position: relative;
    width: 100%;
    height: var(--animation-height, 80vh);
    background-color: var(--paper-color);
    /* SVG Noise texture to perfectly mimic grainy paper */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    color: var(--paper-color);
    font-family: "Inter", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

@media (min-width: 1024px) {
    .silence-container {
        height: var(--animation-height, 90vh);
    }
}

.silence-container .word-container {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(3.5rem, 13vw, 11.5rem);
    font-weight: 200;
    letter-spacing: clamp(0.5rem, 1.8vw, 1.8rem);
    cursor: crosshair;
    padding: 2rem 1rem;
    box-sizing: border-box;
    max-width: 100%;
}

.silence-container .letter {
    display: inline-block;
    /* Perfectly matches background and no shadow = Completely Invisible */
    color: var(--paper-color);
    text-shadow: none;
    /* Fade the embossed shadow with a smooth, elegant easing */
    transition: text-shadow 3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Default state: Word is visible when the container has 'is-visible' */
.silence-container .word-container.is-visible .letter {
    /* Finetuned Paper Letterpress / Embossed effect scaled for larger size */
    text-shadow:
        -1.5px -1.5px 3px rgba(255, 255, 255, 0.9),
        /* Crisp top-left highlight */
        1.5px 1.5px 3px rgba(175, 165, 155, 0.6),
        /* Crisp bottom-right shadow (tinted to match paper) */
        -5px -5px 14px rgba(255, 255, 255, 0.7),
        /* Soft ambient light */
        5px 5px 14px rgba(175, 165, 155, 0.4);
    /* Soft ambient shadow */
}
