@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --bg: #070a12;
  --night: #0e1219;
  --deck: #11161f;
  --raise: #181e2b;
  --raise-2: #1f2636;
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #e9ecf3;
  --soft: #b4bbcc;
  --fog: #8b93a7;
  --lamp: #f5a524;
  --lamp-2: #ffd27a;
  --lamp-ink: #1d1300;
  --dusk: #262f57;
  --moon: #8fa2ff;
  --red: #ff5d6c;
  --green: #3ddc97;
  --discord: #5865f2;
  --telegram: #2aabee;
  --radius: 18px;
  --display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --body: "Figtree", ui-sans-serif, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html, body { margin: 0; background: var(--bg); color: var(--text); }
body { font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img, svg { display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 700; letter-spacing: -0.03em; }
p { margin: 0; text-wrap: pretty; }
::selection { background: rgba(245, 165, 36, 0.35); color: #fff; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--lamp); color: var(--lamp-ink); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--raise);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px; border-radius: 12px;
  border: 1px solid transparent; background: var(--b); color: #fff;
  font: 650 15px/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .25s, transform .2s;
}
.btn svg { flex: none; }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.lg { min-height: 54px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn.primary { background: var(--lamp); color: var(--lamp-ink); box-shadow: 0 0 0 1px rgba(255, 210, 122, .45) inset, 0 8px 30px -10px rgba(245, 165, 36, .7); }
.btn.primary:hover { background: var(--lamp-2); }
.btn.ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.btn.discord { background: var(--discord); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 34px -12px rgba(88, 101, 242, .9); }
.btn.discord:hover { background: #6b77f5; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 40px -10px rgba(88, 101, 242, 1); }
.btn.telegram { background: var(--telegram); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 34px -12px rgba(42, 171, 238, .9); }
.btn.telegram:hover { background: #45b8f1; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 14px 40px -10px rgba(42, 171, 238, 1); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 10, 18, .72); border-bottom-color: var(--line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--lamp); font: 700 19px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.brand span { color: var(--text); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 12px; border-radius: 9px; color: var(--soft); font-size: 14.5px; font-weight: 550; text-decoration: none; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.menu { position: relative; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 6px; border-radius: 14px; background: rgba(17, 22, 31, .96); border: 1px solid var(--line-2); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); backdrop-filter: blur(16px); }
.menu-pop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-size: 14.5px; font-weight: 550; text-decoration: none; color: var(--text); }
.menu-pop a:hover { background: rgba(255, 255, 255, .06); }
.menu-pop a:first-child svg { color: #8f99ff; }
.menu-pop a:last-child svg { color: var(--telegram); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 132px 0 0; overflow: hidden; isolation: isolate; }
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sky::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(1100px 600px at 78% 8%, rgba(38, 47, 87, .95), transparent 65%),
  radial-gradient(900px 500px at 10% 0%, rgba(38, 47, 87, .55), transparent 60%),
  linear-gradient(180deg, #0a0e1a 0%, var(--bg) 85%); }
.stars { position: absolute; inset: 0; }
.star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; }
.star.big { width: 3px; height: 3px; box-shadow: 0 0 6px rgba(255, 255, 255, .7); }
.shoot { position: absolute; width: 120px; height: 1.5px; border-radius: 2px; background: linear-gradient(90deg, rgba(255, 255, 255, 0), #fff); opacity: 0; }
.moon { position: absolute; right: max(-60px, calc(50% - 720px)); top: 70px; width: 340px; aspect-ratio: 1; filter: drop-shadow(0 0 60px rgba(245, 165, 36, .35)); opacity: .9; }
.moon svg { width: 100%; height: 100%; }
.aurora { position: absolute; left: 50%; top: 32%; width: 1400px; height: 520px; translate: -50% 0; background: radial-gradient(closest-side, rgba(143, 162, 255, .16), transparent 70%); filter: blur(30px); }
.floor { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; opacity: .5;
  background-image: linear-gradient(rgba(143, 162, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 162, 255, .14) 1px, transparent 1px);
  background-size: 56px 56px; transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 45%, #000 70%, transparent); }

.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line-2); color: var(--soft); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: border-color .2s, color .2s; }
.pill:hover { color: #fff; border-color: rgba(245, 165, 36, .5); }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61, 220, 151, .16); }
.hero-title { margin-top: 22px; font-size: clamp(46px, 6.3vw, 86px); line-height: .98; letter-spacing: -0.04em; font-weight: 750; text-wrap: balance; }
.hero-title .accent { color: var(--lamp); text-shadow: 0 0 40px rgba(245, 165, 36, .35); white-space: nowrap; }
.hero-sub { margin-top: 24px; max-width: 540px; color: var(--soft); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-ctas.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; list-style: none; color: var(--fog); font-size: 14.5px; font-weight: 550; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { color: var(--green); }

/* Chat mockup */
.hero-visual { position: relative; perspective: 1400px; padding: 20px 0 90px; }
.tilt { position: relative; transform-style: preserve-3d; }
.window { position: relative; border-radius: 20px; background: linear-gradient(180deg, rgba(28, 34, 48, .975), rgba(17, 22, 31, .985)); border: 1px solid var(--line-2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 40px 100px -30px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(143, 162, 255, .25); overflow: hidden; }
.window::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(255, 255, 255, .22), transparent 40%, rgba(245, 165, 36, .25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.window-bar { display: flex; align-items: center; gap: 14px; height: 46px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3a4255; }
.window-title { color: var(--soft); font-size: 14px; font-weight: 650; }
.window-title b { color: var(--fog); margin-right: 2px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--green); text-transform: uppercase; letter-spacing: .08em; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); } }
.chat-feed { height: 440px; padding: 10px 6px 14px; display: flex; flex-direction: column; overflow: hidden; }
.row { overflow: hidden; }
.msg { position: relative; display: flex; gap: 12px; padding: 9px 12px; border-radius: 12px; }
.av { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c); color: #fff; font: 700 15px/1 var(--display); }
.msg-body { min-width: 0; }
.msg-meta { display: flex; align-items: center; gap: 8px; }
.msg-meta b { font-size: 14.5px; font-weight: 650; }
.msg-meta time { color: var(--fog); font-size: 11.5px; }
.msg p { color: #d7dbe5; font-size: 14.5px; line-height: 1.45; margin-top: 2px; }
.lnk { color: #7fb4ff; text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.msg-scam { overflow: hidden; }
.msg-scam.flag { background: rgba(255, 93, 108, .09); box-shadow: inset 2px 0 0 var(--red); }
.scan { position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 93, 108, .35), transparent); width: 40%; pointer-events: none; opacity: 0; }
.fw { display: inline-block; padding: 0 3px; margin: 0 -3px; border-radius: 5px; font-variant-ligatures: none; }
.fw.hit { background: rgba(245, 165, 36, .2); color: var(--lamp-2); }
.fw.ok { background: rgba(61, 220, 151, .14); color: var(--green); }
.tag-clean { display: inline-flex; align-items: center; padding: 1px 6px; border-radius: 5px; background: rgba(245, 165, 36, .14); color: var(--lamp); font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.sys { display: flex; align-items: center; gap: 10px; margin: 4px 12px; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; color: var(--soft); background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.sys b { color: var(--text); font-weight: 650; }
.sys-ico { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; }
.sys-ban .sys-ico { background: rgba(245, 165, 36, .16); color: var(--lamp); }
.sys-join { position: relative; }
.sys-join .sys-ico { background: rgba(61, 220, 151, .14); color: var(--green); }
.sys-join .join-a { display: none; }
.sys-join.pending .join-a { display: inline; }
.sys-join.pending .join-b { display: none; }
.sys-join.pending .sys-ico { background: rgba(245, 165, 36, .16); color: var(--lamp); }
.sys-join .role { color: var(--green); }
.sys-raid { border-color: rgba(255, 93, 108, .35); background: rgba(255, 93, 108, .07); }
.sys-raid .sys-ico { background: rgba(255, 93, 108, .16); color: var(--red); }

.float-card { position: absolute; z-index: 2; border-radius: 16px; background: rgba(20, 25, 36, .9); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.alert-card { left: -48px; bottom: -44px; width: 290px; padding: 12px; }
html:not(.motion) .alert-card { display: none; }
.embed { padding: 10px 12px; border-radius: 10px; background: rgba(255, 255, 255, .03); box-shadow: inset 3px 0 0 var(--red); }
.embed-head { display: flex; align-items: center; gap: 8px; color: var(--red); font-size: 13.5px; }
.embed-head b { color: var(--text); }
.embed dl { display: grid; gap: 4px; margin: 8px 0 10px; font-size: 12.5px; }
.embed dl div { display: flex; gap: 8px; }
.embed dt { width: 54px; color: var(--fog); }
.embed dd { margin: 0; color: var(--soft); }
.embed-actions { display: flex; gap: 6px; }
.mini-btn { padding: 5px 10px; border-radius: 7px; background: #3b8b5f; color: #fff; font-size: 12px; font-weight: 700; }
.mini-btn.ghost { background: rgba(255, 255, 255, .08); color: var(--soft); }
.float-label { position: absolute; top: -10px; right: 14px; padding: 2px 8px; border-radius: 6px; background: var(--raise-2); border: 1px solid var(--line-2); color: var(--fog); font-size: 11px; font-weight: 700; }
.stats-card { right: -30px; bottom: -64px; width: 330px; padding: 14px 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.stats-head, .raid-row { grid-column: 1 / -1; }
.stats-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: var(--lamp); font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.stat { display: flex; flex-direction: column; gap: 5px; padding: 4px 0 2px; font-size: 12.5px; color: var(--fog); white-space: nowrap; }
.stat b { display: inline-block; align-self: flex-start; font: 700 22px/1 var(--display); color: var(--text); font-variant-numeric: tabular-nums; }
.raid-row { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.raid-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--fog); }
.raid-state { font-size: 11px; font-weight: 800; color: var(--green); text-transform: uppercase; letter-spacing: .05em; }
.raid-state.is-alert { color: var(--red); }
.raid-bars { display: flex; align-items: flex-end; gap: 3px; height: 26px; margin-top: 7px; }
.raid-bars i { flex: 1; height: 100%; border-radius: 2px; background: rgba(143, 162, 255, .5); transform-origin: 50% 100%; transform: scaleY(.2); }
.raid-bars i:nth-child(n+11) { background: var(--red); transform: scaleY(.95); }

/* Marquee */
.marquee-wrap { margin-top: 76px; padding: 26px 0 30px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .015), transparent); }
.marquee-label { text-align: center; color: var(--fog); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.marquee { margin-top: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 12px; padding-right: 12px; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--soft); font-size: 15px; font-weight: 600; white-space: nowrap; }
.marquee-track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 10px var(--red); }

/* ---------- Shared section bits ---------- */
section { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--lamp); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.section-head h2, .layers-copy h2 { margin-top: 14px; font-size: clamp(32px, 4.3vw, 56px); line-height: 1.04; letter-spacing: -0.04em; max-width: 820px; text-wrap: balance; }
.section-head.center { text-align: center; }
.section-head.center h2, .section-head.center .lead { margin-inline: auto; }
.lead { margin-top: 18px; max-width: 600px; color: var(--soft); font-size: clamp(16px, 1.4vw, 18.5px); }

/* ---------- Layers ---------- */
.layers { padding: 140px 0; }
.layers-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.layer-panel { display: none; margin-top: 36px; padding: 22px 24px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(245, 165, 36, .08), rgba(245, 165, 36, .02)); border: 1px solid rgba(245, 165, 36, .25); max-width: 460px; min-height: 152px; }
.layer-panel-n { color: var(--lamp); font: 700 13px/1 var(--display); letter-spacing: .1em; }
.layer-panel b { display: block; margin-top: 10px; font: 700 22px/1.2 var(--display); letter-spacing: -0.02em; }
.layer-panel p { margin-top: 8px; color: var(--soft); }
.stack { position: relative; display: grid; gap: 12px; padding-left: 46px; }
.rail { position: absolute; left: 16px; top: 31px; bottom: 24px; width: 2px; border-radius: 2px; background: var(--line-2); }
.rail-fill { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(180deg, var(--lamp), var(--lamp-2)); transform-origin: 50% 0; transform: scaleY(1); box-shadow: 0 0 12px rgba(245, 165, 36, .6); }
.token { position: absolute; left: 50%; top: 0; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--lamp-2); box-shadow: 0 0 0 5px rgba(245, 165, 36, .2), 0 0 24px 4px rgba(245, 165, 36, .7); opacity: 0; }
.layer { position: relative; isolation: isolate; display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: 16px; background: var(--deck); border: 1px solid var(--line); transition: border-color .35s; }
.layer::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(245, 165, 36, .09), rgba(245, 165, 36, .015)); opacity: 0; transition: opacity .35s; pointer-events: none; }
.layer::before { content: ""; position: absolute; left: -34px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: background-color .3s, border-color .3s, box-shadow .3s; }
.layer.on, html:not(.motion) .layer { border-color: rgba(245, 165, 36, .4); }
.layer.on::after, html:not(.motion) .layer::after { opacity: 1; }
.layer.on::before, html:not(.motion) .layer::before { border-color: var(--lamp); background: var(--lamp); box-shadow: 0 0 12px rgba(245, 165, 36, .8); }
.layer-n { flex: none; width: 34px; color: var(--fog); font: 700 15px/1.5 var(--display); font-variant-numeric: tabular-nums; }
.layer.on .layer-n, html:not(.motion) .layer-n { color: var(--lamp); }
.layer-txt { flex: 1; min-width: 0; }
.layer-txt b { display: block; font: 650 17.5px/1.3 var(--display); letter-spacing: -0.01em; }
.layer-txt > span { display: block; margin-top: 2px; color: var(--fog); font-size: 14px; }
.layer-cap { margin-top: 10px; color: var(--soft); font-size: 14.5px; }
.layer-ok { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(61, 220, 151, .16); color: var(--green); }
.delivered { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-top: 6px; padding: 12px 18px; border-radius: 999px; background: rgba(61, 220, 151, .1); border: 1px solid rgba(61, 220, 151, .35); color: var(--green); font-weight: 700; font-size: 15px; }
html.motion .layer-ok { opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s cubic-bezier(.34, 1.56, .64, 1); }
html.motion .layer.on .layer-ok { opacity: 1; transform: none; }
html.motion .delivered { opacity: .3; transform: scale(.94); filter: grayscale(1); transition: opacity .45s, transform .45s, filter .45s; }
html.motion .delivered.on { opacity: 1; transform: none; filter: none; }
html.pin-mode .layers { height: 100vh; min-height: 680px; padding: 0; display: grid; align-items: center; }
html.pin-mode .layer-panel { display: block; }
html.pin-mode .layer-cap { display: none; }

/* ---------- Bento ---------- */
.features { padding: 40px 0 140px; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "cap cap link" "words raid mail" "ban ban mail"; gap: 16px; margin-top: 56px; }
.tile { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; gap: 24px; padding: 28px; border-radius: 22px; background: var(--deck); border: 1px solid var(--line); overflow: hidden; isolation: isolate; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(245, 165, 36, .1), transparent 60%); opacity: 0; transition: opacity .3s; }
.tile:hover::before { opacity: 1; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%); }
.tile h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tile p { margin-top: 10px; color: var(--soft); font-size: 15.5px; }
.badge-plat { padding: 3px 8px; border-radius: 6px; background: rgba(88, 101, 242, .2); color: #a9b1ff; font: 700 11px/1.3 var(--body); text-transform: uppercase; letter-spacing: .06em; }
.t-captcha { grid-area: cap; flex-direction: row; align-items: center; gap: 36px; }
.t-captcha .tile-copy { flex: 1; }
.t-link { grid-area: link; }
.t-words { grid-area: words; }
.t-raid { grid-area: raid; }
.t-mail { grid-area: mail; }
.t-ban { grid-area: ban; flex-direction: row; align-items: center; gap: 32px; }
.t-ban .tile-copy { flex: 1; }

.cap-demo { flex: 1.05; min-width: 0; }
.cap-card { padding: 18px; border-radius: 16px; background: var(--night); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .9); }
.cap-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); font-weight: 650; }
.cap-box { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--green); background: var(--green); color: #05301c; }
.cap-spin { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--lamp); opacity: 0; }
.cap-meta { display: grid; gap: 7px; margin-top: 14px; font-size: 13.5px; }
.cap-meta div { display: flex; justify-content: space-between; gap: 12px; }
.cap-meta span { color: var(--fog); }
.cap-meta b { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 600; font-size: 12.5px; color: var(--soft); text-align: right; }
.cap-meta b.bad { color: var(--red); }
.cap-verdict { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 12px; border-radius: 10px; background: rgba(255, 93, 108, .1); border: 1px solid rgba(255, 93, 108, .35); color: var(--red); font-size: 13.5px; font-weight: 700; }

.link-demo { position: relative; margin-top: auto; display: grid; place-items: center; min-height: 120px; border-radius: 16px; background: var(--night); border: 1px solid var(--line); }
.link-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; background: rgba(127, 180, 255, .08); color: #7fb4ff; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; }
.strike { position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; background: var(--red); transform-origin: 0 50%; transform: scaleX(1); }
.stamp { position: absolute; right: 16px; top: 14px; padding: 4px 10px; border: 2px solid var(--red); border-radius: 8px; color: var(--red); font: 800 13px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; rotate: -10deg; }

.words-demo { margin-top: auto; display: grid; place-items: center; min-height: 120px; padding: 16px; border-radius: 16px; background: var(--night); border: 1px solid var(--line); }
.quote { font: 600 21px/1.3 var(--display); letter-spacing: -0.01em; text-align: center; }
.swap { display: inline-block; padding: 0 6px; border-radius: 6px; background: rgba(61, 220, 151, .14); color: var(--green); font-variant-ligatures: none; }
.swap.bad { background: rgba(255, 93, 108, .14); color: var(--red); }

.raid-demo { position: relative; margin-top: auto; min-height: 120px; padding: 16px; border-radius: 16px; background: var(--night); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; }
.raid-chart { display: flex; align-items: flex-end; gap: 5px; height: 76px; }
.raid-chart i { flex: 1; height: 100%; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, rgba(143, 162, 255, .8), rgba(143, 162, 255, .3)); transform-origin: 50% 100%; transform: scaleY(.25); }
.raid-chart.spiked i:nth-child(n+12) { background: linear-gradient(180deg, var(--red), rgba(255, 93, 108, .35)); transform: scaleY(.95); }
.raid-badge { position: absolute; top: 12px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 7px; background: rgba(255, 93, 108, .16); color: var(--red); font-size: 12px; font-weight: 800; }

.inbox-demo { display: grid; gap: 8px; margin-top: auto; }
.inbox-item { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; background: var(--night); border: 1px solid var(--line); font-size: 14px; color: var(--soft); min-width: 0; }
.inbox-item > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { flex: none; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.tag.report { background: rgba(255, 93, 108, .14); color: var(--red); }
.tag.appeal { background: rgba(245, 165, 36, .15); color: var(--lamp); }
.tag.question { background: rgba(143, 162, 255, .15); color: var(--moon); }
.appeal-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.appeal-actions span { padding: 6px 10px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--soft); font-size: 12.5px; font-weight: 650; }
.appeal-actions span:first-child { background: rgba(61, 220, 151, .12); border-color: rgba(61, 220, 151, .3); color: var(--green); }

.net { flex: 1.2; width: 100%; max-width: 440px; height: auto; overflow: visible; }
.net-line { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; opacity: .7; }
.node circle { fill: #3a1c26; stroke: var(--red); stroke-width: 2; }
.node text { fill: var(--soft); font: 700 11px/1 var(--body); text-anchor: middle; }
.node.src circle { fill: #4a1e2a; }

/* ---------- Dashboard showcase ---------- */
.showcase { padding: 40px 0 150px; }
.dash-stage { position: relative; margin-top: 64px; perspective: 1600px; }
.dash-glow { position: absolute; left: 10%; right: 10%; top: 10%; bottom: 0; background: radial-gradient(closest-side, rgba(245, 165, 36, .2), transparent), radial-gradient(closest-side at 30% 60%, rgba(143, 162, 255, .2), transparent); filter: blur(60px); }
.dash { position: relative; border-radius: 22px; background: #0c1018; border: 1px solid var(--line-2); box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95); overflow: hidden; transform-origin: 50% 0; }
.dash-bar { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.dash-url { margin-inline: auto; padding: 5px 40px; border-radius: 8px; background: rgba(255, 255, 255, .04); color: var(--fog); font-size: 12.5px; }
.dash-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); min-height: 460px; }
.dash-side { display: flex; flex-direction: column; gap: 2px; padding: 16px 12px; border-right: 1px solid var(--line); background: rgba(255, 255, 255, .012); }
.dash-brand { display: flex; align-items: center; gap: 8px; padding: 4px 8px 14px; color: var(--lamp); font: 700 15px/1 var(--display); }
.dash-server { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; padding: 8px; border-radius: 10px; background: var(--raise); border: 1px solid var(--line); font-size: 13.5px; font-weight: 650; }
.srv-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, #8b6cff, #5865f2); color: #fff; font: 800 11px/1 var(--display); }
.dash-nav { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-radius: 8px; color: var(--fog); font-size: 13.5px; font-weight: 600; }
.dash-nav.on { background: rgba(245, 165, 36, .12); color: var(--lamp); }
.dash-nav em { font-style: normal; padding: 1px 7px; border-radius: 6px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; }
.dash-main { padding: 22px; display: grid; gap: 16px; align-content: start; }
.dash-head { display: flex; justify-content: space-between; align-items: baseline; }
.dash-head b { font: 700 18px/1.2 var(--display); }
.dash-head span { color: var(--fog); font-size: 13px; white-space: nowrap; }
.dash-layers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dash-layers div { padding: 14px; border-radius: 14px; background: var(--deck); border: 1px solid var(--line); }
.dash-layers span { display: block; color: var(--fog); font-size: 12.5px; font-weight: 600; }
.dash-layers b { display: block; margin-top: 6px; font: 700 26px/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.dash-layers em { display: block; margin-top: 4px; color: var(--soft); font-size: 12px; font-style: normal; }
.dash-layers div:first-child b { color: var(--moon); }
.dash-layers div:nth-child(2) b { color: var(--green); }
.dash-layers div:nth-child(3) b { color: var(--red); }
.dash-layers div:nth-child(4) b { color: var(--lamp); }
.dash-chart-card { padding: 16px; border-radius: 14px; background: var(--deck); border: 1px solid var(--line); }
.dash-chart-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.dash-chart-head span { display: inline-flex; align-items: center; gap: 6px; color: var(--fog); }
.dash-chart-head i { width: 8px; height: 8px; border-radius: 2px; margin-left: 8px; }
.lg-a { background: var(--red); }
.lg-b { background: var(--lamp); }
.dash-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; margin-top: 14px; }
.dash-chart i { position: relative; flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, rgba(255, 93, 108, .85), rgba(255, 93, 108, .3)); transform-origin: 50% 100%; }
.dash-chart i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--w); border-radius: 2px; background: var(--lamp); }
.dash-feed { display: grid; gap: 8px; }
.dash-feed div { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--deck); border: 1px solid var(--line); font-size: 13.5px; min-width: 0; }
.dash-feed b { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-feed em { color: var(--fog); font-style: normal; font-size: 12px; }
.f-ico { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; }
.f-ico.red { background: rgba(255, 93, 108, .16); color: var(--red); }
.f-ico.green { background: rgba(61, 220, 151, .14); color: var(--green); }
.f-ico.amber { background: rgba(245, 165, 36, .16); color: var(--lamp); }
.sample-note { margin-top: 14px; text-align: center; color: var(--fog); font-size: 12.5px; }

/* ---------- How ---------- */
.how { padding: 20px 0 150px; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.steps-line { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 60px; overflow: visible; pointer-events: none; }
.steps-line path { fill: none; stroke: var(--lamp); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .55; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-n { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 22px; border-radius: 18px; background: linear-gradient(180deg, var(--raise-2), var(--deck)); border: 1px solid rgba(245, 165, 36, .4); color: var(--lamp); font: 750 24px/1 var(--display); box-shadow: 0 0 0 6px var(--bg), 0 0 40px -6px rgba(245, 165, 36, .5); }
.step h3 { font-size: 22px; letter-spacing: -0.02em; }
.step p { max-width: 320px; margin: 10px auto 0; color: var(--soft); }

/* ---------- Platforms ---------- */
.platforms { padding: 20px 0 150px; }
.platform-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 56px; }
.platform { --tint: var(--discord); position: relative; display: flex; flex-direction: column; padding: 32px; border-radius: 24px; background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 12%, transparent), transparent 55%), var(--deck); border: 1px solid color-mix(in srgb, var(--tint) 30%, transparent); overflow: hidden; }
.platform::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: var(--tint); opacity: .14; filter: blur(60px); pointer-events: none; }
.p-telegram { --tint: var(--telegram); }
.platform-head { display: flex; align-items: center; gap: 14px; }
.platform-head h3 { font-size: 28px; letter-spacing: -0.03em; }
.platform-head div > span { color: var(--fog); font-size: 14px; font-weight: 600; }
.p-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--tint); color: #fff; box-shadow: 0 10px 30px -10px var(--tint); }
.platform ul { display: grid; gap: 12px; margin: 26px 0 30px; padding: 0; list-style: none; }
.platform li { position: relative; padding-left: 30px; color: var(--soft); }
.platform li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--tint) 22%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.platform .btn { margin-top: auto; align-self: flex-start; }

/* ---------- More ---------- */
.more { padding: 0 0 150px; }
.more-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 48px; border-radius: 22px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.more-item { display: grid; gap: 6px; align-content: start; padding: 26px 24px; background: var(--deck); transition: background-color .25s; }
.more-item:hover { background: var(--raise); }
.more-item b { font: 650 17px/1.3 var(--display); letter-spacing: -0.01em; }
.more-item b::before { content: ""; display: block; width: 26px; height: 3px; margin-bottom: 14px; border-radius: 3px; background: var(--lamp); }
.more-item span { color: var(--soft); font-size: 14.5px; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 130px; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { border-radius: 16px; background: var(--deck); border: 1px solid var(--line); transition: border-color .25s, background-color .25s; }
.faq-list details[open] { border-color: rgba(245, 165, 36, .35); background: linear-gradient(180deg, rgba(245, 165, 36, .05), transparent), var(--deck); }
.faq-list summary { position: relative; padding: 20px 56px 20px 22px; font: 650 17px/1.35 var(--display); letter-spacing: -0.01em; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--fog); border-bottom: 2px solid var(--fog); rotate: 45deg; transition: rotate .3s, border-color .3s, margin .3s; }
.faq-list details[open] summary::after { rotate: 225deg; margin-top: -2px; border-color: var(--lamp); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 0 22px 22px; color: var(--soft); }

/* ---------- Final ---------- */
.final { padding: 150px 0 160px; overflow: hidden; border-top: 1px solid var(--line); }
.final-glow { position: absolute; left: 50%; top: 40%; width: 900px; height: 500px; translate: -50% -50%; background: radial-gradient(closest-side, rgba(245, 165, 36, .2), transparent 70%); filter: blur(20px); pointer-events: none; }
.final-inner { position: relative; text-align: center; }
.final-mark { margin: 0 auto 26px; color: var(--lamp); filter: drop-shadow(0 0 24px rgba(245, 165, 36, .5)); }
.final-title { font-size: clamp(48px, 8vw, 112px); line-height: .95; letter-spacing: -0.05em; font-weight: 750; }
.final .lead { margin: 20px auto 0; }
.final .hero-ctas { margin-top: 38px; }

/* ---------- Footer ---------- */
.footer { padding: 34px 0 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer nav a { color: var(--fog); font-size: 14.5px; text-decoration: none; }
.footer nav a:hover { color: #fff; }
.copy { margin-left: auto; color: var(--fog); font-size: 13.5px; }

/* ---------- Motion start states (only while animations are on) ---------- */
html.motion .hero-copy > *, html.motion .hero-visual, html.motion .nav { visibility: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .alert-card { width: 260px; }
  .stats-card { right: -8px; width: 300px; gap: 0 10px; }
  .stat { font-size: 12px; }
}

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-points { justify-content: center; }
  .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .moon { width: 240px; right: -50px; top: 60px; opacity: .55; }
  .layers-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "cap cap" "link words" "raid mail" "ban ban"; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .dash-body { grid-template-columns: 180px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .nav-inner { height: 60px; gap: 12px; }
  .nav-cta .btn.primary { display: none; }
  .hero { padding-top: 104px; }
  .moon { width: 120px; right: -34px; top: 62px; opacity: .75; }
  .hero-title { font-size: clamp(40px, 11vw, 56px); }
  .hero-title .accent { white-space: normal; }
  .hero-ctas .btn { flex: 1 1 220px; }
  .hero-visual { padding: 10px 0 0; }
  .chat-feed { height: 400px; }
  .alert-card { left: 50%; top: 320px; bottom: auto; translate: -50% 0; width: min(290px, calc(100% - 24px)); }
  .stats-card { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 12px; }
  .marquee-wrap { margin-top: 56px; }
  .layers { padding: 100px 0; }
  .stack { padding-left: 34px; }
  .rail { left: 10px; }
  .layer { padding: 16px; gap: 12px; }
  .layer::before { left: -28px; }
  .layer-n { width: 26px; }
  .features, .showcase, .how, .platforms, .more, .faq { padding-bottom: 100px; }
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "cap" "link" "words" "raid" "mail" "ban"; }
  .tile { padding: 22px; }
  .t-captcha, .t-ban { flex-direction: column; align-items: stretch; }
  .net { max-width: none; }
  .dash-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .dash-side { display: none; }
  .dash-main { padding: 14px; }
  .dash-layers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-layers b { font-size: 22px; }
  .dash-url { padding: 5px 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps-line { display: none; }
  .platform-grid { grid-template-columns: minmax(0, 1fr); }
  .platform { padding: 24px; }
  .more-grid { grid-template-columns: minmax(0, 1fr); }
  .final { padding: 110px 0 120px; }
  .copy { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
