/* Olspark cinematic intro — once per visitor, brand black/white/red */
html.cine-lock, html.cine-lock body { overflow: hidden; height: 100%; }

.cine {
    position: fixed; inset: 0; z-index: 3000; background: #050505; color: #fff;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    font-family: 'Cairo','Inter',sans-serif;
}
.cine.cine-hide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s .9s; }

/* animated red glow background */
.cine-bg {
    position: absolute; inset: -20%; z-index: 0;
    background:
        radial-gradient(circle at 25% 30%, rgba(216,30,32,.30), transparent 42%),
        radial-gradient(circle at 78% 70%, rgba(216,30,32,.18), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(40,0,0,.6), transparent 70%);
    animation: cineDrift 14s ease-in-out infinite alternate;
}
@keyframes cineDrift { from { transform: scale(1) translate(0,0); } to { transform: scale(1.25) translate(-3%, 2%); } }
.cine-grain {
    position: absolute; inset: 0; z-index: 1; opacity: .05; pointer-events: none;
    background-image: radial-gradient(rgba(255,255,255,.6) 0.5px, transparent 0.5px);
    background-size: 4px 4px;
}

.cine-stage { position: relative; z-index: 2; width: min(900px, 90vw); text-align: center; min-height: 60vh; display: flex; align-items: center; justify-content: center; }

.cine-scene {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
    opacity: 0; visibility: hidden; transform: translateY(28px) scale(.98);
    transition: opacity .8s ease, transform .9s cubic-bezier(.2,.7,.2,1), visibility 0s .9s;
}
.cine-scene.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .9s ease .15s, transform 1s cubic-bezier(.2,.7,.2,1) .15s; }
.cine-scene.is-leaving { opacity: 0; visibility: hidden; transform: translateY(-22px) scale(1.02); }

.cine-scene h2 { font-size: clamp(1.9rem, 5.5vw, 4rem); font-weight: 900; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
.cine-scene p { font-size: clamp(1.05rem, 2.4vw, 1.5rem); color: rgba(255,255,255,.78); max-width: 720px; margin: 0; }
.cine-scene.is-active h2 { animation: cineRise .9s cubic-bezier(.2,.7,.2,1) both .2s; }
.cine-scene.is-active p { animation: cineRise .9s cubic-bezier(.2,.7,.2,1) both .45s; }
@keyframes cineRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

.cine-step { position: absolute; top: 8%; font-size: clamp(4rem, 14vw, 9rem); font-weight: 900; color: rgba(216,30,32,.16); letter-spacing: .05em; }

.cine-logo { width: min(360px, 70vw); filter: drop-shadow(0 8px 30px rgba(216,30,32,.45)); animation: cineLogoIn 1.1s cubic-bezier(.2,.7,.2,1) both; }
.cine-logo-sm { width: min(220px, 50vw); }
@keyframes cineLogoIn { from { opacity: 0; transform: scale(.8); filter: blur(8px); } to { opacity: 1; transform: none; } }

.cine-kicker { color: rgba(255,255,255,.7); font-size: 1.1rem; margin: 8px 0 0; }
.cine-hint { color: rgba(255,255,255,.45); font-size: .85rem; margin-top: 4px; }
.cine-hint .bi, .cine-kicker .bi { color: var(--ols-red, #D81E20); }

.cine-begin {
    margin-top: 10px; background: var(--ols-red, #D81E20); color: #fff; border: none;
    font-weight: 800; font-size: 1.15rem; padding: .85rem 2.2rem; border-radius: 999px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px; transition: transform .25s ease, box-shadow .25s ease;
    box-shadow: 0 10px 36px rgba(216,30,32,.45); animation: cinePulse 2.2s ease-in-out infinite;
}
.cine-begin:hover { transform: translateY(-3px) scale(1.03); }
@keyframes cinePulse { 0%,100% { box-shadow: 0 10px 36px rgba(216,30,32,.4); } 50% { box-shadow: 0 12px 48px rgba(216,30,32,.7); } }

.cine-skip {
    position: absolute; top: 22px; inset-inline-end: 26px; z-index: 5;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #fff;
    padding: .5rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; cursor: pointer; backdrop-filter: blur(6px);
    display: inline-flex; align-items: center; gap: 8px; transition: var(--transition,.3s);
}
.cine-skip:hover { background: var(--ols-red, #D81E20); border-color: var(--ols-red, #D81E20); }

/* scene 1 trust / licensing */
.cine-trust { display: flex; gap: clamp(14px,3vw,34px); flex-wrap: wrap; justify-content: center; }
.cine-trust div { display: flex; flex-direction: column; align-items: center; gap: 10px; width: clamp(120px,22vw,160px); animation: cinePop .6s cubic-bezier(.2,.8,.2,1) both; }
.cine-trust i {
    font-size: clamp(1.8rem,5vw,2.6rem); width: clamp(64px,12vw,82px); height: clamp(64px,12vw,82px);
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
    background: rgba(216,30,32,.12); color: var(--ols-red, #D81E20); border: 1px solid rgba(216,30,32,.35);
}
.cine-trust span { color: rgba(255,255,255,.85); font-weight: 700; font-size: .95rem; }
.cine-scene.is-active .cine-trust div:nth-child(1){animation-delay:.45s}
.cine-scene.is-active .cine-trust div:nth-child(2){animation-delay:.6s}
.cine-scene.is-active .cine-trust div:nth-child(3){animation-delay:.75s}
.cine-scene.is-active .cine-trust div:nth-child(4){animation-delay:.9s}

/* scene 2 numbers */
.cine-nums { display: flex; gap: clamp(20px,5vw,60px); flex-wrap: wrap; justify-content: center; }
.cine-nums div { display: flex; flex-direction: column; }
.cine-nums b { font-size: clamp(2.4rem,7vw,4.5rem); font-weight: 900; color: var(--ols-red, #D81E20); line-height: 1; }
.cine-nums span { color: rgba(255,255,255,.7); font-weight: 600; margin-top: 6px; }

/* scene 3 flags */
.cine-flags { display: flex; gap: clamp(8px,2.4vw,22px); flex-wrap: wrap; justify-content: center; }
.cine-flags span { font-size: clamp(2.2rem,7vw,4rem); animation: cinePop .6s cubic-bezier(.2,.8,.2,1) both; }
.cine-scene.is-active .cine-flags span:nth-child(1){animation-delay:.5s}
.cine-scene.is-active .cine-flags span:nth-child(2){animation-delay:.62s}
.cine-scene.is-active .cine-flags span:nth-child(3){animation-delay:.74s}
.cine-scene.is-active .cine-flags span:nth-child(4){animation-delay:.86s}
.cine-scene.is-active .cine-flags span:nth-child(5){animation-delay:.98s}
.cine-scene.is-active .cine-flags span:nth-child(6){animation-delay:1.1s}
.cine-scene.is-active .cine-flags span:nth-child(7){animation-delay:1.22s}
@keyframes cinePop { from { opacity: 0; transform: scale(.3) translateY(20px); } to { opacity: 1; transform: none; } }

/* scene 4 icons */
.cine-icons { display: flex; gap: clamp(14px,3vw,30px); flex-wrap: wrap; justify-content: center; }
.cine-icons i {
    font-size: clamp(1.8rem,5vw,3rem); width: clamp(64px,12vw,92px); height: clamp(64px,12vw,92px);
    display: flex; align-items: center; justify-content: center; border-radius: 18px;
    background: rgba(216,30,32,.12); color: var(--ols-red, #D81E20); border: 1px solid rgba(216,30,32,.3);
    animation: cinePop .6s cubic-bezier(.2,.8,.2,1) both;
}
.cine-scene.is-active .cine-icons i:nth-child(1){animation-delay:.45s}
.cine-scene.is-active .cine-icons i:nth-child(2){animation-delay:.57s}
.cine-scene.is-active .cine-icons i:nth-child(3){animation-delay:.69s}
.cine-scene.is-active .cine-icons i:nth-child(4){animation-delay:.81s}
.cine-scene.is-active .cine-icons i:nth-child(5){animation-delay:.93s}
.cine-scene.is-active .cine-icons i:nth-child(6){animation-delay:1.05s}

/* progress */
.cine-progress { position: absolute; bottom: 0; inset-inline-start: 0; height: 3px; width: 100%; background: rgba(255,255,255,.08); z-index: 5; }
.cine-progress span { display: block; height: 100%; width: 0; background: var(--ols-red, #D81E20); transition: width .5s ease; }

@media (max-width: 600px) { .cine-step { top: 4%; } .cine-skip { top: 14px; inset-inline-end: 14px; } }
