/* =============================================================
   LUDA EKIPA — design system  ·  "tactical broadcast"
   deep charcoal · one confident red · structured · restrained
   ============================================================= */

:root {
  /* surfaces */
  --bg:        #0a0b0d;
  --bg-1:      #0e1013;
  --panel:     #121419;
  --panel-2:   #171a20;
  --panel-3:   #1d212a;
  --line:      rgba(255,255,255,.07);
  --line-2:    rgba(255,255,255,.12);
  /* ink */
  --ink:       #ecebe6;
  --ink-2:     #b6bac2;
  --ink-3:     #7d828d;
  /* brand */
  --red:       #e0252e;
  --red-2:     #ff3b43;
  --red-ink:   #fff;
  --red-glow:  rgba(224,37,46,.30);
  --gold:      #d8b04a;
  --live:      #38d96b;
  /* type */
  --f-disp: 'Archivo', system-ui, sans-serif;
  --f-body: 'Hanken Grotesk', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  /* metrics */
  --r: 6px;
  --r-lg: 12px;
  --ease: cubic-bezier(.2,.7,.3,1);
  --nav-h: 60px;
  --wrap: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 30px); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--f-body);
  font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body::before { /* subtle top atmosphere */
  content: ""; position: fixed; inset: 0 0 auto 0; height: 60vh; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at 80% -10%, rgba(224,37,46,.10), transparent 55%);
}
::selection { background: var(--red); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: #2a2f3a; border: 3px solid var(--bg-1); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; }

.wrap { width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto; }
.mono { font-family: var(--f-mono); }
.red { color: var(--red); }
.muted { color: var(--ink-3); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 9999; background: var(--red); color: #fff; padding: 10px 16px; border-radius: var(--r); }

/* ============ TYPE SCALE ============ */
h1, h2, h3, h4 { font-family: var(--f-disp); font-weight: 800; line-height: 1.04; letter-spacing: -.01em; }
.display { font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.kicker {
  font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .28em;
  text-transform: uppercase; color: var(--red); display: inline-flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 1px; background: var(--red); display: inline-block; }

/* ============ BUTTONS ============ */
.btn {
  --bw: 1px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--f-body); font-weight: 700; font-size: .92rem; letter-spacing: .01em;
  padding: .8em 1.5em; border-radius: var(--r); border: var(--bw) solid transparent;
  transition: background .2s var(--ease), border-color .2s, color .2s, transform .15s, box-shadow .2s;
  cursor: pointer; white-space: nowrap; position: relative;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset; }
.btn-red:hover { background: var(--red-2); box-shadow: 0 6px 24px var(--red-glow); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--ink-2); background: rgba(255,255,255,.05); }
.btn-dark { background: var(--panel-2); color: var(--ink); border-color: var(--line); }
.btn-dark:hover { background: var(--panel-3); border-color: var(--line-2); }
.btn-gold { background: var(--gold); color: #16120a; }
.btn-gold:hover { background: #e6c059; box-shadow: 0 6px 24px rgba(216,176,74,.28); }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-sm { padding: .55em 1em; font-size: .82rem; }
.btn-block { width: 100%; }

/* ============ UTILITY BAR ============ */
.utility { background: #07080a; border-bottom: 1px solid var(--line); font-size: .76rem; }
.u-wrap { width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto; height: 34px; display: flex; align-items: center; gap: 14px; }
.u-status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-family: var(--f-mono); letter-spacing: .04em; }
.u-status b { color: var(--ink); }
.ld { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.ld-on { background: var(--live); box-shadow: 0 0 0 0 rgba(56,217,107,.6); animation: ld 2.2s infinite; }
.ld-off { background: #5a606c; }
@keyframes ld { 0% { box-shadow: 0 0 0 0 rgba(56,217,107,.55); } 70% { box-shadow: 0 0 0 6px rgba(56,217,107,0); } 100% { box-shadow: 0 0 0 0 rgba(56,217,107,0); } }
.u-sep { flex: 1; }
.u-quick { color: var(--ink-3); font-family: var(--f-mono); letter-spacing: .03em; transition: color .2s; }
.u-quick:hover { color: var(--red-2); }
.u-socials { display: inline-flex; gap: 14px; margin-left: 4px; }
.u-socials a { color: var(--ink-3); transition: color .2s; }
.u-socials a:hover { color: var(--ink); }
@media (max-width: 760px) { .u-quick, .u-socials { display: none; } .u-sep { flex: 1; } }

/* ============ NAV ============ */
#nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; }
#nav.solid, #nav:not(.over-hero) { background: rgba(10,11,13,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-wrap { width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-word { font-family: var(--f-disp); font-weight: 900; font-size: 1.12rem; letter-spacing: .01em; }
.brand-word em { font-style: normal; color: var(--red); }
.nav-main { display: flex; gap: 2px; margin-inline: auto; }
.nav-main a {
  position: relative; font-weight: 600; font-size: .92rem; color: var(--ink-2);
  padding: 8px 13px; border-radius: var(--r); transition: color .2s, background .2s;
}
.nav-main a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-main a:hover { color: var(--ink); }
.nav-main a:hover::after, .nav-main a.active::after { transform: scaleX(1); }
.nav-main a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
#burger { display: none; flex-direction: column; gap: 5px; padding: 8px; margin-left: 4px; }
#burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
#burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#burger.open span:nth-child(2) { opacity: 0; }
#burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; }

@media (max-width: 1020px) {
  .nav-main { display: none; }
  #burger { display: flex; }
  .nav-cta .btn-ghost { display: none; }
  .nav-mobile {
    position: fixed; inset: calc(var(--nav-h) + 34px) 0 auto 0; z-index: 99;
    background: rgba(8,9,11,.98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
    display: grid; grid-template-columns: 1fr 1fr; padding: 10px; gap: 2px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s;
  }
  .nav-mobile.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-mobile a { padding: 14px 16px; font-weight: 600; color: var(--ink-2); border-radius: var(--r); }
  .nav-mobile a:hover { background: var(--panel); color: var(--ink); }
}

/* ============ HERO ============ */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: center; overflow: hidden; margin-top: calc(var(--nav-h) * -1 - 34px); padding-top: calc(var(--nav-h) + 34px); }
.hero-video-wrap { position: absolute; inset: 0; z-index: -2; }
.hero-video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04) brightness(.42); }
.hero-grad { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,11,13,.55) 0%, rgba(10,11,13,.30) 30%, rgba(10,11,13,.72) 78%, var(--bg) 100%),
    radial-gradient(80% 60% at 18% 80%, rgba(224,37,46,.16), transparent 60%);
}
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto; padding-block: 60px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 100px; padding: 6px 14px 6px 10px; margin-bottom: 26px;
  background: rgba(10,11,13,.5); backdrop-filter: blur(6px);
}
.hero-badge .ld { width: 8px; height: 8px; }
.hero-logo { width: clamp(290px, 40vw, 480px); margin-bottom: 22px; }
.hero-logo svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 12px 40px rgba(0,0,0,.5)); }
.hero h1.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-tag { max-width: 54ch; font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--ink-2); margin-bottom: 30px; text-wrap: pretty; }
.hero-tag b { color: var(--ink); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: rgba(14,16,19,.6); backdrop-filter: blur(8px); width: fit-content; max-width: 100%; }
.hstat { padding: 16px 26px; border-right: 1px solid var(--line); min-width: 120px; }
.hstat:last-child { border-right: 0; }
.hstat-num { font-family: var(--f-disp); font-weight: 800; font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; }
.hstat-num small { font-size: .9rem; color: var(--ink-3); font-weight: 600; }
.hstat-label { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; display: flex; align-items: center; gap: 6px; }
@media (max-width: 600px) {
  .hstat { flex: 1; padding: 14px 16px; min-width: 0; }
  .hero-cta .btn { flex: 1; }
}

/* ============ TICKER ============ */
.ticker { background: var(--red); color: #fff; overflow: hidden; border-block: 1px solid rgba(0,0,0,.25); }
.ticker-track { display: inline-flex; white-space: nowrap; gap: 0; padding: 8px 0; font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; animation: ticker 38s linear infinite; will-change: transform; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { padding: 0 22px; opacity: .92; }
.ticker-track i { opacity: .55; font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { padding-block: clamp(64px, 8vw, 110px); position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, var(--bg-1) 12%, var(--bg-1) 88%, transparent); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 42px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); text-transform: uppercase; }
.sec-head .sub { color: var(--ink-3); max-width: 52ch; margin-top: 12px; }
.sec-head-link { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; transition: gap .2s, color .2s; white-space: nowrap; }
.sec-head-link:hover { color: var(--red-2); gap: 12px; }

/* ============ CARDS ============ */
.card { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .25s, transform .25s, box-shadow .25s; }
.card:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.4); }

/* ============ SERVER GRID ============ */
.srv-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.srv-card { grid-column: span 4; padding: 22px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.srv-card.feat { grid-column: span 6; }
.srv-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: linear-gradient(90deg, var(--red), transparent 70%); opacity: 0; transition: opacity .25s; }
.srv-card:hover::before { opacity: 1; }
.srv-top { display: flex; align-items: center; justify-content: space-between; }
.srv-status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.srv-region { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; color: var(--ink-3); }
.srv-title { font-size: 1.35rem; text-transform: uppercase; letter-spacing: -.01em; }
.srv-mode { font-family: var(--f-mono); font-size: .76rem; color: var(--ink-3); margin-top: -8px; }
.srv-livename { font-size: .82rem; color: var(--ink-2); min-height: 1.3em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.srv-meta { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); font-size: .78rem; color: var(--ink-3); margin-top: auto; }
.srv-meta b { color: var(--ink); font-weight: 700; }
.srv-players { font-family: var(--f-disp); font-weight: 800; font-size: 1.5rem; color: var(--ink); letter-spacing: -.02em; }
.srv-players small { font-size: .9rem; color: var(--ink-3); }
.bar { height: 5px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: linear-gradient(90deg, var(--red), var(--red-2)); transition: width .8s var(--ease); }
.srv-actions { display: flex; gap: 10px; }
.ipcopy { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-family: var(--f-mono); font-size: .8rem; color: var(--ink); background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); padding: 9px 12px; transition: border-color .2s, color .2s; overflow: hidden; }
.ipcopy:hover { border-color: var(--red); }
.ipcopy.copied { color: var(--live); border-color: var(--live); }
.ipcopy .ico { color: var(--ink-3); flex-shrink: 0; }

/* ============ NEWS ============ */
.news-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; }
.news-lead { grid-row: span 2; }
.news-thumb { aspect-ratio: 16/8; background: linear-gradient(135deg, var(--panel-3), var(--panel)); position: relative; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-thumb img { transform: scale(1.05); }
.news-thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.news-thumb-fallback svg { width: 56px; height: 56px; opacity: .14; }
.news-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.news-tags { display: flex; gap: 8px; align-items: center; font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.news-tags .pin { color: var(--red); }
.news-card h3 { font-size: 1.12rem; line-height: 1.18; }
.news-lead h3 { font-size: 1.5rem; }
.news-excerpt { font-size: .88rem; color: var(--ink-3); flex: 1; }
.news-foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: .72rem; color: var(--ink-3); padding-top: 6px; border-top: 1px solid var(--line); }
.news-empty { padding: 40px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line); border-radius: var(--r-lg); grid-column: 1 / -1; }

/* ============ VIP ============ */
.vip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.vip-card { padding: 28px 26px; display: flex; flex-direction: column; gap: 16px; }
.vip-card.pop { border-color: rgba(216,176,74,.4); box-shadow: 0 0 0 1px rgba(216,176,74,.12); }
.vip-card.pop::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), transparent 80%); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.vip-name { display: flex; align-items: center; justify-content: space-between; }
.vip-name h3 { font-size: 1.3rem; text-transform: uppercase; }
.vip-flag { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; padding: 4px 9px; border-radius: 100px; text-transform: uppercase; }
.vip-flag-gold { color: var(--gold); border: 1px solid rgba(216,176,74,.4); background: rgba(216,176,74,.08); }
.vip-price { font-family: var(--f-disp); font-weight: 900; font-size: 2.6rem; line-height: 1; letter-spacing: -.03em; }
.vip-price small { font-size: .9rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.vip-price .cur { color: var(--red); }
.vip-coins { font-family: var(--f-mono); font-size: .78rem; color: var(--gold); }
.vip-perks { list-style: none; display: grid; gap: 10px; font-size: .9rem; color: var(--ink-2); flex: 1; }
.vip-perks li { display: flex; gap: 10px; align-items: flex-start; }
.vip-perks svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--red); }
.vip-roster { display: flex; flex-direction: column; gap: 0; }
.vip-roster-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.vip-roster-row:last-child { border-bottom: 0; }
.vip-rank { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-3); width: 26px; }
.vip-av { width: 34px; height: 34px; border-radius: 50%; background: var(--panel-3); display: grid; place-items: center; font-family: var(--f-disp); font-weight: 800; color: var(--ink-2); font-size: .9rem; flex-shrink: 0; }
.vip-pname { font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vip-badge { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .1em; padding: 3px 8px; border-radius: 100px; color: var(--gold); border: 1px solid rgba(216,176,74,.35); }
.vip-coinval { font-family: var(--f-mono); font-size: .8rem; color: var(--ink-3); }

/* ============ COMMUNITY GRID ============ */
.com-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 16px; }
.com-card { grid-column: span 4; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.com-card.wide { grid-column: span 6; }
.com-ico { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; border: 1px solid var(--line); background: var(--panel-2); transition: background .25s, border-color .25s, transform .25s; }
.com-ico svg { width: 22px; height: 22px; }
.com-card:hover .com-ico { background: var(--red); border-color: var(--red); transform: translateY(-2px); }
.com-card:hover .com-ico svg { color: #fff !important; }
.com-card h3 { font-size: 1.15rem; text-transform: uppercase; }
.com-card p { font-size: .88rem; color: var(--ink-3); flex: 1; }
.com-go { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .06em; color: var(--ink-2); display: inline-flex; align-items: center; gap: 7px; transition: gap .2s, color .2s; }
.com-card:hover .com-go { color: var(--red-2); gap: 11px; }
.com-stat { display: flex; gap: 20px; flex-wrap: wrap; }
.com-stat div { display: flex; flex-direction: column; }
.com-stat b { font-family: var(--f-disp); font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; }
.com-stat span { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ============ SUPPORT / HOSTING SPLIT ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.split-card { padding: 34px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; position: relative; }
.split-card .tagline { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.split-card h3 { font-size: 1.9rem; text-transform: uppercase; }
.split-card p { color: var(--ink-3); }
.split-list { list-style: none; display: grid; gap: 9px; font-size: .9rem; color: var(--ink-2); }
.split-list li { display: flex; gap: 10px; }
.split-list svg { width: 17px; height: 17px; color: var(--red); flex-shrink: 0; margin-top: 3px; }

/* ============ PAGE HEAD (sub-pages) ============ */
.phead { padding: calc(var(--nav-h) * 0 + 64px) 0 36px; border-bottom: 1px solid var(--line); position: relative; background: linear-gradient(180deg, var(--bg-1), transparent); }
.phead::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .4;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.phead-title { font-size: clamp(2.1rem, 5vw, 3.4rem); text-transform: uppercase; margin-top: 12px; }
.phead-sub { color: var(--ink-3); max-width: 60ch; margin-top: 12px; }

/* ============ FORMS ============ */
.form-card { padding: 30px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.field label .req { color: var(--red); }
.field input, .field textarea, .field select {
  background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--r); color: var(--ink);
  padding: 11px 13px; transition: border-color .2s, background .2s; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--red); background: #0c0d10; }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .76rem; color: var(--ink-3); }
.flash { padding: 14px 18px; border-radius: var(--r); margin-bottom: 20px; font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.flash svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; }
.flash-ok { background: rgba(56,217,107,.1); border: 1px solid rgba(56,217,107,.3); color: #b6f0c8; }
.flash-err { background: rgba(224,37,46,.1); border: 1px solid rgba(224,37,46,.35); color: #f2b8bb; }
.flash-info { background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--ink-2); }

/* ============ TABLES (bans) ============ */
.le-table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; overflow-x: auto; }
.le-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
.le-table th { text-align: left; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 14px 16px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.le-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.le-table tr:last-child td { border-bottom: 0; }
.le-table tbody tr:hover { background: rgba(255,255,255,.02); }
.le-table .mono { color: var(--ink); }
.tag { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; padding: 3px 8px; border-radius: 100px; text-transform: uppercase; }
.tag-perm { color: var(--red-2); border: 1px solid rgba(224,37,46,.35); background: rgba(224,37,46,.08); }
.tag-temp { color: var(--gold); border: 1px solid rgba(216,176,74,.3); background: rgba(216,176,74,.07); }

/* ============ PROSE (rules / news article) ============ */
.prose { color: var(--ink-2); line-height: 1.75; max-width: 78ch; }
.prose h2, .prose h3 { color: var(--ink); margin: 1.6em 0 .5em; }
.prose h2 { font-size: 1.5rem; } .prose h3 { font-size: 1.2rem; }
.prose p { margin-bottom: 1em; }
.prose ul, .prose ol { margin: 0 0 1em 1.2em; display: grid; gap: .5em; }
.prose li { padding-left: 4px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--red-2); text-decoration: underline; text-underline-offset: 3px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 1.6em 0; }
.rules-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.rules-tab { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; padding: 9px 16px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink-2); transition: all .2s; }
.rules-tab:hover { border-color: var(--line-2); color: var(--ink); }
.rules-tab.active { background: var(--red); border-color: var(--red); color: #fff; }

/* ============ FOOTER ============ */
#foot { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, #06070a); padding: 64px 0 28px; margin-top: 40px; }
.foot-top { display: grid; grid-template-columns: 1.4fr 2.4fr; gap: 50px; margin-bottom: 46px; }
.foot-logo { opacity: .96; margin-bottom: 16px; }
.foot-blurb { color: var(--ink-3); font-size: .9rem; max-width: 42ch; margin-bottom: 18px; }
.foot-socials { display: flex; gap: 8px; flex-wrap: wrap; }
.foot-socials a { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; color: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 7px 13px; transition: all .2s; }
.foot-socials a:hover { border-color: var(--red); color: var(--red-2); }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.foot-col h4 { font-family: var(--f-mono); font-weight: 500; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.foot-col a { display: block; font-size: .88rem; color: var(--ink-3); padding: 5px 0; transition: color .2s, transform .2s; width: fit-content; }
.foot-col a:hover { color: var(--ink); transform: translateX(3px); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--ink-3); flex-wrap: wrap; }
.foot-macry b { color: var(--red-2); }
.foot-macry:hover b { color: var(--ink); }

/* ============ REVEAL ANIM ============ */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1020px) {
  .srv-card, .srv-card.feat { grid-column: span 6; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-lead { grid-column: span 2; grid-row: auto; }
  .com-card, .com-card.wide { grid-column: span 6; }
  .vip-grid { grid-template-columns: 1fr; max-width: 460px; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .srv-card, .srv-card.feat { grid-column: span 12; }
  .news-grid { grid-template-columns: 1fr; }
  .news-lead { grid-column: auto; }
  .com-card, .com-card.wide { grid-column: span 12; }
  .split { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 20px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}
