/* OUROBOROS — landing page */
:root {
  --ink: #160a2e;
  --ink2: #241046;
  --violet: #6b3bd6;
  --pink: #ff5fb4;
  --gold: #ffc94a;
  --gold2: #ffe39a;
  --mint: #4fe3c1;
  --cream: #fff7e8;
  --dim: rgba(255, 247, 232, .68);
  --line: rgba(255, 227, 154, .22);
  --disp: 'Cinzel Decorative', 'Cinzel', serif;
  --head: 'Unbounded', 'Noto Sans JP', sans-serif;
  --body: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Noto Sans KR', 'Noto Sans SC', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); color: var(--cream); font-family: var(--body); -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { overflow-x: hidden; font-variant-numeric: lining-nums; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--pink); color: #fff; }
.h-eyebrow { font-family: var(--head); font-size: 12px; letter-spacing: .32em; font-weight: 600; color: var(--gold); text-transform: uppercase; }
.h-title { font-family: var(--head); font-weight: 800; letter-spacing: -.01em; line-height: 1.12; text-wrap: balance; }
.lead { color: var(--dim); line-height: 1.9; text-wrap: pretty; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .02em; white-space: nowrap; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s; }
.btn-gold { background: linear-gradient(180deg, #ffe08a, #ffb627); color: #3a1d00; box-shadow: 0 10px 30px -8px rgba(255, 182, 39, .7), inset 0 -3px 0 rgba(0,0,0,.15), inset 0 2px 0 rgba(255,255,255,.6); }
.btn-gold:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px -8px rgba(255, 182, 39, .85), inset 0 -3px 0 rgba(0,0,0,.15), inset 0 2px 0 rgba(255,255,255,.6); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn .arr { transition: transform .25s; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 40px); transition: background .4s, backdrop-filter .4s, padding .4s; }
.nav.solid { background: rgba(22, 10, 46, .72); backdrop-filter: blur(16px) saturate(1.4); padding-top: 10px; padding-bottom: 10px; box-shadow: 0 1px 0 var(--line); }
.nav .logo { font-family: var(--disp); font-weight: 900; font-size: 20px; letter-spacing: .08em; color: var(--gold2); display: flex; align-items: center; gap: 10px; }
.nav .logo i { width: 26px; height: 26px; border-radius: 50%; border: 3px solid var(--gold); border-right-color: transparent; transform: rotate(-30deg); }
.nav .links { display: flex; gap: 22px; margin-left: auto; font-size: 13px; font-weight: 500; }
.nav .links a { opacity: .78; transition: opacity .2s; }
.nav .links a:hover, .nav .links a.on { opacity: 1; color: var(--gold2); }
.nav .lang { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); font-family: var(--head); font-size: 11px; font-weight: 600; }
.nav .lang button { min-width: 34px; height: 30px; border-radius: 999px; opacity: .6; }
.nav .lang button.on { background: var(--gold); color: #3a1d00; opacity: 1; }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: 13px; }
@media (max-width: 1080px) { .nav .links { display: none; } .nav .lang { margin-left: auto; } }
@media (max-width: 560px) { .nav .btn { display: none; } .nav .logo span { display: none; } }

/* progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--pink), var(--gold)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- pinned scene scaffold ---------- */
.scene { position: relative; }
.scene .stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }

/* ---------- 1. hero ---------- */
#hero { height: 260vh; }
#hero .bg { position: absolute; inset: -4%; background: url(img/hero.jpg) center 40% / cover no-repeat; will-change: transform, filter; }
#hero .vign { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 38%, transparent 40%, rgba(22,10,46,.75) 100%), linear-gradient(180deg, rgba(22,10,46,.35) 0%, transparent 25%, transparent 60%, var(--ink) 100%); }
#hero .copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: clamp(90px, 14vh, 150px); text-align: center; will-change: transform, opacity; }
#hero .title { font-family: var(--disp); font-weight: 900; font-size: clamp(44px, 10.5vw, 168px); line-height: .9; letter-spacing: .04em; background: linear-gradient(180deg, #fff6d5 10%, #ffd36b 50%, #e08a1b 92%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 6px 0 rgba(90, 30, 0, .55)) drop-shadow(0 18px 40px rgba(255, 140, 40, .45)); margin: 14px 0 18px; }
#hero .title span { display: inline-block; will-change: transform, opacity; }
#hero .sub { font-size: clamp(15px, 1.6vw, 20px); line-height: 1.75; color: #fff; text-shadow: 0 2px 14px rgba(22,10,46,.9); font-weight: 500; }
#hero .ctas { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; justify-content: center; }
#hero .scrollcue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-family: var(--head); font-size: 10px; letter-spacing: .35em; color: var(--gold2); display: flex; flex-direction: column; align-items: center; gap: 10px; }
#hero .scrollcue i { width: 1.5px; height: 40px; background: linear-gradient(var(--gold2), transparent); animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* floating gems (shared) */
.gems { position: absolute; inset: 0; pointer-events: none; }
.gem { position: absolute; width: var(--s, 56px); will-change: transform; filter: drop-shadow(0 10px 18px rgba(0,0,0,.35)); }

/* ---------- 2. story (word-by-word) ---------- */
#story { height: 320vh; background: radial-gradient(ellipse at 50% 50%, var(--ink2), var(--ink) 70%); }
#story .ring { position: absolute; left: 50%; top: 50%; width: min(120vmin, 1100px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; will-change: transform; }
#story .ring svg { width: 100%; height: 100%; overflow: visible; }
#story .lines { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 4px; padding: 0 24px; }
#story .ln { font-family: var(--head); font-weight: 800; font-size: clamp(26px, 5vw, 72px); line-height: 1.2; color: var(--cream); opacity: .08; transition: opacity .15s linear; text-wrap: balance; }
#story .ln.gold { background: linear-gradient(90deg, var(--gold2), var(--gold), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 3. how to play (horizontal panels) ---------- */
#how { height: 420vh; background: var(--ink); }
#how .head { position: absolute; top: clamp(80px, 12vh, 120px); left: 0; right: 0; text-align: center; padding: 0 20px; z-index: 2; }
#how .head .h-title { font-size: clamp(28px, 4vw, 56px); margin-top: 10px; }
#how .track { position: absolute; top: 0; bottom: 0; left: 0; display: flex; align-items: center; gap: 4vw; padding: 0 12vw; padding-top: 12vh; will-change: transform; }
#how .card { flex: none; width: min(76vw, 980px); display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: 36px; overflow: hidden; background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); will-change: transform; }
#how .card .pic { position: relative; aspect-ratio: 4/3; overflow: hidden; }
#how .card .pic img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
#how .card .txt { padding: clamp(24px, 3.5vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
#how .card .num { font-family: var(--head); font-weight: 800; font-size: 14px; letter-spacing: .2em; color: var(--c); }
#how .card h3 { font-family: var(--head); font-weight: 800; font-size: clamp(36px, 5vw, 76px); line-height: 1; color: var(--c); text-shadow: 0 0 40px color-mix(in oklch, var(--c) 50%, transparent); }
#how .card p { color: var(--dim); line-height: 1.9; font-size: clamp(14px, 1.15vw, 17px); text-wrap: pretty; }
#how .dots { position: absolute; bottom: 7vh; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
#how .dots i { width: 34px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; position: relative; }
#how .dots i b { position: absolute; inset: 0; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 760px) {
  #how .card { grid-template-columns: 1fr; width: 84vw; border-radius: 28px; }
  #how .card .pic { aspect-ratio: 16/10; }
  #how .card h3 { font-size: 40px; }
  #how .track { padding-top: 14vh; }
}

/* ---------- 4. fairness (zoom-out reveal) ---------- */
#fair { height: 300vh; }
#fair .bg { position: absolute; inset: 0; background: url(img/fair.jpg) center / cover no-repeat; will-change: transform; }
#fair .shade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(22,10,46,.2) 30%, rgba(22,10,46,.35) 60%, var(--ink) 100%); }
#fair .copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; will-change: opacity, transform; }
#fair .h-title { font-size: clamp(32px, 5.6vw, 84px); margin: 14px 0 20px; text-shadow: 0 4px 30px rgba(22,10,46,.8); }
#fair .lead { max-width: 640px; color: #fff; text-shadow: 0 2px 16px rgba(22,10,46,.95); font-size: clamp(14px, 1.3vw, 18px); }
#fair .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 36px; width: min(860px, 100%); }
#fair .stat { padding: 18px 12px; border-radius: 22px; background: rgba(22,10,46,.55); backdrop-filter: blur(14px); border: 1px solid var(--line); will-change: transform, opacity; }
#fair .stat b { display: block; font-family: var(--head); font-weight: 800; font-size: clamp(20px, 2.4vw, 32px); color: var(--gold2); }
#fair .stat span { font-size: 12px; color: var(--dim); }
@media (max-width: 640px) { #fair .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 5. funds safety (stacked cards) ---------- */
#safe { height: 360vh; background: linear-gradient(180deg, var(--ink), #1d0c3d 50%, var(--ink)); }
#safe .wrap { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4vw; padding: 0 6vw; padding-top: 6vh; }
#safe .vis { position: relative; aspect-ratio: 16/10; border-radius: 36px; overflow: hidden; box-shadow: 0 40px 100px -30px rgba(107, 59, 214, .7); will-change: transform; }
#safe .vis img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
#safe .vis::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
#safe .side .h-title { font-size: clamp(26px, 3.2vw, 48px); margin: 12px 0 28px; }
#safe .stack { position: relative; display: grid; }
#safe .sc { grid-area: 1 / 1; position: relative; padding: 26px 28px; border-radius: 26px; background: linear-gradient(160deg, #2c1458, #1d0c3d); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); will-change: transform, opacity; display: flex; flex-direction: column; gap: 12px; }
#safe .sc .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 18px; color: #1b0b33; background: var(--c); box-shadow: 0 10px 24px -8px var(--c); }
#safe .sc h4 { font-family: var(--head); font-weight: 700; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.35; }
#safe .sc p { color: var(--dim); font-size: 14px; line-height: 1.8; }
@media (max-width: 900px) {
  #safe .wrap { grid-template-columns: 1fr; gap: 22px; padding: 70px 22px 0; align-content: center; }
  #safe .vis { aspect-ratio: 16/8; border-radius: 24px; }
  #safe .side .h-title { margin-bottom: 18px; }
  #safe .sc { padding: 20px 22px; gap: 8px; }
  #safe .sc p { font-size: 13px; line-height: 1.7; }
}

/* ---------- 6. characters (carousel on scroll) ---------- */
#chars { height: 480vh; background: var(--ink); }
#chars .glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 58%, var(--cglow, #ffe2a0) 0%, transparent 46%); opacity: .38; transition: background .6s; }
#chars .head { position: absolute; top: clamp(78px, 11vh, 110px); left: 0; right: 0; text-align: center; padding: 0 20px; z-index: 3; }
#chars .head .h-title { font-size: clamp(24px, 3.4vw, 48px); margin-top: 10px; }
#chars .stage { position: absolute; inset: 0; perspective: 1400px; }
#chars .ch { position: absolute; left: 50%; top: 58%; width: min(44vh, 420px); aspect-ratio: 1; margin: calc(min(44vh, 420px) / -2) 0 0 calc(min(44vh, 420px) / -2); will-change: transform, opacity, filter; }
#chars .ch img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
#chars .info { position: absolute; left: 0; right: 0; bottom: clamp(36px, 8vh, 80px); text-align: center; z-index: 3; }
#chars .info .rar { display: inline-block; padding: 6px 14px; border-radius: 999px; font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: .22em; background: var(--crar, var(--gold)); color: #1b0b33; }
#chars .info .nm { font-family: var(--disp); font-weight: 900; font-size: clamp(34px, 5vw, 70px); line-height: 1.1; margin-top: 10px; color: #fff; text-shadow: 0 0 40px var(--cglow); }
#chars .info .lv { color: var(--dim); font-size: 13px; margin-top: 4px; font-family: var(--head); letter-spacing: .1em; }
#chars .info .hint { color: var(--dim); font-size: 12px; margin-top: 14px; opacity: .8; }
#chars .tick { position: absolute; right: clamp(16px, 3vw, 40px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; z-index: 3; }
#chars .tick i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); transition: transform .3s, background .3s; }
#chars .tick i.on { background: var(--gold); transform: scale(1.5); }

/* ---------- 7. highlights / share ---------- */
#share { padding: clamp(100px, 16vh, 180px) clamp(20px, 6vw, 80px); background: linear-gradient(180deg, var(--ink), #2a0f4e 50%, var(--ink)); overflow: hidden; }
#share .grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 6vw; max-width: 1240px; margin: 0 auto; }
#share .h-title { font-size: clamp(30px, 4.4vw, 64px); margin: 14px 0 22px; }
#share .lead { font-size: clamp(14px, 1.2vw, 17px); max-width: 520px; }
#share ul { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
#share li { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: 15px; }
#share li i { flex: none; width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, var(--pink), var(--violet)); font-style: normal; font-family: var(--head); font-weight: 800; font-size: 13px; }
#share .phone { position: relative; justify-self: center; width: min(340px, 78vw); aspect-ratio: 9/18.5; border-radius: 46px; padding: 12px; background: linear-gradient(160deg, #3a2470, #120724); box-shadow: 0 60px 120px -30px rgba(255, 95, 180, .5), inset 0 0 0 1.5px rgba(255,255,255,.18); will-change: transform; }
#share .phone .scr { position: relative; width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #000; }
#share .phone .scr img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; will-change: transform; }
#share .phone .notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 34%; height: 24px; border-radius: 14px; background: #000; z-index: 2; }
#share .phone .ui { position: absolute; left: 16px; right: 16px; bottom: 22px; display: flex; align-items: flex-end; justify-content: space-between; z-index: 2; }
#share .phone .ui .tag { font-family: var(--head); font-weight: 800; font-size: 13px; padding: 8px 12px; border-radius: 12px; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); }
#share .phone .ui .tag b { color: var(--gold); }
#share .phone .ui .side { display: grid; gap: 14px; }
#share .phone .ui .side span { width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); display: grid; place-items: center; font-size: 16px; }
#share .floaty { position: absolute; font-size: 28px; pointer-events: none; will-change: transform; }
@media (max-width: 880px) { #share .grid { grid-template-columns: 1fr; } #share .phone { order: -1; } }

/* ---------- 8. FAQ ---------- */
#faq { padding: clamp(90px, 14vh, 160px) clamp(20px, 6vw, 80px); background: var(--ink); }
#faq .in { max-width: 860px; margin: 0 auto; }
#faq .h-title { font-size: clamp(28px, 3.6vw, 52px); margin: 12px 0 34px; }
#faq details { border-top: 1px solid var(--line); }
#faq details:last-child { border-bottom: 1px solid var(--line); }
#faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: clamp(15px, 1.4vw, 19px); }
#faq summary::-webkit-details-marker { display: none; }
#faq summary .pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; transition: transform .3s, background .3s; }
#faq summary .pm::before, #faq summary .pm::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold2); transform: translate(-50%, -50%); }
#faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
#faq details[open] summary .pm { background: var(--gold); border-color: var(--gold); }
#faq details[open] summary .pm::before, #faq details[open] summary .pm::after { background: #3a1d00; }
#faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
#faq details p { padding: 0 4px 26px; color: var(--dim); line-height: 1.95; font-size: 15px; max-width: 720px; }

/* ---------- 9. final CTA ---------- */
#end { height: 220vh; }
#end .bg { position: absolute; inset: 0; background: url(img/gate.jpg) center / cover no-repeat; will-change: transform, filter; }
#end .shade { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(22,10,46,.25), rgba(22,10,46,.85) 100%), linear-gradient(180deg, var(--ink) 0%, transparent 25%); }
#end .copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 22px; will-change: transform, opacity; }
#end .h-title { font-size: clamp(40px, 8vw, 128px); line-height: 1; background: linear-gradient(180deg, #fff 30%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 8px 30px rgba(22,10,46,.8)); }
#end .sub { margin-top: 18px; font-size: clamp(15px, 1.5vw, 20px); color: #fff; text-shadow: 0 2px 14px rgba(22,10,46,.9); }
#end .ctas { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
#end form { margin-top: 18px; display: flex; gap: 8px; width: min(460px, 100%); padding: 6px; border-radius: 999px; background: rgba(22,10,46,.6); backdrop-filter: blur(14px); border: 1px solid var(--line); }
#end form input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 0; outline: 0; background: transparent; color: #fff; font: 16px var(--body); }
#end form input::placeholder { color: var(--dim); }
#end form .btn { min-height: 46px; padding: 0 22px; font-size: 14px; }
#end .msg { min-height: 22px; margin-top: 10px; font-size: 13px; color: var(--mint); }
#end .msg.err { color: #ff9a9a; }

/* ---------- footer ---------- */
footer { padding: 46px clamp(20px, 6vw, 80px) 40px; background: #0e061f; border-top: 1px solid var(--line); }
footer .in { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
footer .logo { font-family: var(--disp); font-weight: 900; letter-spacing: .08em; color: var(--gold2); font-size: 18px; }
footer nav { display: flex; gap: 22px; font-size: 13px; color: var(--dim); }
footer nav a:hover { color: var(--cream); }
footer .note { flex-basis: 100%; font-size: 12px; line-height: 1.8; color: rgba(255,247,232,.5); border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px; }
footer .badge { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,247,232,.5); font-family: var(--head); font-weight: 700; font-size: 11px; margin-right: 10px; vertical-align: middle; }

/* reveal for non-pinned blocks */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  #hero .scrollcue i { animation: none; }
}

/* ---------- live arena + stronger CTA (hero) ---------- */
#hero .live { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; will-change: transform, opacity; }
#hero .live.on { opacity: 1; }
#hero .bg { opacity: .55; mix-blend-mode: screen; }
#hero .vign { background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(22,10,46,.15) 0%, rgba(22,10,46,.55) 60%, rgba(22,10,46,.9) 100%), linear-gradient(180deg, rgba(22,10,46,.55) 0%, transparent 30%, transparent 60%, var(--ink) 100%); }
#hero .live-tag { position: absolute; top: clamp(76px, 10vh, 96px); right: clamp(16px, 4vw, 40px); display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(22,10,46,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,95,180,.4); font-family: var(--head); font-size: 10px; font-weight: 700; letter-spacing: .22em; color: #ffd0ea; z-index: 2; }
#hero .live-tag i { width: 8px; height: 8px; border-radius: 50%; background: #ff3d8b; box-shadow: 0 0 0 0 rgba(255,61,139,.7); animation: livePulse 1.6s infinite; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255,61,139,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,61,139,0); } 100% { box-shadow: 0 0 0 0 rgba(255,61,139,0); } }
.btn-xl { min-height: 68px; padding: 0 40px; font-size: clamp(17px, 1.6vw, 21px); font-weight: 800; overflow: hidden; isolation: isolate; animation: ctaGlow 2.4s ease-in-out infinite; }
.btn-xl .arr { font-size: 1.2em; }
.btn-xl .shine { position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.75) 48%, transparent 66%); transform: translateX(-120%); animation: shine 3.2s ease-in-out infinite 1.2s; }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes ctaGlow { 0%, 100% { box-shadow: 0 12px 34px -8px rgba(255,182,39,.75), 0 0 0 0 rgba(255,201,74,.55), inset 0 -3px 0 rgba(0,0,0,.15), inset 0 2px 0 rgba(255,255,255,.6); } 50% { box-shadow: 0 16px 46px -6px rgba(255,182,39,.95), 0 0 0 10px rgba(255,201,74,0), inset 0 -3px 0 rgba(0,0,0,.15), inset 0 2px 0 rgba(255,255,255,.6); } }
.btn-lg { min-height: 60px; padding: 0 30px; font-size: 16px; }
#hero .ctas { margin-top: 30px; gap: 14px; }
#hero .cta-note { margin-top: 14px; font-size: 12px; color: rgba(255,247,232,.75); letter-spacing: .04em; text-shadow: 0 2px 10px rgba(22,10,46,.9); }
@media (max-width: 560px) { #hero .ctas { flex-direction: column; width: min(340px, 88vw); } #hero .ctas .btn { width: 100%; } .btn-xl { min-height: 62px; } }
@media (prefers-reduced-motion: reduce) { .btn-xl, .btn-xl .shine, #hero .live-tag i { animation: none; } }

/* ---------- skins: unlock bar ---------- */
#chars .info .xpbar { width: min(260px, 60vw); height: 6px; margin: 12px auto 0; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
#chars .info .xpbar b { display: block; height: 100%; border-radius: inherit; transition: width .5s cubic-bezier(.2,.8,.2,1), background .5s; }

/* ---------- rev3: giant logo + single centred CTA ---------- */
#hero .copy { padding-top: clamp(84px, 11vh, 120px); }
#hero .title { font-size: clamp(56px, 15.5vw, 260px); line-height: .86; letter-spacing: .02em; margin: 10px 0 14px; position: relative;
  filter: drop-shadow(0 8px 0 rgba(90, 30, 0, .6)) drop-shadow(0 24px 60px rgba(255, 140, 40, .55)) drop-shadow(0 0 120px rgba(255, 95, 180, .35)); }
#hero .title::after { content: ''; position: absolute; left: 50%; top: 52%; width: 118%; height: 150%; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(ellipse at center, rgba(255, 201, 74, .32), rgba(255, 95, 180, .12) 45%, transparent 70%); pointer-events: none; }
#hero .sub { font-size: clamp(14px, 1.35vw, 18px); max-width: 640px; }
#hero .ctas { justify-content: center; margin-top: 30px; }
#hero .btn-xl { min-height: 78px; min-width: min(420px, 86vw); padding: 0 48px; font-size: clamp(19px, 1.9vw, 24px); }
@media (max-width: 560px) { #hero .ctas { width: auto; } #hero .btn-xl { min-height: 66px; min-width: 86vw; } }

/* ---------- rev4: image logo ---------- */
#hero .title.logo { background: none; -webkit-background-clip: initial; background-clip: initial; color: inherit; font-size: 0; line-height: 0; margin: 0 0 6px; filter: drop-shadow(0 20px 50px rgba(22,10,46,.65)) drop-shadow(0 0 80px rgba(255,170,60,.35)); }
#hero .title.logo::after { display: none; }
#hero .title.logo img { width: min(78vw, 820px, 92vh); height: auto; animation: logoIn 1.1s cubic-bezier(.2,.9,.25,1.2) .15s both, logoFloat 5s ease-in-out 1.3s infinite; }
@keyframes logoIn { from { opacity: 0; transform: translateY(40px) scale(.7) rotate(-4deg); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
#hero .copy { padding-top: clamp(64px, 8vh, 96px); }
#hero .sub { font-size: clamp(16px, 1.7vw, 22px); font-weight: 700; line-height: 1.6; margin-top: -4px; }
#hero .sub em { font-style: normal; color: var(--gold2); }
@media (max-width: 560px) { #hero .title.logo img { width: 94vw; } #hero .copy { padding-top: 72px; } }
@media (max-height: 760px) and (min-width: 561px) { #hero .title.logo img { width: min(60vw, 640px); } }
@media (prefers-reduced-motion: reduce) { #hero .title.logo img { animation: none; } }

/* ---------- rev4b: keep logo + copy + CTA above the scroll cue ---------- */
#hero .title.logo img { width: min(78vw, 820px, 66vh * 1.434); }
#hero .copy { justify-content: center; padding-top: 56px; padding-bottom: 96px; }
#hero .scrollcue { bottom: 14px; }
@media (max-height: 820px) { #hero .title.logo img { width: min(78vw, 58vh * 1.434); } #hero .scrollcue i { height: 26px; } }
@media (max-height: 680px) { #hero .scrollcue { display: none; } #hero .copy { padding-bottom: 24px; } }
@media (max-width: 560px) { #hero .title.logo img { width: min(94vw, 46vh * 1.434); } #hero .copy { padding-top: 64px; padding-bottom: 84px; } #hero .cta-note { font-size: 11px; max-width: 86vw; } }

/* ---------- rev5: funds title with Web3 kicker ---------- */
#safe .side .h-title .kicker { display: block; margin-bottom: 10px; font-size: .52em; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(90deg, var(--mint), var(--gold2) 55%, var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
#safe .sc h4 { text-wrap: balance; }
