.celebrato-loader-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(1px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
}

.celebrato-loader {
    display: flex;
    gap: 6px;
    align-items: flex-end;
}

.celebrato-gif {
    width: 96px;
    height: 96px;
}

.celebrato-letter {
    width: 20px;
    height: 20px;
    font-weight: 800;
    font-size: 20px;
    line-height: 20px;
    opacity: 0; /* hidden until reveal */
    /* Two animations: first reveal (once), then float (loop) */
    animation-name: celebratoReveal, celebratoFloat;
    animation-duration: .7s, 1.6s;
    animation-timing-function: ease, ease-in-out;
    animation-iteration-count: 1, infinite;
    animation-fill-mode: forwards, none;
}

/* Staggered delays for each letter */
.celebrato-letter:nth-child(1) { animation-delay: 0s, 0s; }
.celebrato-letter:nth-child(2) { animation-delay: .15s, .15s; }
.celebrato-letter:nth-child(3) { animation-delay: .30s, .30s; }
.celebrato-letter:nth-child(4) { animation-delay: .45s, .45s; }
.celebrato-letter:nth-child(5) { animation-delay: .60s, .60s; }
.celebrato-letter:nth-child(6) { animation-delay: .75s, .75s; }
.celebrato-letter:nth-child(7) { animation-delay: .90s, .90s; }
.celebrato-letter:nth-child(8) { animation-delay: 1.05s, 1.05s; }
.celebrato-letter:nth-child(9) { animation-delay: 1.20s, 1.20s; }

/* Alternate brand colors: green then orange */
.celebrato-letter:nth-child(odd) { color: #198754; }
.celebrato-letter:nth-child(even) { color: #fd7e14; }

@keyframes celebratoFloat {
    0%, 100% { transform: translateY(0); opacity: 0.9; }
    50% { transform: translateY(-8px); opacity: 1; }
}

@keyframes celebratoReveal {
    0% { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}


