/* Mix stats site ( mixpanel.spkhosting.com ) - for normal browsers.
   The in-game MOTD has its own, simpler pages on the VPS fastdl. */

:root {
    --red: #ff2d4b;
    --red-soft: rgba(255, 45, 75, .14);
    --cyan: #00c8ff;
    --orange: #ff6b00;
    --gold: #ffc83d;
    --silver: #d7dee9;
    --bronze: #e0915a;
    --green: #3ddc84;
    --bg: #06080c;
    --panel: rgba(16, 19, 27, .74);
    --panel-solid: #10131b;
    --line: rgba(255, 255, 255, .08);
    --text: #e2e6ee;
    --muted: #8a93a5;
    --radius: 14px;
    --display: 'Orbitron', 'Arial Black', Arial, sans-serif;
    --body: 'Rajdhani', 'Segoe UI', Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.45;
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* The whole site sits on a dim, fixed copy of the CS artwork. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background: url('img/hero.jpg') center top / cover no-repeat;
    opacity: .18;
    filter: saturate(.8);
}
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(1200px 500px at 15% -10%, rgba(255, 45, 75, .22), transparent 60%),
        radial-gradient(900px 500px at 110% 10%, rgba(0, 200, 255, .10), transparent 60%),
        linear-gradient(180deg, rgba(6, 8, 12, .2), var(--bg) 85%);
}

a { color: var(--cyan); text-decoration: none; transition: color .15s; }
a:hover { color: #8be9ff; }

.page { width: 100%; max-width: 1180px; margin: 0 auto; padding: 22px 20px 50px; flex: 1; }

/* ------------------------------------------------------------ top bar */

.bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(6, 8, 12, .72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.bar-in {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 22px;
}
.logo {
    font-family: var(--display);
    font-weight: 900;
    font-size: 21px;
    letter-spacing: 3px;
    color: #fff;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.logo:hover { color: #fff; }
.logo b { color: var(--red); }
.logo small { font-size: 11px; color: var(--red); letter-spacing: 4px; margin-left: 6px; }
.logo-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px var(--red-soft), 0 0 16px var(--red);
    margin-right: 10px;
    animation: pulse 2.4s infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 45, 75, .05), 0 0 22px var(--red); } }

.nav { display: flex; gap: 4px; flex: 1; }
.nav a {
    color: #b3bac8;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 13px;
    border-radius: 9px;
    position: relative;
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav a.on { color: #fff; background: var(--red-soft); }
.nav a.on::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
    background: var(--red); border-radius: 2px; box-shadow: 0 0 10px var(--red);
}

.search input {
    width: 210px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 9px 12px 9px 34px;
    color: #fff;
    font: inherit;
    font-size: 15px;
    outline: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%238a93a5' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 11px center;
    transition: border-color .15s, width .2s;
}
.search input:focus { border-color: var(--red); width: 250px; }

/* ------------------------------------------------------------ panels */

.panel {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 20px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.title {
    font-family: var(--display);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--red); box-shadow: 0 0 10px var(--red); }
.panel-head a { font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }

.notice { text-align: center; color: var(--muted); padding: 34px 20px; font-size: 18px; }
.muted { color: var(--muted); }
.pos { color: var(--green); }
.neg { color: #ff5a6e; }
.gold { color: var(--gold); }
.cyan { color: var(--cyan); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-2 > .panel { margin-bottom: 0; }
.stack { display: grid; gap: 20px; margin-bottom: 20px; }

/* ------------------------------------------------------------ hero */

.hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 26px;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
    background: #0b0e14 url('img/hero.jpg') center 30% / cover no-repeat;
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
}
.hero.hero-stats { background-image: url('img/hero-stats.jpg'); }
.hero.hero-match { background-image: url('img/hero-match.jpg'); min-height: 300px; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(6, 8, 12, .92) 0%, rgba(6, 8, 12, .55) 55%, rgba(6, 8, 12, .2) 100%),
        linear-gradient(0deg, rgba(6, 8, 12, .95) 0%, transparent 60%);
}
.hero-in { position: relative; padding: 34px 36px; width: 100%; }
.eyebrow {
    display: inline-block;
    font-family: var(--display);
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--red);
    padding: 5px 10px;
    border: 1px solid rgba(255, 45, 75, .4);
    border-radius: 20px;
    background: rgba(255, 45, 75, .08);
    margin-bottom: 14px;
}
.hero h1 {
    font-family: var(--display);
    font-weight: 900;
    font-size: clamp(34px, 5.4vw, 60px);
    letter-spacing: 3px;
    line-height: 1.02;
    margin: 0 0 10px;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .6);
}
.hero h1 b { color: var(--red); text-shadow: 0 0 30px rgba(255, 45, 75, .6); }
.hero p { margin: 0; color: #c3c9d6; font-size: 19px; max-width: 560px; }

.counters { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.counter {
    min-width: 150px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.counter b { display: block; font-family: var(--display); font-size: 26px; color: #fff; line-height: 1.1; }
.counter span { font-size: 13px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }

.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--red), #d91a37);
    color: #fff;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(255, 45, 75, .3);
    transition: transform .15s, box-shadow .15s;
}
.btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255, 45, 75, .45); }
.btn.ghost { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); box-shadow: none; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); }

/* ------------------------------------------------------------ podium */

.podium {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 18px;
    align-items: end;
    margin: 6px 0 26px;
}
.pod {
    position: relative;
    text-align: center;
    padding: 58px 18px 22px;
    border-radius: 18px;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
    transition: transform .2s;
}
.pod:hover { transform: translateY(-4px); }
.pod .crown {
    position: absolute; top: -26px; left: 50%;
    width: 64px; height: 44px;
    transform: translateX(-50%);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .6));
}
.pod-1 {
    padding-top: 72px;
    min-height: 320px;
    border-color: rgba(255, 200, 61, .45);
    background: linear-gradient(180deg, rgba(255, 200, 61, .16), rgba(16, 19, 27, .85) 55%);
    box-shadow: 0 0 0 1px rgba(255, 200, 61, .15), 0 30px 60px rgba(255, 200, 61, .12), 0 20px 40px rgba(0, 0, 0, .45);
}
.pod-1 .crown { width: 84px; height: 58px; top: -36px; animation: float 3s ease-in-out infinite; filter: drop-shadow(0 0 18px rgba(255, 200, 61, .7)); }
@keyframes float { 50% { transform: translate(-50%, -6px); } }
.pod-2 { border-color: rgba(215, 222, 233, .3); background: linear-gradient(180deg, rgba(215, 222, 233, .10), rgba(16, 19, 27, .85) 55%); min-height: 280px; }
.pod-3 { border-color: rgba(224, 145, 90, .3); background: linear-gradient(180deg, rgba(224, 145, 90, .12), rgba(16, 19, 27, .85) 55%); min-height: 260px; }
.pod .place {
    position: absolute; top: 14px; left: 16px;
    font-family: var(--display); font-weight: 900; font-size: 22px;
}
.pod-1 .place { color: var(--gold); }
.pod-2 .place { color: var(--silver); }
.pod-3 .place { color: var(--bronze); }
.pod .emb-xl { height: 44px; margin: 6px auto 10px; display: block; }
.pod .pname { font-size: 24px; font-weight: 700; color: #fff; word-break: break-word; line-height: 1.15; }
.pod .pname a { color: #fff; }
.pod .ppoints { font-family: var(--display); font-size: 30px; font-weight: 800; margin: 10px 0 4px; color: #fff; }
.pod-1 .ppoints { color: var(--gold); text-shadow: 0 0 18px rgba(255, 200, 61, .5); font-size: 36px; }
.pod .ppoints small { font-size: 12px; color: var(--muted); letter-spacing: 2px; display: block; font-family: var(--body); }
.pod .pmeta { display: flex; justify-content: center; gap: 16px; color: var(--muted); font-size: 15px; margin-top: 8px; }
.pod .pmeta b { color: #fff; }

/* ------------------------------------------------------------ rank badges and emblems */

.rk {
    display: inline-block;
    min-width: 32px;
    padding: 2px 7px;
    border-radius: 6px;
    font-family: var(--display);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    color: #07090d;
    background: #8a93a6;
    vertical-align: middle;
}
.rk-l { background: #9aa3b5; }
.rk-m { background: var(--green); }
.rk-h { background: var(--cyan); }
.rk-p { background: #b57bff; }
.rk-g { background: var(--gold); box-shadow: 0 0 12px rgba(255, 200, 61, .55); }
.rk.rk-big { font-size: 20px; padding: 5px 12px; border-radius: 8px; }

.emb { height: 22px; width: auto; vertical-align: middle; }
.rankcell { display: inline-flex; align-items: center; gap: 8px; }
.emb-xl { height: 50px; width: auto; }
.emb-hero { height: 70px; width: auto; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .6)); }

/* ------------------------------------------------------------ tables */

.tbl { width: 100%; border-collapse: separate; border-spacing: 0; }
.tbl th {
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    color: var(--muted); text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line);
}
.tbl td { padding: 11px 10px; border-bottom: 1px solid rgba(255, 255, 255, .04); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover td { background: rgba(255, 255, 255, .035); }
.tbl .n { text-align: right; white-space: nowrap; }
.tbl .nm { font-weight: 700; word-break: break-word; }
.tbl .nm a { color: #fff; }
.tbl .nm a:hover { color: var(--cyan); }
.tbl tr.me td { background: rgba(0, 200, 255, .07); }
.tbl tr.me td:first-child { box-shadow: inset 3px 0 0 var(--cyan); }
.tbl tr.left td { opacity: .55; }
.tbl .big { font-family: var(--display); font-weight: 800; color: #fff; }

.medal { width: 22px; height: auto; vertical-align: middle; }
.posn { font-family: var(--display); font-weight: 900; color: var(--muted); font-size: 16px; }

.kdbar { display: inline-block; width: 60px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; vertical-align: middle; margin-left: 8px; }
.kdbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--orange)); }

.tag {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 2px 7px; border-radius: 5px; background: rgba(255, 255, 255, .08); color: #b3bac8; vertical-align: middle; margin-left: 5px;
}
.tag-win { background: rgba(61, 220, 132, .15); color: var(--green); }
.tag-loss { background: rgba(255, 90, 110, .15); color: #ff6b80; }
.tag-ot { background: rgba(255, 107, 0, .18); color: #ffa05c; }
.tag-ace { background: rgba(255, 45, 75, .22); color: #ff7389; }
.tag-4k { background: rgba(0, 200, 255, .16); color: #5fdcff; }
.crown-mini { width: 18px; height: 13px; vertical-align: -1px; margin-left: 5px; filter: drop-shadow(0 0 6px rgba(255, 200, 61, .6)); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-left: 7px; box-shadow: 0 0 8px var(--green); vertical-align: middle; }

/* ------------------------------------------------------------ stat cards */

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.stat {
    padding: 14px 14px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
}
.stat::after { content: ""; position: absolute; right: -20px; top: -20px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 45, 75, .06); }
.stat .ico { height: 20px; width: auto; opacity: .95; }
.stat b { display: block; font-family: var(--display); font-size: 24px; font-weight: 800; color: #fff; margin-top: 6px; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }
.stat.hl { border-color: rgba(255, 200, 61, .35); background: rgba(255, 200, 61, .06); }
.stat.hl b { color: var(--gold); }

/* ------------------------------------------------------------ profile */

.profile { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.profile .who-name { font-family: var(--display); font-size: clamp(26px, 4vw, 40px); font-weight: 900; color: #fff; letter-spacing: 1px; line-height: 1.1; word-break: break-word; }
.profile .who-sub { color: #c3c9d6; font-size: 18px; margin-top: 4px; }
.profile .who-sub b { color: #fff; }

.progress { margin-top: 18px; max-width: 560px; }
.progress-top { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.progress-top img { height: 18px; vertical-align: middle; margin-left: 4px; }
.bar-track { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar-track i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--red), var(--orange)); box-shadow: 0 0 14px rgba(255, 45, 75, .6); }

/* ------------------------------------------------------------ match cards */

.matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.mcard {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: var(--panel-solid);
    border: 1px solid var(--line);
    color: var(--text);
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.mcard:hover { color: var(--text); transform: translateY(-4px); border-color: rgba(255, 45, 75, .45); box-shadow: 0 18px 36px rgba(0, 0, 0, .45); }
.mcard-img { position: relative; height: 110px; background: linear-gradient(135deg, #1a1f2b, #0d1016); overflow: hidden; }
.mcard-img .mapimg { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.mcard-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--panel-solid) 0%, rgba(16, 19, 27, .1) 70%); }
.mcard-map { position: absolute; left: 14px; bottom: 8px; z-index: 1; font-family: var(--display); font-weight: 800; font-size: 15px; color: #fff; letter-spacing: 1px; }
.mcard-when { position: absolute; right: 12px; top: 10px; z-index: 1; font-size: 13px; color: #fff; background: rgba(0, 0, 0, .55); padding: 2px 8px; border-radius: 6px; }
.mcard-body { padding: 12px 14px 14px; }
.mcard-score { display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-weight: 800; font-size: 24px; }
.mcard-score .side { font-size: 11px; color: var(--muted); letter-spacing: 2px; font-family: var(--body); display: block; }
.mcard-score .w { color: #fff; }
.mcard-score .l { color: #5f6778; }
.mcard-mvp { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard-mvp b { color: var(--gold); }

/* ------------------------------------------------------------ match page */

.scoreboard { display: flex; align-items: center; justify-content: center; gap: 30px; margin: 10px 0 6px; flex-wrap: wrap; }
.sb-side { text-align: center; min-width: 160px; }
.sb-num { font-family: var(--display); font-weight: 900; font-size: clamp(56px, 9vw, 96px); line-height: 1; color: #5f6778; }
.sb-side.win .sb-num { color: var(--green); text-shadow: 0 0 36px rgba(61, 220, 132, .6); }
.sb-lbl { font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.sb-side.win .sb-lbl { color: var(--green); }
.sb-vs { font-family: var(--display); font-size: 30px; color: #5f6778; }
.hero-match .hero-in { text-align: center; }
.hero-match .hero-in p { margin: 10px auto 0; }

.mvp-spot {
    position: relative;
    text-align: center;
    padding: 50px 20px 24px;
    border-radius: 18px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 200, 61, .4);
    background:
        radial-gradient(600px 200px at 50% 0%, rgba(255, 200, 61, .22), transparent 70%),
        var(--panel);
    box-shadow: 0 0 0 1px rgba(255, 200, 61, .1), 0 30px 60px rgba(0, 0, 0, .45);
}
.mvp-spot .crown { width: 90px; height: 62px; display: block; margin: -16px auto 6px; animation: float2 3s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(255, 200, 61, .75)); }
@keyframes float2 { 50% { transform: translateY(-6px); } }
.mvp-spot .kicker { font-family: var(--display); font-size: 12px; letter-spacing: 5px; color: var(--gold); }
.mvp-spot .mname { font-family: var(--display); font-size: clamp(26px, 4vw, 38px); font-weight: 900; color: #fff; margin: 6px 0 16px; word-break: break-word; }
.mvp-spot .stats { max-width: 760px; margin: 0 auto; }
.mvp-spot .feats { margin-top: 14px; }
.mvp-spot .feats .tag { font-size: 13px; padding: 4px 10px; }

.mine { border-color: rgba(0, 200, 255, .35); }
.mine .gain { font-family: var(--display); font-size: 42px; font-weight: 900; line-height: 1; }

/* ------------------------------------------------------------ ranks page */

.ladder { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.rung {
    text-align: center;
    padding: 18px 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--line);
    transition: transform .15s, border-color .15s;
}
.rung:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .18); }
.rung.me { border-color: rgba(0, 200, 255, .5); background: rgba(0, 200, 255, .07); }
.rung .emb-xl { display: block; margin: 0 auto 10px; }
.rung .from { color: var(--muted); font-size: 14px; margin-top: 6px; }
.rung .cnt { margin-top: 8px; font-size: 14px; color: #c3c9d6; }
.rung .cnt b { color: #fff; }
.dist { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .06); margin-top: 8px; overflow: hidden; }
.dist i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), #6ae3ff); }

/* ------------------------------------------------------------ commands */

.cmds td:first-child { white-space: nowrap; }
.cmd { font-family: var(--display); font-weight: 800; font-size: 14px; color: #fff; }
.cmd + .cmd { margin-left: 6px; }

/* ------------------------------------------------------------ lists, pager, footer */

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); }
.rows li:last-child { border-bottom: 0; }
.rows .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.rows .grow a { color: #fff; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 18px; flex-wrap: wrap; }
.pager a, .pager .gap { min-width: 38px; padding: 7px 10px; border-radius: 9px; text-align: center; font-weight: 700; }
.pager a { background: rgba(255, 255, 255, .05); color: #c3c9d6; border: 1px solid var(--line); }
.pager a.on, .pager a:hover { background: var(--red-soft); color: #fff; border-color: rgba(255, 45, 75, .45); }
.pager .gap { color: var(--muted); }

.foot { border-top: 1px solid var(--line); background: rgba(6, 8, 12, .8); }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 26px 20px; display: flex; gap: 30px; flex-wrap: wrap; justify-content: space-between; color: var(--muted); font-size: 15px; }
.foot-in p { margin: 6px 0 0; }
.logo.small { font-size: 15px; }
.foot-cmds b { display: block; color: #fff; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; }

/* ------------------------------------------------------------ small screens */

@media (max-width: 900px) {
    .bar-in { flex-wrap: wrap; gap: 10px; }
    .nav { order: 3; width: 100%; overflow-x: auto; }
    .search { margin-left: auto; }
    .search input, .search input:focus { width: 170px; }
    .grid-2 { grid-template-columns: 1fr; }
    .podium { grid-template-columns: 1fr; }
    .pod-1 { order: -1; }
    .pod, .pod-1, .pod-2, .pod-3 { min-height: 0; }
    .opt { display: none; }
}
@media (max-width: 560px) {
    .page { padding: 14px 12px 40px; }
    .hero-in { padding: 24px 20px; }
    .panel { padding: 16px 14px; }
    .counter { min-width: calc(50% - 6px); }
    .tbl td { padding: 9px 6px; }
    .kdbar { display: none; }
}

.stat svg.ico { width: 28px; height: 20px; }

.sb-winner { font-family: var(--display); font-weight: 900; font-size: clamp(18px, 2.6vw, 26px); letter-spacing: 3px; color: var(--green); text-shadow: 0 0 20px rgba(61, 220, 132, .5); margin: 6px 0 2px; }
.sb-split { color: #c3c9d6; margin-top: 6px; }
.sb-split b { color: #fff; }

/* ================================================================ 2.0: many servers, admin button, livelier look */

/* soft moving light + grid behind everything ( off with reduced motion ) */
.fx { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.fx-grid {
    position: absolute; inset: -2px;
    background-image: linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, #000 20%, transparent 75%);
}
.fx-glow { position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(110px); opacity: .22; }
.fx-a { background: var(--red); left: -180px; top: -220px; animation: drift-a 22s ease-in-out infinite alternate; }
.fx-b { background: var(--cyan); right: -240px; top: 30%; opacity: .1; animation: drift-b 28s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(180px, 120px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(-160px, -90px) scale(1.2); } }

/* header: server switcher, admin button */
.svg { width: 16px; height: 16px; flex: none; }
.logo span { white-space: nowrap; }
.btn-admin {
    padding: 9px 14px; font-size: 13px; letter-spacing: 1.2px; white-space: nowrap;
    background: rgba(255, 45, 75, .1); border: 1px solid rgba(255, 45, 75, .45); box-shadow: none; color: #ff9aa8;
}
.btn-admin:hover { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(255, 45, 75, .35); }

/* hero of a server */
.hero-home { min-height: 430px; }
.hero-home::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--red) 30%, var(--orange) 60%, transparent); opacity: .8;
}
.hero-small { min-height: 250px; }
.hero h1 span { white-space: nowrap; }
.hero h1 small { display: block; font-size: .5em; letter-spacing: 10px; color: var(--red); margin-top: 6px; text-shadow: 0 0 24px rgba(255, 45, 75, .5); }
.hero-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.hero-tags .eyebrow { margin-bottom: 0; }
.live {
    display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 20px; font-weight: 700; font-size: 13px; letter-spacing: 1px;
    text-transform: uppercase; color: #8dffbb; background: rgba(61, 220, 132, .1); border: 1px solid rgba(61, 220, 132, .4); white-space: nowrap;
}
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 220, 132, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(61, 220, 132, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 220, 132, 0); } }
.counter { position: relative; padding-left: 52px; min-width: 168px; transition: transform .18s, border-color .18s, background .18s; }
.counter:hover { transform: translateY(-3px); border-color: rgba(255, 45, 75, .45); background: rgba(255, 45, 75, .07); }
.counter .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); height: 24px; width: 24px; object-fit: contain; }
.counter b { font-variant-numeric: tabular-nums; }
.btn .addr { font-family: var(--body); font-weight: 600; letter-spacing: .5px; text-transform: none; opacity: .85; }
.btn-join { background: linear-gradient(135deg, #25c26e, #14934f); box-shadow: 0 10px 24px rgba(37, 194, 110, .3); }
.btn-join:hover { box-shadow: 0 14px 30px rgba(37, 194, 110, .45); }
.about { color: #c3c9d6; font-size: 18px; }

/* podium cards are links now */
a.pod { display: block; color: var(--text); }
a.pod:hover { color: var(--text); }
.pod .pmeta { flex-wrap: wrap; gap: 6px 16px; }
.pod-1::before {
    content: ""; position: absolute; inset: -1px; border-radius: 18px; padding: 1px; pointer-events: none;
    background: linear-gradient(140deg, rgba(255, 200, 61, .9), transparent 35%, transparent 65%, rgba(255, 200, 61, .5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}

/* places 4-10 */
.rows li { padding: 10px 8px; border-radius: 9px; transition: background .15s; }
.rows li:hover { background: rgba(255, 255, 255, .04); }
.rows .pts { font-family: var(--display); font-weight: 800; color: var(--cyan); min-width: 62px; text-align: right; font-variant-numeric: tabular-nums; }
.kdmini { color: var(--muted); font-size: 14px; white-space: nowrap; }

/* latest match + maps column */
.stack-col { display: grid; gap: 20px; align-content: start; }
.stack-col > .panel { margin-bottom: 0; }
.mcard-big .mcard-img { height: 150px; }
.mcard-big .mcard-score { font-size: 34px; }
.mcard-score .mid { color: #5f6778; font-size: .7em; }
.mcard-score .mid i { font-style: normal; }
.mcard-score .t { text-align: right; }
.mcard-score .ct.w { color: #6aa6ff; text-shadow: 0 0 18px rgba(106, 166, 255, .45); }
.mcard-score .t.w { color: #ffa25a; text-shadow: 0 0 18px rgba(255, 162, 90, .45); }
.mapbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.mapbars li { display: grid; grid-template-columns: 96px 1fr 30px auto; align-items: center; gap: 12px; }
.mb-name { font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mb-track { height: 8px; border-radius: 5px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.mb-track i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--red), var(--orange)); box-shadow: 0 0 12px rgba(255, 45, 75, .5); }
.mb-n { font-family: var(--display); font-weight: 800; color: #fff; text-align: right; font-size: 14px; }
.mb-split { font-size: 13px; white-space: nowrap; }
.mb-split .ct { color: #6aa6ff; }
.mb-split .t { color: #ffa25a; }

/* server list page */
.srv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.srv-card {
    position: relative; display: block; padding: 22px; border-radius: 18px; color: var(--text); overflow: hidden;
    background: var(--panel); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
    transition: transform .18s, border-color .18s, box-shadow .18s;
}
.srv-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--red), var(--orange)); }
.srv-card:hover { color: var(--text); transform: translateY(-4px); border-color: rgba(255, 45, 75, .45); box-shadow: 0 26px 50px rgba(0, 0, 0, .5); }
.srv-top { display: flex; align-items: flex-start; gap: 14px; }
.srv-top > div { flex: 1; min-width: 0; }
.srv-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: var(--red); background: var(--red-soft); border: 1px solid rgba(255, 45, 75, .35); flex: none; }
.srv-ico .svg { width: 22px; height: 22px; }
.srv-card h3 { margin: 0; font-family: var(--display); font-size: 19px; letter-spacing: 2px; color: #fff; }
.srv-card h3 b, .srv-card h3 small { color: var(--red); }
.srv-card h3 small { font-size: 11px; letter-spacing: 3px; }
.srv-card p { margin: 3px 0 0; color: var(--muted); }
.srv-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.srv-nums div { padding: 10px 12px; border-radius: 11px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.srv-nums b { display: block; font-family: var(--display); font-size: 18px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.srv-nums span { font-size: 12px; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; }
.srv-lead { margin-top: 14px; color: var(--muted); }
.srv-lead b { color: var(--gold); }
.srv-go { position: absolute; right: 20px; bottom: 18px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; color: var(--cyan); opacity: 0; transition: opacity .18s; }
.srv-card:hover .srv-go { opacity: 1; }

/* sections fade up as they scroll into view ( only when the script runs ) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-home .hero-in > * { animation: rise .7s cubic-bezier(.2, .8, .2, 1) both; }
.hero-home .hero-in > *:nth-child(2) { animation-delay: .06s; }
.hero-home .hero-in > *:nth-child(3) { animation-delay: .12s; }
.hero-home .hero-in > *:nth-child(4) { animation-delay: .18s; }
.hero-home .hero-in > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.foot-links { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; }

@media (max-width: 900px) {
    .btn-admin span { display: none; }
    .btn-admin { padding: 9px 11px; }
    .mapbars li { grid-template-columns: 84px 1fr 28px; }
    .foot-links { align-items: flex-start; }
}
@media (max-width: 560px) {
    .hero-home { min-height: 0; }
    .counter { min-width: calc(50% - 6px); padding-left: 46px; }
    .counter b { font-size: 21px; }
    .srv-grid { grid-template-columns: 1fr; }
    .srv-nums b { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .fx-glow, .live i, .logo-dot, .pod-1 .crown { animation: none; }
    .hero-home .hero-in > * { animation: none; }
}
.logo small, .hero h1 small, .srv-card h3 small { text-transform: uppercase; }
.tag-knife { background: rgba(223, 229, 238, .12); color: #dfe5ee; white-space: nowrap; }
.ico-k { height: 10px; width: auto; vertical-align: -1px; margin-right: 5px; }
.stat .ico { height: 22px; width: auto; max-width: 56px; object-fit: contain; }
@media (max-width: 900px) {
    .podium { gap: 46px; margin-top: 44px; }
}
@media (max-width: 560px) {
    .counters { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .counter { min-width: 0; padding: 11px 10px 11px 44px; }
    .counter .ico { left: 11px; }
    .counter span { font-size: 11px; letter-spacing: 1px; }
    .btns .btn { padding: 10px 14px; }
}

/* ================================================================ 2.1: animated like the panel
   Moving grid, drifting glows, a light sweep and rising embers behind everything;
   content that rises, grows and shimmers. All of it stops with "reduce motion". */

/* layers: artwork ( -3 ) < dark gradient ( -2 ) < animated background ( -1 ) < page */
body::before { z-index: -3; }
body::after { z-index: -2; }
.fx { z-index: -1; }

.fx-grid {
    inset: -64px;
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 20%, transparent 78%);
    mask-image: radial-gradient(ellipse 85% 75% at 50% 30%, #000 20%, transparent 78%);
    animation: fx-pan 24s linear infinite;
}
@keyframes fx-pan { to { transform: translate3d(64px, 64px, 0); } }

.fx-glow { filter: none; opacity: 1; will-change: transform; }
.fx-a {
    width: 70vmax; height: 70vmax; left: -22vmax; top: -30vmax;
    background: radial-gradient(closest-side, rgba(255, 45, 75, .20), rgba(255, 45, 75, .06) 55%, transparent);
    animation: fx-drift-a 28s ease-in-out infinite alternate;
}
.fx-b {
    width: 60vmax; height: 60vmax; right: -24vmax; top: auto; bottom: -30vmax;
    background: radial-gradient(closest-side, rgba(255, 107, 0, .13), rgba(164, 22, 26, .05) 55%, transparent);
    animation: fx-drift-b 34s ease-in-out infinite alternate;
}
.fx-c {
    width: 46vmax; height: 46vmax; right: -12vmax; top: 8vh;
    background: radial-gradient(closest-side, rgba(0, 200, 255, .08), transparent 70%);
    animation: fx-drift-c 40s ease-in-out infinite alternate;
}
@keyframes fx-drift-a { to { transform: translate3d(18vw, 12vh, 0) scale(1.15); } }
@keyframes fx-drift-b { to { transform: translate3d(-16vw, -14vh, 0) scale(1.1); } }
@keyframes fx-drift-c { to { transform: translate3d(-22vw, 18vh, 0) scale(1.2); } }

/* a soft line of light travelling down the page */
.fx-sweep {
    position: absolute; left: 0; right: 0; top: 0; height: 180px;
    background: linear-gradient(180deg, transparent, rgba(255, 45, 75, .05) 60%, rgba(255, 90, 110, .11) 99%, transparent);
    transform: translate3d(0, -190px, 0);
    animation: fx-sweep 14s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes fx-sweep { 0% { transform: translate3d(0, -190px, 0); } 55%, 100% { transform: translate3d(0, 110vh, 0); } }

/* embers rising from the bottom */
.fx-embers i {
    position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%;
    background: #ff5a6e; box-shadow: 0 0 8px 2px rgba(255, 70, 90, .6); opacity: 0;
    animation: fx-ember 16s linear infinite;
}
.fx-embers i:nth-child(1)  { left: 6%;  animation-delay: 0s;   animation-duration: 17s; }
.fx-embers i:nth-child(2)  { left: 14%; animation-delay: -4s;  animation-duration: 21s; }
.fx-embers i:nth-child(3)  { left: 22%; animation-delay: -9s;  animation-duration: 15s; }
.fx-embers i:nth-child(4)  { left: 31%; animation-delay: -2s;  animation-duration: 23s; }
.fx-embers i:nth-child(5)  { left: 39%; animation-delay: -12s; animation-duration: 18s; }
.fx-embers i:nth-child(6)  { left: 47%; animation-delay: -6s;  animation-duration: 20s; }
.fx-embers i:nth-child(7)  { left: 55%; animation-delay: -15s; animation-duration: 16s; }
.fx-embers i:nth-child(8)  { left: 63%; animation-delay: -3s;  animation-duration: 22s; }
.fx-embers i:nth-child(9)  { left: 70%; animation-delay: -10s; animation-duration: 19s; }
.fx-embers i:nth-child(10) { left: 77%; animation-delay: -7s;  animation-duration: 24s; }
.fx-embers i:nth-child(11) { left: 84%; animation-delay: -13s; animation-duration: 17s; }
.fx-embers i:nth-child(12) { left: 90%; animation-delay: -1s;  animation-duration: 21s; }
.fx-embers i:nth-child(13) { left: 95%; animation-delay: -8s;  animation-duration: 18s; }
.fx-embers i:nth-child(14) { left: 35%; animation-delay: -17s; animation-duration: 26s; }
.fx-embers i:nth-child(3n) { background: #ffb347; box-shadow: 0 0 8px 2px rgba(255, 150, 60, .55); }
@keyframes fx-ember {
    0% { opacity: 0; transform: translate3d(0, 0, 0); }
    10% { opacity: .8; }
    50% { transform: translate3d(28px, -50vh, 0); }
    85% { opacity: .35; }
    100% { opacity: 0; transform: translate3d(-18px, -105vh, 0); }
}

/* ---- top bar: a thin running light under it, links that slide their underline in */
.bar::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--red) 20%, var(--orange) 50%, var(--red) 80%, transparent);
    background-size: 200% 100%; opacity: .7; animation: line-run 6s linear infinite;
}
@keyframes line-run { to { background-position: -200% 0; } }
.nav a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px;
    background: var(--red); box-shadow: 0 0 10px var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }

/* ---- hero: the artwork drifts slowly, the bottom line runs, the dash in the name glows */
.hero { animation: hero-pan 36s ease-in-out infinite alternate; }
@keyframes hero-pan { from { background-position: center 18%; } to { background-position: center 46%; } }
.hero-home::after { background-size: 200% 100%; animation: line-run 5s linear infinite; }
.hero h1 b { animation: dash-glow 2.8s ease-in-out infinite; }
@keyframes dash-glow { 50% { text-shadow: 0 0 44px rgba(255, 45, 75, .95), 0 0 12px rgba(255, 45, 75, .8); } }
.counter .ico { animation: bob 4s ease-in-out infinite; }
.counter:nth-child(2) .ico { animation-delay: -1s; }
.counter:nth-child(3) .ico { animation-delay: -2s; }
.counter:nth-child(4) .ico { animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(calc(-50% - 3px)); } }

/* ---- buttons: a shine that crosses them on hover */
.btn { position: relative; overflow: hidden; }
.btn::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-18deg); pointer-events: none;
}
.btn:hover::after { animation: shine .7s ease; }
@keyframes shine { to { left: 130%; } }
.btn-join { animation: join-pulse 2.6s ease-in-out infinite; }
@keyframes join-pulse { 50% { box-shadow: 0 10px 34px rgba(37, 194, 110, .55), 0 0 0 6px rgba(37, 194, 110, .08); } }

/* ---- section titles: the red bar breathes */
.title::before { animation: bar-breathe 2.6s ease-in-out infinite; }
@keyframes bar-breathe { 50% { box-shadow: 0 0 18px var(--red), 0 0 4px var(--red); transform: scaleY(1.15); } }

/* ---- podium: #1 glows and its points shimmer, crowns float, emblems tilt on hover */
.pod-1 { animation: gold-pulse 3.4s ease-in-out infinite; }
@keyframes gold-pulse {
    50% { box-shadow: 0 0 0 1px rgba(255, 200, 61, .3), 0 30px 80px rgba(255, 200, 61, .24), 0 20px 40px rgba(0, 0, 0, .45); }
}
.pod-1 .ppoints {
    background: linear-gradient(100deg, #ffc83d 20%, #fff3c4 40%, #ffc83d 60%); background-size: 220% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
    filter: drop-shadow(0 0 14px rgba(255, 200, 61, .45)); animation: shimmer 3.6s linear infinite;
}
.pod-1 .ppoints small { color: var(--muted); -webkit-text-fill-color: var(--muted); }
@keyframes shimmer { to { background-position: -220% 0; } }
.pod-2 .crown, .pod-3 .crown { animation: float 3.6s ease-in-out infinite; }
.pod-3 .crown { animation-delay: -1.4s; }
.pod .emb-xl { transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.pod:hover .emb-xl { transform: scale(1.12) rotate(-3deg); }

/* ---- things that come in one after another once their section is on screen */
.js .podium.reveal .pod { opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .9, .2, 1); }
.js .podium.reveal.in .pod { opacity: 1; transform: none; }
.js .podium.reveal.in .pod-1 { transition-delay: .05s; }
.js .podium.reveal.in .pod-2 { transition-delay: .18s; }
.js .podium.reveal.in .pod-3 { transition-delay: .3s; }
.js .matches.reveal .mcard, .js .srv-grid.reveal .srv-card, .js .ladder .rung { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1), border-color .18s, box-shadow .18s; }
.js .matches.reveal.in .mcard, .js .srv-grid.reveal.in .srv-card, .js .ladder.in .rung { opacity: 1; transform: none; }
.js .reveal.in > :nth-child(2), .js .ladder.in > :nth-child(2) { transition-delay: .06s; }
.js .reveal.in > :nth-child(3), .js .ladder.in > :nth-child(3) { transition-delay: .12s; }
.js .reveal.in > :nth-child(4), .js .ladder.in > :nth-child(4) { transition-delay: .18s; }
.js .reveal.in > :nth-child(5), .js .ladder.in > :nth-child(5) { transition-delay: .24s; }
.js .reveal.in > :nth-child(6), .js .ladder.in > :nth-child(6) { transition-delay: .3s; }
.js .reveal.in > :nth-child(7), .js .ladder.in > :nth-child(7) { transition-delay: .36s; }
.js .reveal.in > :nth-child(n+8), .js .ladder.in > :nth-child(n+8) { transition-delay: .42s; }

/* rows of lists and tables slide in */
.rows li, .tbl tbody tr { animation: row-in .45s cubic-bezier(.2, .8, .2, 1) backwards; }
.rows li:nth-child(2), .tbl tbody tr:nth-child(2) { animation-delay: .04s; }
.rows li:nth-child(3), .tbl tbody tr:nth-child(3) { animation-delay: .08s; }
.rows li:nth-child(4), .tbl tbody tr:nth-child(4) { animation-delay: .12s; }
.rows li:nth-child(5), .tbl tbody tr:nth-child(5) { animation-delay: .16s; }
.rows li:nth-child(6), .tbl tbody tr:nth-child(6) { animation-delay: .2s; }
.rows li:nth-child(7), .tbl tbody tr:nth-child(7) { animation-delay: .24s; }
.rows li:nth-child(8), .tbl tbody tr:nth-child(8) { animation-delay: .28s; }
.rows li:nth-child(9), .tbl tbody tr:nth-child(9) { animation-delay: .32s; }
.rows li:nth-child(n+10), .tbl tbody tr:nth-child(n+10) { animation-delay: .36s; }
@keyframes row-in { from { opacity: 0; transform: translateX(-14px); } }

/* bars grow from the left */
.mb-track i, .bar-track i, .kdbar i, .dist i { transform-origin: left; animation: grow 1s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: .25s; }
@keyframes grow { from { transform: scaleX(0); } }
.bar-track i { position: relative; overflow: hidden; }
.bar-track i::after {
    content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
    transform: translateX(-100%); animation: bar-shine 2.8s ease-in-out infinite 1.2s;
}
@keyframes bar-shine { 60%, 100% { transform: translateX(100%); } }

/* ---- cards: a light that follows the top edge on hover, pictures zoom a little */
.panel, .mcard, .stat, .rung { transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.panel:hover { border-color: rgba(255, 255, 255, .14); }
.stat:hover { transform: translateY(-3px); border-color: rgba(255, 45, 75, .4); }
.stat:hover::after { transform: scale(1.6); }
.stat::after { transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.mcard-img .mapimg { transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.mcard:hover .mapimg { transform: scale(1.09); }
.mcard-score .w { animation: none; }
.mcard:hover .mcard-score .w { animation: score-pop .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes score-pop { 40% { transform: scale(1.18); } }
.mcard-score span { display: inline-block; }

/* ---- match page: the winning score lands, the MVP card glows */
.sb-side.win .sb-num { animation: score-land .8s cubic-bezier(.2, 1.4, .4, 1) backwards .15s, win-glow 3s ease-in-out infinite 1s; }
@keyframes score-land { from { opacity: 0; transform: scale(1.6); } }
@keyframes win-glow { 50% { text-shadow: 0 0 60px rgba(61, 220, 132, .9); } }
.mvp-spot { animation: gold-pulse 3.4s ease-in-out infinite; }
.live i, .dot { animation: ping 1.8s infinite; }

/* ---- footer line */
.foot { position: relative; }
.foot::before {
    content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--red) 30%, var(--orange) 60%, transparent); background-size: 200% 100%; opacity: .5; animation: line-run 8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .fx-sweep, .fx-embers { display: none; }
    .js .reveal, .js .podium.reveal .pod, .js .matches.reveal .mcard, .js .srv-grid.reveal .srv-card, .js .ladder .rung { opacity: 1 !important; transform: none !important; }
}

/* search: SteamID column */
.mono { font-family: ui-monospace, Consolas, monospace; font-size: .88em; }

/* header fit ( 2026-10-14 ): logo + servers + 5 links + search + admin button did not fit
   in 1180 px - the Admin button was pushed past the edge and cut off */
.bar-in { max-width: 1320px; gap: 14px; }
.nav { min-width: 0; gap: 2px; }
.nav a { padding: 8px 10px; letter-spacing: 1.2px; white-space: nowrap; }
.search { flex: none; }
.search input { width: 180px; }
.search input:focus { width: 220px; }
.btn-admin { flex: none; display: inline-flex; align-items: center; gap: 7px; }
@media (max-width: 1200px) {
    .btn-admin span { display: none; }
    .btn-admin { padding: 9px 11px; }
    .search input, .search input:focus { width: 160px; }
}
/* below 1080 px the links get their own row under logo / search / button
   ( flex-basis 100%: with flex: 1 alone the basis is 0 and the row never wrapped ) */
@media (max-width: 1080px) {
    .bar-in { flex-wrap: wrap; gap: 10px 12px; }
    .nav { order: 3; flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; }
    .nav::-webkit-scrollbar { display: none; }
    .search { margin-left: auto; }
}
/* phones: the search box takes the room that is left, the admin button stays next to it */
@media (max-width: 640px) {
    .search { flex: 1 1 150px; margin-left: 0; }
    .search input, .search input:focus { width: 100%; }
}


/* ======================================================================
   2.1.0 ( 2026-10-27, mixpanel.spkhosting.com ): SPK Hosting logo, the server
   button + menu in the header, every server gets the centred hero with its name
   ====================================================================== */

/* ---- logo ( header + footer ) */
.logo .logo-img { display: block; height: 38px; width: auto; filter: drop-shadow(0 0 10px rgba(255, 45, 75, .3)); transition: filter .3s, transform .3s; }
.logo:hover .logo-img { filter: drop-shadow(0 0 16px rgba(255, 45, 75, .65)); transform: translateY(-1px); }
.logo .logo-img + small {
    align-self: center; margin-left: 12px; padding: 2px 0 2px 12px; border-left: 1px solid rgba(255, 45, 75, .35);
    font-size: 12px; letter-spacing: 5px; line-height: 1.2;
}
.logo.small { flex-wrap: wrap; }
.logo.small .logo-img { height: 46px; margin: 0 0 8px -2px; }
.foot-srv { color: #fff; font-weight: 700; }

/* ---- server button: which server you are on ( a menu when there are several ) */
.srv-menu { position: relative; flex: none; min-width: 0; }
.sm-btn {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; max-width: 250px;
    padding: 5px 8px 5px 5px; border-radius: 13px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .11);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 6px 18px rgba(0, 0, 0, .25);
    transition: border-color .2s, background .2s, box-shadow .2s;
    -webkit-user-select: none; user-select: none;
}
.sm-btn::-webkit-details-marker { display: none; }
.sm-btn::marker { content: ""; }
.sm-ico {
    flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: #fff;
    background: linear-gradient(145deg, #ff4560, #b3122b);
    box-shadow: 0 4px 14px rgba(255, 45, 75, .4), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.sm-ico .svg { width: 17px; height: 17px; }
.sm-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; padding-right: 2px; }
.sm-txt small { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.sm-txt b { font-size: 15.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-chev {
    flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px;
    color: #c3c9d6; background: rgba(255, 255, 255, .06); transition: transform .25s cubic-bezier(.2, .8, .2, 1), color .2s, background .2s;
}
.sm-chev .svg { width: 14px; height: 14px; }
details.srv-menu > .sm-btn:hover, details.srv-menu[open] > .sm-btn {
    border-color: rgba(255, 45, 75, .5);
    background: linear-gradient(180deg, rgba(255, 45, 75, .14), rgba(255, 45, 75, .04));
    box-shadow: 0 0 0 3px rgba(255, 45, 75, .1), 0 10px 26px rgba(0, 0, 0, .35);
}
details.srv-menu > .sm-btn:hover .sm-chev { color: #fff; }
details.srv-menu[open] .sm-chev { transform: rotate(180deg); color: #fff; background: var(--red); box-shadow: 0 0 12px rgba(255, 45, 75, .6); }
details.srv-menu > .sm-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.srv-menu.one .sm-btn { cursor: default; }

/* the menu */
.srv-list {
    position: absolute; top: calc(100% + 12px); left: 0; z-index: 60; width: 330px; max-width: calc(100vw - 24px); padding: 8px;
    border-radius: 16px; background: rgba(13, 16, 23, .97); border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 50px rgba(255, 45, 75, .08);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform-origin: 30px top; animation: sm-in .2s cubic-bezier(.2, .8, .2, 1);
}
.srv-list::before {
    content: ""; position: absolute; top: -6px; left: 22px; width: 11px; height: 11px; transform: rotate(45deg);
    background: rgb(13, 16, 23); border-left: 1px solid rgba(255, 255, 255, .1); border-top: 1px solid rgba(255, 255, 255, .1);
}
@keyframes sm-in { from { opacity: 0; transform: translateY(-8px) scale(.97); } }
.sm-head {
    display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 9px;
    font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
}
.sm-head em { font-style: normal; font-size: 12px; letter-spacing: 0; padding: 1px 9px; border-radius: 20px; background: rgba(255, 255, 255, .07); color: #c3c9d6; }
.srv-list a {
    display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: #c3c9d6;
    border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.srv-list a + a { margin-top: 2px; }
.srv-list a:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .06); color: #fff; }
.srv-list a.on { background: linear-gradient(90deg, rgba(255, 45, 75, .17), rgba(255, 45, 75, .04)); border-color: rgba(255, 45, 75, .32); color: #fff; }
.sm-mono {
    flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
    font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: 1px; color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 4px 12px rgba(0, 0, 0, .35);
}
.sm-c0 { background: linear-gradient(145deg, #ff4560, #a3122a); }
.sm-c1 { background: linear-gradient(145deg, #1fc0f0, #0a5f8c); }
.sm-c2 { background: linear-gradient(145deg, #ff9a3c, #b34700); }
.sm-c3 { background: linear-gradient(145deg, #a27bff, #4b2aa8); }
.sm-c4 { background: linear-gradient(145deg, #3ddc84, #13784a); }
.sm-c5 { background: linear-gradient(145deg, #ffcf55, #a87800); }
.sm-name { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.2; }
.sm-name b { font-size: 16.5px; color: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm-name small { font-size: 13px; color: var(--muted); }
.srv-list a.on .sm-name small { color: #ff9aa8; }
.sm-end { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; color: var(--muted); transition: transform .15s, color .15s; }
.sm-end .svg { width: 14px; height: 14px; }
.srv-list a:hover .sm-end { color: #fff; transform: translateX(2px); }
.srv-list a.on .sm-end { background: var(--red); color: #fff; transform: none; box-shadow: 0 0 12px rgba(255, 45, 75, .6); }
.srv-list a.all {
    margin-top: 6px; padding: 11px 10px; gap: 10px; border-top: 1px solid var(--line); border-radius: 0 0 10px 10px;
    font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan);
}
.srv-list a.all span { flex: 1; }
.srv-list a.all:hover { background: rgba(0, 200, 255, .07); border-color: transparent; color: #8be9ff; }

/* ---- home hero: centred, the server's name big */
.hero-home::before {
    background:
        linear-gradient(90deg, rgba(6, 8, 12, .96) 0%, rgba(6, 8, 12, .86) 38%, rgba(6, 8, 12, .4) 70%, rgba(6, 8, 12, .15) 100%),
        linear-gradient(0deg, rgba(6, 8, 12, .95) 0%, transparent 60%);
}
.hero-logo-center .hero-in { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-logo-center .hero-tags, .hero-logo-center .counters, .hero-logo-center .btns { justify-content: center; }
.hero-logo-center p { margin-left: auto; margin-right: auto; }
.hero-logo-center::before {
    background:
        radial-gradient(ellipse 70% 85% at 50% 42%, rgba(6, 8, 12, .9) 0%, rgba(6, 8, 12, .72) 55%, rgba(6, 8, 12, .45) 100%),
        linear-gradient(0deg, rgba(6, 8, 12, .95) 0%, transparent 55%);
}
.hero h1.hero-name {
    margin: 8px 0 18px; font-size: clamp(40px, 6.6vw, 80px); letter-spacing: 5px; line-height: 1;
    animation: name-in .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hero h1.hero-name small {
    display: flex; align-items: center; justify-content: center; gap: 14px; margin: 14px -9px 0 0;
    font-size: 17px; letter-spacing: 9px; color: #eef0f5; text-shadow: none;
}
.hero h1.hero-name small::before, .hero h1.hero-name small::after {
    content: ""; flex: none; width: 46px; height: 3px; border-radius: 3px;
    background: linear-gradient(90deg, var(--red), var(--orange)); box-shadow: 0 0 12px rgba(255, 45, 75, .6);
}
.hero h1.hero-name small::after { margin-left: 5px; background: linear-gradient(270deg, var(--red), var(--orange)); }
@keyframes name-in { from { opacity: 0; transform: translateY(10px) scale(.98); filter: blur(4px); } }

@media (max-width: 720px) {
    .logo .logo-img { height: 32px; }
    .logo .logo-img + small { font-size: 11px; letter-spacing: 4px; margin-left: 9px; padding-left: 9px; }
    .hero h1.hero-name { letter-spacing: 3px; }
    .hero h1.hero-name small { font-size: 14px; letter-spacing: 7px; margin-right: -7px; }
    .hero h1.hero-name small::before, .hero h1.hero-name small::after { width: 34px; }
}
/* phones: logo, server button and admin button share the first row, the name shortens */
@media (max-width: 640px) {
    .logo .logo-img + small { display: none; }
    .sm-btn { max-width: 190px; gap: 8px; padding: 4px 6px 4px 4px; }
    .sm-ico { width: 30px; height: 30px; }
    .sm-txt b { font-size: 14px; }
    .srv-list { position: fixed; top: auto; left: 12px; right: 12px; width: auto; margin-top: 12px; }
    .srv-list::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .logo .logo-img, .sm-chev { transition: none; }
    .srv-list, .hero h1.hero-name { animation: none; }
}

/* ======================================================================
   2.2.0 site look v5 ( 2026-10-28, user: "same style for the homepage ... exactly like login page ... it looks ugly the buttons etc
   everything" + "same dark style etc colors" ): the look of the panel login ( login page v5 = panel.spikefresh.com ) on the whole
   public site. The login black ( page #07070a, cards rgba(13, 13, 18, .9) ), one drifting red glow + the red grid floor + embers
   behind everything ( no CS artwork ), the panel's font ( Inter / Segoe UI, no Orbitron / Rajdhani ), red instead of cyan,
   the light running around the hero card and #1, red gradient buttons with the light sweep, inputs like the login fields.
   ====================================================================== */
:root {
    --red: #ff3b50;
    --red-soft: rgba(229, 36, 59, .14);
    --cyan: #ff5a6c;   /* links and highlights were cyan - the login's red now */
    --orange: #ff8a5c;
    --bg: #07070a;
    --panel: rgba(13, 13, 18, .9);
    --panel-solid: #0e0e12;
    --line: rgba(255, 255, 255, .08);
    --text: #ededf2;
    --muted: #8c8c98;
    --display: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    --body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
body { font-size: 15px; line-height: 1.5; background: var(--bg); -webkit-font-smoothing: antialiased; }
body::before, body::after { content: none; }   /* plain dark like the login: no artwork, no blue haze */
a { color: #ff5a6c; }
a:hover { color: #ff8a96; }

/* ---- background: the login's glow + grid floor ( embers stay ) */
.fx-grid, .fx-sweep, .fx-glow { display: none; }
.fx::before {
    content: ""; position: absolute; inset: -20%;
    background:
        radial-gradient(38% 34% at 22% 30%, rgba(229, 36, 59, .30), transparent 70%),
        radial-gradient(34% 30% at 80% 72%, rgba(229, 36, 59, .22), transparent 70%),
        radial-gradient(30% 26% at 70% 18%, rgba(255, 120, 60, .10), transparent 70%);
    filter: blur(10px);
    animation: authfx-drift 22s ease-in-out infinite alternate;
}
.fx::after {
    content: ""; position: absolute; left: -60%; right: -60%; bottom: 0; height: 100vh;
    background-image: linear-gradient(rgba(229, 36, 59, .5) 2px, transparent 2px), linear-gradient(90deg, rgba(229, 36, 59, .5) 2px, transparent 2px);
    background-size: 64px 64px;
    transform: perspective(700px) rotateX(56deg); transform-origin: 50% 100%;
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .35) 40%, transparent 70%);
    mask-image: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .35) 40%, transparent 70%);
    animation: authfx-floor 2.4s linear infinite;
}
@keyframes authfx-drift { 0% { transform: translate(-4%, -3%) rotate(0deg); } 100% { transform: translate(4%, 3%) rotate(8deg); } }
@keyframes authfx-floor { from { background-position: 0 0, 0 0; } to { background-position: 0 64px, 0 0; } }
@keyframes authfx-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes authfx-shine { to { background-position: -200% 0; } }
@keyframes authfx-dot { 50% { opacity: .35; } }
@keyframes authfx-sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@property --authfx-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes authfx-spin { to { --authfx-a: 360deg; } }

/* ---- top bar ( v5.1, user: "i don't like the navbar and the buttons on the navbar, not modern ... look how good you did it on the
   login page" ): a floating glass card like the login card ( the light runs around it too ), the links in one dark field like the
   login inputs, the page you are on = the login button ( red gradient + sweep ) that slides to the link under the mouse ( site.js ),
   red icons like the login fields, "/" key hint in the search, admin button with a red gradient edge */
.bar {
    top: 10px; width: min(1320px, calc(100% - 24px)); margin: 10px auto 0; border: 0; border-radius: 18px;
    background: rgba(13, 13, 18, .8);
    -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6), 0 0 50px rgba(229, 36, 59, .12), inset 0 1px 0 rgba(255, 255, 255, .05);
    transition: background-color .3s, box-shadow .3s;
}
.bar.scrolled { background: rgba(10, 10, 14, .93); box-shadow: 0 24px 60px rgba(0, 0, 0, .75), 0 0 60px rgba(229, 36, 59, .18), inset 0 1px 0 rgba(255, 255, 255, .05); }
.bar::after {
    left: 0; right: 0; top: 0; bottom: 0; height: auto; z-index: 2; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 1;
    background: conic-gradient(from var(--authfx-a, 0deg), rgba(229, 36, 59, 0) 0deg, rgba(255, 70, 90, .9) 50deg, rgba(229, 36, 59, 0) 120deg,
                rgba(255, 255, 255, .07) 180deg, rgba(229, 36, 59, 0) 240deg, rgba(255, 70, 90, .55) 300deg, rgba(229, 36, 59, 0) 360deg);
    background-size: auto;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: authfx-spin 8s linear infinite;
}
.bar-in { max-width: none; padding: 9px 10px 9px 18px; gap: 12px; }
.logo .logo-img + small { display: none; }   /* the server button says which mix it is ( back when the links get their own row ) */
.nav {
    position: relative; flex: 0 1 auto; margin: 0 auto; gap: 2px; padding: 4px; border-radius: 14px;
    background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .45);
}
.nav a {
    z-index: 1; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 10px;
    font-size: 13.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .66);
    transition: color .25s, background-color .25s;
}
.nav a .svg { width: 16px; height: 16px; color: #ff5a6c; transition: color .25s, transform .3s cubic-bezier(.2, .8, .2, 1), filter .3s; }
.nav a:hover { color: #fff; background: none; }
.nav a:hover .svg { transform: translateY(-1px) scale(1.12); }
.nav a.on, .nav a.hot { color: #fff; background: none; box-shadow: none; }
.nav a:hover .svg, .nav a.on .svg, .nav a.hot .svg { filter: drop-shadow(0 0 6px rgba(255, 59, 80, .85)); }
.nav a::after { display: none; }
/* option B ( user's pick from nav_options.html, 2026-10-28 ): ONE glowing line glides under the link you hover and back to the page
   you are on ( site.js puts it under the text, without the link's padding ) - replaced the red button that slid along */
.nav-line {
    position: absolute; z-index: 2; left: 0; bottom: 6px; height: 2px; width: 0; border-radius: 2px; opacity: 0; pointer-events: none;
    background: linear-gradient(90deg, #ff3b50, #ff8a5c, #ff3b50);
    box-shadow: 0 0 10px rgba(255, 59, 80, .9), 0 -6px 18px rgba(255, 59, 80, .35);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1), width .45s cubic-bezier(.2, .8, .2, 1), opacity .25s;
}
/* without the script the page you are on gets a fixed line */
.nav:not(.has-line) a.on { box-shadow: inset 0 -2px 0 #ff3b50; }
.search { position: relative; }
.search::after {
    content: "/"; position: absolute; right: 9px; top: 50%; width: 20px; height: 20px; margin-top: -10px; display: grid; place-items: center;
    border-radius: 6px; font-size: 11px; font-weight: 700; line-height: 1; color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); pointer-events: none; transition: opacity .2s;
}
.search:focus-within::after { opacity: 0; }
.search input, .search input:focus { width: 210px; }
.search input {
    height: 40px; padding: 0 34px 0 36px; border-radius: 12px; font-size: 14px; font-weight: 500;
    background-color: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ff5a6c' stroke-width='2'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m11 11 4 4'/%3E%3C/svg%3E");
    background-position: 12px center;
    transition: border-color .2s, box-shadow .2s, background-color .2s, width .2s;
}
.search input::placeholder { color: rgba(255, 255, 255, .4); }
.search input:hover { border-color: rgba(255, 255, 255, .2); }
.search input:focus {
    background-color: rgba(229, 36, 59, .06); border-color: rgba(255, 70, 90, .85);
    box-shadow: 0 0 0 4px rgba(229, 36, 59, .16), 0 0 26px rgba(229, 36, 59, .22);
}
.sm-btn { border-radius: 12px; background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .1); box-shadow: none; }
.sm-ico { background: linear-gradient(135deg, #ff3b50 0%, #e5243b 45%, #a8101f 100%); box-shadow: 0 6px 16px rgba(229, 36, 59, .42), inset 0 1px 0 rgba(255, 255, 255, .25); }
.sm-txt small { font-size: 9.5px; letter-spacing: 1.6px; }
.sm-txt b { font-size: 14px; }
details.srv-menu > .sm-btn:hover, details.srv-menu[open] > .sm-btn {
    background: rgba(229, 36, 59, .08); border-color: rgba(255, 70, 90, .7); box-shadow: 0 0 0 4px rgba(229, 36, 59, .12);
}
.srv-list { background: rgba(13, 13, 18, .97); border-color: rgba(255, 255, 255, .09); box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 60px rgba(229, 36, 59, .12); }
.srv-list::before { background: rgb(13, 13, 18); }
.sm-mono { font-size: 12.5px; }
.sm-name b { font-size: 14.5px; }
.sm-name small { font-size: 12px; }
.srv-list a.on { background: rgba(229, 36, 59, .12); border-color: rgba(229, 36, 59, .38); }
.srv-list a.all { font-size: 11.5px; }
.srv-list a.all:hover { background: rgba(229, 36, 59, .08); color: #ff8a96; }

/* ---- buttons: the login button ( red gradient, light sweeping across ), ghosts like the login fields */
.btn {
    height: 48px; padding: 0 24px; justify-content: center; border: 0; border-radius: 12px;
    background: linear-gradient(135deg, #ff3b50 0%, #e5243b 45%, #a8101f 100%);
    font-family: var(--body); font-size: 13px; font-weight: 800; letter-spacing: 1.6px;
    box-shadow: 0 12px 30px rgba(229, 36, 59, .42), inset 0 1px 0 rgba(255, 255, 255, .25);
    transition: transform .2s, box-shadow .2s, filter .2s, background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 18px 40px rgba(229, 36, 59, .55), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); }
.btn:not(.ghost):not(.btn-admin):not(.btn-join)::after { animation: authfx-sweep 3.4s ease-in-out infinite; }
.btn.ghost { background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .12); box-shadow: none; color: #fff; }
.btn.ghost:hover { background: rgba(229, 36, 59, .08); border-color: rgba(255, 70, 90, .75); box-shadow: 0 0 0 4px rgba(229, 36, 59, .12); filter: none; }
.btn-join { background: linear-gradient(135deg, #34e07f 0%, #1fb463 45%, #0f7a40 100%); }
.btn-admin {
    height: 40px; padding: 0 16px; gap: 8px; font-size: 11.5px; letter-spacing: 1.4px; color: #fff; border: 1px solid transparent;
    background: linear-gradient(rgb(22, 12, 16), rgb(22, 12, 16)) padding-box, linear-gradient(135deg, #ff3b50, #ff8a5c 50%, #a8101f) border-box;
    box-shadow: 0 0 18px rgba(229, 36, 59, .2);
}
.btn-admin .svg { color: #ff5a6c; transition: color .2s; }
.btn-admin:hover {
    color: #fff; filter: none; box-shadow: 0 12px 30px rgba(229, 36, 59, .45);
    background: linear-gradient(135deg, #ff3b50 0%, #e5243b 45%, #a8101f 100%) padding-box, linear-gradient(135deg, #ff3b50, #ff8a5c 50%, #a8101f) border-box;
}
.btn-admin:hover .svg { color: #fff; }
.pager a { border-radius: 10px; background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .7); font-size: 14px; }
.pager a.on, .pager a:hover { background: rgba(229, 36, 59, .14); border-color: rgba(255, 70, 90, .7); color: #fff; }

/* ---- hero: the login card ( the light running around it ) over the CS artwork ( v5.1, user: "this card should have the cs background",
   then "i dont want that to be red, let it have its normal image color" ): the picture in its own colours, only a neutral dark shade where
   the text is + a fade at the bottom, slowly zooming. Layers: shade, bottom fade, the picture */
.hero, .hero.hero-stats, .hero.hero-match {
    --hero-shade: linear-gradient(90deg, rgba(9, 9, 13, .92) 0%, rgba(9, 9, 13, .72) 38%, rgba(9, 9, 13, .36) 72%, rgba(9, 9, 13, .2) 100%);
    --hero-tint: linear-gradient(0deg, rgba(9, 9, 13, .92) 0%, rgba(9, 9, 13, 0) 45%);
    min-height: 0; align-items: center; border: 0; border-radius: 22px;
    background: #0d0d12;
    box-shadow: 0 40px 90px rgba(0, 0, 0, .65), 0 0 60px rgba(229, 36, 59, .14);
    animation: authfx-in .7s cubic-bezier(.2, .8, .2, 1) both;
}
.hero.hero-match { --hero-shade: radial-gradient(ellipse 70% 90% at 50% 50%, rgba(9, 9, 13, .9) 0%, rgba(9, 9, 13, .74) 55%, rgba(9, 9, 13, .45) 100%); }
.hero-logo-center { --hero-shade: radial-gradient(ellipse 62% 84% at 50% 46%, rgba(9, 9, 13, .86) 0%, rgba(9, 9, 13, .62) 55%, rgba(9, 9, 13, .26) 100%); }
.hero::before, .hero-home::before, .hero-logo-center::before {
    inset: -4%;
    background-color: transparent;
    background-image: var(--hero-shade), var(--hero-tint), url('img/hero.jpg');
    background-size: auto, auto, cover;
    background-position: 0 0, 0 0, center 28%;
    background-repeat: no-repeat;
    background-blend-mode: normal;
    animation: hero-zoom 32s ease-in-out infinite alternate;
}
.hero.hero-stats::before { background-image: var(--hero-shade), var(--hero-tint), url('img/hero-stats.jpg'); }
.hero.hero-match::before { background-image: var(--hero-shade), var(--hero-tint), url('img/hero-match.jpg'); background-position: 0 0, 0 0, center; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.07) translate(-1.2%, 1%); } }
.hero::after, .hero-home::after {
    content: ""; position: absolute; inset: 0; height: auto; z-index: 3; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 1;
    background: conic-gradient(from var(--authfx-a, 0deg), rgba(229, 36, 59, 0) 0deg, rgba(255, 70, 90, .95) 60deg, rgba(229, 36, 59, 0) 140deg,
                rgba(255, 255, 255, .08) 200deg, rgba(229, 36, 59, 0) 260deg, rgba(255, 70, 90, .6) 320deg, rgba(229, 36, 59, 0) 360deg);
    background-size: auto;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: authfx-spin 6s linear infinite;
}
.hero-in { padding: 40px 38px; }
.eyebrow {
    font-family: var(--body); font-size: 11px; font-weight: 700; letter-spacing: 1.6px; color: #ff5a6c;
    padding: 6px 12px; border-radius: 999px; background: rgba(229, 36, 59, .1); border: 1px solid rgba(229, 36, 59, .38);
}
.live { font-size: 11px; letter-spacing: 1.4px; padding: 6px 12px; color: #7dffa9; background: rgba(46, 230, 107, .08); border-color: rgba(46, 230, 107, .35); }
.live i { background: #2ee66b; box-shadow: 0 0 10px #2ee66b; animation: authfx-dot 1.8s ease-in-out infinite; }
.hero h1 { font-weight: 800; font-size: clamp(30px, 4.4vw, 46px); letter-spacing: -1px; line-height: 1.08; text-shadow: none; }
.hero h1.hero-name { font-size: clamp(40px, 6vw, 70px); letter-spacing: -1.5px; margin: 14px 0 16px; }
/* the dash in the name: the login headline's moving red gradient */
.hero h1 b {
    background: linear-gradient(90deg, #ff3b50, #ff8a5c, #ff3b50); background-size: 200% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; text-shadow: none;
    filter: drop-shadow(0 0 18px rgba(229, 36, 59, .55));
    animation: authfx-shine 4s linear infinite;
}
.hero h1 small { font-size: 13px; font-weight: 800; letter-spacing: 6px; color: #ff5a6c; text-shadow: 0 0 18px rgba(229, 36, 59, .5); margin-top: 10px; }
.hero h1.hero-name small { font-size: 13px; letter-spacing: 8px; margin: 16px -8px 0 0; color: #ff5a6c; text-shadow: 0 0 18px rgba(229, 36, 59, .55); }
.hero h1.hero-name small::before, .hero h1.hero-name small::after { width: 40px; height: 2px; background: linear-gradient(90deg, transparent, #ff3b50); box-shadow: 0 0 10px rgba(229, 36, 59, .6); }
.hero h1.hero-name small::after { background: linear-gradient(270deg, transparent, #ff3b50); }
.hero p { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .66); }
.hero-logo-center p { max-width: 600px; }

/* counters: the login's fields, the icons in the red squares of the login's points */
.counters { gap: 12px; margin-top: 26px; }
.counter {
    min-width: 176px; padding: 12px 18px 12px 62px; border-radius: 14px; text-align: left;
    background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: none; backdrop-filter: none;
}
.counter:hover { transform: translateY(-3px); background: rgba(229, 36, 59, .06); border-color: rgba(255, 70, 90, .7); box-shadow: 0 0 0 4px rgba(229, 36, 59, .12), 0 0 26px rgba(229, 36, 59, .18); }
.counter .ico {
    left: 14px; width: 36px; height: 36px; padding: 7px; border-radius: 10px;
    background: rgba(229, 36, 59, .14); border: 1px solid rgba(229, 36, 59, .38); box-shadow: 0 0 14px rgba(229, 36, 59, .2);
}
.counter b { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.counter span { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; color: rgba(255, 255, 255, .55); }
.btns { gap: 12px; margin-top: 26px; }

/* ---- cards */
.panel {
    background: var(--panel); border: 1px solid rgba(255, 255, 255, .07); border-radius: 18px;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
}
.panel:hover { border-color: rgba(255, 255, 255, .12); }
.title { font-size: 17px; font-weight: 800; letter-spacing: -.2px; text-transform: none; }
.title::before { width: 4px; height: 18px; background: linear-gradient(180deg, #ff3b50, #a8101f); box-shadow: 0 0 12px rgba(229, 36, 59, .6); }
.panel-head { align-items: center; }
.panel-head a { font-size: 12.5px; font-weight: 600; letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .55); }
.panel-head a:hover { color: #ff5a6c; }
.notice, .about { font-size: 15px; }
.about { color: rgba(255, 255, 255, .7); }

/* podium: the same cards, #1 gets the running light in gold */
.pod { background: var(--panel); border: 1px solid rgba(255, 255, 255, .07); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.pod-1 { border-color: rgba(255, 200, 61, .18); background: linear-gradient(180deg, rgba(255, 200, 61, .12), rgba(13, 13, 18, .92) 55%); }
.pod-2 { border-color: rgba(215, 222, 233, .16); background: linear-gradient(180deg, rgba(215, 222, 233, .08), rgba(13, 13, 18, .92) 55%); }
.pod-3 { border-color: rgba(224, 145, 90, .18); background: linear-gradient(180deg, rgba(224, 145, 90, .10), rgba(13, 13, 18, .92) 55%); }
.pod-1::before {
    border-radius: 20px; padding: 1.5px;
    background: conic-gradient(from var(--authfx-a, 0deg), rgba(255, 200, 61, 0) 0deg, rgba(255, 214, 102, .95) 60deg, rgba(255, 200, 61, 0) 140deg,
                rgba(255, 255, 255, .08) 200deg, rgba(255, 200, 61, 0) 260deg, rgba(255, 214, 102, .6) 320deg, rgba(255, 200, 61, 0) 360deg);
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    animation: authfx-spin 6s linear infinite;
}
.pod .place { font-weight: 800; font-size: 20px; }
.pod .pname { font-size: 19px; }
.pod .ppoints { font-size: 28px; font-weight: 800; letter-spacing: -.5px; }
.pod-1 .ppoints { font-size: 34px; }
.pod .ppoints small { font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; margin-top: 2px; }
.pod .pmeta { font-size: 13px; }

/* rank badges: soft chips instead of solid blocks ( H was cyan - warm orange now ) */
.rk { min-width: 30px; padding: 3px 8px; border-radius: 7px; font-size: 11px; font-weight: 800; letter-spacing: .5px; color: #d4d4dc; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.rk-m { color: #5cf08f; background: rgba(46, 230, 107, .12); box-shadow: inset 0 0 0 1px rgba(46, 230, 107, .38); }
.rk-h { color: #ff9a6e; background: rgba(255, 122, 80, .13); box-shadow: inset 0 0 0 1px rgba(255, 122, 80, .42); }
.rk-p { color: #cba6ff; background: rgba(181, 123, 255, .14); box-shadow: inset 0 0 0 1px rgba(181, 123, 255, .42); }
.rk-g { color: #ffd36b; background: rgba(255, 200, 61, .14); box-shadow: inset 0 0 0 1px rgba(255, 200, 61, .5), 0 0 12px rgba(255, 200, 61, .3); }

/* lists and tables */
.rows li { border-radius: 10px; border-bottom-color: rgba(255, 255, 255, .05); }
.rows li:hover { background: rgba(229, 36, 59, .06); }
.rows .grow { font-weight: 600; }
.rows .grow a:hover, .tbl .nm a:hover { color: #ff5a6c; }
.rows .pts { color: #fff; font-weight: 800; letter-spacing: -.3px; }
.posn { min-width: 20px; text-align: center; font-weight: 800; font-size: 14px; color: rgba(255, 255, 255, .4); }
.kdmini { font-size: 12.5px; }
.tbl { font-size: 14px; }
.tbl th { font-size: 11px; letter-spacing: 1.4px; color: rgba(255, 255, 255, .5); border-bottom-color: rgba(255, 255, 255, .08); }
.tbl td { border-bottom-color: rgba(255, 255, 255, .05); }
.tbl tbody tr:hover td { background: rgba(229, 36, 59, .05); }
.tbl .nm { font-weight: 600; }
.tbl tr.me td { background: rgba(229, 36, 59, .08); }
.tbl .big { font-weight: 800; }
.tag { font-size: 10.5px; border-radius: 6px; }
.tag-4k { background: rgba(181, 123, 255, .16); color: #cba6ff; }
.stat { border-radius: 14px; background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .1); }
.stat::after { background: radial-gradient(closest-side, rgba(229, 36, 59, .10), transparent); }
.stat b { font-size: 22px; font-weight: 800; letter-spacing: -.5px; }
.stat span { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; color: rgba(255, 255, 255, .55); }

/* match cards + map bars */
.mcard { border-radius: 16px; background: var(--panel-solid); border-color: rgba(255, 255, 255, .07); }
.mcard:hover { border-color: rgba(255, 70, 90, .65); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 30px rgba(229, 36, 59, .16); }
.mcard-img { background: linear-gradient(135deg, #1a1a20, #0e0e12); }
.mcard-img::after { background: linear-gradient(0deg, var(--panel-solid) 0%, rgba(14, 14, 18, .1) 70%); }
.mcard-map { font-weight: 800; font-size: 15px; letter-spacing: -.2px; }
.mcard-when { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: rgba(7, 7, 10, .72); border: 1px solid rgba(255, 255, 255, .1); }
.mcard-score { font-weight: 800; letter-spacing: -.5px; }
.mcard-score .side { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; }
.mcard-score .l, .mcard-score .mid { color: rgba(255, 255, 255, .3); }
.mcard-mvp { font-size: 13px; border-top-color: rgba(255, 255, 255, .07); }
.mb-name { font-weight: 600; font-size: 14px; }
.mb-track { background: rgba(255, 255, 255, .06); }
.mb-track i { background: linear-gradient(90deg, #a8101f, #ff3b50 60%, #ff8a5c); box-shadow: 0 0 12px rgba(229, 36, 59, .5); }
.mb-n { font-weight: 800; }
.mb-split { font-size: 12px; }

/* player, match, ranks, servers pages */
.profile .who-name { font-weight: 800; letter-spacing: -1px; }
.profile .who-sub { font-size: 15px; color: rgba(255, 255, 255, .7); }
.progress-top { font-size: 13px; }
.bar-track { background: rgba(255, 255, 255, .06); }
.bar-track i { background: linear-gradient(90deg, #a8101f, #ff3b50 60%, #ff8a5c); box-shadow: 0 0 14px rgba(229, 36, 59, .55); }
.sb-num { font-weight: 800; letter-spacing: -3px; color: rgba(255, 255, 255, .3); }
.sb-vs { color: rgba(255, 255, 255, .3); }
.sb-lbl { font-size: 12px; letter-spacing: 1.6px; }
.sb-winner { font-weight: 800; letter-spacing: 2px; font-size: clamp(15px, 2vw, 20px); }
.sb-split { color: rgba(255, 255, 255, .66); }
.mvp-spot { border-radius: 22px; background: radial-gradient(600px 200px at 50% 0%, rgba(255, 200, 61, .18), transparent 70%), var(--panel); }
.mvp-spot .kicker { font-size: 11px; font-weight: 700; letter-spacing: 3px; }
.mvp-spot .mname { font-weight: 800; letter-spacing: -1px; }
.mine { border-color: rgba(229, 36, 59, .45); }
.mine .gain { font-weight: 800; letter-spacing: -1px; }
.rung { border-radius: 16px; background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .09); }
.rung:hover { border-color: rgba(255, 70, 90, .6); }
.rung.me { border-color: rgba(229, 36, 59, .55); background: rgba(229, 36, 59, .08); }
.rung .from, .rung .cnt { font-size: 13px; }
.dist i { background: linear-gradient(90deg, #a8101f, #ff3b50 60%, #ff8a5c); }
.cmd { font-weight: 800; }
.srv-card { border-radius: 20px; background: var(--panel); border-color: rgba(255, 255, 255, .07); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.srv-card:hover { border-color: rgba(255, 70, 90, .65); box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 30px rgba(229, 36, 59, .16); }
.srv-card::before { background: linear-gradient(180deg, #ff3b50, #a8101f); }
.srv-card h3 { font-weight: 800; letter-spacing: -.3px; }
.srv-ico { background: rgba(229, 36, 59, .14); border-color: rgba(229, 36, 59, .38); color: #ff5a6c; box-shadow: 0 0 14px rgba(229, 36, 59, .2); }
.srv-nums div { background: rgba(255, 255, 255, .045); border-color: rgba(255, 255, 255, .09); }
.srv-nums b { font-weight: 800; }
.srv-nums span { font-size: 10.5px; font-weight: 700; letter-spacing: 1.4px; }
.srv-go { font-size: 11.5px; }

/* footer */
.foot { background: rgba(7, 7, 10, .85); border-top-color: rgba(255, 255, 255, .06); }
.foot-in { font-size: 13.5px; }
.foot-cmds b { font-size: 11px; letter-spacing: 1.4px; }
.foot-links a { color: rgba(255, 255, 255, .55); }
.foot-links a:hover { color: #ff5a6c; }

/* top bar on smaller screens: admin button as an icon, then the links get their own row under logo / server / search */
@media (max-width: 1299px) {
    .btn-admin span { display: none; }
    .btn-admin { width: 40px; padding: 0; }
    .search input, .search input:focus { width: 190px; }
}
@media (max-width: 1199px) {
    .bar-in { flex-wrap: wrap; gap: 10px 12px; }
    .logo .logo-img + small { display: block; }
    .nav { order: 3; flex: 1 1 100%; margin: 0; overflow-x: auto; scrollbar-width: none; }
    .search { margin-left: auto; }
}
@media (max-width: 640px) {
    .bar { width: calc(100% - 16px); margin-top: 8px; top: 8px; border-radius: 16px; }
    .bar-in { padding: 8px 8px 8px 12px; }
    .logo .logo-img + small { display: none; }
    .search { flex: 1 1 150px; margin-left: 0; }
    .search input, .search input:focus { width: 100%; }
    .nav a { padding: 0 11px; font-size: 13px; }
}
@media (max-width: 560px) {
    .hero-in { padding: 28px 18px; }
    .counter { min-width: 0; padding: 11px 10px 11px 52px; }
    .counter .ico { left: 10px; width: 32px; height: 32px; padding: 6px; }
    .counter b { font-size: 20px; }
    .counter span { font-size: 9.5px; letter-spacing: 1px; }
    .btn { height: 44px; padding: 0 16px; }
}
/* end site look v5 */
