/*
 * Gemini Visual Prompts — additions on top of the compiled assets/app.css.
 *
 * Loaded after app.css, so the theme needs no build step for these. Everything
 * here is plain CSS and reads the same colour tokens as the rest of the theme.
 */

/* Small label above the hero headline */
.gvp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    height: 1.9rem;
    padding: 0 .8rem;
    border-radius: 999px;
    border: 1px solid rgb(var(--cd-line));
    background: rgb(var(--cd-raised));
    color: var(--cd-primary-ink);
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .01em;
}
.gvp-eyebrow svg { width: 1rem; height: 1rem; color: var(--cd-primary); }

/* Footer category links: an icon tile and a label */
.gvp-fcat {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    transition: color .15s;
}
.gvp-fcat__icon {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    flex: none;
    border-radius: .5rem;
    background: rgb(255 255 255 / .05);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1);
    color: #cbd5e1;
    transition: background-color .15s, color .15s, box-shadow .15s;
}
.gvp-fcat__icon svg { width: 1rem; height: 1rem; }
.gvp-fcat:hover,
.gvp-fcat:focus-visible { color: #fff; }
.gvp-fcat:hover .gvp-fcat__icon,
.gvp-fcat:focus-visible .gvp-fcat__icon {
    background: var(--cd-primary);
    color: #fff;
    box-shadow: inset 0 0 0 1px var(--cd-primary);
}

/* Hero illustration: the divider slides across once, the picture floats, sparkles twinkle */
@keyframes gvp-float   { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes gvp-twinkle { 0%, 100% { opacity: .25; transform: scale(.65); } 50% { opacity: 1; transform: scale(1); } }
@keyframes gvp-slide   { from { transform: translateX(var(--from, 0)); } to { transform: translateX(var(--to, 0)); } }
@keyframes gvp-dash    { to { stroke-dashoffset: -24; } }

.gvp-float   { animation: gvp-float 7s ease-in-out 2.4s infinite; }
.gvp-twinkle { transform-box: fill-box; transform-origin: center; animation: gvp-twinkle 2.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.gvp-slide   { animation: gvp-slide 1.8s cubic-bezier(.4, 0, .2, 1) .4s both; }
.gvp-ants    { stroke-dasharray: 6 6; animation: gvp-dash 1.2s linear infinite; }

@media (prefers-reduced-motion: reduce) {
    .gvp-float, .gvp-twinkle, .gvp-ants { animation: none; }
    .gvp-slide { animation: none; transform: translateX(var(--to, 0)); }
}
