/* Dzair Gaming home page.
   Cool dark blue-grey surfaces with visible edges, green for actions and live numbers,
   amber for ratings, red for bans and the donate button. */

@font-face { font-family: 'Sora'; font-weight: 100 800; font-display: swap; src: url('/fonts/sora-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-latin-wght-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist Mono'; font-weight: 100 900; font-display: swap; src: url('/fonts/geist-mono-latin-wght-normal.woff2') format('woff2'); }

:root {
    --bg: #0b0e11;
    --bg-2: #0f1317;
    --surface: #151a20;
    --surface-2: #1b222a;
    --surface-3: #242d37;
    --line: #222a33;
    --line-2: #303a46;
    --text: #f5f7f9;
    --muted: #b3bcc7;
    --dim: #7d8896;
    --green: #22c55e;
    --green-hi: #4ade80;
    --green-deep: #0e892e;
    --red: #e0424a;
    --red-deep: #b72c35;
    --white: #ebebe9;
    --amber: #fbbf24;
    --discord: #5865f2;
    --ct: #8fbaff;
    --tt: #f0bd6e;
    --display: 'Sora', 'Geist', system-ui, sans-serif;
    --body: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --mono: 'Geist Mono', ui-monospace, Consolas, monospace;
    --wrap: 1280px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--green); color: #000; }
:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; }
[hidden] { display: none !important; }
.defs { position: absolute; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.ic { width: 18px; height: 18px; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #000; padding: 8px 14px; z-index: 100; font-weight: 600; }
.skip:focus { left: 8px; }

/* Page scroll progress, in the logo's colours */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; background: var(--green); transform: scaleX(0); transform-origin: left; pointer-events: none; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    height: 42px; padding: 0 18px; white-space: nowrap; border-radius: 8px;
    font: 600 14px/1 var(--display); letter-spacing: -.01em;
    transition: background-color .2s, color .2s, transform .2s var(--ease);
 }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-primary { background: var(--green); color: #052e16; box-shadow: 0 8px 24px -10px rgba(34, 197, 94, .7); }
.btn-primary:hover { background: var(--green-hi); }
.btn-discord { background: var(--discord); color: #fff; box-shadow: 0 8px 24px -10px rgba(88, 101, 242, .8); }
.btn-discord:hover { background: #717cf6; }
.btn-kofi { background: var(--red); color: #fff; }
.btn-kofi:hover { background: #ec5a61; }
.btn-ghost { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: var(--surface-3); }
.btn-soon { background: var(--surface-2); color: var(--dim); cursor: not-allowed; }
.btn-soon:hover { transform: none; }
.btn-soon i, .nav-soon i, .soon-tag { 
    font: 600 11px/1 var(--body); font-style: normal; letter-spacing: .02em;
    background: rgba(224, 66, 74, .16); color: #ff7b81; padding: 4px 7px; border-radius: 5px;
 }

/* ── Navigation ──────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s; }
.nav.is-stuck { background: rgba(11, 14, 17, .8); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 72px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.logo { display: flex; font: 800 38px/.8 var(--display); letter-spacing: -.06em; transition: letter-spacing .35s var(--ease); }
.logo i { font-style: normal; }
.logo i:nth-child(1) { color: var(--green); }
.logo i:nth-child(2) { color: var(--text); }
.logo i:nth-child(3) { color: var(--red); }
.brand:hover .logo { letter-spacing: -.02em; }
.brand-tag { display: flex; align-items: center; gap: 5px; font: 500 10.5px/1 var(--body); letter-spacing: .01em; color: var(--muted); }
.brand-tag svg { width: 16px; height: 8px; border-radius: 1.5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a, .nav-soon { 
    position: relative; padding: 10px 12px; color: var(--muted);
    font: 500 14.5px/1 var(--body); transition: color .2s;
 }
.nav-links a::after { display: none; }
.nav-links a:hover, .nav-links a.is-on { color: var(--text); }
.nav-links a.is-on::after { transform: scaleX(1); }
.nav-soon { display: inline-flex; align-items: center; gap: 8px; cursor: not-allowed; color: var(--dim); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--surface-2); border-radius: 8px; }
.nav-burger span { width: 18px; height: 2px; background: var(--text); transition: transform .25s, opacity .25s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────── */
.hero { position: relative; min-height: min(92svh, 900px); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero-bg { 
    position: absolute; inset: 0; z-index: -5;
    background: url('/imgs/hero.webp') center 28% / cover no-repeat;
    filter: brightness(.8);
 }
.hero-video { position: absolute; inset: 0; z-index: -4; overflow: hidden; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.hero-video.is-on { opacity: 1; }
/* The clip is 4:3 inside a 16:9 player: oversize the player so the picture itself covers the hero */
.hero-video iframe { position: absolute; left: 50%; top: 50%; width: max(136vw, 172svh); aspect-ratio: 16 / 9; border: 0; transform: translate(-50%, -50%); filter: saturate(1.15) contrast(1.05); }
.hero-shade { 
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(180deg, rgba(11, 14, 17, .78) 0%, rgba(11, 14, 17, .25) 30%, rgba(11, 14, 17, .45) 62%, var(--bg) 100%),
        radial-gradient(46% 52% at 50% 46%, rgba(11, 14, 17, .72), transparent 82%),
        linear-gradient(90deg, rgba(11, 14, 17, .92), transparent 34%, transparent 66%, rgba(11, 14, 17, .92));
 }
.hero-in { padding-top: 150px; padding-bottom: 72px; text-align: center; display: flex; flex-direction: column; align-items: center; margin-block: auto; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); position: relative; flex: none; }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--green-hi); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.hero-title { margin-top: 20px; font: 700 clamp(30px, 4.6vw, 60px)/1.08 var(--display); letter-spacing: -.045em; text-shadow: 0 2px 30px rgba(0, 0, 0, .6); animation: rise .7s .05s var(--ease) both; }
.hero-title b { font-weight: inherit; background: linear-gradient(100deg, var(--green-hi), #a3e635); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 480px; margin-top: 16px; color: #d5dbe2; font-size: 18px; text-shadow: 0 1px 16px rgba(0, 0, 0, .7); animation: rise .7s .12s var(--ease) both; }

.hero-live { margin-top: 40px; display: inline-flex; align-items: center; gap: 14px; max-width: 100%; padding: 8px 8px 8px 16px; background: rgba(21, 26, 32, .72); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 50px -20px rgba(0, 0, 0, .8); border-radius: 12px; text-align: left; animation: rise .6s var(--ease) both; transition: box-shadow .2s; }
.hero-live:hover { box-shadow: inset 0 0 0 1px var(--green); }
.hero-live-txt { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hero-live-txt small { font: 500 12px/1 var(--body); color: var(--dim); }
.hero-live-txt b { font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 38ch; }
.hero-live-num { font: 600 15px/1 var(--mono); color: var(--green-hi); white-space: nowrap; }
.hero-live-go { padding: 10px 14px; background: var(--green); color: #04130a; font: 600 14px/1 var(--body); border-radius: 7px; }
.hero-now { display: inline-flex; align-items: center; gap: 12px; padding: 8px 15px 8px 13px; border-radius: 99px; background: rgba(21, 26, 32, .7); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .35); font: 500 13.5px/1 var(--body); color: var(--text); animation: rise .7s var(--ease) both; }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; animation: rise .7s .2s var(--ease) both; }

/* Live numbers under the hero */
.hud { position: relative; background: rgba(15, 19, 23, .72); backdrop-filter: blur(12px); border-top: 1px solid var(--line-2); }
.hud::before { display: none; }
.hud-in { display: grid; grid-template-columns: repeat(5, 1fr); }
.hud-cell { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 22px 22px; border-left: 1px solid var(--line); }
.hud-cell:first-child { border-left: 0; padding-left: 0; }
.hud-ic { grid-row: span 2; width: 22px; height: 22px; color: var(--green-hi); }
.hud-cell b { font: 700 26px/1.1 var(--display); letter-spacing: -.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.hud-cell span { font: 400 13px/1.3 var(--body); color: var(--muted); }

/* ── Sections ────────────────────────────────────────────────── */
.sec { padding: 96px 0; position: relative; background: radial-gradient(60% 320px at 50% 0, rgba(34, 197, 94, .07), transparent); }
.sec-alt { background: radial-gradient(60% 320px at 50% 0, rgba(88, 101, 242, .08), transparent), var(--bg-2); }
.sec-alt::before, .sec-alt::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2) 20%, var(--line-2) 80%, transparent); }
.sec-alt::before { top: 0; } .sec-alt::after { bottom: 0; }
.sec-head { margin-bottom: 28px; max-width: 760px; }
.sec-head-row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sec-head-row > div { max-width: 760px; }
h2 { font: 700 clamp(24px, 2.8vw, 32px)/1.15 var(--display); letter-spacing: -.035em; }
.sec-lead { margin-top: 10px; color: var(--muted); font-size: 16px; max-width: 620px; }
.sec-meta { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; font: 500 13px/1 var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

.skel { position: relative; overflow: hidden; background: var(--surface); }
.skel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .045), transparent); animation: shimmer 1.4s infinite; }
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

.flag { width: 20px; height: 14px; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12); }

/* ── Servers ─────────────────────────────────────────────────── */
.srv-tools { display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 4px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--surface); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); }
.tab { 
    display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px 0 10px; color: var(--muted); border-radius: 8px;
    font: 600 14.5px/1 var(--display); letter-spacing: -.01em; transition: color .2s, background-color .2s;
 }
.tab img { width: 24px; height: 24px; border-radius: 5px; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.tab b { font: 500 12px/1 var(--mono); padding: 4px 6px; background: var(--bg); border-radius: 5px; color: var(--muted); }
.tab:not([aria-selected="true"]) b { background: var(--surface-2); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { height: 34px; padding: 0 14px; border-radius: 99px; color: var(--muted); font: 500 14px/1 var(--body); box-shadow: inset 0 0 0 1px var(--line-2); transition: color .2s, background-color .2s, box-shadow .2s; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { color: #052e16; background: var(--green-hi); box-shadow: none; }

.servers { display: flex; flex-direction: column; gap: 6px; }
.grp-head { display: flex; align-items: center; gap: 12px; margin: 30px 0 8px; font: 600 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.grp-head::before { display: none; }
.grp-head::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.grp-head span { order: 2; font: 400 13px/1 var(--body); letter-spacing: 0; color: var(--dim); text-transform: none; }

.srv { 
    position: relative; display: grid; grid-template-columns: 168px minmax(0, 1.7fr) minmax(170px, .9fr) 80px auto; align-items: center; gap: 22px;
    min-height: 86px; padding-right: 16px; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line);
    transition: background-color .2s, box-shadow .2s, transform .25s var(--ease);
 }
.srv.skel { min-height: 86px; }
.srv::before { display: none; }
.srv:not(.skel):not(.is-soon):hover { background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .45), 0 14px 40px -24px rgba(34, 197, 94, .6); transform: translateY(-1px); }
.srv:not(.skel):not(.is-soon):hover::before { transform: scaleY(1); }
.srv.is-off { opacity: .6; }
.srv-map { position: relative; align-self: stretch; overflow: hidden; background: var(--bg-2) repeating-linear-gradient(-45deg, rgba(255, 255, 255, .035) 0 10px, transparent 10px 20px); }
.srv-map i { position: absolute; inset: 0; background: center / cover no-repeat; }
.srv:hover .srv-map i { transform: none; }
.srv-map::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--surface)), linear-gradient(180deg, transparent 50%, rgba(11, 14, 17, .7)); }
.srv:not(.is-soon):hover .srv-map::after { background: linear-gradient(90deg, transparent 55%, var(--surface-2)), linear-gradient(180deg, transparent 50%, rgba(11, 14, 17, .7)); }
.srv-map span { position: absolute; left: 10px; bottom: 8px; z-index: 1; font: 500 12px/1 var(--mono); color: #fff; }
.srv-main { min-width: 0; padding: 12px 0; }
.srv-name { display: flex; align-items: center; gap: 10px; font: 600 16px/1.3 var(--body); letter-spacing: -.01em; }
.srv-name > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srv-ip { 
    margin-top: 5px; display: inline-flex; align-items: center; gap: 8px; padding: 3px 0;
    font: 500 13px/1 var(--mono); color: var(--muted); transition: color .2s;
 }
.srv-ip:hover { color: var(--green-hi); }
.srv-ip svg { width: 13px; height: 13px; }
.srv-badge { flex: none; padding: 4px 7px; font: 500 11px/1 var(--body); background: var(--surface-3); color: var(--muted); border-radius: 5px; }
.srv-pl-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.srv-pl-top b { font: 700 20px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.srv-pl-top em { font-style: inherit; }
.srv.has-players .srv-pl-top em { color: var(--green-hi); }
.srv-pl-top b small { font: 400 14px/1 var(--body); color: var(--dim); letter-spacing: 0; }
.srv-pl-top span { font: 400 12px/1 var(--body); color: var(--dim); }
.srv-pl-top b.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { color: var(--green-hi); } }
.srv-bar { margin-top: 9px; height: 4px; display: flex; gap: 2px; border-radius: 2px; overflow: hidden; }
.srv-bar i { flex: 1; background: var(--surface-3); transition: background-color .4s; }
.srv-bar i.on { background: linear-gradient(90deg, var(--green), var(--green-hi)); }
.srv-bar.is-full i.on { background: var(--red); }
.srv-who { margin-top: 7px; font-size: 12.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srv-ping { text-align: right; font: 400 13px/1 var(--body); color: var(--muted); display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.srv-ping .bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.srv-ping .bars i { width: 3px; background: var(--line-2); }
.srv-ping .bars i:nth-child(1) { height: 5px; } .srv-ping .bars i:nth-child(2) { height: 8px; }
.srv-ping .bars i:nth-child(3) { height: 11px; } .srv-ping .bars i:nth-child(4) { height: 14px; }
.srv-ping .bars i.on { background: var(--green-hi); }
.srv-ping.is-off { color: var(--red); }
.srv-cta { display: flex; align-items: center; gap: 4px; }
.srv.is-soon { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); min-height: 60px; }
.srv.is-soon .srv-map { background: none; }
.srv.is-soon .srv-map::after { display: none; }
.srv.is-soon .srv-name { font: 600 16px/1.3 var(--body); color: var(--muted); }
.srv-soon-note { grid-column: 3 / -1; color: var(--dim); font-size: 14px; }
.srv-plain { display: flex; flex-direction: column; gap: 4px; }
.srv-plain li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; padding: 16px 20px; background: var(--surface); border-radius: var(--r); }
.srv-plain b { font-weight: 600; }
.srv-plain span { color: var(--muted); font-size: 14px; }
.srv-plain a { margin-left: auto; font: 500 13px/1 var(--mono); color: var(--green-hi); }
.srv-err { padding: 28px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); text-align: center; }

/* ── Modes ───────────────────────────────────────────────────── */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mode { position: relative; min-height: 280px; display: flex; overflow: hidden; background: var(--surface); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.mode:nth-child(3n+2) { --d: .08s; } .mode:nth-child(3n) { --d: .16s; }
.mode:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .4), 0 24px 50px -28px rgba(0, 0, 0, .9); }
.mode-img { position: absolute; inset: 0; background: center / cover no-repeat; filter: saturate(1.1) brightness(.85); transition: transform .8s var(--ease), filter .4s; }
.mode:hover .mode-img { transform: scale(1.05); filter: saturate(1.2) brightness(1); }
.mode::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 14, 17, 0) 25%, rgba(11, 14, 17, .94) 78%); }
.mode::before { display: none; }
.mode:hover::before { transform: scaleX(1); }
.mode-body { position: relative; z-index: 1; align-self: flex-end; padding: 24px; width: 100%; transition: transform .5s var(--ease); }
.mode:hover .mode-body { transform: none; }
.mode-tag { display: inline-block; padding: 5px 9px; background: var(--green-hi); color: #052e16; font: 600 12px/1 var(--body); border-radius: 6px; }
.mode h3 { margin-top: 12px; font: 700 21px/1.15 var(--display); letter-spacing: -.03em; }
.mode p { margin-top: 8px; color: #d5dbe2; font-size: 15px; line-height: 1.5; max-width: 34ch; }
.mode-gun { display: none; }
.mode:hover .mode-gun { opacity: 1; transform: rotate(-6deg); }

/* ── Ladder ──────────────────────────────────────────────────── */
.ladder { display: flex; flex-direction: column; gap: 6px; }
.lad { display: grid; grid-template-columns: 56px minmax(0, 1fr) repeat(3, 110px) 120px; align-items: center; gap: 16px; min-height: 62px; padding: 0 22px 0 0; background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, opacity .6s var(--ease), transform .6s var(--ease); }
.lad:not(.skel):hover { background: var(--surface-2); }
.lad:nth-child(1) { box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .35); background: linear-gradient(90deg, rgba(251, 191, 36, .08), transparent 40%), var(--surface); }
.lad-rank { display: grid; place-items: center; font: 600 15px/1 var(--mono); color: var(--dim); }
.lad:nth-child(1) .lad-rank { color: var(--amber); }
.lad:nth-child(2) .lad-rank { color: var(--text); }
.lad:nth-child(3) .lad-rank { color: var(--text); }
.lad-name { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 500; font-size: 16px; }
.lad-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lad-stat { text-align: right; }
.lad-stat b { display: block; font: 500 15px/1.2 var(--body); font-variant-numeric: tabular-nums; }
.lad-stat span { font: 400 12px/1.2 var(--body); color: var(--dim); }
.lad-elo { text-align: right; }
.lad-elo b { font: 700 18px/1 var(--display); letter-spacing: -.03em; color: var(--amber); font-variant-numeric: tabular-nums; }
.lad-elo span { margin-left: 6px; font: 400 12px/1 var(--body); color: var(--dim); }

/* ── Discord and Ko-fi panels ────────────────────────────────── */
.duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px; }
.panel { position: relative; overflow: hidden; padding: 36px; background: var(--surface); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.panel::before { display: none; }
.panel > * { position: relative; }
.panel h2 { font-size: 24px; }
.panel-text { margin-top: 16px; color: var(--muted); max-width: 520px; }
.panel .btn { margin-top: 28px; }
.panel-discord::before { display: block; content: ''; position: absolute; inset: -40% 30% auto -20%; height: 320px; background: radial-gradient(closest-side, rgba(88, 101, 242, .28), transparent); pointer-events: none; }
.panel-kofi::before { display: block; content: ''; position: absolute; inset: -40% -20% auto 30%; height: 320px; background: radial-gradient(closest-side, rgba(224, 66, 74, .24), transparent); pointer-events: none; }
.dc-head { display: flex; align-items: center; gap: 18px; }
.dc-icon { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; background: var(--bg); }
.dc-counts { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; color: var(--muted); }
.dc-counts b { color: var(--text); font-variant-numeric: tabular-nums; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); margin-right: 4px; }
.dot-on { background: var(--green-hi); }
.dc-people { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; min-height: 40px; }
.dc-people li { position: relative; animation: pop .4s var(--ease) both; }
.dc-people img { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2); border: 2px solid var(--surface); }
.dc-people li::after { content: ''; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--surface); background: var(--green-hi); }
.dc-people li[data-s="idle"]::after { background: var(--amber); }
.dc-people li[data-s="dnd"]::after { background: var(--red); }
.dc-people .more { display: grid; place-items: center; height: 40px; padding: 0 12px; border-radius: 20px; background: var(--surface-2); font: 600 13px/1 var(--mono); color: var(--muted); }
.dc-people .more::after { display: none; }
@keyframes pop { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: none; } }

.kofi-tiers { margin-top: 16px; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; }
.kofi-tiers:hover { color: var(--text); }
.panel-kofi .btn-kofi .ic { animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 30% { transform: scale(1.22); } }

/* ── Ban list ────────────────────────────────────────────────── */
.ban-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ban-stats div { padding: 18px 20px; background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }
.ban-stats b { display: block; font: 700 25px/1.1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.ban-stats div:nth-child(2) b { color: var(--red); }
.ban-stats span { font: 400 13px/1.3 var(--body); color: var(--dim); }
.ban-search { margin-top: 6px; display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 16px; background: var(--surface); border-radius: var(--r); color: var(--dim); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.ban-search:focus-within { box-shadow: inset 0 0 0 1px var(--green); }
.ban-search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--text); font: 400 16px var(--body); }
.ban-search input::placeholder { color: var(--dim); }
.ban-found { font: 500 13px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.ban-table { margin-top: 6px; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.ban-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.3fr) minmax(0, 1.1fr) minmax(0, .7fr) 110px 130px; align-items: center; gap: 16px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 14px; }
.ban-head { border-top: 0; background: transparent; padding-block: 14px; font: 500 12.5px/1 var(--body); color: var(--dim); }
#ban-rows .ban-row { animation: rise .4s var(--ease) both; transition: background-color .2s; }
#ban-rows .ban-row:hover { background: var(--surface-2); }
.ban-row > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.ban-player { display: flex; align-items: center; gap: 10px; }
.ban-player div { min-width: 0; }
.ban-player b { display: block; color: var(--text); font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
.ban-player small { font: 400 12px/1.3 var(--mono); color: var(--dim); cursor: pointer; }
.ban-player small:hover { color: var(--green-hi); }
.ban-row .ban-reason { color: var(--text); }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; font: 500 12px/1 var(--body); border-radius: 5px; }
.tag-perm { background: rgba(224, 66, 74, .16); color: #ff6b72; }
.tag-active { background: rgba(240, 180, 64, .14); color: var(--amber); }
.tag-expired { background: rgba(255, 255, 255, .05); color: var(--dim); }
.ban-empty { padding: 44px 20px; text-align: center; color: var(--muted); border-top: 1px solid var(--line); }
.ban-skel { height: 49px; border-top: 1px solid var(--line); }
.ban-more { margin-top: 20px; text-align: center; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-wrap { max-width: 900px; }
.faq { display: flex; flex-direction: column; gap: 6px; }
.faq details { background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s; }
.faq details[open], .faq details:hover { background: var(--surface-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 500; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 9px; height: 9px; flex: none; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq p { padding: 0 24px 22px; color: var(--muted); max-width: 70ch; }
.faq code { font: 500 13.5px var(--mono); color: var(--text); background: var(--bg); padding: 2px 6px; border-radius: 4px; }

/* ── Forum (soon) ────────────────────────────────────────────── */
.sec-forum { padding: 0 0 96px; }
.sec-forum::before { display: none; }
.forum { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 32px 36px; background: var(--surface); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.forum .btn { margin: 0; }
/* ── Footer ──────────────────────────────────────────────────── */
.foot { position: relative; background: var(--bg); border-top: 1px solid var(--line); }
.foot::before { display: none; }
.foot-in { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-top: 68px; padding-bottom: 48px; }
.foot-brand p { margin-top: 14px; max-width: 320px; color: var(--muted); font-size: 15px; }
.foot-langs { display: flex; flex-direction: column; gap: 2px; font-size: 13px !important; color: var(--dim) !important; }
.foot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot-col h4 { margin-bottom: 6px; font: 500 13px/1 var(--body); color: var(--dim); }
.foot-col a { color: var(--muted); font-size: 15px; transition: color .2s, transform .3s var(--ease); }
.foot-col a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 16px; background: var(--text); color: #000; border-radius: 8px; font: 500 14px/1.2 var(--body); transition: opacity .2s, transform .25s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .modes { grid-template-columns: repeat(2, 1fr); }
    .mode { min-height: 300px; }
    .srv { grid-template-columns: 140px minmax(0, 1.4fr) minmax(150px, 1fr) auto; gap: 18px; }
    .srv-ping { display: none; }
    .lad { grid-template-columns: 60px minmax(0, 1fr) repeat(2, 90px) 110px; }
    .lad > :nth-child(5) { display: none; }
    .ban-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr) minmax(0, 1fr) 100px 120px; }
    .ban-row > :nth-child(4) { display: none; }
}
@media (max-width: 900px) {
    .nav-burger { display: flex; }
    .nav-links {
        position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 8px 28px 20px;
        background: rgba(11, 14, 17, .97); box-shadow: 0 1px 0 var(--line);
        transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .3s var(--ease), opacity .3s, visibility .3s;
    }
    .nav-links.is-open { transform: none; opacity: 1; visibility: visible; }
    .nav-links a, .nav-soon { padding: 17px 0; font-size: 18px; border-bottom: 1px solid var(--line); text-align: left; }
    .nav-links a::after { display: none; }
    .nav-links a.is-on { color: var(--green-hi); }
    .nav-cta { margin-left: auto; }
    .hud-in { grid-template-columns: repeat(3, 1fr); }
    .hud-cell:nth-child(n+4) { display: none; }
    .duo { grid-template-columns: 1fr; }
    .foot-in { grid-template-columns: 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
    .sec { padding: 80px 0; }
}
@media (max-width: 680px) {
    .wrap { padding: 0 16px; }
    .hero-live { width: 100%; }
    .hero-live-txt { flex: 1; }
    .faq summary { padding: 16px; font-size: 16px; }
    .faq p { padding: 0 16px 18px; }
    .logo { font-size: 32px; }
    .hero { min-height: 0; }
    .hero-in { padding-top: 124px; padding-bottom: 56px; }
    .hero-video iframe { width: max(136vw, 240svh); }
    .hero-sub { font-size: 16px; }
    .hero-actions { width: 100%; gap: 8px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hud-cell { padding: 14px 8px; grid-template-columns: 1fr; text-align: center; }
    .hud-cell:first-child { padding-left: 8px; }
    .hud-ic { display: none; }
    .hud-cell b { font-size: 28px; }
    .hud-cell span { font-size: 11px; letter-spacing: .1em; }
    .tabs { width: 100%; }
    .tab { flex: 1; justify-content: center; }
    .srv { grid-template-columns: 1fr; gap: 0; padding: 0; }
    .srv:not(.skel):not(.is-soon):hover { transform: none; }
    .srv-map { height: 84px; }
    .srv-map::after { background: linear-gradient(180deg, transparent 30%, var(--surface)); }
    .srv-main, .srv-pl { padding: 14px 16px 0; }
    .srv-cta { padding: 16px; }
    .srv-cta .btn-primary { flex: 1; }
    .srv.is-soon .srv-map { height: 26px; }
    .srv-soon-note { grid-column: 1; padding: 6px 16px 16px; }
    .modes { grid-template-columns: 1fr; }
    .mode { min-height: 250px; }
    .lad { grid-template-columns: 52px minmax(0, 1fr) 96px; gap: 12px; padding-right: 14px; }
    .lad:not(.skel):hover { transform: none; }
    .lad-stat { display: none; }
    .panel { padding: 30px 20px; }
    .ban-stats { grid-template-columns: 1fr 1fr; }
    .ban-stats b { font-size: 32px; }
    .ban-head { display: none; }
    .ban-row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 16px; }
    .ban-row > :nth-child(3), .ban-row > :nth-child(4), .ban-row > :nth-child(5) { display: none; }
    .ban-row > :nth-child(2) { grid-column: 1; grid-row: 2; font-size: 13px; }
    .ban-row > :nth-child(6) { grid-column: 2; grid-row: 1 / span 2; }
    .ban-found { display: none; }
    .forum { padding: 24px 20px; }
    .lad-rank { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .strip-track { animation: none; }
    .hero-video { display: none; }
}
