/* CineSolo landing (variant C «Кино»). */
:root { --bg:#020c10; --ink:#eef6f6; --muted:#9db3b6; --lime:#d8ff1e; --cyan:#4fe6f2; --line:#24464d; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html,body { margin:0; height:100%; }
body { background:var(--bg); color:var(--ink); font-family:'Segoe UI','Inter',Arial,sans-serif; overflow-x:hidden; }
.scene { position:relative; min-height:100vh; overflow:hidden;
  background:
    radial-gradient(1200px 700px at 72% 48%, #0b3440 0%, #05171d 45%, transparent 70%),
    radial-gradient(900px 500px at 10% 10%, #0a2b35 0%, transparent 60%),
    linear-gradient(160deg,#03141a 0%, #020a0d 60%, #01080b 100%); }
.scene::before,.scene::after { content:''; position:absolute; pointer-events:none; filter:blur(2px); opacity:.55; }
.scene::before { left:-10%; top:-30%; width:70%; height:70%; background:linear-gradient(115deg,transparent 45%,#1d6f7f33 50%,transparent 56%); }
.scene::after { right:-15%; bottom:-35%; width:90%; height:70%; background:linear-gradient(160deg,transparent 46%,#1b6c7b40 50%,transparent 55%); }
header.top { position:absolute; top:56px; right:80px; display:flex; gap:14px; z-index:5; align-items:center; }
.btn { font:600 15px 'Segoe UI',sans-serif; padding:12px 24px; border-radius:24px; cursor:pointer; transition:box-shadow .25s, background .25s, transform .15s, border-color .25s; }
.btn:active { transform:translateY(1px); }
.btn.ghost { background:#06171cd0; color:var(--ink); border:1px solid #3b5961; }
.btn.ghost:hover,.btn.ghost:focus-visible { border-color:var(--cyan); box-shadow:0 0 0 1px #4fe6f255,0 0 18px #4fe6f240; outline:none; }
.btn.lime { background:var(--lime); color:#0d1600; border:1px solid var(--lime); }
.btn.lime:hover,.btn.lime:focus-visible { box-shadow:0 0 22px #d8ff1e88; background:#e6ff5c; outline:none; }
.who { color:var(--muted); font-size:14px; } .who b { color:var(--lime); font-weight:600; }
.copy { position:absolute; left:8%; top:31%; max-width:640px; z-index:3; }
.brand { display:flex; align-items:center; gap:16px; margin:0 0 28px; }
.brand img { height:40px; filter:drop-shadow(0 0 8px #d8ff1e44); }
.brand span { font:500 28px 'Segoe UI',sans-serif; letter-spacing:.32em; } .brand span b { color:var(--lime); font-weight:500; }
h1 { font:600 clamp(40px,4.6vw,72px)/1.08 'Segoe UI',sans-serif; letter-spacing:-.035em; margin:0 0 26px; }
.sub { font-size:clamp(17px,1.4vw,22px); color:#b9cdd0; margin:0; }
.tag { position:absolute; left:8%; bottom:20%; color:#9ab0b3; font-size:15px; letter-spacing:.04em; z-index:3; }
.hint { color:var(--lime); font-size:15px; margin-top:28px; min-height:1.5em; opacity:0; transition:opacity .4s; }
.signed .hint { opacity:1; }
.iris-wrap { position:absolute; right:7%; top:11%; width:min(44vw,760px); aspect-ratio:730/720; z-index:2; perspective:1200px; }
.iris-tilt { width:100%; height:100%; will-change:transform; }  /* turned toward the mouse every frame (portal.js) */
.iris { width:100%; height:100%; overflow:visible; }
/* blades */
.blade { cursor:default; outline:none; }
.blade .hit { pointer-events:all; }
.blade .glow { opacity:0; transition:opacity .35s; pointer-events:none; }
.blade .rim { fill:none; stroke:var(--lime); stroke-width:4; stroke-linecap:round; opacity:0; transition:opacity .35s; pointer-events:none; }
.blade text { font:600 25px 'Segoe UI',sans-serif; letter-spacing:.14em; fill:#f2f8f8; text-anchor:middle; dominant-baseline:middle; pointer-events:none; transition:fill .3s, opacity .3s; paint-order:stroke; stroke:#00000055; stroke-width:3px; }
.blade text.soon-tag { font-size:14px; letter-spacing:.2em; fill:#9ab0b3; opacity:0; }
body:not(.signed) .blade text:not(.soon-tag) { opacity:.55; }
.signed .blade[data-studio]:not(.soon) { cursor:pointer; }
.signed .blade:hover .glow,.signed .blade:focus-visible .glow { opacity:1; }
.signed .blade:hover .rim,.signed .blade:focus-visible .rim { opacity:1; }
.signed .blade:hover text:not(.soon-tag),.signed .blade:focus-visible text:not(.soon-tag) { fill:var(--lime); }
.signed .blade.soon:hover .soon-tag { opacity:1; }
/* rim light sweep */
.sweep { fill:none; stroke-width:3; stroke-linecap:round; opacity:.8; }
.sweep-g { transform-origin:365px 357px; animation:spin 9s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.glint { opacity:.25; animation:glint 5s ease-in-out infinite; }
@keyframes glint { 0%,100% { opacity:.12; } 50% { opacity:.45; } }
/* opening and tilt */
/* 'backwards': after opening, the animation lets go so the mouse tilt can turn the aperture */
.iris { animation:open 1.6s cubic-bezier(.2,.7,.2,1) backwards; }
@keyframes open { from { transform:rotate(-35deg) scale(.86); opacity:0; filter:blur(6px); } to { transform:none; opacity:1; filter:none; } }
.dust { position:absolute; inset:0; pointer-events:none; z-index:1; }
/* modal */
.modal { position:fixed; inset:0; background:#000a; display:grid; place-items:center; z-index:20; backdrop-filter:blur(3px); }
.card { width:min(420px,calc(100% - 32px)); background:linear-gradient(140deg,#0b252b,#06161b); border:1px solid var(--line); border-radius:18px; padding:28px; box-shadow:0 20px 60px #000a; }
.card h2 { margin:0 0 18px; font:500 26px Georgia,serif; }
.card label { display:grid; gap:6px; color:var(--muted); font-size:13px; margin-bottom:14px; }
.card input { padding:11px 12px; border-radius:10px; border:1px solid #2d4b52; background:#081c22; color:var(--ink); font:inherit; }
.card .row { display:flex; gap:10px; justify-content:flex-end; margin-top:8px; }
.card .err { color:#ff807b; min-height:1.3em; font-size:14px; }
@media (max-width:900px) {
  header.top { top:20px; right:16px; } .copy { position:relative; left:auto; top:auto; padding:110px 20px 0; }
  .iris-wrap { position:relative; right:auto; top:auto; width:min(92vw,520px); margin:24px auto 0; }
  .tag { position:relative; left:auto; bottom:auto; padding:20px 20px 40px; order:3; }
  .scene { display:flex; flex-direction:column; } .copy { order:1; } .iris-wrap { order:2; }
}
@media (prefers-reduced-motion:reduce) { .sweep-g,.glint,.iris { animation:none; } }

.card .tabs { display:flex; gap:6px; margin-bottom:18px; }
.card .tab { flex:1; padding:10px; border-radius:10px; background:transparent; color:var(--muted); border:1px solid #2d4b52; font:600 14px 'Segoe UI',sans-serif; cursor:pointer; }
.card .tab.active { background:var(--lime); color:#0d1600; border-color:var(--lime); }
.card .msg { color:var(--muted); min-height:1.3em; font-size:14px; margin:4px 0 0; }
.card .msg.error { color:#ff807b; }
.card .small { color:#7d9598; font-size:12px; margin:12px 0 0; }
.card p.small:first-of-type { margin-top:0; }
.card input:focus { outline:none; border-color:var(--cyan); box-shadow:0 0 0 3px #4fe6f218; }
.blade text.soon-tag { font-size:13px; }
.signed .blade.soon { cursor:default; }
.signed .blade.soon:hover .soon-tag,.signed .blade.soon:focus-visible .soon-tag { opacity:1; fill:#e6f2b0; }
/* Interface language picker (portal_i18n.js) */
.lang-pick { appearance:none; background:#06171cd0; color:var(--ink); border:1px solid #3b5961; border-radius:999px; padding:8px 14px; font:inherit; font-size:13px; cursor:pointer; max-width:170px; }
/* The open list: light grey with dark text, readable for weak eyesight (the closed pill stays dark). */
.lang-pick option { background:#e9ecee; color:#111; font-size:15px; }
.lang-pick option:checked { background:#c9d2d6; color:#000; }
[dir="rtl"] header.top { right:auto; left:80px; }
@media (max-width:760px) { [dir="rtl"] header.top { left:16px; right:auto; } .lang-pick { max-width:120px; padding:7px 10px; } }
/* See cinema.css: spaced letters break Arabic, Devanagari and Thai. */
:lang(ar) :not(.brand, .brand *), :lang(hi) :not(.brand, .brand *), :lang(th) :not(.brand, .brand *) { letter-spacing:0 !important; }
/* Phones: the language picker and both buttons share one row inside the side margins, in any language. */
@media (max-width:760px) {
  header.top, [dir="rtl"] header.top { left:16px; right:16px; justify-content:flex-end; gap:8px; }
  header.top .btn { white-space:nowrap; padding:10px 14px; font-size:14px; flex:0 0 auto; }
  .lang-pick { flex:0 1 auto; min-width:0; max-width:120px; }
}
