/* Explain: Base reset and typography defaults with animation keyframes. - */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
}

body {
    overflow-x: hidden;
}

.word-display-box {
    transition: all 0.3s ease;
}

.word-text-glow {
    text-shadow: 0 0 15px currentColor;
}

.animate-pop {
    animation: pop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.slot-box {
    transition: transform 0.1s;
}

.slot-spinning {
    color: var(--text-muted);
    transform: scale(0.95);
    opacity: 0.8;
}

.slot-stopped {
    animation: slotStop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    color: white;
    text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

@keyframes pop {
    0% { transform: scale(0.95); opacity: 0; }
    50% { transform: scale(1.02); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes slotStop {
    0% { transform: scale(0.8) translateY(-10px); }
    50% { transform: scale(1.1) translateY(5px); }
    100% { transform: scale(1) translateY(0); }
}

[x-cloak] { display: none !important; }