:root {
  --bg: #06030d;
  --card: rgba(22, 12, 42, 0.58);
  --card-2: rgba(32, 18, 62, 0.55);
  --line: rgba(167, 120, 255, 0.14);
  --line-2: rgba(167, 120, 255, 0.3);
  --text: #efeaff;
  --text-2: #d3caef;
  --muted: #9d92bf;
  --v1: #7c3aed;
  --v2: #8b5cf6;
  --v3: #a855f7;
  --v4: #c084fc;
  --v5: #e9d5ff;
  --glow: rgba(139, 92, 246, 0.5);
  --red: #ff5c8a;
  --green: #4ade80;
  --amber: #fbbf24;
  --r: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
h1, h2, h3, h4, .display { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
::selection { background: var(--v2); color: #fff; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--v1), var(--v3)); border-radius: 10px; border: 2px solid var(--bg); }

/* ---------- BACKGROUND ---------- */
#bg { position: fixed; inset: 0; z-index: -2; }
.bg-glow {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(900px 700px at 10% -10%, rgba(124, 58, 237, 0.30), transparent 60%),
    radial-gradient(800px 600px at 100% 30%, rgba(168, 85, 247, 0.16), transparent 60%),
    radial-gradient(900px 600px at 40% 110%, rgba(91, 33, 182, 0.28), transparent 60%),
    var(--bg);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(167, 120, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 120, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 80%);
}
.cursor-glow {
  position: fixed; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.13), transparent 65%);
  transform: translate(-50%, -50%); left: -999px; top: -999px;
  transition: opacity .3s;
}

/* ---------- LOADER ---------- */
#loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s;
}
#loader.hide { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader-inner img {
  width: 110px; height: 110px; border-radius: 50%;
  box-shadow: 0 0 60px var(--glow); animation: loaderPulse 1.2s ease-in-out infinite;
}
.loader-bar { width: 180px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.loader-bar div { height: 100%; width: 40%; background: linear-gradient(90deg, transparent, var(--v4), transparent); animation: loaderBar 1s linear infinite; }
.loader-text { font: 600 11px "Space Grotesk"; letter-spacing: .4em; color: var(--muted); text-transform: uppercase; }
@keyframes loaderPulse { 50% { transform: scale(1.08); box-shadow: 0 0 90px var(--glow); } }
@keyframes loaderBar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }

/* ---------- TOP ---------- */
.scroll-bar { position: fixed; top: 0; left: 0; height: 2px; z-index: 60; width: 0; background: linear-gradient(90deg, var(--v1), var(--v4)); box-shadow: 0 0 10px var(--v3); }
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, calc(100% - 28px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 14px; border-radius: 18px;
  background: rgba(14, 8, 28, 0.6); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%);
  transition: background .3s, border-color .3s, top .3s;
}
.nav.scrolled { background: rgba(10, 5, 22, 0.85); border-color: var(--line-2); }
.brand { display: flex; align-items: center; gap: 12px; font: 700 16px "Space Grotesk"; }
.brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 16px var(--glow); }
.brand small { display: block; font: 500 11px "Inter"; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; font-size: 14px; color: var(--muted); transition: .2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(139, 92, 246, 0.14); }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 13px; font-weight: 600; font-size: 15px;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  overflow: hidden; white-space: nowrap;
}
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--v3), var(--v1));
  box-shadow: 0 10px 30px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 14px 40px -6px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(139, 92, 246, 0.12); border-color: var(--v4); }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh; max-width: 1180px; margin: 0 auto; padding: 120px 24px 80px;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px "Inter"; letter-spacing: .18em; text-transform: uppercase; color: var(--v4);
  padding: 7px 14px; border-radius: 999px;
  background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3);
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--v4); }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--v4); animation: ping 1.6s ease-out infinite; }
@keyframes ping { to { transform: scale(3); opacity: 0; } }
.hero h1 { font-size: clamp(44px, 7vw, 88px); line-height: .98; margin: 22px 0 22px; font-weight: 700; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: inline-block; transform: translateY(110%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) span { animation-delay: .12s; }
.shine {
  background: linear-gradient(100deg, #fff 0%, var(--v4) 30%, var(--v2) 50%, var(--v4) 70%, #fff 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1s var(--ease) forwards, shine 6s linear infinite !important;
}
@keyframes rise { to { transform: translateY(0); } }
@keyframes shine { to { background-position: -250% 0; } }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 560px; }
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp .9s var(--ease) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; }
.hero-stats b { font: 700 34px/1 "Space Grotesk"; display: block; color: #fff; }
.hero-stats > div > span { font-size: 12px; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.hero-stats > div { position: relative; padding-left: 16px; }
.hero-stats > div::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: linear-gradient(var(--v4), transparent); }

.orb { position: relative; width: min(440px, 80vw); aspect-ratio: 1; margin: 0 auto; }
.orb .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(192, 132, 252, 0.18);
}
.orb .ring.r2 { inset: -9%; border-style: dashed; border-color: rgba(192, 132, 252, 0.14); animation: spin 40s linear infinite; }
.orb .ring.r3 { inset: 12%; border-color: rgba(192, 132, 252, 0.08); }
.orb .ring .sat {
  position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--v4); box-shadow: 0 0 16px var(--v4), 0 0 30px var(--v2);
}
.orb .ring.r1 { animation: spin 12s linear infinite; }
.orb .ring.r3 { animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb .electric { position: absolute; inset: 9%; width: 82%; height: 82%; overflow: visible; }
.orb .core {
  position: absolute; inset: 20%; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 80px var(--glow), 0 0 160px rgba(124, 58, 237, .35);
  animation: float 6s ease-in-out infinite;
}
.orb .core img { width: 100%; height: 100%; object-fit: cover; display: block; }
@keyframes float { 50% { transform: translateY(-12px); } }
.orb .halo {
  position: absolute; inset: 5%; border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .35), transparent 65%);
  filter: blur(30px); animation: breathe 4s ease-in-out infinite;
}
@keyframes breathe { 50% { opacity: .5; transform: scale(1.1); } }
.float-tag {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 12px; font-size: 13px; font-weight: 600;
  background: rgba(18, 10, 36, .75); border: 1px solid var(--line-2); backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.6);
  animation: float 5s ease-in-out infinite;
}
.float-tag svg { color: var(--v4); }
.float-tag.t1 { top: 8%; left: -6%; animation-delay: -1s; }
.float-tag.t2 { bottom: 18%; right: -8%; animation-delay: -2.5s; }
.float-tag.t3 { bottom: 2%; left: 4%; animation-delay: -4s; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted);
}
.scroll-hint .mouse { width: 22px; height: 34px; border: 2px solid var(--line-2); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; border-radius: 2px; background: var(--v4); transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translate(-50%, 9px); opacity: 0; } 61% { transform: translate(-50%, 0); opacity: 0; } }

/* ---------- SECTIONS ---------- */
section.block { max-width: 1180px; margin: 0 auto; padding: 90px 24px; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 54px; }
.sec-head .kicker { font: 600 12px "Inter"; letter-spacing: .24em; text-transform: uppercase; color: var(--v4); }
.sec-head h2 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.05; margin: 12px 0 14px; }
.sec-head p { color: var(--muted); font-size: 17px; }
.grad { background: linear-gradient(120deg, var(--v4), var(--v2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* Spotlight card */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, -500px) var(--my, -500px), rgba(168, 85, 247, 0.13), transparent 45%);
}
.spot::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; z-index: -1; pointer-events: none; padding: 1px;
  background: radial-gradient(320px circle at var(--mx, -500px) var(--my, -500px), rgba(192, 132, 252, 0.7), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ---------- RULES ---------- */
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rule {
  padding: 26px 22px; border-radius: var(--r);
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(14px);
  transition: transform .4s var(--ease);
}
.rule:hover { transform: translateY(-6px); }
.rule .ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(140deg, rgba(168, 85, 247, .3), rgba(91, 33, 182, .2));
  border: 1px solid var(--line-2); color: var(--v4);
}
.rule .ico svg { width: 22px; height: 22px; }
.rule h3 { font-size: 18px; margin-bottom: 6px; }
.rule p { font-size: 14.5px; color: var(--muted); }

/* ---------- CATEGORIES ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat {
  position: relative; padding: 30px 28px 26px; border-radius: 24px; text-align: left;
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(14px);
  transition: transform .5s var(--ease), border-color .3s; overflow: hidden; transform-style: preserve-3d;
}
.cat .num-bg {
  position: absolute; right: -8px; top: -30px; font: 700 150px/1 "Space Grotesk";
  color: transparent; -webkit-text-stroke: 1px rgba(192, 132, 252, .12); pointer-events: none;
  transition: transform .6s var(--ease);
}
.cat:hover .num-bg { transform: translate(-10px, 10px); -webkit-text-stroke-color: rgba(192, 132, 252, .25); }
.cat .ico {
  width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(140deg, var(--v3), var(--v1)); color: #fff;
  box-shadow: 0 12px 30px -8px var(--glow), inset 0 1px 0 rgba(255,255,255,.3);
}
.cat .ico svg { width: 26px; height: 26px; }
.cat h3 { font-size: 23px; margin-bottom: 6px; }
.cat p { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }
.cat ul { list-style: none; display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.cat li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); }
.cat li span { font: 600 11px "JetBrains Mono"; color: var(--v4); width: 22px; }
.cat .go { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--v4); }
.cat .go svg { transition: transform .3s var(--ease); }
.cat:hover .go svg { transform: translateX(5px); }
.cat .count { position: absolute; top: 28px; right: 26px; font: 600 12px "Inter"; padding: 5px 11px; border-radius: 999px; background: rgba(139, 92, 246, .15); border: 1px solid var(--line-2); color: var(--v5); }

/* ---------- FILTER ---------- */
.filter-wrap { position: sticky; top: 84px; z-index: 30; display: flex; justify-content: center; margin-bottom: 50px; }
.filter {
  position: relative; display: inline-flex; gap: 4px; padding: 6px; border-radius: 16px;
  background: rgba(14, 8, 28, 0.82); border: 1px solid var(--line-2); backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.7); max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.filter::-webkit-scrollbar { display: none; }
.filter button { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 11px; font-size: 14px; font-weight: 600; color: var(--muted); transition: color .3s; white-space: nowrap; }
.filter button.on { color: #fff; }
.filter button small { font: 600 11px "JetBrains Mono"; padding: 1px 7px; border-radius: 6px; background: rgba(255,255,255,.07); }
.filter .pill {
  position: absolute; z-index: 0; top: 6px; bottom: 6px; border-radius: 11px;
  background: linear-gradient(135deg, var(--v3), var(--v1)); box-shadow: 0 6px 20px -6px var(--glow);
  transition: left .45s var(--ease), width .45s var(--ease);
}

/* ---------- TIMELINE ---------- */
.timeline { position: relative; display: flex; flex-direction: column; gap: 34px; }
.timeline::before, .timeline .fill {
  content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px;
  background: rgba(167, 120, 255, .12);
}
.timeline .fill { bottom: auto; height: 0; background: linear-gradient(var(--v4), var(--v1)); box-shadow: 0 0 14px var(--v3); }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 26px; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.step.out { opacity: 0; transform: scale(.97); }
.step.gone { display: none; }
.step-rail { position: relative; }
.step-dot {
  position: sticky; top: 160px; width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
  font: 700 19px "Space Grotesk"; color: var(--muted);
  background: #120a24; border: 1px solid var(--line-2); transition: .4s var(--ease);
}
.step.seen .step-dot { color: #fff; background: linear-gradient(140deg, var(--v3), var(--v1)); border-color: transparent; box-shadow: 0 0 0 6px rgba(139, 92, 246, .12), 0 10px 30px -6px var(--glow); }
.step.marked .step-dot { background: linear-gradient(140deg, #22c55e, #15803d); box-shadow: 0 0 0 6px rgba(74, 222, 128, .12), 0 10px 30px -6px rgba(74, 222, 128, .5); }

.step-card {
  padding: 32px; border-radius: 26px; min-width: 0;
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(16px);
}
.step-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 26px; }
.step-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; background: rgba(139, 92, 246, .14); border: 1px solid var(--line-2); color: var(--v5);
}
.badge svg { width: 14px; height: 14px; color: var(--v4); }
.badge.soft { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: var(--muted); }
.step-head h3 { font-size: clamp(24px, 3vw, 32px); line-height: 1.1; }
.step-sub { color: var(--muted); margin-top: 8px; max-width: 560px; }
.mark-btn {
  flex: none; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px;
  font-size: 13.5px; font-weight: 600; color: var(--muted);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: .3s var(--ease);
}
.mark-btn .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid rgba(167, 120, 255, .5); display: grid; place-items: center; transition: .3s var(--ease); }
.mark-btn .box svg { width: 13px; height: 13px; stroke-width: 3.5; opacity: 0; transform: scale(.4); transition: .3s var(--ease); }
.mark-btn:hover { border-color: var(--v4); color: #fff; }
.step.marked .mark-btn { color: #bbf7d0; border-color: rgba(74, 222, 128, .4); background: rgba(74, 222, 128, .08); }
.step.marked .mark-btn .box { background: #22c55e; border-color: #22c55e; }
.step.marked .mark-btn .box svg { opacity: 1; transform: none; }

.step-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; }
.step-body h4 { display: flex; align-items: center; gap: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--v4); margin: 0 0 14px; }
.step-body h4::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.step-body .col > * + h4 { margin-top: 28px; }
.how { list-style: none; counter-reset: h; display: flex; flex-direction: column; gap: 10px; }
.how li {
  counter-increment: h; position: relative; padding: 13px 16px 13px 54px; border-radius: 14px; color: var(--text-2);
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.055); transition: border-color .3s, background .3s;
}
.how li:hover { border-color: var(--line-2); background: rgba(139, 92, 246, .06); }
.how li::before {
  content: counter(h, decimal-leading-zero); position: absolute; left: 14px; top: 13px;
  font: 700 12px/26px "JetBrains Mono"; width: 28px; text-align: center; border-radius: 8px;
  color: var(--v4); background: rgba(139, 92, 246, .14);
}
.look { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.look li { position: relative; padding-left: 26px; color: var(--text-2); }
.look li::before {
  content: ""; position: absolute; left: 4px; top: 9px; width: 9px; height: 9px; border-radius: 3px; transform: rotate(45deg);
  background: linear-gradient(135deg, var(--v4), var(--v1)); box-shadow: 0 0 10px var(--v2);
}
.step-body b { color: #fff; font-weight: 600; }
kbd {
  display: inline-block; min-width: 26px; text-align: center; padding: 1px 9px; margin: 0 2px; border-radius: 7px;
  font: 600 13px/1.6 "JetBrains Mono", monospace; color: #fff;
  background: linear-gradient(180deg, #2f1c5a, #190e32); border: 1px solid rgba(192, 132, 252, .38); border-bottom-width: 3px;
}
code {
  font: 500 13.5px "JetBrains Mono", monospace; color: var(--v4);
  background: rgba(139, 92, 246, .13); padding: 2px 7px; border-radius: 6px;
}
.callout {
  display: flex; gap: 14px; margin-top: 24px; padding: 16px 18px; border-radius: 14px; font-size: 14.5px; color: var(--text-2);
  background: linear-gradient(100deg, rgba(255, 92, 138, .12), rgba(255, 92, 138, .02)); border: 1px solid rgba(255, 92, 138, .25);
}
.callout svg { color: var(--red); margin-top: 2px; }
.callout b { color: #ffb3c8 !important; }
.callout.info { background: linear-gradient(100deg, rgba(139, 92, 246, .15), rgba(139, 92, 246, .02)); border-color: var(--line-2); }
.callout.info svg { color: var(--v4); }
.callout.info b { color: var(--v5) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 13px "JetBrains Mono"; padding: 5px 11px; border-radius: 8px; background: rgba(255, 92, 138, .08); border: 1px solid rgba(255, 92, 138, .25); color: #ffc2d3; transition: .2s; }
.chip:hover { background: rgba(255, 92, 138, .18); transform: translateY(-2px); }
.browsers { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.browser { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); font-size: 14px; font-weight: 600; transition: .3s; }
.browser:hover { border-color: var(--line-2); transform: translateY(-2px); }
.browser span { white-space: nowrap; }

/* Visual column */
.visual { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.mock {
  border-radius: 18px; padding: 22px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #150b2c, #0b0619); border: 1px solid var(--line-2);
}
.mock::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 80% 0%, rgba(168, 85, 247, .18), transparent 70%); pointer-events: none; }
.mock-label { position: relative; font: 600 11px "Inter"; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.mock-label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--v4); box-shadow: 0 0 8px var(--v4); }

.keys { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.keys .plus { color: var(--muted); font-weight: 700; }
.key {
  min-width: 58px; height: 54px; padding: 0 14px; border-radius: 12px; display: grid; place-items: center;
  font: 700 16px "JetBrains Mono"; color: #fff;
  background: linear-gradient(180deg, #2f1c5a, #1a0f33); border: 1px solid rgba(192, 132, 252, .4);
  box-shadow: 0 6px 0 #0f0820, 0 8px 20px -6px var(--glow);
  animation: press 2.8s var(--ease) infinite;
}
.key:nth-of-type(2) { animation-delay: .25s; }
.key:nth-of-type(3) { animation-delay: .5s; }
.key svg { width: 20px; height: 20px; }
@keyframes press {
  0%, 15%, 45%, 100% { transform: translateY(0); box-shadow: 0 6px 0 #0f0820, 0 8px 20px -6px var(--glow); }
  22%, 38% { transform: translateY(5px); box-shadow: 0 1px 0 #0f0820, 0 0 28px var(--v3); background: linear-gradient(180deg, #5b2fb0, #3b1d7a); }
}

.win {
  position: relative; border-radius: 10px; overflow: hidden; background: #1c1630; border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 20px 40px -14px rgba(0,0,0,.7); font-family: "Segoe UI", "Inter", sans-serif;
}
.win-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; background: rgba(255,255,255,.04); font-size: 12.5px; color: #cfc8e6; }
.win-bar .ctrls { display: flex; gap: 14px; color: #8e86a8; font-size: 11px; }
.win-body { padding: 16px; font-size: 13px; color: #d6d0ea; }
.run-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.run-row label { font-size: 13px; }
.run-input { flex: 1; height: 30px; display: flex; align-items: center; padding: 0 10px; border-radius: 4px; background: #0d0a18; border: 1px solid var(--v2); box-shadow: 0 0 0 1px rgba(139, 92, 246, .3); font: 500 14px "JetBrains Mono"; color: #fff; }
.caret { display: inline-block; width: 2px; height: 16px; background: var(--v4); margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.run-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.run-btns span { padding: 4px 16px; border-radius: 4px; font-size: 12px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
.run-btns span:first-child { background: var(--v1); border-color: var(--v2); color: #fff; }
.run-btns span.flash { animation: okFlash .5s ease; }
@keyframes okFlash { 50% { background: var(--v4); box-shadow: 0 0 20px var(--v4); } }

.term { font: 500 13px/1.7 "JetBrains Mono", monospace; background: #0a0716; border-radius: 10px; padding: 16px; border: 1px solid rgba(255,255,255,.08); min-height: 150px; }
.term .p { color: var(--v4); }
.term .out { opacity: 0; transform: translateY(6px); transition: .5s var(--ease); color: #bcb3da; white-space: pre; overflow-x: auto; }
.term .out.show { opacity: 1; transform: none; }
.term .out .hl { color: #fff; background: rgba(168, 85, 247, .25); border-radius: 3px; padding: 0 3px; }

.path { position: relative; display: flex; flex-direction: column; gap: 8px; }
.path .crumb {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 11px; font-size: 14px; color: var(--muted);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06);
  animation: crumb 6s var(--ease) infinite; animation-delay: calc(var(--i) * .9s);
}
.path .crumb .n { font: 700 11px "JetBrains Mono"; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(255,255,255,.06); }
@keyframes crumb {
  0%, 100% { color: var(--muted); border-color: rgba(255,255,255,.06); background: rgba(255,255,255,.03); transform: none; }
  8%, 60% { color: #fff; border-color: rgba(192, 132, 252, .55); background: rgba(139, 92, 246, .16); transform: translateX(6px); box-shadow: 0 0 24px -8px var(--glow); }
}

.shot { border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #0a0518; }
.shot img { display: block; width: 100%; height: auto; cursor: zoom-in; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.02); }
.shot figcaption { font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-top: 1px solid var(--line); }
.shot.empty img { display: none; }
.shot.empty::before {
  content: "Capture à venir"; display: grid; place-items: center; min-height: 130px; padding: 16px;
  font: 600 12px "JetBrains Mono"; letter-spacing: .1em; color: rgba(165, 155, 196, .55); text-transform: uppercase;
  background: repeating-linear-gradient(135deg, rgba(139, 92, 246, .05) 0 12px, transparent 12px 24px);
}

.cmd { display: flex; align-items: stretch; border-radius: 13px; overflow: hidden; border: 1px solid var(--line-2); background: #0a0518; margin-top: 4px; }
.cmd pre { flex: 1; padding: 15px 16px; overflow-x: auto; font: 500 13.5px/1.5 "JetBrains Mono"; color: #ece2ff; }
.cmd pre span { color: var(--v4); user-select: none; }
.copy { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 18px; background: rgba(139, 92, 246, .18); border-left: 1px solid var(--line-2); font-size: 13px; font-weight: 600; transition: background .2s; }
.copy:hover { background: rgba(139, 92, 246, .34); }
.copy.ok { background: rgba(74, 222, 128, .2); }

/* ---------- FINAL CTA ---------- */
.final {
  position: relative; overflow: hidden; text-align: center; padding: 70px 30px; border-radius: 32px;
  background: linear-gradient(140deg, rgba(124, 58, 237, .35), rgba(30, 14, 60, .6)); border: 1px solid var(--line-2);
}
.final::before { content: ""; position: absolute; width: 500px; height: 500px; left: 50%; top: -60%; transform: translateX(-50%); background: radial-gradient(circle, rgba(192, 132, 252, .35), transparent 65%); filter: blur(20px); }
.final > * { position: relative; }
.final h2 { font-size: clamp(30px, 4vw, 46px); margin-bottom: 12px; }
.final p { color: var(--text-2); max-width: 520px; margin: 0 auto 28px; }
footer { text-align: center; color: var(--muted); font-size: 13px; padding: 30px 24px 50px; }

/* ---------- PANEL : MODE VERIF ---------- */
.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(4, 2, 10, .55); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: .4s var(--ease); }
.overlay.open { opacity: 1; visibility: visible; }
.panel {
  position: fixed; top: 12px; right: 12px; bottom: 12px; z-index: 80; width: min(440px, calc(100% - 24px));
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: rgba(13, 7, 27, .96); border: 1px solid var(--line-2); backdrop-filter: blur(20px);
  box-shadow: -30px 0 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(139, 92, 246, .1);
  transform: translateX(calc(100% + 30px)); transition: transform .6s var(--ease);
}
.panel.open { transform: none; }
.panel-head { padding: 20px 22px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; }
.ring-prog { position: relative; width: 58px; height: 58px; flex: none; }
.ring-prog svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-prog circle { fill: none; stroke-width: 5; }
.ring-prog .bgc { stroke: rgba(255,255,255,.08); }
.ring-prog .fgc { stroke: url(#rg); stroke-linecap: round; stroke-dasharray: 163.4; stroke-dashoffset: 163.4; transition: stroke-dashoffset .6s var(--ease); }
.ring-prog b { position: absolute; inset: 0; display: grid; place-items: center; font: 700 14px "Space Grotesk"; }
.panel-head h3 { font-size: 19px; }
.timer { display: flex; align-items: center; gap: 8px; font: 600 14px "JetBrains Mono"; color: var(--muted); margin-top: 2px; }
.timer.run { color: var(--v4); }
.timer.run .rec { background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1s steps(1) infinite; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.panel-head .x { margin-left: auto; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(255,255,255,.05); transition: .2s; }
.panel-head .x:hover { background: rgba(255, 92, 138, .2); color: #fff; }
.panel-body { flex: 1; overflow-y: auto; padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 20px; }
.panel-body::-webkit-scrollbar { width: 6px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font: 600 11px "Inter"; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea, .note {
  width: 100%; padding: 10px 12px; border-radius: 10px; font: 500 14px "Inter"; color: #fff;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); outline: none; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 70px; }
.field select option { background: #140b28; }
.field input:focus, .field select:focus, .field textarea:focus, .note:focus { border-color: var(--v3); box-shadow: 0 0 0 3px rgba(139, 92, 246, .2); }
.timer-btns { display: flex; gap: 8px; }
.timer-btns .btn { flex: 1; justify-content: center; }
.pgroup h5 { display: flex; align-items: center; gap: 8px; font: 600 12px "Inter"; letter-spacing: .14em; text-transform: uppercase; color: var(--v4); margin-bottom: 8px; }
.pgroup h5 svg { width: 15px; height: 15px; }
.pitem { border-radius: 13px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); margin-bottom: 8px; transition: border-color .3s, background .3s; }
.pitem.ok { border-color: rgba(74, 222, 128, .35); background: rgba(74, 222, 128, .05); }
.pitem.sus { border-color: rgba(255, 92, 138, .4); background: rgba(255, 92, 138, .06); }
.prow { display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; }
.prow .pn { font: 700 11px "JetBrains Mono"; color: var(--v4); width: 20px; }
.prow .pt { flex: 1; font-size: 14px; font-weight: 500; cursor: pointer; }
.prow .pt:hover { color: var(--v4); }
.seg { display: flex; gap: 4px; }
.seg button { padding: 5px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid transparent; transition: .2s; }
.seg button:hover { color: #fff; }
.seg button.on[data-v="ok"] { background: rgba(74, 222, 128, .18); border-color: rgba(74, 222, 128, .5); color: #bbf7d0; }
.seg button.on[data-v="sus"] { background: rgba(255, 92, 138, .18); border-color: rgba(255, 92, 138, .5); color: #ffc2d3; }
.pitem .note { display: none; margin: 0 10px 10px; width: calc(100% - 20px); padding: 8px 10px; font-size: 13px; }
.pitem.sus .note, .pitem.has-note .note { display: block; }
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.verdict button { padding: 12px 10px; border-radius: 12px; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: var(--muted); transition: .25s var(--ease); }
.verdict button:hover { color: #fff; transform: translateY(-2px); }
.verdict button.on[data-v="clean"] { background: rgba(74, 222, 128, .16); border-color: var(--green); color: #fff; box-shadow: 0 0 20px -6px var(--green); }
.verdict button.on[data-v="suspect"] { background: rgba(251, 191, 36, .14); border-color: var(--amber); color: #fff; box-shadow: 0 0 20px -6px var(--amber); }
.verdict button.on[data-v="cheat"] { background: rgba(255, 92, 138, .16); border-color: var(--red); color: #fff; box-shadow: 0 0 20px -6px var(--red); }
.verdict button.on[data-v="refus"] { background: rgba(139, 92, 246, .2); border-color: var(--v4); color: #fff; box-shadow: 0 0 20px -6px var(--glow); }
.panel-foot { padding: 14px 22px 18px; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.panel-foot .btn { flex: 1; justify-content: center; }

.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: 16px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--v3), var(--v1)); box-shadow: 0 16px 40px -10px var(--glow);
  transform: translateY(120px); transition: transform .5s var(--ease);
}
.fab.show { transform: none; }
.fab::before { content: ""; position: absolute; inset: -4px; border-radius: 20px; border: 2px solid var(--v4); opacity: 0; animation: fabRing 2.4s ease-out infinite; }
@keyframes fabRing { 0% { opacity: .7; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.15); } }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 140%);
  display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 14px; font-weight: 600; font-size: 14px;
  background: rgba(20, 12, 40, .95); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -10px rgba(0,0,0,.8);
  transition: transform .5s var(--ease);
}
.toast.show { transform: translate(-50%, 0); }
.toast svg { color: var(--green); }

.lightbox { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 30px; background: rgba(4, 2, 10, .88); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: .35s; cursor: zoom-out; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 0 80px -10px var(--glow); transform: scale(.94); transition: transform .4s var(--ease); }
.lightbox.open img { transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 130px; min-height: auto; }
  .hero .lead { margin: 0 auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-visual { order: -1; }
  .orb { width: min(320px, 72vw); }
  .scroll-hint { display: none; }
  .rules { grid-template-columns: 1fr 1fr; }
  .cats { grid-template-columns: 1fr; }
  .step-body { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  section.block { padding: 70px 16px; }
  .hero { padding-left: 16px; padding-right: 16px; }
  .hero-stats { gap: 20px; }
  .hero-stats b { font-size: 26px; }
  .rules { grid-template-columns: 1fr; }
  .timeline::before, .timeline .fill { display: none; }
  .step { grid-template-columns: 1fr; gap: 0; }
  .step-rail { display: none; }
  .step-card { padding: 22px 18px; }
  .step-head { flex-direction: column; }
  .float-tag { display: none; }
  .brand small { display: none; }
  .nav .btn span.lbl { display: none; }
  .fab span { display: none; }
  .filter-wrap { top: 76px; }
  .panel { top: 0; right: 0; bottom: 0; width: 100%; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- AJOUTS ---------- */
.hero { position: relative; }
.cat { font: inherit; color: inherit; width: 100%; cursor: pointer; }
.step.flagged .step-dot { background: linear-gradient(140deg, #ff5c8a, #be123c); box-shadow: 0 0 0 6px rgba(255, 92, 138, .12), 0 10px 30px -6px rgba(255, 92, 138, .5); }
.step.flagged .mark-btn { color: #ffc2d3; border-color: rgba(255, 92, 138, .4); background: rgba(255, 92, 138, .08); }
.step.flagged .mark-btn .box { background: #ff5c8a; border-color: #ff5c8a; }
@media (min-width: 1400px) {
  .overlay { display: none; }
}
.step-body .col { min-width: 0; }
.term { overflow-wrap: anywhere; }

/* Oui / Non */
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yn button { padding: 10px; border-radius: 11px; font-size: 13.5px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: .25s var(--ease); }
.yn button:hover { color: #fff; }
.yn button.on[data-v="non"] { background: rgba(74, 222, 128, .14); border-color: var(--green); color: #fff; }
.yn button.on[data-v="oui"] { background: rgba(255, 92, 138, .16); border-color: var(--red); color: #fff; }
.field .yn-detail { display: none; margin-top: 8px; }
.field .yn-detail.show { display: block; animation: fadeUp .35s var(--ease); }

/* Preuves */
.proofs { display: none; padding: 14px; border-radius: 14px; border: 1px solid rgba(255, 92, 138, .35); background: rgba(255, 92, 138, .05); }
.proofs.show { display: block; animation: fadeUp .4s var(--ease); }
.proofs > label { color: #ffb3c8 !important; }
.proof { display: grid; grid-template-columns: 1fr auto; gap: 6px; padding: 10px; margin-bottom: 8px; border-radius: 11px; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.07); animation: fadeUp .35s var(--ease); }
.proof input { padding: 8px 10px; font-size: 13px; }
.proof input.desc { grid-column: 1 / -1; }
.proof .rm { width: 36px; border-radius: 9px; display: grid; place-items: center; color: var(--muted); background: rgba(255,255,255,.05); transition: .2s; }
.proof .rm:hover { color: #fff; background: rgba(255, 92, 138, .3); }
.proof .open { grid-column: 1 / -1; font-size: 12px; color: var(--v4); justify-self: start; }
.proof .open:hover { text-decoration: underline; }
.add-proof { width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 11px; font-size: 13.5px; font-weight: 600; color: #ffc2d3; border: 1px dashed rgba(255, 92, 138, .5); transition: .2s; }
.add-proof:hover { background: rgba(255, 92, 138, .1); color: #fff; }
.proofs .hint { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.5; }

/* Mots-clés cheats */
.kw-group + .kw-group { margin-top: 14px; }
.kw-group h5 { font: 600 11px "Inter"; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.chip small { font-family: "Inter"; font-size: 11px; opacity: .7; margin-left: 4px; }
.chip { cursor: pointer; }

/* Dates du reset */
.dates { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 8px; }
.dates span { display: block; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.dates input { color-scheme: dark; padding: 8px 10px; font-size: 13px; }
.auto-hint { display: none; margin-top: 8px; font-size: 12.5px; padding: 8px 10px; border-radius: 9px; background: rgba(139, 92, 246, .1); color: var(--v5); }
.auto-hint.show { display: block; animation: fadeUp .35s var(--ease); }
.auto-hint.bad { background: rgba(255, 92, 138, .12); color: #ffc2d3; }

/* Preuves : zone de dépôt */
.proofs { display: block !important; border-color: var(--line-2); background: rgba(139, 92, 246, .05); transition: border-color .3s, background .3s; }
.proofs > label { color: var(--v4) !important; }
.proofs.hot { border-color: rgba(255, 92, 138, .45); background: rgba(255, 92, 138, .05); }
.proofs.hot > label { color: #ffb3c8 !important; }
.drop {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; cursor: pointer;
  padding: 22px 14px; border-radius: 13px; border: 2px dashed rgba(192, 132, 252, .35);
  background: rgba(0,0,0,.2); transition: .25s var(--ease); outline: none;
}
.drop:hover, .drop:focus-visible { border-color: var(--v4); background: rgba(139, 92, 246, .1); }
.drop.over { border-color: var(--v4); background: rgba(139, 92, 246, .18); transform: scale(1.02); box-shadow: 0 0 30px -8px var(--glow); }
.drop-ico { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--v3), var(--v1)); box-shadow: 0 8px 20px -6px var(--glow); transition: transform .3s var(--ease); }
.drop.over .drop-ico { transform: translateY(-4px); }
.drop b { font-size: 14px; }
.drop span { font-size: 12.5px; color: var(--muted); }
.drop u { color: var(--v4); text-decoration: none; font-weight: 600; }
.drop kbd { font-size: 11px; padding: 0 6px; }
#proofList { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
#proofList:empty { display: none; }
.proof { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 8px; margin: 0; align-items: start; }
.proof .thumb { position: relative; width: 76px; height: 56px; border-radius: 8px; overflow: hidden; background: #000; cursor: zoom-in; }
.proof .thumb img, .proof .thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.proof .thumb .play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.35); color: #fff; }
.proof .thumb .play svg { width: 20px; height: 20px; fill: #fff; stroke: none; }
.proof .meta { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.proof .name { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; }
.proof .name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.proof .name small { color: var(--muted); font-weight: 500; flex: none; }
.proof .acts { display: flex; gap: 4px; }
.proof .acts button { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); background: rgba(255,255,255,.05); transition: .2s; }
.proof .acts button svg { width: 15px; height: 15px; }
.proof .acts button:hover { color: #fff; background: rgba(139, 92, 246, .3); }
.proof .acts button.rm:hover { background: rgba(255, 92, 138, .3); }
.proof input.desc { padding: 7px 9px; font-size: 12.5px; }
.lightbox video { max-width: 100%; max-height: 100%; border-radius: 14px; box-shadow: 0 0 80px -10px var(--glow); }

/* ---------- QUIZ ---------- */
.quiz {
  max-width: 780px; margin: 0 auto; padding: 38px; border-radius: 28px;
  background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(16px);
}
.quiz > * { transition: opacity .22s var(--ease), transform .22s var(--ease); }
.quiz.qout > * { opacity: 0; transform: translateY(10px); }
.quiz.shake { animation: shake .45s ease; }
.quiz.flash-good { box-shadow: 0 0 0 1px rgba(74, 222, 128, .5), 0 0 60px -10px rgba(74, 222, 128, .45); }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.qintro, .qres { text-align: center; }
.qbig { width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(140deg, var(--v3), var(--v1)); box-shadow: 0 16px 40px -10px var(--glow); animation: float 4s ease-in-out infinite; }
.qbig svg { width: 34px; height: 34px; stroke-width: 2.5; }
.qintro h3, .qres h3 { font-size: 28px; margin-bottom: 8px; }
.qintro p, .qres > p { color: var(--muted); max-width: 520px; margin: 0 auto 22px; }
.qmeta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.qmeta span { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: var(--text-2); }
.qmeta svg { width: 15px; height: 15px; color: var(--v4); }
.qtop { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.qtop b { color: #fff; font-family: "Space Grotesk"; font-size: 17px; }
.qscore { display: inline-flex; align-items: center; gap: 6px; color: #bbf7d0; font-weight: 600; }
.qscore svg { width: 15px; height: 15px; }
.qbar { height: 6px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; margin-bottom: 28px; }
.qbar div { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--v1), var(--v4)); box-shadow: 0 0 12px var(--v3); transition: width .6s var(--ease); }
.qq { font-size: clamp(20px, 2.6vw, 26px); line-height: 1.3; margin-bottom: 24px; }
.qans { display: grid; gap: 10px; }
.qa {
  display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 16px; border-radius: 14px;
  font-size: 15px; font-weight: 500; color: var(--text-2);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  transition: transform .25s var(--ease), border-color .25s, background .25s;
  animation: fadeUp .45s var(--ease) backwards;
}
.qa:nth-child(2) { animation-delay: .05s; } .qa:nth-child(3) { animation-delay: .1s; } .qa:nth-child(4) { animation-delay: .15s; }
.qa:not(:disabled):hover { transform: translateX(6px); border-color: var(--v4); background: rgba(139, 92, 246, .1); color: #fff; }
.qa:disabled { cursor: default; }
.ql { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 700 13px "JetBrains Mono"; color: var(--v4); background: rgba(139, 92, 246, .14); transition: .25s; }
.qa.good { border-color: var(--green); background: rgba(74, 222, 128, .12); color: #fff; }
.qa.good .ql { background: var(--green); color: #052e16; }
.qa.bad { border-color: var(--red); background: rgba(255, 92, 138, .12); color: #fff; }
.qa.bad .ql { background: var(--red); color: #fff; }
.qa:disabled:not(.good):not(.bad) { opacity: .45; }
.qwhy { margin-top: 18px; padding: 14px 16px; border-radius: 13px; font-size: 14.5px; color: var(--text-2); animation: fadeUp .4s var(--ease); }
.qwhy.ok { background: rgba(74, 222, 128, .08); border: 1px solid rgba(74, 222, 128, .3); }
.qwhy.ok b { color: #bbf7d0; }
.qwhy.ko { background: rgba(255, 92, 138, .08); border: 1px solid rgba(255, 92, 138, .3); }
.qwhy.ko b { color: #ffc2d3; }
.qnext { display: flex; justify-content: flex-end; margin-top: 18px; animation: fadeUp .4s var(--ease); }
.qwhy[hidden], .qnext[hidden] { display: none; }
.qring { position: relative; width: 150px; height: 150px; margin: 0 auto 22px; }
.qring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.qring circle { fill: none; stroke-width: 9; }
.qring .bgc { stroke: rgba(255,255,255,.07); }
.qring .fgc { stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.qres.pass .qring .fgc { stroke: var(--green); filter: drop-shadow(0 0 8px rgba(74, 222, 128, .6)); }
.qres.fail .qring .fgc { stroke: var(--red); filter: drop-shadow(0 0 8px rgba(255, 92, 138, .5)); }
.qring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.qring b { font: 700 32px/1 "Space Grotesk"; }
.qring span { font-size: 13px; color: var(--muted); margin-top: 4px; }
.qres.pass h3 { color: #bbf7d0; }
.qres.fail h3 { color: #ffc2d3; }
.qmiss { text-align: left; margin: 0 auto 24px; max-width: 600px; display: flex; flex-direction: column; gap: 8px; }
.qmiss h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--v4); margin-bottom: 4px; }
.qmiss > div { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); font-size: 14px; }
.qmiss > div span { display: block; color: var(--muted); margin-bottom: 4px; }
.qmiss > div b { color: #bbf7d0; font-weight: 600; }
.qbtns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- PANNEAU : onglets + historique ---------- */
.ptabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 14px 22px 0; padding: 4px; border-radius: 13px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.ptabs button { position: relative; z-index: 1; padding: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); transition: color .3s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ptabs button.on { color: #fff; }
.ptabs small { font: 600 11px "JetBrains Mono"; padding: 1px 7px; border-radius: 6px; background: rgba(255,255,255,.1); }
.ptab-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: linear-gradient(135deg, var(--v3), var(--v1)); box-shadow: 0 6px 18px -6px var(--glow); transition: left .4s var(--ease), width .4s var(--ease); }
.panel-body[hidden], .panel-foot[hidden] { display: none; }
.hsearch { position: relative; }
.hsearch svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 17px; height: 17px; }
.hsearch input { width: 100%; padding: 11px 12px 11px 38px; border-radius: 11px; font: 500 14px "Inter"; color: #fff; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); outline: none; }
.hsearch input:focus { border-color: var(--v3); box-shadow: 0 0 0 3px rgba(139, 92, 246, .2); }
.hfilters { display: flex; flex-wrap: wrap; gap: 6px; }
.hfilters button { padding: 6px 11px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid transparent; transition: .2s; }
.hfilters button:hover { color: #fff; }
.hfilters button.on { color: #fff; background: rgba(139, 92, 246, .2); border-color: var(--line-2); }
#histList { display: flex; flex-direction: column; gap: 8px; }
.hempty { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 40px 20px; color: var(--muted); font-size: 13.5px; }
.hempty svg { width: 34px; height: 34px; color: var(--v4); margin-bottom: 6px; }
.hempty b { color: var(--text); font-size: 15px; }
.hitem { border-radius: 13px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); overflow: hidden; transition: border-color .3s; animation: fadeUp .35s var(--ease); }
.hitem.open { border-color: var(--line-2); }
.hrow { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; text-align: left; }
.hrow:hover { background: rgba(139, 92, 246, .06); }
.hmain { flex: 1; min-width: 0; }
.hmain b { display: block; font-size: 14.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hmain small { display: block; font-size: 12px; color: var(--muted); }
.vdot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--muted); }
.vbadge { flex: none; font: 700 10.5px "Inter"; letter-spacing: .06em; padding: 4px 8px; border-radius: 7px; background: rgba(255,255,255,.06); color: var(--muted); }
.v-clean.vdot { background: var(--green); box-shadow: 0 0 8px var(--green); }
.v-clean.vbadge { background: rgba(74, 222, 128, .14); color: #bbf7d0; }
.v-suspect.vdot { background: var(--amber); box-shadow: 0 0 8px var(--amber); }
.v-suspect.vbadge { background: rgba(251, 191, 36, .14); color: #fde68a; }
.v-cheat.vdot { background: var(--red); box-shadow: 0 0 8px var(--red); }
.v-cheat.vbadge { background: rgba(255, 92, 138, .16); color: #ffc2d3; }
.v-refus.vdot { background: var(--v4); box-shadow: 0 0 8px var(--v4); }
.v-refus.vbadge { background: rgba(139, 92, 246, .2); color: var(--v5); }
.hdetail { display: none; padding: 0 12px 12px; }
.hitem.open .hdetail { display: block; animation: fadeUp .3s var(--ease); }
.hinfo { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.hinfo span { font-size: 12px; color: var(--muted); padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.04); }
.hinfo b { color: var(--text); font-weight: 600; }
.hdetail pre { max-height: 260px; overflow: auto; padding: 12px; border-radius: 10px; background: #0a0518; border: 1px solid var(--line); font: 500 12px/1.55 "JetBrains Mono"; color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.hacts { display: flex; gap: 8px; margin-top: 10px; }
.hacts .btn { flex: 1; justify-content: center; }
@media (max-width: 640px) { .quiz { padding: 24px 18px; } }

/* ---------- COMPTE + NOUVEAUTES (site en ligne) ---------- */
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right [hidden], .nav-links [hidden] { display: none; }
.user-chip {
  display: flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; transition: .2s;
}
.user-chip:hover { border-color: rgba(255, 92, 138, .5); color: #ffc2d3; }
.user-chip .av { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font: 700 13px "Space Grotesk"; color: #fff; background: linear-gradient(140deg, var(--v3), var(--v1)); }
.user-chip svg { width: 16px; height: 16px; color: var(--muted); }
.user-chip .av { overflow: hidden; }
.user-chip .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nbadge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; font: 700 11px "Inter"; color: #fff; background: var(--red); box-shadow: 0 0 10px rgba(255, 92, 138, .6); vertical-align: 1px; }
section.block[hidden] { display: none; }
.news-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.news-card {
  padding: 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); backdrop-filter: blur(14px);
  animation: fadeUp .6s var(--ease) both; transition: transform .4s var(--ease);
}
.news-card:hover { transform: translateY(-4px); }
.news-card.pinned { border-color: var(--line-2); background: linear-gradient(160deg, rgba(139, 92, 246, .16), var(--card)); }
.news-card .nh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.news-card h3 { font-size: 20px; line-height: 1.25; margin-bottom: 8px; }
.news-card p { color: var(--text-2); font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }
.news-card .nfoot { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.news-more { display: flex; justify-content: center; margin-top: 22px; }
.news-more [hidden] { display: none; }
.ntag { font: 700 10.5px "Inter"; letter-spacing: .08em; text-transform: uppercase; padding: 4px 8px; border-radius: 7px; }
.ntag.t-annonce { background: rgba(139, 92, 246, .2); color: var(--v5); }
.ntag.t-cheat { background: rgba(229, 68, 109, .18); color: #ffc2d3; }
.ntag.t-methode { background: rgba(31, 174, 91, .16); color: #bbf7d0; }
.ntag.t-rappel { background: rgba(192, 122, 16, .2); color: #fde68a; }
.pin-ico { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; color: var(--v4); }
.pin-ico svg { width: 13px; height: 13px; }
.new-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: #ffc2d3; }
.new-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); animation: blink 1.4s steps(1) infinite; }
.field input[readonly] { opacity: .75; cursor: not-allowed; }
@media (max-width: 640px) {
  .news-feed { grid-template-columns: 1fr; }
  .user-chip .lbl, .nav-right .btn .lbl { display: none; }
}

/* ---------- ENVOI DISCORD ---------- */
#fDiscord.bad { border-color: rgba(255, 92, 138, .6); }
#discordHint { margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--muted); }
#discordHint.bad { color: #ff8fae; }
.panel-foot { flex-wrap: wrap; }
.send-to { flex: 1 1 100%; display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 11px; font-size: 13px; color: var(--text-2); background: rgba(88, 101, 242, .12); border: 1px solid rgba(88, 101, 242, .3); }
.send-to[hidden] { display: none; }
.send-to b { color: #fff; }
.send-to .dc { flex: none; width: 18px; height: 18px; fill: #8c96ff; }
.send-to.warn { background: rgba(255, 180, 60, .08); border-color: rgba(255, 180, 60, .3); }
.send-to.warn .dc { fill: #e0a040; }
.send-to select { flex: 1; min-width: 0; padding: 6px 9px; border-radius: 8px; font: 500 13px "Inter"; color: #fff; background: rgba(0,0,0,.35); border: 1px solid var(--line-2); color-scheme: dark; }
.proof .too-big { grid-column: 1 / -1; font-size: 12px; color: #ffb44d; }
