/* d-smp.vip - glass on deep navy, colours from the logo */
:root {
  --bg: #071224;
  --bg2: #0b1a33;
  --navy: #0e2545;
  --teal: #18616f;
  --sea: #3f7f97;
  --sky: #80adc0;
  --ice: #c4dfe4;
  --snow: #eff6f8;
  --accent: #8cc8dc;
  --fg: #eff6f8;
  --sub: #9bb8c6;
  --dim: #5f8597;
  --ok: #6fe3a4;
  --bad: #ff6b6b;
  --glass: rgba(140, 200, 220, .06);
  --glass2: rgba(140, 200, 220, .1);
  --line: rgba(196, 223, 228, .12);
  --line2: rgba(196, 223, 228, .22);
  --r: 18px;
  --wrap: 1160px;
  --head: 68px;
  --f-d: "Sora", system-ui, sans-serif;
  --f-b: "Manrope", system-ui, sans-serif;
  --f-m: "JetBrains Mono", ui-monospace, monospace;
  --hex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cg fill='none' stroke='%238cc8dc' stroke-width='1'%3E%3Cpath d='M28 1l27 15.5v31L28 63 1 47.5v-31z'/%3E%3Cpath d='M28 63v34M0 80.5l1-.5M56 80.5l-1-.5'/%3E%3C/g%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden;
  background: radial-gradient(1200px 700px at 80% -10%, rgba(63, 127, 151, .28), transparent 60%),
              radial-gradient(900px 600px at -10% 30%, rgba(24, 97, 111, .22), transparent 60%),
              linear-gradient(var(--bg), var(--bg2) 60%, var(--bg));
  background-attachment: fixed;
  color: var(--fg); font: 400 16px/1.6 var(--f-b);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--snow); }
h1, h2, h3 { font-family: var(--f-d); margin: 0; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; }
p { margin: 0; }
code { font-family: var(--f-m); font-size: .9em; color: var(--ice); background: var(--glass2); padding: 1px 6px; border-radius: 6px; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--sea); color: var(--snow); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--navy); padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head);
  background: rgba(7, 18, 36, .55); border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  transition: border-color .3s, background .3s;
}
.top.scrolled { background: rgba(7, 18, 36, .82); border-color: var(--line); }
.top__in { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--fg); flex: none; }
.logo img { width: 34px; height: 34px; image-rendering: pixelated; filter: drop-shadow(0 0 10px rgba(140, 200, 220, .35)); }
.logo__t { font: 700 19px var(--f-d); letter-spacing: -.02em; }
.logo__t b { color: var(--accent); font-weight: 700; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--sub); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 10px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--fg); background: var(--glass); }
.nav a.on { color: var(--snow); background: var(--glass2); }
.ip-pill {
  display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(140, 200, 220, .16), rgba(63, 127, 151, .12));
  border: 1px solid var(--line2); font: 700 14px var(--f-m); color: var(--snow);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.ip-pill:hover { transform: translateY(-1px); border-color: var(--accent); box-shadow: 0 6px 24px -8px rgba(140, 200, 220, .55); }
.ip-pill .ico { width: 15px; height: 15px; color: var(--accent); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line2); background: var(--glass); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .25s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hex field ---------- */
.hexfield {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: var(--hex); background-size: 56px 97px; opacity: .13;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 70% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 70% 40%, #000 10%, transparent 75%);
  animation: hexdrift 40s linear infinite;
}
.hexfield--soft { opacity: .09; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000, transparent 75%); }
@keyframes hexdrift { to { background-position: 56px 97px; } }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--head) + 70px) 0 70px; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line); color: var(--sub); font-size: 13.5px; font-weight: 600;
}
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); display: inline-block; flex: none; }
.led--live { background: var(--accent); box-shadow: 0 0 0 0 rgba(140, 200, 220, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(140, 200, 220, 0); } 100% { box-shadow: 0 0 0 0 rgba(140, 200, 220, 0); } }
.h-mega { font-size: clamp(46px, 7.6vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin: 22px 0 22px; }
.h-mega em {
  font-style: normal; background: linear-gradient(100deg, var(--ice) 0%, var(--accent) 35%, var(--sea) 60%, var(--ice) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s ease-in-out infinite;
}
@keyframes shine { 50% { background-position: 100% 0; } }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--sub); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px;
  border-radius: 14px; border: 1px solid transparent; font: 700 15.5px var(--f-d); letter-spacing: -.01em;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gem {
  color: var(--navy); background: linear-gradient(135deg, var(--snow), var(--accent) 55%, var(--sky));
  box-shadow: 0 10px 34px -10px rgba(140, 200, 220, .7), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.btn--gem:hover { box-shadow: 0 16px 44px -10px rgba(140, 200, 220, .9), inset 0 1px 0 rgba(255, 255, 255, .7); }
.btn__ip { font: 700 13.5px var(--f-m); padding: 5px 10px; border-radius: 8px; background: rgba(14, 37, 69, .14); }
.btn--glass { color: var(--fg); background: var(--glass); border-color: var(--line2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--glass:hover { color: var(--snow); border-color: var(--accent); background: var(--glass2); }
.btn--off { color: var(--dim); background: var(--glass); border-color: var(--line); cursor: not-allowed; }
.btn--off:hover { transform: none; }

.gem { position: relative; aspect-ratio: 1; width: min(100%, 420px); justify-self: center; display: grid; place-items: center; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s ease-out; }
.gem::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(140, 200, 220, .38), rgba(63, 127, 151, .12) 50%, transparent 70%); filter: blur(10px); }
.gem img { position: relative; width: 58%; image-rendering: pixelated; filter: drop-shadow(0 18px 40px rgba(7, 18, 36, .8)) drop-shadow(0 0 24px rgba(140, 200, 220, .35)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px); } }
.gem__ring { position: absolute; inset: 4%; border-radius: 50%; border: 1px solid var(--line2); animation: spin 28s linear infinite; }
.gem__ring::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px; transform: rotate(45deg); background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.gem__ring--2 { inset: 16%; border-style: dashed; border-color: rgba(140, 200, 220, .18); animation-duration: 18s; animation-direction: reverse; }
.gem__ring--2::after { width: 6px; height: 6px; margin-left: -3px; top: -3px; background: var(--ice); }
@keyframes spin { to { transform: rotate(360deg); } }

.status {
  margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--r);
  background: var(--glass); border: 1px solid var(--line); overflow: hidden;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.status__cell { position: relative; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.status__cell + .status__cell { border-left: 1px solid var(--line); }
.lab { font: 600 11.5px var(--f-b); text-transform: uppercase; letter-spacing: .14em; color: var(--dim); }
.val { display: flex; align-items: center; gap: 9px; font: 700 18px var(--f-d); color: var(--fg); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.val--mono { font-family: var(--f-m); font-size: 16.5px; color: var(--ice); }
.is-online .led { background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.is-offline .led { background: var(--bad); }
.is-unknown .led { background: var(--dim); }
.status__cell--ip { padding-right: 60px; }
.mini { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line2); background: var(--glass); display: grid; place-items: center; color: var(--accent); transition: background .2s, border-color .2s; }
.mini:hover { background: var(--glass2); border-color: var(--accent); }

/* ---------- sections ---------- */
.sec { position: relative; padding: 96px 0; }
.sec__head { margin-bottom: 44px; max-width: 640px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px var(--f-b); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.kicker::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: linear-gradient(135deg, var(--ice), var(--sea)); border-radius: 2px; }
.kicker--c { justify-content: center; }
.sec__sub { color: var(--sub); margin-top: 12px; font-size: 17px; }

.panel, .step, .feat, .post, .board, .tier, .rg, .mem {
  background: linear-gradient(160deg, rgba(140, 200, 220, .08), rgba(140, 200, 220, .025));
  border: 1px solid var(--line); border-radius: var(--r);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}

.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding: 26px 22px 24px; transition: border-color .25s, transform .25s; }
.step:hover { border-color: var(--line2); transform: translateY(-4px); }
.step__no { position: absolute; top: 20px; right: 20px; font: 700 13px var(--f-m); color: var(--dim); }
.step__ico, .feat__ico {
  width: 46px; height: 46px; padding: 11px; border-radius: 13px; margin-bottom: 18px;
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  background: linear-gradient(135deg, rgba(140, 200, 220, .18), rgba(24, 97, 111, .18)); border: 1px solid var(--line2);
}
.step h3 { margin-bottom: 8px; }
.step p, .feat p { color: var(--sub); font-size: 15px; }
.step + .step::before { content: ""; position: absolute; left: -17px; top: 48px; width: 16px; height: 1px; background: linear-gradient(90deg, transparent, var(--accent)); }

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.feat { display: flex; gap: 16px; padding: 22px; }
.feat__ico { margin: 0; flex: none; }
.feat h3 { margin-bottom: 6px; }

/* ---------- news ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { padding: 24px; transition: border-color .25s; }
.post:hover { border-color: var(--line2); }
.post__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; color: var(--dim); }
.chip { font: 700 11px var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); padding: 4px 9px; border-radius: 999px; background: rgba(140, 200, 220, .1); border: 1px solid var(--line2); }
.post h3 { margin-bottom: 8px; }
.post p { color: var(--sub); font-size: 15px; }

/* ---------- leaderboards ---------- */
.boards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.board { padding: 8px; overflow: hidden; }
.board__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px 14px; }
.board__title { font: 700 17px var(--f-d); }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(7, 18, 36, .5); border: 1px solid var(--line); }
.tab { border: 0; background: none; padding: 6px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 700; color: var(--sub); transition: background .2s, color .2s; }
.tab:hover { color: var(--fg); }
.tab[aria-pressed="true"] { background: linear-gradient(135deg, var(--accent), var(--sky)); color: var(--navy); }
.bhead, .brow { display: grid; grid-template-columns: 52px 1fr 90px; align-items: center; gap: 10px; padding: 0 14px; }
.bhead.g, .brow.g { grid-template-columns: 70px 1fr 74px 64px; }
.bhead { font: 600 11px var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); padding-bottom: 8px; }
.bhead span:last-child, .brow > span:last-child { text-align: right; }
.brow { min-height: 50px; border-radius: 12px; font-size: 15px; color: var(--sub); transition: background .2s; animation: rowin .45s both; animation-delay: calc(var(--i) * 40ms); }
.brow:nth-child(even) { background: rgba(140, 200, 220, .035); }
.brow:hover { background: rgba(140, 200, 220, .08); }
@keyframes rowin { from { opacity: 0; transform: translateY(6px); } }
.flap { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 6px; border-radius: 8px; font: 700 12.5px var(--f-m); color: var(--sub); background: rgba(7, 18, 36, .55); border: 1px solid var(--line); }
.brow--top .flap { color: var(--navy); border: 0; background: linear-gradient(135deg, var(--snow), var(--accent)); }
.brow--top:nth-child(3) .flap { background: linear-gradient(135deg, var(--ice), var(--sky)); }
.brow--top:nth-child(4) .flap { background: linear-gradient(135deg, var(--sky), var(--sea)); color: var(--snow); }
.name { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--fg); font-weight: 600; }
.name > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.num { font: 700 15px var(--f-m); color: var(--ice); }
.hd { position: relative; width: 28px; height: 28px; flex: none; border-radius: 7px; overflow: hidden; display: grid; place-items: center; font: 700 13px var(--f-d); color: var(--snow); background: hsl(calc(190 + var(--h) / 8) 45% 32%); }
.hd img { position: absolute; inset: 0; width: 100%; height: 100%; image-rendering: pixelated; }
.mem .hd { width: 44px; height: 44px; border-radius: 11px; font-size: 18px; }
.bempty { padding: 40px 20px; text-align: center; color: var(--sub); }
.demo-note { margin-top: 18px; font-size: 13.5px; color: var(--dim); text-align: center; }

/* ---------- store ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; overflow: hidden; transition: transform .25s, border-color .25s; }
.tier:hover { transform: translateY(-4px); border-color: var(--line2); }
.tier--feat { border-color: rgba(140, 200, 220, .45); box-shadow: 0 30px 70px -30px rgba(140, 200, 220, .45); background: linear-gradient(160deg, rgba(140, 200, 220, .16), rgba(63, 127, 151, .06)); }
.tier__badge { position: absolute; top: 14px; right: 14px; z-index: 1; font: 700 11px var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--navy); padding: 5px 10px; border-radius: 999px; background: linear-gradient(135deg, var(--snow), var(--accent)); }
.tier__art { height: 132px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: rgba(7, 18, 36, .45); display: flex; flex-direction: column; justify-content: center; gap: 6px; overflow: hidden; }
.mc { font: 500 13px var(--f-m); color: #d8e4ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 1px 1px 0 rgba(0, 0, 0, .5); }
.mc i { font-style: normal; color: var(--snow); }
.mc .dim { color: var(--dim); }
.tg-vip { color: #8cc8dc; }
.tg-vipplus { color: #c4dfe4; }
.art-pass { align-items: center; }
.pass { display: flex; align-items: stretch; height: 84px; width: 210px; border-radius: 12px; background: linear-gradient(135deg, var(--ice), var(--accent) 60%, var(--sky)); color: var(--navy); transform: rotate(-4deg); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
.pass > div { flex: 1; padding: 12px 16px; display: flex; flex-direction: column; justify-content: center; }
.pass small { font: 700 10px var(--f-b); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.pass b { font: 800 19px/1.05 var(--f-d); }
.pass .no { display: grid; place-items: center; width: 54px; border-left: 2px dashed rgba(14, 37, 69, .35); font: 700 18px var(--f-m); }
.tier__body { flex: 1; display: flex; flex-direction: column; padding: 22px; }
.tier__body h3 { font-size: 22px; }
.tier__sub { color: var(--sub); font-size: 15px; margin-top: 4px; }
.tier__price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 16px; }
.tier__price b { font: 800 34px var(--f-d); letter-spacing: -.03em; }
.tier__price small { color: var(--dim); font-size: 14px; }
.perks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.perks li { display: flex; gap: 10px; font-size: 14.5px; color: var(--sub); }
.perks .ico { width: 17px; height: 17px; margin-top: 3px; color: var(--accent); }
.buy { width: 100%; }
.btn--buy { color: var(--fg); background: var(--glass2); border-color: var(--line2); }
.btn--buy:hover { border-color: var(--accent); color: var(--snow); }
.buynote { margin-top: 22px; color: var(--dim); font-size: 14px; max-width: 760px; }

/* ---------- checkout dialog ---------- */
.buy-dlg {
  width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border-radius: 22px; color: var(--fg);
  background: linear-gradient(160deg, #102a4c, #0a1830); border: 1px solid var(--line2);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8), 0 0 0 1px rgba(140, 200, 220, .06) inset;
}
.buy-dlg::backdrop { background: rgba(4, 10, 22, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.buy-dlg[open] { animation: dlgin .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes dlgin { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.buy-dlg__in { position: relative; padding: 28px 26px 24px; display: flex; flex-direction: column; }
.buy-dlg h3 { font-size: 26px; }
.buy-dlg__price { color: var(--accent); font: 700 16px var(--f-d); margin: 6px 0 22px; }
.buy-dlg__x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line2); background: var(--glass); color: var(--sub); }
.buy-dlg__x:hover { color: var(--snow); border-color: var(--accent); }
.fld { font: 600 13px var(--f-b); color: var(--sub); margin-bottom: 8px; }
.fld__in {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 13px; border: 1px solid var(--line2); background: rgba(4, 10, 22, .5);
  color: var(--snow); font: 600 17px var(--f-m); outline: none; transition: border-color .2s, box-shadow .2s;
}
.fld__in:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(140, 200, 220, .15); }
.fld__in::placeholder { color: var(--dim); font-weight: 500; }
.chk { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 4px; font-size: 13.5px; line-height: 1.5; color: var(--sub); cursor: pointer; }
.chk input { flex: none; width: 19px; height: 19px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.buy-dlg__err { margin-top: 14px; padding: 10px 14px; border-radius: 11px; font-size: 14px; color: #ffc4c4; background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .3); }
.buy-dlg__pay { display: grid; gap: 10px; margin-top: 20px; }
.buy-dlg__pay .btn { width: 100%; }
.buy-dlg__pay .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn.is-busy::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
.buy-dlg__note { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 16px; font-size: 12.5px; color: var(--dim); text-align: center; }
.buy-dlg__note .ico { width: 14px; height: 14px; }

/* ---------- rules ---------- */
.rules { display: grid; gap: 14px; }
.rg { overflow: hidden; }
.rg summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; }
.rg summary::-webkit-details-marker { display: none; }
.rg summary h3 { font-size: 19px; }
.plus { position: relative; width: 30px; height: 30px; border-radius: 9px; border: 1px solid var(--line2); flex: none; transition: transform .3s, background .2s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--accent); border-radius: 2px; }
.plus::after { transform: rotate(90deg); transition: transform .3s; }
.rg[open] .plus::after { transform: rotate(0); }
.rg summary:hover .plus { background: var(--glass2); }
.rg ol { margin: 0; padding: 0 24px 22px; list-style: none; counter-reset: r; display: grid; gap: 4px; }
.rg li { counter-increment: r; display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--sub); font-size: 15px; }
.rg li::before { content: counter(r, decimal-leading-zero); font: 700 13px/1.9 var(--f-m); color: var(--accent); }
.rg li b { display: block; color: var(--fg); font-weight: 700; margin-bottom: 2px; }
.modlab { font: 700 11px var(--f-b); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 14px 0 8px; }
.mods { display: flex; flex-wrap: wrap; gap: 6px; }
.mod { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid; }
.mod--ok { color: #9fe8c2; border-color: rgba(111, 227, 164, .3); background: rgba(111, 227, 164, .07); }
.mod--no { color: #ffaaaa; border-color: rgba(255, 107, 107, .3); background: rgba(255, 107, 107, .07); }
.fine { margin-top: 18px; color: var(--dim); font-size: 14px; }

/* ---------- staff ---------- */
.crew { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.mem { display: flex; align-items: center; gap: 14px; padding: 16px 18px; }
.mem b { display: block; font: 700 16px var(--f-d); }
.role { display: inline-block; margin-top: 3px; font: 700 11px var(--f-b); letter-spacing: .1em; text-transform: uppercase; color: var(--sub); }
.role--owner { color: var(--snow); }
.role--admin { color: var(--accent); }
.role--mod { color: var(--sky); }

/* ---------- join ---------- */
.join { position: relative; padding: 120px 0 130px; text-align: center; overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(700px 380px at 50% 40%, rgba(63, 127, 151, .25), transparent 70%); }
.join > .wrap { position: relative; z-index: 1; }
.join .h-mega { font-size: clamp(42px, 6.4vw, 78px); margin: 8px 0 34px; }
.ipbig { display: inline-flex; align-items: center; gap: 8px; padding: 8px 8px 8px 26px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); max-width: 100%; }
.ipbig span { font: 700 clamp(20px, 3.2vw, 30px) var(--f-m); color: var(--snow); letter-spacing: -.01em; }
.ipbig button { border: 0; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 700 15px var(--f-d); color: var(--navy); background: linear-gradient(135deg, var(--snow), var(--accent)); transition: transform .2s; }
.ipbig button:hover { transform: scale(1.04); }
.steps { list-style: none; margin: 30px auto 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; counter-reset: j; color: var(--sub); font-size: 15px; }
.steps li { counter-increment: j; display: flex; align-items: center; gap: 10px; }
.steps li::before { content: counter(j); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; font: 700 12px var(--f-m); color: var(--accent); border: 1px solid var(--line2); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 28px 0 34px; color: var(--dim); font-size: 13.5px; }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot .logo img { width: 28px; height: 28px; }
.foot .logo__t { font-size: 16px; }

/* ---------- fx, toast, reveal ---------- */
#fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 95; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  max-width: calc(100% - 32px); padding: 13px 18px; border-radius: 14px; font-weight: 600; font-size: 14.5px;
  color: var(--snow); background: rgba(14, 37, 69, .92); border: 1px solid var(--line2);
  box-shadow: 0 18px 50px -14px rgba(0, 0, 0, .7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3)::before { display: none; }
  .feats, .news { grid-template-columns: 1fr; }
  .boards { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--head); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 12px 16px 18px; margin: 0;
    background: rgba(7, 18, 36, .96); border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 12px 14px; font-size: 16px; }
  .ip-pill { margin-left: auto; }
  .hero { padding-top: calc(var(--head) + 40px); }
  .hero__grid { grid-template-columns: 1fr; gap: 10px; }
  .gem { width: min(70%, 300px); order: -1; }
  .status { grid-template-columns: 1fr 1fr; }
  .status__cell:nth-child(3) { border-left: 0; }
  .status__cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .sec { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap, .top__in { padding: 0 16px; }
  .top__in { gap: 10px; }
  .logo__t { font-size: 17px; }
  .ip-pill { padding: 8px 11px; font-size: 13px; }
  .flow { grid-template-columns: 1fr; }
  .step + .step::before { display: none; }
  .cta .btn { width: 100%; }
  .status { grid-template-columns: 1fr; }
  .status__cell + .status__cell { border-left: 0; border-top: 1px solid var(--line); }
  .bhead.g, .brow.g { grid-template-columns: 56px 1fr 60px; }
  .bhead.g span:nth-child(3), .brow.g > span:nth-child(3) { display: none; }
  .bhead, .brow { padding: 0 8px; gap: 8px; }
  .rg summary { padding: 18px; }
  .rg ol { padding: 0 18px 18px; }
  .rg li { grid-template-columns: 28px 1fr; gap: 8px; }
  .ipbig { padding: 6px 6px 6px 16px; }
  .ipbig button { padding: 0 16px; min-height: 44px; }
  .foot__row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 340px) {
  .logo__t { display: none; }
}
.js .gem.rv.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: opacity .7s, transform .4s ease-out; }
