/* VanimateApp — vanimate.net (static rebuild 2026). Design locked 2026-07-28. */
:root{
  --bg:#0a0a11; --panel:#141420; --panel2:#1b1b2b; --line:#2a2a3e;
  --text:#eceaf4; --muted:#a6a3bd;
  --g1:#e32bff; --g2:#8b46ff; --g3:#3a7dff;
  --grad:linear-gradient(100deg,var(--g1),var(--g2) 55%,var(--g3));
  --radius:18px;
}
*{box-sizing:border-box; margin:0; padding:0}
html{scroll-behavior:smooth; scroll-padding-top:64px}
body{background:var(--bg); color:var(--text);
  font-family:'Segoe UI Variable Display','Segoe UI',system-ui,-apple-system,sans-serif;
  line-height:1.6; overflow-x:hidden}
img{max-width:100%; display:block}
a{color:inherit; text-decoration:none}
.wrap{max-width:1200px; margin:0 auto; padding:0 24px}
.grad-text{background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent}

/* ---------- age gate ---------- */
#agegate{position:fixed; inset:0; z-index:100; display:flex; align-items:center; justify-content:center;
  background:rgba(6,6,12,.72); backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px)}
#agegate .card{width:min(92vw,460px); background:var(--panel); border:1px solid var(--line);
  border-radius:var(--radius); padding:42px 36px; text-align:center; box-shadow:0 30px 80px rgba(0,0,0,.6)}
.gate-stack{position:relative; width:min(92vw,540px); display:flex; flex-direction:column}
#gate-kairi{position:relative; z-index:0; width:86%; align-self:center; margin-bottom:-17%;
  filter:drop-shadow(0 18px 40px rgba(0,0,0,.55));
  transition:transform .45s cubic-bezier(.34,1.56,.64,1), opacity .4s}
#agegate .gate-card{position:relative; z-index:1; width:100%}
#agegate.perk #gate-kairi{transform:translateY(-10px) rotate(-1.6deg)}
#agegate.bye #gate-kairi{transform:translateY(80%); opacity:0;
  transition:transform .6s ease-in, opacity .45s .15s}
.mini-mark{font-weight:800; letter-spacing:.16em; font-size:.8rem; opacity:.85}
.hello{font-size:2.2rem; font-weight:800; margin-top:2px}
#agegate p{color:var(--muted); margin:18px 0 28px}
.btn{display:inline-block; padding:13px 34px; border-radius:999px; font-weight:700; letter-spacing:.04em;
  border:0; cursor:pointer; font-size:1rem; transition:transform .15s ease, box-shadow .15s ease}
.btn:hover{transform:translateY(-2px)}
.btn-grad{background:var(--grad); color:#fff; box-shadow:0 8px 30px rgba(139,70,255,.45)}
.btn-ghost{background:transparent; color:var(--muted); border:1px solid var(--line)}
.btn-ghost:hover{color:var(--text); border-color:var(--muted)}
.btn-outline{color:var(--text); border:1px solid transparent;
  background:linear-gradient(var(--panel2),var(--panel2)) padding-box, var(--grad) border-box}
.btn-outline:hover{box-shadow:0 8px 30px rgba(139,70,255,.35)}
#agegate .leave{margin-left:14px}

/* ---------- nav ---------- */
nav{position:sticky; top:0; z-index:50; background:rgba(10,10,17,.82); backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px); border-bottom:1px solid var(--line)}
nav .wrap{display:flex; align-items:center; gap:28px; height:64px}
.brand{display:flex; align-items:center; gap:11px}
.nav-mark{height:38px; width:auto}
.nav-name{height:26px; width:auto}
nav .links{display:flex; gap:22px; margin-left:auto; font-size:.95rem; color:var(--muted)}
nav .links a:hover{color:var(--text)}
nav .cta{margin-left:10px; padding:9px 22px; font-size:.9rem}
@media (max-width:720px){ nav .links{display:none} }

/* ---------- hero ---------- */
header{position:relative; min-height:92vh; display:flex; align-items:center; overflow:hidden}
.blob{position:absolute; border-radius:50%; filter:blur(90px); opacity:.35; pointer-events:none}
.blob.a{width:520px; height:520px; background:var(--g2); top:-140px; left:-120px; animation:drift 14s ease-in-out infinite alternate}
.blob.b{width:420px; height:420px; background:var(--g3); bottom:-100px; right:8%; animation:drift 18s ease-in-out infinite alternate-reverse}
@keyframes drift{from{transform:translate(0,0) scale(1)} to{transform:translate(60px,40px) scale(1.12)}}
.hero-grid{display:grid; grid-template-columns:1fr; gap:26px; justify-items:center; text-align:center;
  width:100%; padding:78px 0 54px}
.hero-copy h1{font-size:clamp(1.9rem,3.6vw,3rem); line-height:1.12; font-weight:800; letter-spacing:-.01em}
.hero-copy .sub{color:var(--muted); font-size:1.15rem; margin:16px auto 26px; max-width:40rem}
.hero-ctas{display:flex; gap:16px; flex-wrap:wrap; justify-content:center; align-items:center}
.hero-ctas .img-cta{display:block; transition:transform .15s ease, filter .2s}
.hero-ctas .img-cta img{height:54px; width:auto}
.hero-ctas .img-cta:hover{transform:translateY(-2px)}
.hero-steam:hover{filter:drop-shadow(0 8px 24px rgba(58,125,255,.55))}
.hero-play:hover{filter:drop-shadow(0 8px 24px rgba(139,70,255,.6))}
.hero-art{position:relative; width:min(100%,1080px,calc(62vh*1.3913)); aspect-ratio:3840/2760}
.hero-art::before{content:""; position:absolute; inset:12% 20%; background:var(--grad); filter:blur(80px); opacity:.32; border-radius:50%}
.plx{position:absolute; will-change:transform}
.plx-logo{top:2.2%; left:50%; transform:translateX(-50%); width:62.5%}
.plx-cast{bottom:0; left:0; width:100%}
.plx img{width:100%; display:block; filter:drop-shadow(0 24px 60px rgba(0,0,0,.55))}
/* hero intro — armed by body.entered (set when the age gate is passed) */
.hero-logo,.hero-cast,.hero-copy>*{opacity:0}
@keyframes logoIn{from{opacity:0; transform:translateY(-34px) scale(1.04)} to{opacity:1; transform:none}}
@keyframes castIn{from{opacity:0; transform:translateY(46px)} to{opacity:1; transform:none}}
@keyframes copyIn{from{opacity:0; transform:translateY(18px)} to{opacity:1; transform:none}}
body.entered .hero-logo{animation:logoIn .85s cubic-bezier(.22,.9,.3,1) forwards}
body.entered .hero-cast{animation:castIn .9s .15s cubic-bezier(.22,.9,.3,1) forwards}
body.entered .hero-copy>*{animation:copyIn .7s cubic-bezier(.22,.9,.3,1) forwards}
body.entered .hero-copy>*:nth-child(1){animation-delay:.42s}
body.entered .hero-copy>*:nth-child(2){animation-delay:.5s}
body.entered .hero-copy>*:nth-child(3){animation-delay:.6s}
body.entered .hero-copy>*:nth-child(4){animation-delay:.7s}
body.entered .hero-copy>*:nth-child(5){animation-delay:.8s}
.release-kicker{margin-bottom:12px; font-size:.9rem}

/* ---------- sections ---------- */
section{padding:90px 0}
.kicker{font-size:.85rem; font-weight:700; letter-spacing:.22em; text-transform:uppercase; color:var(--muted)}
h2{font-size:clamp(1.8rem,3.4vw,2.6rem); font-weight:800; margin:10px 0 14px}
.lede{color:var(--muted); max-width:40rem; margin-bottom:44px}

/* trailer (section currently hidden — styles kept for re-enable) */
.trailer-frame{position:relative; aspect-ratio:16/9; border-radius:var(--radius); overflow:hidden;
  background:var(--panel2); border:1px solid transparent;
  background-image:linear-gradient(var(--panel2),var(--panel2)),var(--grad);
  background-origin:border-box; background-clip:padding-box,border-box}
.trailer-frame .inner{position:absolute; inset:0; display:flex; flex-direction:column; gap:18px;
  align-items:center; justify-content:center; color:var(--muted)}
.shot-strip{display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory; padding:4px 4px 18px;
  scrollbar-width:none; -webkit-overflow-scrolling:touch; cursor:grab}
.shot-strip::-webkit-scrollbar{display:none}
.shot-strip.dragging{cursor:grabbing; scroll-snap-type:none}
.shot{flex:0 0 min(86vw,600px); aspect-ratio:16/9; border-radius:14px; overflow:hidden;
  border:1px solid var(--line); scroll-snap-align:center; cursor:pointer}
.shot img{width:100%; height:100%; object-fit:cover; transition:transform .4s ease}
.shot:hover img{transform:scale(1.04)}

/* characters carousel */
.carousel{display:flex; gap:20px; overflow-x:auto; scroll-snap-type:x mandatory; padding:10px 4px 26px;
  scrollbar-width:none; -webkit-overflow-scrolling:touch; cursor:grab}
.carousel::-webkit-scrollbar{display:none}
.carousel.dragging{cursor:grabbing; scroll-snap-type:none}
.carousel.drifting{scroll-snap-type:none}
.char-card{flex:0 0 min(78vw,325px); scroll-snap-align:center; background:var(--panel);
  border:1px solid var(--line); border-radius:var(--radius); padding:22px 20px 24px; text-align:center;
  cursor:pointer; transition:border-color .25s, transform .25s}
.char-card:hover{border-color:var(--g2); transform:translateY(-4px)}
.char-card .art{height:360px; display:flex; align-items:flex-end; justify-content:center; position:relative; margin-bottom:16px}
.char-card .art::before{content:""; position:absolute; inset:auto 12% 0; height:72%; background:var(--grad);
  opacity:.16; filter:blur(34px); border-radius:50%}
.char-card img{position:relative; max-height:100%; filter:drop-shadow(0 14px 30px rgba(0,0,0,.5))}
.char-card h3{font-size:1.25rem; font-weight:800; letter-spacing:.03em}
.char-card p{color:var(--muted); font-size:.9rem; margin-top:8px; min-height:3.2em}
.carousel-shell{position:relative; padding:0 66px}
.car-btn{position:absolute; top:50%; transform:translateY(-50%); width:52px; height:54px; border-radius:50%;
  border:1px solid rgba(139,70,255,.55); background:var(--panel2); color:var(--text); font-size:1.5rem;
  cursor:pointer; z-index:5; display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 20px rgba(0,0,0,.45); transition:border-color .2s, box-shadow .2s, background .2s}
.car-btn:hover{border-color:var(--g1); background:var(--panel); box-shadow:0 8px 26px rgba(139,70,255,.4)}
.car-btn.prev{left:0} .car-btn.next{right:0}
@media (max-width:720px){ .car-btn{display:none} .carousel-shell{padding:0} }

/* character / screenshot lightbox */
#lightbox{position:fixed; inset:0; z-index:95; display:flex; flex-direction:column; align-items:center;
  justify-content:center; background:rgba(6,6,12,.85); backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px); cursor:zoom-out; opacity:0; pointer-events:none; transition:opacity .28s}
#lightbox.show{opacity:1; pointer-events:auto}
#lightbox img{max-height:76vh; max-width:90vw; filter:drop-shadow(0 26px 70px rgba(0,0,0,.65))}
#lightbox .lb-meta{text-align:center; margin-top:16px; max-width:560px; padding:0 20px}
#lightbox .lb-meta h3{font-size:1.6rem; font-weight:800; letter-spacing:.03em}
#lightbox .lb-meta p{color:var(--muted); margin-top:6px}

/* features */
.feat-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:18px}
.feat{background:var(--panel); border:1px solid var(--line); border-radius:var(--radius); padding:26px}
.feat svg{width:34px; height:34px; margin-bottom:14px}
.feat h3{font-size:1.06rem; font-weight:700; margin-bottom:8px}
.feat p{color:var(--muted); font-size:.92rem}

/* faq */
.faq-item{border:1px solid var(--line); border-radius:14px; background:var(--panel); margin-bottom:12px; overflow:hidden}
.faq-item button{width:100%; text-align:left; background:none; border:0; color:var(--text); font:inherit;
  font-weight:700; padding:18px 20px; cursor:pointer; display:flex; justify-content:space-between; align-items:center}
.faq-item .chev{transition:transform .3s}
.faq-item .body{max-height:0; overflow:hidden; transition:max-height .35s ease; color:var(--muted)}
.faq-item .body p{padding:0 20px 18px}
.faq-item .body ul{padding:0 20px 18px 40px}
.faq-item .body li{margin-bottom:4px}
.faq-item.open .chev{transform:rotate(180deg)}

/* footer */
footer{border-top:1px solid var(--line); background:var(--panel); padding:60px 0 40px; text-align:center}
footer .wrap{position:relative}
.x-corner{position:absolute; right:0; bottom:-14px; width:38px; height:38px; border-radius:50%;
  border:1px solid var(--line); display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:.95rem; color:var(--muted); transition:color .2s, border-color .2s, transform .15s}
.x-corner:hover{color:var(--text); border-color:var(--g2); transform:translateY(-2px)}
.model-line{color:var(--muted); margin:6px 0 24px}
.play-now{padding:16px 46px; font-size:1.12rem; margin-bottom:30px;
  display:inline-flex; align-items:center; gap:13px}
.itch-mark{width:26px; height:auto; flex:0 0 auto}
.cta-grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:16px; max-width:880px; margin:0 auto 28px}
.cta-img{display:block; border-radius:14px; overflow:hidden; border:1px solid var(--line);
  transition:transform .18s ease, border-color .2s, box-shadow .2s}
.cta-img img{width:100%; display:block}
.cta-img:hover{transform:translateY(-3px); border-color:var(--g2); box-shadow:0 14px 40px rgba(139,70,255,.35)}
.member-group{position:relative; max-width:740px; margin:16px auto 0; padding:26px 18px 18px;
  border:1px solid var(--line); border-radius:var(--radius)}
.member-group .glbl{position:absolute; top:0; left:50%; transform:translate(-50%,-50%);
  background:var(--panel); padding:0 16px; white-space:nowrap; color:var(--muted);
  font-size:.8rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase}
.member-group .cta-grid{margin-bottom:0; width:100%}
.member-group .cta-img{border:0; border-radius:0; overflow:visible;
  transition:transform .18s ease, filter .2s}
.member-group .cta-img:hover{border-color:transparent; box-shadow:none;
  transform:translateY(-3px); filter:drop-shadow(0 10px 24px rgba(139,70,255,.55))}
@media (max-width:460px){ .member-group .glbl{font-size:.68rem} }
.cta-mini{display:flex; gap:38px; justify-content:center; align-items:center; flex-wrap:wrap; margin:34px 0 34px}
.cta-mini a{display:block; width:min(38vw,250px); opacity:.8; transition:opacity .2s, transform .15s ease, filter .2s}
.cta-mini a:hover{opacity:1; transform:translateY(-3px); filter:drop-shadow(0 10px 24px rgba(139,70,255,.55))}
.cta-mini img{width:100%}
.age-badge{display:inline-flex; align-items:center; justify-content:center; width:46px; height:46px;
  border-radius:50%; border:2px solid var(--g1); color:var(--g1); font-weight:800; margin-bottom:16px}
footer small{color:var(--muted); display:block}

/* reveal animation */
.reveal{opacity:0; transform:translateY(26px); transition:opacity .7s ease, transform .7s ease}
.reveal.in{opacity:1; transform:none}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important; transition:none!important}
  .reveal{opacity:1; transform:none}
  .hero-logo,.hero-cast,.hero-copy>*{opacity:1!important}
}
