/* The Riot Studio – landing page with the product, pricing and the login on the right (approved mockup s7-landing).
   Everything is scoped to #vAuth so the editor's styles stay untouched. */
body.landing main.page { max-width: none; margin: 0; padding: 0; }
body.landing { overflow-x: hidden; }
#vAuth { --bg: #0b0916; --panel: #15122a; --panel2: #1d1938; --line: rgba(255,255,255,.09); --text: #f3f0ff; --muted: #a49cc4;
  --accent: #ff2e88; --violet: #b44dff; --cyan: #25e0c8; --green: #3dff8a; --amber: #ffc43d; --sub: #ffd23d;
  --glow: 0 0 4px rgba(255,255,255,.35), 0 0 10px rgba(255,46,136,.9), 0 0 24px rgba(255,46,136,.6), 0 0 46px rgba(255,46,136,.3);
  --glow-text: 0 0 4px #fff, 0 0 12px var(--accent), 0 0 26px rgba(255,46,136,.7); --side: 440px; }
#vAuth * { box-sizing: border-box; }
html:has(body.landing) { scroll-behavior: smooth; }
#vAuth { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 Outfit, system-ui, sans-serif; }
#vAuth a { color: inherit; text-decoration: none; }
#vAuth button { font: inherit; color: inherit; cursor: pointer; }

/* ===== backdrop: grid floor + glows + scanlines ===== */
#vAuth .bgfx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#vAuth .bgfx::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 30% 0%, rgba(255,46,136,.28), transparent 70%),
              radial-gradient(50% 45% at 85% 30%, rgba(180,77,255,.22), transparent 70%),
              radial-gradient(40% 40% at 10% 90%, rgba(37,224,200,.12), transparent 70%); }
#vAuth .bgfx .floor { position: absolute; left: -20%; right: -20%; bottom: -10%; height: 55%; transform: perspective(520px) rotateX(62deg); transform-origin: bottom;
  background-image: linear-gradient(rgba(255,46,136,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,46,136,.35) 1px, transparent 1px);
  background-size: 60px 60px; mask-image: linear-gradient(to top, #000 10%, transparent 85%); animation: lp-floor 6s linear infinite; }
@keyframes lp-floor { to { background-position: 0 60px, 0 0; } }
#vAuth .bgfx::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, rgba(255,255,255,.025) 0 1px, transparent 1px 3px); }

/* ===== layout: product on the left, login fixed on the right ===== */
#vAuth .wrap { position: relative; z-index: 1; margin-right: var(--side); }
#vAuth .side { position: fixed; z-index: 5; top: 0; right: 0; bottom: 0; width: var(--side); padding: 28px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(21,18,42,.82), rgba(11,9,22,.92)); backdrop-filter: blur(18px);
  border-left: 1px solid rgba(255,46,136,.25); box-shadow: -30px 0 80px rgba(0,0,0,.5); }
#vAuth .side::before { content: ""; position: absolute; left: -1px; top: 10%; bottom: 10%; width: 2px; background: linear-gradient(transparent, var(--accent), var(--violet), transparent); box-shadow: var(--glow); }

/* top nav */
#vAuth nav.top { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; gap: 26px; padding: 16px 56px;
  background: rgba(11,9,22,.72); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
#vAuth .logo { font: 400 30px "Mr Dafoe", cursive; color: #fff5fb; text-shadow: var(--glow-text); transform: rotate(-4deg); white-space: nowrap; }
#vAuth nav.top .links { display: flex; gap: 22px; margin-left: auto; font-weight: 600; color: var(--muted); font-size: 14px; }
#vAuth nav.top .links a:hover { color: #fff; }

#vAuth section { padding: 0 56px; }
#vAuth .kick { font: 800 11px Outfit; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); display: inline-flex; gap: 8px; align-items: center; }
#vAuth .kick::before { content: ""; width: 22px; height: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
#vAuth h2.big { font: 900 clamp(30px, 3.6vw, 50px)/1.02 Outfit; letter-spacing: -.02em; margin: 12px 0 14px; }
#vAuth .grad { background: linear-gradient(90deg, #fff 0%, #ff9fcb 35%, var(--accent) 60%, var(--violet) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
#vAuth .lead { color: var(--muted); font-size: 17px; max-width: 560px; }

/* ===== HERO ===== */
#vAuth .hero { min-height: calc(100vh - 70px); display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 20px; padding-top: 10px; padding-bottom: 40px; }
#vAuth .hero h1 { font: 900 clamp(44px, 5.6vw, 84px)/.95 Outfit; letter-spacing: -.035em; margin: 18px 0 18px; }
#vAuth .hero h1 .glitch { position: relative; display: inline-block; color: #fff; text-shadow: var(--glow-text); }
#vAuth .hero h1 .glitch::before, #vAuth .hero h1 .glitch::after { content: attr(data-t); position: absolute; inset: 0; mix-blend-mode: screen; }
#vAuth .hero h1 .glitch::before { color: var(--cyan); animation: lp-gl1 3.2s infinite steps(1); }
#vAuth .hero h1 .glitch::after { color: var(--accent); animation: lp-gl2 3.2s infinite steps(1); }
@keyframes lp-gl1 { 0%,92%,100% { transform: none; clip-path: inset(0 0 100% 0); } 93% { transform: translate(-3px,1px); clip-path: inset(20% 0 50% 0); } 96% { transform: translate(3px,-1px); clip-path: inset(60% 0 10% 0); } }
@keyframes lp-gl2 { 0%,92%,100% { transform: none; clip-path: inset(0 0 100% 0); } 94% { transform: translate(3px,0); clip-path: inset(40% 0 30% 0); } 97% { transform: translate(-2px,1px); clip-path: inset(5% 0 75% 0); } }
#vAuth .cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; align-items: center; }
#vAuth .btn { border: 0; border-radius: 14px; padding: 14px 24px; font: 800 16px Outfit; color: #fff; background: linear-gradient(135deg, #ff5ca5, var(--accent) 50%, #b80f5c); box-shadow: var(--glow); display: inline-flex; gap: 8px; align-items: center; transition: transform .15s; }
#vAuth .btn:hover { transform: translateY(-2px); }
#vAuth .btn.ghost { background: rgba(255,255,255,.04); box-shadow: none; border: 1px solid var(--line); }
#vAuth .btn.ghost:hover { border-color: var(--cyan); box-shadow: 0 0 14px rgba(37,224,200,.35); }
#vAuth .proof { display: flex; gap: 22px; margin-top: 34px; color: var(--muted); font-size: 13px; }
#vAuth .proof b { display: block; font: 30px VT323; color: var(--green); line-height: 1; text-shadow: 0 0 10px rgba(61,255,138,.5); }

#vAuth .stage { position: relative; height: 560px; }
#vAuth .stage .ring { position: absolute; left: 50%; top: 52%; width: 400px; height: 400px; translate: -50% -50%; border-radius: 50%;
  border: 1px solid rgba(255,46,136,.35); box-shadow: inset 0 0 60px rgba(255,46,136,.15), 0 0 60px rgba(180,77,255,.15); animation: lp-spin 24s linear infinite; }
#vAuth .stage .ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
#vAuth .stage .ring.r2 { width: 300px; height: 300px; border-color: rgba(37,224,200,.25); animation-duration: 16s; animation-direction: reverse; }
@keyframes lp-spin { to { rotate: 360deg; } }
#vAuth .stage .hero3d { position: absolute; inset: 0; width: 100%; height: 100%; }
#vAuth .g3d { display: block; }
#vAuth .stage .hero3d { -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent); mask-image: radial-gradient(closest-side, #000 82%, transparent); }
#vAuth .chip { position: absolute; z-index: 2; background: rgba(21,18,42,.85); border: 1px solid var(--line); backdrop-filter: blur(10px); border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600;
  display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); animation: lp-bob 5s ease-in-out infinite; }
#vAuth .chip i { font-style: normal; font-size: 20px; }
#vAuth .chip small { display: block; color: var(--muted); font-weight: 500; font-size: 11.5px; }
#vAuth .chip.c1 { left: 0; top: 70px; } #vAuth .chip.c2 { right: -10px; top: 150px; animation-delay: -1.6s; } #vAuth .chip.c3 { left: 20px; bottom: 70px; animation-delay: -3s; }
#vAuth .chip.c2 { border-color: rgba(37,224,200,.4); } #vAuth .chip.c3 { border-color: rgba(255,196,61,.4); }
@keyframes lp-bob { 50% { transform: translateY(-10px); } }

/* platform marquee */
#vAuth .marq { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255,255,255,.02); padding: 14px 0; margin: 10px 0 90px; }
#vAuth .marq div { display: flex; gap: 46px; width: max-content; animation: lp-marq 26s linear infinite; font: 800 14px Outfit; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
#vAuth .marq span::before { content: "✦"; color: var(--accent); margin-right: 46px; }
@keyframes lp-marq { to { transform: translateX(-50%); } }

/* ===== FEATURES bento ===== */
#vAuth .feat { padding-bottom: 100px; }
#vAuth .bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 34px; }
#vAuth .card { position: relative; grid-column: span 2; background: linear-gradient(180deg, rgba(29,25,56,.8), rgba(21,18,42,.8)); border: 1px solid var(--line); border-radius: 20px; padding: 22px; overflow: hidden; min-height: 210px; transition: border-color .2s, transform .2s; }
#vAuth .card:hover { border-color: rgba(255,46,136,.5); transform: translateY(-3px); }
#vAuth .card::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(var(--c, rgba(255,46,136,.25)), transparent 70%); }
#vAuth .card.w3 { grid-column: span 3; } #vAuth .card.w4 { grid-column: span 4; }
#vAuth .card h3 { margin: 14px 0 6px; font: 800 20px Outfit; }
#vAuth .card p { margin: 0; color: var(--muted); font-size: 14px; max-width: 420px; }
#vAuth .card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: rgba(255,255,255,.05); border: 1px solid var(--line); }
#vAuth .tag { position: absolute; top: 18px; right: 18px; font: 800 9.5px Outfit; letter-spacing: .1em; color: #2a1d00; background: var(--amber); border-radius: 5px; padding: 3px 7px; }
/* mini visuals inside cards */
#vAuth .tl { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; }
#vAuth .tl i { height: 14px; border-radius: 5px; display: block; }
#vAuth .wave { display: flex; gap: 3px; align-items: center; height: 40px; margin-top: 18px; }
#vAuth .wave i { flex: 1; background: var(--violet); border-radius: 2px; animation: lp-wv 1.1s ease-in-out infinite; box-shadow: 0 0 8px rgba(180,77,255,.6); }
@keyframes lp-wv { 50% { transform: scaleY(.3); } }
#vAuth .subdemo { margin-top: 18px; font: 900 22px Outfit; text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 6px #000; }
#vAuth .subdemo u { text-decoration: none; color: var(--sub); }
#vAuth .subdemo small { display: block; font: 600 12px Outfit; text-transform: none; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
#vAuth .cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 16px; }
#vAuth .cal i { aspect-ratio: 1; border-radius: 5px; background: rgba(255,255,255,.05); }
#vAuth .cal i.p { background: var(--accent); box-shadow: 0 0 8px rgba(255,46,136,.6); } #vAuth .cal i.c { background: var(--cyan); }
#vAuth .bars { display: flex; gap: 6px; align-items: flex-end; height: 70px; margin-top: 16px; }
#vAuth .bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(var(--green), rgba(61,255,138,.15)); }

/* ===== AVATAR section ===== */
#vAuth .avasec { padding-bottom: 110px; }
#vAuth .avagrid { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: center; margin-top: 10px; }
#vAuth .flow { display: grid; gap: 12px; margin-top: 26px; }
#vAuth .flow div { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; }
#vAuth .flow b { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: var(--glow); font-weight: 900; }
#vAuth .flow span { color: var(--muted); } #vAuth .flow span strong { color: #fff; font-weight: 700; }
#vAuth .picks { display: flex; gap: 12px; margin-top: 22px; }
#vAuth .pick { width: 96px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); padding: 10px 8px 8px; text-align: center; font-size: 12.5px; font-weight: 700; position: relative; }
#vAuth .pick svg, #vAuth .pick canvas { width: 76px; height: 84px; display: block; margin: 0 auto 4px; }
#vAuth .pick.on { border-color: var(--cyan); box-shadow: 0 0 16px rgba(37,224,200,.35); }
#vAuth .pick.lock { color: var(--muted); }
#vAuth .pick.lock svg { opacity: .35; filter: grayscale(1) blur(.4px); }
#vAuth .pick small { display: block; font-weight: 500; font-size: 10.5px; color: var(--muted); }
#vAuth .phone { width: 300px; height: 534px; border-radius: 36px; border: 10px solid #06050c; outline: 1px solid rgba(255,255,255,.12); position: relative; overflow: hidden;
  background: #000 url(clip.jpg) center/cover; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 60px rgba(180,77,255,.25); }
#vAuth .phone .avabub { position: absolute; left: 12px; bottom: 120px; width: 112px; height: 124px; border-radius: 22px; background: radial-gradient(circle at 50% 40%, rgba(180,77,255,.5), rgba(11,9,22,.9));
  border: 2px solid var(--accent); box-shadow: var(--glow); padding-top: 4px; }
#vAuth .phone .avabub canvas { width: 100%; height: 100%; }
#vAuth .phone .avabub em { position: absolute; left: 50%; bottom: -10px; translate: -50% 0; font: 800 9.5px Outfit; letter-spacing: .1em; background: var(--accent); padding: 2px 8px; border-radius: 6px; font-style: normal; white-space: nowrap; }
#vAuth .phone .sub { position: absolute; left: 14px; right: 14px; bottom: 56px; text-align: center; font: 900 20px/1.15 Outfit; text-transform: uppercase; text-shadow: 0 0 4px #000, 0 3px 6px #000; }
#vAuth .phone .sub u { text-decoration: none; color: var(--sub); }
#vAuth .phone .lang { position: absolute; right: 12px; top: 14px; font: 800 10.5px Outfit; background: rgba(0,0,0,.6); padding: 4px 9px; border-radius: 10px; }

/* ===== PRICING ===== */
#vAuth .price { padding-bottom: 110px; }
#vAuth .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; align-items: stretch; }
#vAuth .plan { position: relative; border-radius: 22px; padding: 26px 22px 22px; background: rgba(21,18,42,.85); border: 1px solid var(--line); display: flex; flex-direction: column; }
#vAuth .plan h3 { margin: 0; font: 800 15px Outfit; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
#vAuth .plan .amt { font: 900 50px/1 Outfit; margin: 14px 0 2px; letter-spacing: -.03em; }
#vAuth .plan .amt small { font: 600 15px Outfit; color: var(--muted); letter-spacing: 0; }
#vAuth .plan .for { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; min-height: 40px; }
#vAuth .plan ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; font-size: 14px; flex: 1; }
#vAuth .plan li { display: flex; gap: 9px; align-items: flex-start; }
#vAuth .plan li::before { content: "✓"; flex: none; width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 900; background: rgba(61,255,138,.15); color: var(--green); margin-top: 1px; }
#vAuth .plan li.no { color: rgba(164,156,196,.5); } #vAuth .plan li.no::before { content: "–"; background: rgba(255,255,255,.05); color: var(--muted); }
#vAuth .plan .btn { justify-content: center; width: 100%; }
#vAuth .plan.hot { background: linear-gradient(180deg, rgba(60,20,60,.9), rgba(21,18,42,.95)); border: 0; transform: translateY(-10px); }
#vAuth .plan.hot::before { content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1.5px; background: linear-gradient(160deg, var(--accent), var(--violet), var(--cyan));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
#vAuth .plan.hot { box-shadow: 0 0 50px rgba(255,46,136,.25); }
#vAuth .plan.hot h3 { color: #fff; }
#vAuth .plan .badge { position: absolute; top: -12px; left: 50%; translate: -50% 0; font: 800 10.5px Outfit; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; background: var(--accent); box-shadow: var(--glow); white-space: nowrap; }
#vAuth .plan .peek { position: absolute; right: 14px; top: -46px; width: 64px; }
#vAuth .fine { color: var(--muted); font-size: 12.5px; margin-top: 18px; }

/* FAQ + footer */
#vAuth .faq { padding-bottom: 90px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
#vAuth .faq div { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: rgba(255,255,255,.02); }
#vAuth .faq b { display: block; margin-bottom: 4px; } #vAuth .faq span { color: var(--muted); font-size: 14px; }
#vAuth footer { padding: 30px 56px 60px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; gap: 20px; align-items: center; }
#vAuth footer .logo { font-size: 22px; }

/* ===== LOGIN panel ===== */
#vAuth .auth { width: 100%; max-width: 360px; position: relative; }
#vAuth .auth .botpeek { position: absolute; top: -78px; right: 0; width: 92px; height: 102px; -webkit-mask-image: linear-gradient(#000 70%, transparent); mask-image: linear-gradient(#000 70%, transparent); }
#vAuth .auth h2 { margin: 0; font: 400 46px/1 "Mr Dafoe", cursive; color: #fff5fb; text-shadow: var(--glow-text); transform: rotate(-4deg); transform-origin: left; }
#vAuth .auth > p { color: var(--muted); margin: 12px 0 22px; font-size: 14.5px; }
#vAuth .sso { display: grid; gap: 10px; }
#vAuth .ssobtn { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 13px; font-weight: 700; font-size: 15px; border: 1px solid var(--line); background: #fff; color: #1f1f1f; }
#vAuth .ssobtn svg { width: 20px; height: 20px; }
#vAuth .ssobtn.fb { background: #1877f2; color: #fff; border-color: #1877f2; }
#vAuth .or { display: flex; align-items: center; gap: 12px; margin: 20px 0 16px; color: var(--muted); font-size: 12px; }
#vAuth .or::before, #vAuth .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#vAuth .seg { display: grid; grid-template-columns: 1fr 1fr; background: rgba(0,0,0,.35); border: 1px solid var(--line); border-radius: 13px; padding: 4px; margin-bottom: 16px; position: relative; }
#vAuth .seg button { border: 0; background: none; height: 38px; border-radius: 10px; font-weight: 700; color: var(--muted); position: relative; z-index: 1; }
#vAuth .seg button.on { color: #fff; }
#vAuth .seg::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: linear-gradient(135deg, var(--accent), #b80f5c); box-shadow: 0 0 14px rgba(255,46,136,.5); transition: translate .25s; }
#vAuth .seg.reg::before { translate: 100% 0; }
#vAuth .fld { position: relative; margin-bottom: 12px; }
#vAuth .fld input { width: 100%; height: 52px; border-radius: 13px; border: 1px solid var(--line); background: rgba(0,0,0,.35); color: #fff; font: 500 15px Outfit; padding: 18px 14px 4px; outline: none; transition: border-color .2s, box-shadow .2s; }
#vAuth .fld label { position: absolute; left: 15px; top: 16px; color: var(--muted); font-size: 15px; pointer-events: none; transition: .15s; }
#vAuth .fld input:focus, #vAuth .fld input:not(:placeholder-shown) { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(37,224,200,.15); }
#vAuth .fld input:focus + label, #vAuth .fld input:not(:placeholder-shown) + label { top: 6px; font-size: 11px; color: var(--cyan); font-weight: 700; letter-spacing: .04em; }
#vAuth .auth .btn { width: 100%; justify-content: center; margin-top: 6px; height: 52px; }
#vAuth .auth .small { color: var(--muted); font-size: 12px; text-align: center; margin-top: 14px; }
#vAuth .auth .small b { color: var(--green); font-weight: 700; }

/* phone width: login first, product under it */
@media (max-width: 1100px) {
  #vAuth .wrap { margin-right: 0; }
  #vAuth .side { position: relative; width: auto; min-height: auto; padding: 120px 16px 40px; border-left: 0; border-bottom: 1px solid rgba(255,46,136,.25); }
  #vAuth .side::before { display: none; }
  #vAuth .hero { grid-template-columns: 1fr; min-height: 0; } #vAuth .stage { height: 420px; }
  #vAuth section, #vAuth nav.top, #vAuth footer { padding-left: 16px; padding-right: 16px; }
  #vAuth .bento { grid-template-columns: 1fr; } #vAuth .card, #vAuth .card.w3, #vAuth .card.w4 { grid-column: auto; }
  #vAuth .avagrid, #vAuth .plans, #vAuth .faq { grid-template-columns: 1fr; } #vAuth .plan.hot { transform: none; }
  #vAuth nav.top .links { display: none; }
  #vAuth { display: flex; flex-direction: column; } #vAuth .side { order: -1; }
}

/* the phone demo: our own neon night scene, no game footage */
#vAuth .phone { background: radial-gradient(60% 30% at 50% 38%, rgba(255,92,165,.55), transparent 70%),
  linear-gradient(180deg, #120a2e 0%, #3a1150 38%, #ff5ca5 52%, #1b0d33 53%, #0b0916 100%); }
#vAuth .phone::before { content: ""; position: absolute; left: 0; right: 0; top: 38%; height: 15%;
  background: linear-gradient(90deg, #0b0916 0 8%, transparent 8% 12%, #0b0916 12% 22%, transparent 22% 25%, #0b0916 25% 31%, transparent 31% 58%, #0b0916 58% 66%, transparent 66% 70%, #0b0916 70% 84%, transparent 84% 88%, #0b0916 88%);
  -webkit-mask: linear-gradient(transparent 0 20%, #000 20%); mask: linear-gradient(transparent 0 20%, #000 20%); }
#vAuth .phone::after { content: ""; position: absolute; left: -30%; right: -30%; bottom: 0; height: 47%; transform: perspective(300px) rotateX(55deg); transform-origin: top;
  background-image: linear-gradient(rgba(255,46,136,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,46,136,.5) 1px, transparent 1px); background-size: 34px 34px; }
#vAuth .phone > * { z-index: 1; }
#vAuth .err { color: #ff8fa3; font-size: 13px; min-height: 18px; margin-top: 10px; text-align: center; }
#vAuth .ssobtn.off { opacity: .55; }
#vAuth .pick .ghost { width: 76px; height: 84px; margin: 0 auto 4px; display: grid; place-items: center; font: 900 34px Outfit; color: rgba(164,156,196,.45); border-radius: 18px; background: rgba(255,255,255,.04); }
#vAuth .soon { font: 800 9px Outfit; font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: #2a1d00; background: var(--amber); border-radius: 4px; padding: 1px 5px; margin-left: 4px; }
/* reset the old login card's look (studio.css) inside the landing form */
#vAuth .auth { margin: 0; background: none; border: 0; padding: 0; text-align: left; }
#vAuth .auth p { margin: 12px 0 22px; }
#vAuth .sso { margin-bottom: 0; }
#vAuth .ssobtn.google { border-color: var(--line); }
#vAuth .seg { background: rgba(0,0,0,.35); border-radius: 13px; }
#vAuth .seg button { padding: 0; }
#vAuth .seg button.on { background: none; }
#vAuth .fld label { display: block; margin: 0; text-align: left; }
#vAuth .fld input { margin: 0; }
#vAuth .fld input:focus { box-shadow: 0 0 0 3px rgba(37,224,200,.15); }
#vAuth .seg button { display: grid; place-items: center; text-align: center; width: 100%; }

/* ===== phone: logo + Log in + hamburger on top, the login opens as a popup ===== */
#vAuth .wrap { overflow-x: clip; }
#vAuth .navlogin, #vAuth .burger, #vAuth .mnav, #vAuth .authx { display: none; }
@media (max-width: 1100px) {
  #vAuth nav.top { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  #vAuth nav.top .logo { font-size: 26px; margin-right: auto; }
  #vAuth .navlogin { display: block; border: 0; border-radius: 11px; padding: 9px 16px; font: 800 14px Outfit; color: #fff;
    background: linear-gradient(135deg, #ff5ca5, var(--accent) 50%, #b80f5c); box-shadow: 0 0 12px rgba(255,46,136,.55); }
  #vAuth .burger { display: grid; gap: 4px; place-content: center; width: 42px; height: 40px; border-radius: 11px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
  #vAuth .burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .2s, opacity .2s; }
  #vAuth.menuopen .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  #vAuth.menuopen .burger i:nth-child(2) { opacity: 0; }
  #vAuth.menuopen .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  #vAuth .mnav { position: absolute; left: 12px; right: 12px; top: calc(100% + 8px); display: grid; gap: 4px; padding: 10px;
    background: rgba(21,18,42,.97); border: 1px solid rgba(255,46,136,.3); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.6);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .18s, transform .18s; }
  #vAuth.menuopen .mnav { opacity: 1; transform: none; pointer-events: auto; }
  #vAuth .mnav a { padding: 12px 14px; border-radius: 10px; font-weight: 700; font-size: 16px; }
  #vAuth .mnav a:active, #vAuth .mnav a:hover { background: rgba(255,255,255,.06); }
  #vAuth .mnav .btn { justify-content: center; margin-top: 6px; }
  /* the login panel becomes a popup */
  #vAuth .side { position: fixed; inset: 0; z-index: 30; order: 0; padding: 110px 16px 24px; overflow-y: auto; align-items: flex-start; border: 0;
    background: rgba(8,6,18,.82); backdrop-filter: blur(14px); opacity: 0; pointer-events: none; transition: opacity .2s; }
  #vAuth.loginopen .side { opacity: 1; pointer-events: auto; }
  #vAuth .side .auth { margin: 0 auto; padding: 24px 18px 18px; border-radius: 22px; background: linear-gradient(180deg, rgba(29,25,56,.97), rgba(15,12,30,.97));
    border: 1px solid rgba(255,46,136,.3); box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 40px rgba(255,46,136,.15); transform: translateY(14px); transition: transform .2s; }
  #vAuth.loginopen .side .auth { transform: none; }
  #vAuth .auth .botpeek { top: -84px; right: 12px; }
  #vAuth .authx { display: grid; place-items: center; position: absolute; left: 12px; top: -50px; width: 38px; height: 38px; border-radius: 50%;
    border: 1px solid var(--line); background: rgba(21,18,42,.9); color: #fff; font-size: 16px; z-index: 2; }
  #vAuth .auth h2 { font-size: 40px; }
  #vAuth .stage { height: 440px; }
}
body.landing.modal-open { overflow: hidden; }
/* hamburger and ✕ in the Riot neon of the logo */
@media (max-width: 1100px) {
  #vAuth .burger { border: 0; background: none; width: 40px; }
  #vAuth .burger i { width: 22px; height: 2.5px; background: #fff5fb; box-shadow: 0 0 3px #fff, 0 0 8px var(--accent), 0 0 16px rgba(255,46,136,.7); }
  #vAuth .authx { left: auto; right: 10px; top: 10px; border: 0; background: none; width: 34px; height: 34px;
    font: 400 26px/1 "Mr Dafoe", cursive; color: #fff5fb; text-shadow: var(--glow-text); }
  #vAuth .auth .botpeek { right: 52px; }
}
/* phone: no big robot in the hero (it stays in the login popup and the avatar demo) */
@media (max-width: 1100px) { #vAuth .stage { display: none; } }
/* ✕ = two crossed neon lines, the same as the hamburger's */
@media (max-width: 1100px) {
  #vAuth .authx { font-size: 0; }
  #vAuth .authx i { position: absolute; left: 50%; top: 50%; width: 22px; height: 2.5px; margin: -1.25px 0 0 -11px; border-radius: 2px;
    background: #fff5fb; box-shadow: 0 0 3px #fff, 0 0 8px var(--accent), 0 0 16px rgba(255,46,136,.7); }
  #vAuth .authx i:first-child { transform: rotate(45deg); }
  #vAuth .authx i:last-child { transform: rotate(-45deg); }
}
#vAuth .auth .botpeek { -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
/* the small robot peeks out from behind the card's top edge (cut there), soft on the sides */
#vAuth .auth .botpeek { -webkit-mask-image: linear-gradient(#000 82%, transparent 82%), radial-gradient(closest-side, #000 80%, transparent);
  mask-image: linear-gradient(#000 82%, transparent 82%), radial-gradient(closest-side, #000 80%, transparent);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
/* the small robot stands right next to the Riot title */
#vAuth .auth .botpeek { top: -30px; right: -4px; width: 96px; height: 106px;
  -webkit-mask-image: radial-gradient(closest-side, #000 80%, transparent); mask-image: radial-gradient(closest-side, #000 80%, transparent);
  -webkit-mask-composite: source-over; mask-composite: add; }
#vAuth .auth h2 { padding-right: 90px; }
@media (max-width: 1100px) {
  #vAuth .auth .botpeek { top: 2px; right: 40px; width: 84px; height: 94px; }
  #vAuth .auth h2 { font-size: 36px; padding-right: 116px; white-space: nowrap; }
}
#vAuth .auth .botpeek { top: -28px; right: 0; width: 76px; height: 84px; }
@media (max-width: 1100px) { #vAuth .auth .botpeek { top: -14px; right: 44px; width: 70px; height: 78px; } #vAuth .auth h2 { padding-right: 104px; } }
/* cut straight across the middle, no round vignette */
#vAuth .auth .botpeek { top: -40px; width: 84px; height: 104px;
  -webkit-mask-image: linear-gradient(#000 62%, transparent 62%); mask-image: linear-gradient(#000 62%, transparent 62%); }
@media (max-width: 1100px) { #vAuth .auth .botpeek { top: -26px; width: 78px; height: 98px; } }
#vAuth .auth .botpeek { -webkit-mask-image: linear-gradient(#000 68%, transparent 68%); mask-image: linear-gradient(#000 68%, transparent 68%); }
@media (max-width: 1100px) { #vAuth .auth .botpeek { top: -12px; width: 76px; height: 92px; } }

/* ===== depth: the page lives in one 3D space ===== */
#vAuth .wrap { perspective: 1400px; perspective-origin: 50% 30%; }
/* tilt cards: --rx / --ry come from the pointer (JS), the glare follows it */
#vAuth .tilt { transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px));
  transition: transform .5s cubic-bezier(.2,.8,.2,1), border-color .2s, box-shadow .3s; will-change: transform; }
#vAuth .tilt.live { transition: transform .08s linear, border-color .2s, box-shadow .3s; }
#vAuth .tilt::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.14), rgba(255,46,136,.07) 35%, transparent 60%); }
#vAuth .tilt.live::before { opacity: 1; }
#vAuth .tilt.live { box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 40px rgba(255,46,136,.12); }
#vAuth .card.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0px)); }
/* the content inside floats a little above the card */
#vAuth .tilt .ic, #vAuth .tilt h3, #vAuth .plan.tilt .amt { transform: translateZ(30px); }
#vAuth .plan.hot.tilt { --tz: 40px; }
#vAuth .plan.hot.tilt .badge { transform: translateZ(50px); }
/* the phone with the avatar stands turned in space */
#vAuth .phone { transform: perspective(1100px) rotateY(var(--ry, -16deg)) rotateX(var(--rx, 6deg)); transform-style: preserve-3d;
  transition: transform .6s cubic-bezier(.2,.8,.2,1); box-shadow: -30px 40px 80px rgba(0,0,0,.65), 0 0 60px rgba(180,77,255,.25); }
#vAuth .phone .avabub { transform: translateZ(40px); }
#vAuth .phone .sub { transform: translateZ(30px); }
/* hero: chips at different depths, moved by the pointer (parallax) */
#vAuth .stage { transform-style: preserve-3d; }
#vAuth .chip { translate: calc(var(--px, 0) * var(--d, 20px)) calc(var(--py, 0) * var(--d, 20px)); transition: translate .3s ease-out; }
#vAuth .chip.c1 { --d: 34px; } #vAuth .chip.c2 { --d: 22px; } #vAuth .chip.c3 { --d: 44px; }
#vAuth .stage .ring { margin-left: calc(var(--px, 0) * -10px); margin-top: calc(var(--py, 0) * -10px); transition: margin .4s ease-out; }
#vAuth .hero h1 { transform: perspective(900px) rotateY(calc(var(--px, 0) * 4deg)) rotateX(calc(var(--py, 0) * -3deg)); transition: transform .4s ease-out; }
#vAuth .bgfx .floor { margin-left: calc(var(--px, 0) * -30px); transition: margin .5s ease-out; }
/* sections fly in from depth while scrolling */
#vAuth .rise { opacity: 0; transform: perspective(1000px) translateY(60px) translateZ(-120px) rotateX(14deg); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
#vAuth .rise.in { opacity: 1; transform: none; }
#vAuth .rise.d1 { transition-delay: .08s; } #vAuth .rise.d2 { transition-delay: .16s; } #vAuth .rise.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  #vAuth .rise { opacity: 1; transform: none; transition: none; }
  #vAuth .tilt, #vAuth .phone, #vAuth .hero h1, #vAuth .chip { transform: none !important; translate: none !important; }
}
#vAuth .plan.hot.tilt::before { opacity: 1; }   /* keep PRO's gradient frame (no glare there) */
/* the phone rises with opacity only – its transform is the 3D turn */
#vAuth .rise.risep { transform: perspective(1100px) rotateY(var(--ry, -16deg)) rotateX(var(--rx, 6deg)); translate: 0 60px; transition: opacity .9s ease, translate .9s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
#vAuth .rise.risep.in { transform: perspective(1100px) rotateY(var(--ry, -16deg)) rotateX(var(--rx, 6deg)); translate: 0 0; }

/* ===== layered background: far → slow, near → fast (--sy = scroll, --px/--py = pointer) ===== */
#vAuth .bgfx::before { display: none; }     /* the glows now live in the far layer */
#vAuth .lay { position: absolute; left: -6%; right: -6%; top: 0; will-change: transform; }
#vAuth .l1 { height: calc(100vh + 900px);
  transform: translate3d(calc(var(--px, 0) * -14px), calc(var(--sy, 0) * -0.06px + var(--py, 0) * -10px), 0); }
#vAuth .l1 i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
#vAuth .l1 .g1 { width: 60vw; height: 50vh; left: 5%; top: -12vh; background: rgba(255,46,136,.55); }
#vAuth .l1 .g2 { width: 45vw; height: 45vh; right: 0; top: 25vh; background: rgba(180,77,255,.45); }
#vAuth .l1 .g3 { width: 40vw; height: 40vh; left: -5%; top: 85vh; background: rgba(37,224,200,.22); }
#vAuth .l1 .g4 { width: 50vw; height: 40vh; right: 10%; top: 140vh; background: rgba(255,46,136,.3); }
#vAuth .l1 .stars { position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(1.4px 1.4px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 33% 42%, #ffc2de, transparent),
    radial-gradient(1.2px 1.2px at 58% 12%, #fff, transparent), radial-gradient(1px 1px at 76% 36%, #bdf7ef, transparent),
    radial-gradient(1.4px 1.4px at 88% 64%, #fff, transparent), radial-gradient(1px 1px at 22% 72%, #ffc2de, transparent),
    radial-gradient(1.2px 1.2px at 47% 86%, #fff, transparent), radial-gradient(1px 1px at 67% 58%, #fff, transparent);
  background-size: 520px 520px; }
#vAuth .l2 { height: 3200px; opacity: .55; filter: blur(1.4px);
  transform: translate3d(calc(var(--px, 0) * -34px), calc(var(--sy, 0) * -0.28px + var(--py, 0) * -22px), 0); }
#vAuth .l2 svg { width: 100%; height: 100%; display: block; }
#vAuth .l2 svg * { fill: none; stroke-width: 5; stroke-linecap: round; }
#vAuth .l2 .np { stroke: #ff5ca5; filter: drop-shadow(0 0 8px #ff2e88) drop-shadow(0 0 22px #ff2e88); }
#vAuth .l2 .nc { stroke: #5ef2de; filter: drop-shadow(0 0 8px #25e0c8) drop-shadow(0 0 20px #25e0c8); }
#vAuth .l2 .nv { stroke: #cf86ff; filter: drop-shadow(0 0 8px #b44dff) drop-shadow(0 0 22px #b44dff); }
#vAuth .l2 .thin { stroke-width: 2.5; }
#vAuth .l3 { inset: 0; height: auto; transform: translate3d(calc(var(--px, 0) * -60px), 0, 0); }
#vAuth .bgfx .floor { margin-left: 0; opacity: .9; }
@media (max-width: 1100px) { #vAuth .l2 { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { #vAuth .lay { transform: none !important; } }
#vAuth .pick[data-ava] { cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
#vAuth .pick[data-ava]:hover { border-color: rgba(37,224,200,.6); }
#vAuth .pick canvas.h3d { width: 76px; height: 84px; display: block; margin: 0 auto 4px; border-radius: 12px; }
#vAuth .phone .avabub canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 20px; }
/* login fields: Riot pink instead of cyan, and no light autofill background from the browser */
#vAuth .fld input:focus, #vAuth .fld input:not(:placeholder-shown) { border-color: rgba(255,46,136,.7); box-shadow: 0 0 0 3px rgba(255,46,136,.18); }
#vAuth .fld input:focus + label, #vAuth .fld input:not(:placeholder-shown) + label { color: #ff8fc0; }
#vAuth .fld input:-webkit-autofill, #vAuth .fld input:-webkit-autofill:hover, #vAuth .fld input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff; caret-color: #fff; transition: background-color 9999s ease-in-out 0s;
  box-shadow: 0 0 0 40px #120e24 inset, 0 0 0 3px rgba(255,46,136,.18); border-color: rgba(255,46,136,.7); }
#vAuth .fld input:-webkit-autofill + label { top: 6px; font-size: 11px; color: #ff8fc0; font-weight: 700; letter-spacing: .04em; }
