/* Warriors Thrive — Kickstarter site
   © Arkcov Enterprises, LLC */

@font-face { font-family: 'Lilita One'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/lilita-one.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 400; font-style: normal; font-display: swap; src: url('/fonts/outfit-400.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 500; font-style: normal; font-display: swap; src: url('/fonts/outfit-500.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-style: normal; font-display: swap; src: url('/fonts/outfit-600.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 700; font-style: normal; font-display: swap; src: url('/fonts/outfit-700.woff2') format('woff2'); }
@font-face { font-family: 'Outfit'; font-weight: 800; font-style: normal; font-display: swap; src: url('/fonts/outfit-800.woff2') format('woff2'); }

:root {
  --bg: #0b0620;
  --bg2: #120a33;
  --ink: #f4f1ff;
  --muted: #b9b0dd;
  --line: rgba(160, 130, 255, .22);
  --purple: #9b5cff;
  --violet: #c13cff;
  --blue: #3fa9ff;
  --cyan: #38e1ff;
  --gold: #ffc23a;
  --orange: #ff7a1a;
  --red: #ff3d5a;
  --green: #2fe08a;
  --ks: #05ce78;
  --radius: 20px;
  --display: 'Lilita One', 'Arial Rounded MT Bold', system-ui, sans-serif;
  --body: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: .01em; line-height: 1.05; margin: 0 0 .4em; }
h2 { font-size: clamp(2.3rem, 5vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 92vw); margin: 0 auto; }
.grad {
  background: linear-gradient(92deg, var(--gold), var(--orange) 45%, var(--violet));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem;
  color: var(--cyan); margin-bottom: .9em;
}
.lede { color: var(--muted); font-size: 1.15rem; max-width: 720px; margin: 0 auto; }
kbd { background: #24164f; border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-family: var(--body); font-size: .85em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  font-family: var(--body); font-weight: 800; font-size: 1rem; text-decoration: none;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  color: var(--ink); background: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-ks { background: var(--ks); color: #04140c; box-shadow: 0 0 0 0 rgba(5, 206, 120, .5), 0 10px 30px -8px rgba(5, 206, 120, .7); }
.btn-ks:hover { box-shadow: 0 0 0 6px rgba(5, 206, 120, .18), 0 14px 36px -8px rgba(5, 206, 120, .9); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--cyan); }
.btn-lg { font-size: 1.1rem; padding: 1em 1.8em; }
.btn-xl { font-size: clamp(1.05rem, 2vw, 1.35rem); padding: 1.1em 2.2em; }
.btn-sm { font-size: .9rem; padding: .55em 1.1em; }
.ks-dot { width: .6em; height: .6em; border-radius: 50%; background: #04140c; box-shadow: 0 0 0 0 #04140c; animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(4, 20, 12, .6); } 100% { box-shadow: 0 0 0 10px rgba(4, 20, 12, 0); } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 72px;
  display: flex; align-items: center; gap: 28px; padding: 0 4vw;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled { background: rgba(11, 6, 32, .86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-logo { text-decoration: none; }
/* brand lockup: emblem + wordmark set in the display face */
.brand { display: inline-flex; align-items: center; gap: .28em; font-family: var(--display); line-height: .9; }
.brand img { width: 2.1em; height: 2.1em; filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
.brand .wm { display: flex; flex-direction: column; color: #ffc77a; -webkit-text-stroke: .045em #2a0d05; paint-order: stroke fill; text-shadow: .05em .06em 0 #c4271c, .07em .09em 0 #2a0d05; letter-spacing: .04em; }
.brand .wm span:first-child { font-size: .62em; letter-spacing: .2em; }
.brand-sm { font-size: 22px; }
.brand-md { font-size: 36px; }
.brand-xl { font-size: clamp(44px, 8vw, 92px); }
.brand-xl img { filter: drop-shadow(0 0 30px rgba(255, 122, 26, .55)); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: .6em 1.2em; font-size: .92rem; }
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.hero-shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(11, 6, 32, .5), rgba(11, 6, 32, .88) 70%),
    linear-gradient(180deg, rgba(11, 6, 32, .55) 0%, rgba(11, 6, 32, .2) 40%, var(--bg) 100%);
}
.hero-inner { position: relative; padding: 120px 0 90px; width: min(980px, 92vw); }
.hero-logo { margin: 0 auto 22px; display: flex; justify-content: center; }
.hero-title { font-size: clamp(2.6rem, 7vw, 5.6rem); text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #e4defc; max-width: 720px; margin: 0 auto 30px; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-facts { list-style: none; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0; margin: 34px 0 0; }
.hero-facts li { background: rgba(18, 10, 51, .7); border: 1px solid var(--line); border-radius: 999px; padding: .4em 1.1em; font-size: .95rem; color: var(--muted); backdrop-filter: blur(6px); }
.hero-facts b { color: var(--gold); font-family: var(--display); font-weight: 400; font-size: 1.15rem; margin-right: 4px; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; background: linear-gradient(90deg, var(--purple), var(--violet), var(--orange)); padding: 14px 0; transform: rotate(-1.2deg) scale(1.02); margin: -10px 0 0; position: relative; z-index: 2; }
.ticker-track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: ticker 32s linear infinite; font-family: var(--display); font-size: 1.4rem; letter-spacing: .06em; }
.ticker i { font-style: normal; color: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.sec-head { text-align: center; margin-bottom: 56px; }
.video-frame {
  border-radius: var(--radius); overflow: hidden; background: #000;
  box-shadow: 0 0 0 1px var(--line), 0 30px 80px -20px rgba(155, 92, 255, .55);
}
.video-frame video { width: 100%; aspect-ratio: 1200 / 630; }

/* message */
.message-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: center; }
.message-copy p { color: var(--muted); }

/* story */
.story { background: radial-gradient(ellipse at 20% 0%, rgba(155, 92, 255, .18), transparent 60%), var(--bg); }
.chapters { display: grid; gap: clamp(60px, 9vw, 110px); }
.chapter { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.chapter.flip .chapter-art { order: 2; }
.chapter-art { border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: 0 0 0 1px var(--line), 0 24px 70px -20px rgba(63, 169, 255, .5); }
.chapter-art img, .chapter-art video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.chapter-art.glow-gold { box-shadow: 0 0 0 1px rgba(255, 194, 58, .4), 0 24px 70px -18px rgba(255, 194, 58, .55); }
.chapter-art.glow-red { box-shadow: 0 0 0 1px rgba(255, 61, 90, .4), 0 24px 70px -18px rgba(255, 61, 90, .55); }
.chapter-num { font-family: var(--display); font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--purple); display: block; margin-bottom: 8px; opacity: .8; }
.chapter-copy p { color: var(--muted); font-size: 1.12rem; }
.chapter-copy b { color: var(--ink); }
.c-heart { color: #ff6b81 !important; } .c-lung { color: #ff9f9f !important; } .c-bone { color: #ffd66b !important; }
.c-kidney { color: #5fd3ff !important; } .c-brain { color: #ffb0c8 !important; } .c-blood { color: #ff4d5e !important; }

/* warriors */
.warriors { background: linear-gradient(180deg, var(--bg), var(--bg2) 30%, var(--bg2) 70%, var(--bg)); }
.warrior-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.wcard-btn {
  position: relative; text-align: left; border: 0; padding: 0; cursor: pointer; color: var(--ink); font: inherit;
  border-radius: var(--radius); overflow: hidden; background: #1a0f45;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 55%, transparent), 0 16px 40px -18px var(--c);
  transition: transform .25s ease, box-shadow .25s ease;
}
.wcard-btn:hover, .wcard-btn:focus-visible { transform: translateY(-6px) rotate(-.5deg); box-shadow: 0 0 0 3px var(--c), 0 24px 60px -14px var(--c); outline: none; }
.wcard-btn img { width: 100%; aspect-ratio: 222/246; object-fit: cover; transition: transform .4s ease; }
.wcard-btn:hover img { transform: scale(1.06); }
.wcard-info { padding: 14px 16px 18px; background: linear-gradient(180deg, #1a0f45, #120a33); }
.wcard-info h3 { font-size: 1.55rem; margin: 0 0 2px; }
.wcard-info .meta { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.wcard-info .pw { display: inline-block; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #0b0620; background: var(--c); border-radius: 999px; padding: .2em .8em; }
.wcard-btn .play-ico { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(11, 6, 32, .7); display: grid; place-items: center; font-size: .9rem; border: 1px solid rgba(255, 255, 255, .3); }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(5, 2, 16, .86); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-card { width: min(920px, 100%); max-height: 94vh; overflow: auto; background: var(--bg2); border-radius: 24px; position: relative; box-shadow: 0 0 0 1px var(--line), 0 40px 120px -20px rgba(155, 92, 255, .6); animation: pop .3s ease; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal-video video { width: 100%; aspect-ratio: 16/9; background: #000; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 1.1rem; cursor: pointer; }
.modal-body { display: flex; gap: 20px; padding: 22px 26px 6px; align-items: flex-start; }
.modal-body img { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--c, var(--purple)); }
.m-meta { color: var(--muted); font-size: .95rem; margin-bottom: 6px; }
.m-power { font-family: var(--display); font-size: 1.3rem; color: var(--gold); margin-bottom: 4px; }
.modal-nav { display: flex; justify-content: space-between; padding: 8px 26px 22px; }

/* ---------- lessons ---------- */
.learn { background: radial-gradient(ellipse at 80% 20%, rgba(63, 169, 255, .14), transparent 60%), var(--bg); }
.tutorial-feature { margin-bottom: 40px; }
.tutorial-feature video { aspect-ratio: 16/9; }
.lesson-player { display: grid; grid-template-columns: 1fr 300px; gap: 24px; }
.lesson-screen { background: #07031a; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 30px 90px -30px rgba(155, 92, 255, .7); display: flex; flex-direction: column; }
.stage { position: relative; aspect-ratio: 16/9; overflow: hidden; background: radial-gradient(circle at 50% 40%, #241360, #07031a 75%); }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility .5s; display: grid; place-items: center; }
.scene.on { opacity: 1; visibility: visible; }

/* L1 mission */
.s-mission .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(1.1); }
.s-mission .crystals { position: relative; display: flex; gap: 4%; width: 60%; justify-content: center; }
.s-mission .crystals img { width: 22%; filter: drop-shadow(0 0 22px rgba(47, 224, 138, .8)); opacity: 0; }
.s-mission.on .crystals img { animation: crystalIn 1s ease forwards, bob 2.4s ease-in-out infinite 1s; }
.s-mission.on .crystals img:nth-child(2) { animation-delay: .5s, 1.5s; }
.s-mission.on .crystals img:nth-child(3) { animation-delay: 1s, 2s; }
@keyframes crystalIn { from { opacity: 0; transform: translateY(40px) scale(.6); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
.hospital-meter { position: absolute; left: 4%; bottom: 6%; background: rgba(11, 6, 32, .8); border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px; min-width: 200px; }
.hospital-meter span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.hospital-meter b { font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--green); }
.hospital-meter em { font-style: normal; color: var(--muted); margin-left: 4px; }
.meter { height: 8px; border-radius: 4px; background: #2a1d5c; overflow: hidden; margin-top: 4px; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--cyan)); transition: width .6s ease; }

/* L2 spin */
.s-spin { grid-template-columns: 1.1fr 1fr; padding: 0 6%; gap: 4%; }
.spinner-wrap { position: relative; width: min(100%, 360px); justify-self: end; }
.spinner-wrap img { width: 100%; transition: transform 3s cubic-bezier(.17, .67, .16, 1); filter: drop-shadow(0 10px 40px rgba(155, 92, 255, .6)); }
.pointer { position: absolute; top: -6px; left: 50%; translate: -50% 0; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-top: 26px solid var(--gold); z-index: 2; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .6)); }
.spin-legend { display: grid; gap: 12px; }
.leg { display: grid; grid-template-columns: 48px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.leg img, .leg .sickle { grid-row: span 2; width: 44px; height: 44px; }
.leg .sickle { border-radius: 50%; background: radial-gradient(circle at 70% 40%, transparent 42%, var(--red) 43%); transform: rotate(-30deg); }
.leg b { font-family: var(--display); font-weight: 400; font-size: 1.3rem; }
.leg-w b { color: var(--gold); } .leg-c b { color: var(--red); }
.leg span:last-child { color: var(--muted); font-size: .9rem; }
.spin-result { position: absolute; left: 50%; bottom: 7%; translate: -50% 0; font-family: var(--display); font-size: clamp(1.1rem, 2.4vw, 1.8rem); padding: .3em 1em; border-radius: 999px; background: var(--gold); color: #1a0f45; opacity: 0; transform: scale(.7); transition: .35s ease; white-space: nowrap; }
.spin-result.show { opacity: 1; transform: scale(1); }

/* L3 card */
.s-card { grid-template-columns: auto auto; gap: 5%; }
.wcard { width: clamp(220px, 34vw, 340px); aspect-ratio: 5/7; perspective: 1200px; }
.wcard-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.5, 0, .2, 1); }
.s-card.on .wcard-inner { transform: rotateY(180deg); transition-delay: .6s; }
.wcard-back, .wcard-front { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 18px; padding: 8%; }
.wcard-back { background: linear-gradient(140deg, #ff7a1a, #c13cff); display: grid; place-items: center; align-content: center; gap: 10px; border: 4px solid var(--gold); }
.wcard-back img { width: 62%; }
.wcard-back span { font-family: var(--display); font-size: 1.3rem; color: #1a0f45; }
.wcard-front { transform: rotateY(180deg); background: #fff8ec; color: #1a0f45; border: 4px solid var(--gold); display: flex; flex-direction: column; }
.wcard-front .q { font-weight: 800; font-size: clamp(.8rem, 1.5vw, 1.05rem); line-height: 1.3; }
.wcard-front ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: clamp(.72rem, 1.3vw, .92rem); line-height: 1.25; list-style: upper-alpha; }
.wcard-front li { padding: 4px 6px; border-radius: 8px; }
.s-card.on .wcard-front li.right { animation: correct .5s ease forwards 2.6s; }
@keyframes correct { to { background: var(--green); color: #04140c; font-weight: 800; } }
.rewards { display: grid; gap: 14px; }
.rw { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: clamp(1rem, 2vw, 1.5rem); padding: .4em 1em .4em .5em; border-radius: 999px; opacity: 0; transform: translateX(-20px); }
.rw img { width: 44px; height: 44px; }
.rw.plus { background: rgba(47, 224, 138, .15); color: var(--green); border: 1px solid var(--green); }
.rw.minus { background: rgba(255, 61, 90, .12); color: #ff8a9b; border: 1px solid var(--red); }
.s-card.on .rw { animation: slideIn .5s ease forwards 3.2s; }
.s-card.on .rw.minus { animation-delay: 3.6s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }

/* L4 crisis */
.s-crisis .board { position: relative; width: 82%; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.tok { position: absolute; width: 7%; opacity: 0; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .7)); translate: -50% -50%; }
.t1 { left: 30%; top: 82%; } .t2 { left: 50%; top: 18%; } .t3 { left: 70%; top: 82%; }
.s-crisis.on .tok { animation: drop .6s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.s-crisis.on .t1 { animation-delay: .6s; } .s-crisis.on .t2 { animation-delay: 1.5s; } .s-crisis.on .t3 { animation-delay: 2.4s; }
@keyframes drop { from { opacity: 0; transform: translateY(-120px) scale(1.4); } to { opacity: 1; transform: none; } }
.lock { position: absolute; left: 70%; top: 80%; translate: -50% -50%; width: 17%; aspect-ratio: 1; border-radius: 14px; border: 4px dashed var(--red); background: rgba(255, 61, 90, .25); display: grid; place-items: center; align-content: center; font-family: var(--display); color: #fff; font-size: clamp(.7rem, 1.6vw, 1.2rem); opacity: 0; }
.lock span { font-size: 1.8em; line-height: 1; }
.s-crisis.on .lock { animation: lockIn .5s ease forwards 3.4s; }
@keyframes lockIn { from { opacity: 0; transform: scale(1.5); } to { opacity: 1; transform: none; } }

/* L5 progression */
.s-prog { grid-template-columns: auto auto; gap: 6%; }
.prog-lab { position: relative; width: clamp(200px, 30vw, 300px); aspect-ratio: 1; }
.lab-tile { position: absolute; inset: 0; border-radius: 26px; border: 5px solid #f0a33a; background: radial-gradient(circle, #2a6aa8, #102a4d); display: grid; place-items: end center; padding-bottom: 10%; font-family: var(--display); font-size: 1.2rem; color: #9fe0ff; }
.ptok { position: absolute; width: 26%; top: 28%; opacity: 0; translate: -50% 0; }
.p1 { left: 25%; } .p2 { left: 50%; } .p3 { left: 75%; }
.s-prog.on .ptok { animation: drop .5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.s-prog.on .p1 { animation-delay: .4s; } .s-prog.on .p2 { animation-delay: 1.1s; } .s-prog.on .p3 { animation-delay: 1.8s; }
.prog-badge { position: absolute; left: 50%; top: 50%; translate: -50% -50%; white-space: nowrap; font-family: var(--display); font-size: clamp(.9rem, 1.8vw, 1.3rem); background: var(--red); padding: .35em .9em; border-radius: 10px; opacity: 0; box-shadow: 0 0 40px var(--red); }
.s-prog.on .prog-badge { animation: lockIn .5s ease forwards 2.6s, throb 1.2s ease-in-out infinite 3.1s; }
@keyframes throb { 50% { box-shadow: 0 0 70px 10px var(--red); } }
.prog-team { display: flex; align-items: center; gap: 10px; opacity: 0; }
.s-prog.on .prog-team { animation: slideIn .6s ease forwards 3.6s; }
.prog-team img { width: clamp(56px, 8vw, 86px); border-radius: 16px; box-shadow: 0 0 0 3px var(--purple); }
.prog-team span { font-family: var(--display); font-size: 2rem; color: var(--gold); }
.prog-team em { font-style: normal; color: var(--muted); margin: 0 6px; }

/* L6 power / L7 showdown */
.s-power video, .s-show video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.power-tokens { position: absolute; right: 4%; top: 6%; display: flex; gap: 8px; }
.power-tokens img { width: clamp(44px, 7vw, 72px); filter: drop-shadow(0 0 14px var(--gold)); }
.s-power.on .power-tokens img:last-child { animation: spend .6s ease forwards 1.5s; }
@keyframes spend { to { opacity: .25; transform: scale(.7) rotate(-20deg); filter: grayscale(1); } }
.show-hud { position: absolute; left: 50%; bottom: 7%; translate: -50% 0; text-align: center; background: rgba(11, 6, 32, .78); border: 1px solid rgba(255, 61, 90, .6); border-radius: 16px; padding: 10px 22px; }
.show-hud span { font-family: var(--display); font-size: clamp(1rem, 2.2vw, 1.6rem); color: #ff8a9b; }
.show-hud small { display: block; color: var(--muted); font-size: .8rem; }
.lives { display: flex; gap: 8px; justify-content: center; margin: 4px 0; }
.lives i { width: 18px; height: 18px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }
.s-show.on .lives i:first-child { animation: miss .4s ease forwards 2s; }
@keyframes miss { to { background: #3a2a62; box-shadow: none; } }

.lesson-caption { padding: 20px 26px 6px; min-height: 150px; }
.lesson-tag { font-size: .75rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--cyan); }
.lesson-caption h3 { margin: 4px 0 6px; }
.lesson-caption p { color: var(--muted); margin: 0; }
.lesson-controls { display: flex; align-items: center; gap: 10px; padding: 12px 22px 20px; }
.ctl { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #1a0f45; color: var(--ink); cursor: pointer; font-size: .85rem; flex: none; }
.ctl.play { width: 54px; height: 54px; background: var(--gold); color: #1a0f45; border: 0; font-size: 1.1rem; }
.progress { flex: 1; display: flex; gap: 5px; }
.progress span { flex: 1; height: 5px; border-radius: 3px; background: #2a1d5c; overflow: hidden; cursor: pointer; }
.progress span i { display: block; height: 100%; width: 0; background: var(--gold); }
.progress span.done i { width: 100%; }
.lesson-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; counter-reset: l; }
.lesson-list button { width: 100%; text-align: left; display: flex; gap: 12px; align-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--ink); font: inherit; padding: 12px 14px; border-radius: 14px; cursor: pointer; transition: .2s; }
.lesson-list button:hover { border-color: var(--purple); }
.lesson-list button.active { background: linear-gradient(90deg, rgba(155, 92, 255, .35), rgba(155, 92, 255, .08)); border-color: var(--purple); }
.lesson-list .n { font-family: var(--display); width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #2a1d5c; color: var(--gold); }
.lesson-list .t { font-weight: 700; font-size: .98rem; line-height: 1.2; }
.lesson-list .d { display: block; font-size: .78rem; color: var(--muted); font-weight: 500; }
.rule-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; }
.rule { background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.rule b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--gold); display: block; }
.rule span { color: var(--muted); font-size: .95rem; }


/* how-to videos */
.howto-videos { margin-top: 56px; }
.sec-sub { text-align: center; margin-bottom: 28px; }
.sec-sub h3 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.sec-sub p { color: var(--muted); max-width: 640px; margin: 0 auto; }
.hv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hv-card { background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.hv-frame video { width: 100%; aspect-ratio: 16/9; background: #000; }
.hv-info { padding: 16px 18px 20px; }
.hv-num { font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.hv-info h4 { font-family: var(--display); font-weight: 400; font-size: 1.5rem; margin: 4px 0 6px; }
.hv-info p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 1000px) { .hv-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }

/* ---------- quiz ---------- */
.quiz { background: linear-gradient(180deg, var(--bg), #170b3e 50%, var(--bg)); }
.quiz-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.quiz-copy p { color: var(--muted); }
.quiz-score { display: inline-flex; align-items: center; gap: 12px; background: rgba(47, 224, 138, .1); border: 1px solid rgba(47, 224, 138, .5); border-radius: 999px; padding: 8px 20px 8px 10px; }
.quiz-score img { width: 44px; filter: drop-shadow(0 0 10px rgba(47, 224, 138, .8)); }
.quiz-score b { font-family: var(--display); font-weight: 400; font-size: 2rem; color: var(--green); }
.quiz-score span { color: var(--muted); }
.quiz-card { background: #fff8ec; color: #1a0f45; border-radius: 24px; padding: 28px; border: 5px solid var(--gold); box-shadow: 0 30px 80px -20px rgba(255, 194, 58, .45); }
.quiz-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: #7b5cc9; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.quiz-top img { width: 44px; }
.quiz-q { font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.2; margin: 12px 0 18px; }
.quiz-choices { display: grid; gap: 10px; }
.quiz-choices button { text-align: left; font: inherit; font-weight: 600; color: #1a0f45; background: #fff; border: 2px solid #e4d8ff; border-radius: 14px; padding: 12px 16px; cursor: pointer; transition: .15s; display: flex; gap: 12px; }
.quiz-choices button:hover:not(:disabled) { border-color: var(--purple); transform: translateX(3px); }
.quiz-choices button .l { font-family: var(--display); color: var(--purple); }
.quiz-choices button.ok { background: var(--green); border-color: var(--green); color: #04140c; }
.quiz-choices button.no { background: #ffd9df; border-color: var(--red); }
.quiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; min-height: 40px; }
.quiz-foot p { margin: 0; font-weight: 700; }
.quiz-foot .btn-ghost { color: #1a0f45; border-color: #1a0f45; background: none; }

/* ---------- demo ---------- */
.demo-window { position: relative; display: block; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 2px var(--purple), 0 40px 100px -30px rgba(155, 92, 255, .9); }
.demo-window img { width: 100%; aspect-ratio: 1800/1020; object-fit: cover; transition: transform .6s ease, filter .4s; filter: brightness(.75); }
.demo-window:hover img { transform: scale(1.03); filter: brightness(.55); }
.demo-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: clamp(80px, 11vw, 130px); aspect-ratio: 1; border-radius: 50%; background: var(--gold); display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(255, 194, 58, .6); animation: ring 2s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 194, 58, .6); } 100% { box-shadow: 0 0 0 30px rgba(255, 194, 58, 0); } }
.demo-play .tri { width: 0; height: 0; border-left: 34px solid #1a0f45; border-top: 21px solid transparent; border-bottom: 21px solid transparent; margin-left: 8px; }
.demo-label { position: absolute; left: 50%; bottom: 8%; translate: -50% 0; font-family: var(--display); font-size: clamp(1.2rem, 3vw, 2.2rem); text-decoration: none; text-shadow: 0 4px 20px #000; white-space: nowrap; }
.demo-note { text-align: center; color: var(--muted); margin-top: 22px; font-size: .95rem; }

/* ---------- back ---------- */
.back { overflow: hidden; }
.back-bg { position: absolute; inset: 0; background: url('/img/title.webp') center/cover; opacity: .14; filter: blur(2px); mask-image: linear-gradient(180deg, transparent, #000 25%, #000 75%, transparent); }
.back-inner { position: relative; }
.box { background: rgba(18, 10, 51, .85); border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 4vw, 44px); backdrop-filter: blur(8px); }
.box h3 { text-align: center; margin-bottom: 26px; }
.box-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.box-list li { display: grid; grid-template-columns: 70px 1fr; column-gap: 14px; align-items: center; background: rgba(255, 255, 255, .04); border-radius: 16px; padding: 12px; }
.box-list img { grid-row: span 2; width: 70px; height: 70px; object-fit: cover; border-radius: 12px; }
.box-list img.contain { object-fit: contain; }
.box-list b { font-weight: 800; }
.box-list span { color: var(--muted); font-size: .88rem; line-height: 1.3; }
.box-note { text-align: center; color: var(--muted); margin: 20px 0 0; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 50px; }
.why div { border-left: 3px solid var(--violet); padding: 6px 0 6px 16px; }
.why b { font-family: var(--display); font-weight: 400; font-size: 1.4rem; display: block; }
.why span { color: var(--muted); }
.back-cta { text-align: center; display: grid; gap: 14px; justify-items: center; }
.ks-pending { color: var(--muted); font-size: .95rem; margin: 0; }
.ks-pending[hidden] { display: none; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: #07031a; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 40px; }

.tag { color: var(--muted); margin-top: 10px; font-size: .9rem; letter-spacing: .1em; }
.footer-links { display: grid; gap: 8px; align-content: start; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-legal p { color: var(--muted); font-size: .88rem; }
.footer-legal p:first-child { color: var(--ink); font-size: 1rem; }
.disclaimer { font-size: .8rem !important; opacity: .8; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .warrior-grid { grid-template-columns: repeat(2, 1fr); }
  .lesson-player { grid-template-columns: 1fr; }
  .lesson-list { grid-template-columns: repeat(2, 1fr); }
  .rule-cards { grid-template-columns: repeat(2, 1fr); }
  .box-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0; background: rgba(11, 6, 32, .97); padding: 10px 6vw 20px; display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: auto; }
  .message-grid, .chapter, .quiz-grid { grid-template-columns: 1fr; gap: 28px; }
  .chapter.flip .chapter-art { order: 0; }
  .why { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .s-spin, .s-card, .s-prog { grid-template-columns: 1fr 1fr; }
  .spin-legend { font-size: .8rem; }
  .lesson-caption { min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .warrior-grid { gap: 12px; }
  .wcard-info { padding: 10px 12px 14px; }
  .wcard-info h3 { font-size: 1.25rem; }
  .lesson-list { grid-template-columns: 1fr; }
  .rule-cards, .box-list { grid-template-columns: 1fr; }
  .leg { padding: 6px 8px; grid-template-columns: 32px 1fr; }
  .leg img, .leg .sickle { width: 30px; height: 30px; }
  .leg b { font-size: 1rem; }
  .hospital-meter { min-width: 0; padding: 6px 10px; }
  .hospital-meter b { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
  .ticker-track { animation: none; }
}
