/* ==========================================================
   QUICKBAR — slim utility strip of portal/quick-action links.
   Markup lives in sections/quickbar.html
   ========================================================== */

.quickbar{
    background: var(--bg-alt);
    border-top: 1px solid var(--gray-150);
    border-bottom: 1px solid var(--gray-150);
    padding: 28px 0;
}

.qrow{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 34px;
}

.qchip{
    display: flex;
    align-items: center;
    gap: 7px;

    font-size: 20px;
    font-weight: 600;
    color: var(--gray-700);

    transform-origin: center bottom;
    transition: color .25s ease;

    animation: qchipPop 9s ease-in-out infinite;
}

.qchip:hover{
    color: var(--crimson);
    animation-play-state: paused;
    transform: translateY(-2px);
}

.qchip .arrow{
    color: var(--crimson);
    font-size: 12px;
    transition: transform .25s ease;
}

.qchip:hover .arrow{
    transform: translateX(4px);
}

.qrow .qchip:nth-child(1){ animation-delay: 0s; }
.qrow .qchip:nth-child(2){ animation-delay: 1.5s; }
.qrow .qchip:nth-child(3){ animation-delay: 3s; }
.qrow .qchip:nth-child(4){ animation-delay: 4.5s; }
.qrow .qchip:nth-child(5){ animation-delay: 6s; }
.qrow .qchip:nth-child(6){ animation-delay: 7.5s; }

@keyframes qchipPop{
    0%, 80%, 100%{
        transform: translateY(0) scale(1);
        color: var(--gray-700);
        text-shadow: none;
    }
    6%{
        transform: translateY(-6px) scale(1.2);
        color: var(--crimson);
        text-shadow: 0 0 12px rgba(180, 30, 60, 0.45);
    }
    10%{
        transform: translateY(-2px) scale(1.12);
        color: var(--crimson);
        text-shadow: 0 0 8px rgba(180, 30, 60, 0.3);
    }
    16%{
        transform: translateY(0) scale(1);
        color: var(--gray-700);
        text-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce){
    .qchip{ animation: none; }
}

/* Mobile */
@media (max-width:768px){
    .quickbar{ padding:16px 0; }
    .qrow{ gap:18px; }
    .qchip{ font-size:13px; }
}