/* KV splash: the crown drops, KOLLECTIVE slams in, VENDETTA sprays on, gold sparks + shine, then the logo glides
   onto the hero's (same picture) while the black melts away. Once per visit, tap to skip. Driven by splash.js. */
.kvs { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden;
       background-color: #050505; cursor: pointer; transition: background-color 1.3s ease; }
.kvs.morph { background-color: transparent; pointer-events: none; }
.kvs .glow { position: absolute; inset: 0; pointer-events: none; opacity: 0;
             background: radial-gradient(ellipse 55% 45% at 50% 50%, rgba(200, 146, 15, .42), transparent 70%);
             animation: kvs-glow 1.6s ease-out 1.25s forwards; }
@keyframes kvs-glow { 0% { opacity: 0; transform: scale(.7); } 35% { opacity: 1; } 100% { opacity: .75; transform: scale(1); } }

.kvs .stage { position: relative; width: min(640px, 92vw); aspect-ratio: 2 / 1; }
.kvs .stage > img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* 1. the crown falls and bounces */
.kvs .crown { animation: kvs-crown .75s cubic-bezier(.3, 1.45, .5, 1) .25s both; transform-origin: 52% 25%; }
@keyframes kvs-crown { 0% { transform: translateY(-140%) rotate(-14deg); opacity: 0; }
                       45% { opacity: 1; } 100% { transform: none; opacity: 1; } }
/* 2. KOLLECTIVE slams in from the left with a motion smear */
.kvs .kollective { animation: kvs-slam .45s cubic-bezier(.2, .9, .3, 1.15) .8s both; }
@keyframes kvs-slam { 0% { transform: translateX(-70%) skewX(-18deg); opacity: 0; filter: blur(10px); }
                      70% { filter: blur(0); } 100% { transform: none; opacity: 1; filter: none; } }
/* 3. VENDETTA sprays on left to right */
.kvs .vendetta { animation: kvs-spray .75s cubic-bezier(.6, 0, .25, 1) 1.2s both; }
@keyframes kvs-spray { 0% { clip-path: inset(-10% 100% -10% 0); transform: scale(1.04); }
                       100% { clip-path: inset(-10% 0 -10% 0); transform: none; } }
/* the stage takes the hit when KOLLECTIVE lands */
.kvs .stage { animation: kvs-hit .32s ease-out 1.18s; }
@keyframes kvs-hit { 0%, 100% { translate: 0 0; } 25% { translate: -6px 3px; } 50% { translate: 5px -2px; } 75% { translate: -2px 1px; } }

/* 4. gold shine across the whole wordmark (masked to its shape in splash.js) */
.kvs .shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
              -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
              background: linear-gradient(105deg, transparent 38%, rgba(255, 240, 190, .9) 50%, transparent 62%) no-repeat;
              background-size: 260% 100%; background-position: 170% 0; animation: kvs-shine 1s ease-in-out 2.05s both; }
@keyframes kvs-shine { to { background-position: -70% 0; } }

/* gold sparks thrown off when the crown lands (made in splash.js) */
.kvs .spark { position: absolute; left: 50%; top: 22%; width: 5px; height: 5px; border-radius: 50%;
              background: #ffd75a; box-shadow: 0 0 8px 2px rgba(242, 194, 48, .8); opacity: 0;
              animation: kvs-spark .9s cubic-bezier(.15, .7, .3, 1) .62s forwards; }
@keyframes kvs-spark { 0% { opacity: 1; transform: translate(0, 0) scale(1); }
                       100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.3); } }

.kvs .skip { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; font: 500 11px/1 Inter, sans-serif;
             letter-spacing: .3em; text-transform: uppercase; color: #5a554b; transition: opacity .35s; }
.kvs.morph .skip, .kvs.morph .glow, .kvs.morph .shine, .kvs.morph .spark { opacity: 0 !important; transition: opacity .35s; }

@media (prefers-reduced-motion: reduce) { .kvs { display: none; } }
