:root {
  --bg: #090909;
  --bg-2: #0f0f0f;
  --panel: #121212;
  --panel-2: #161616;
  --line: #222120;
  --line-2: #2e2c2a;
  --text: #eeece4;
  --text-2: #d0cdc5;
  --muted: #a6a39b;
  --dim: #6f6c66;
  --red: #ee0101;
  --red-2: #ff2a2a;
  --gold: #d8b45a;
  --gold-soft: #f2e2bb;
  --silver: #b9bcc0;
  --bronze: #b0754a;
  --green: #1dd65c;
  --display: "Barlow Condensed", "Arial Narrow", "Arial Black", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 14px/1.5 var(--body); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- labels / type ---------- */
.kicker, .label {
  font: 700 10.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.kicker { display: flex; align-items: center; gap: 8px; }
.kicker .red { color: var(--red); }
.section-kicker { color: var(--red); font: 700 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.h2 { font: 800 32px/1 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 10px 0 8px; }
.sub { color: var(--muted); max-width: 320px; margin: 0; font-size: 13px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 0 rgba(29,214,92,.6); animation: pulse 2s infinite; }
.dot.off { background: var(--red); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(29,214,92,.55); } 70% { box-shadow: 0 0 0 7px rgba(29,214,92,0); } 100% { box-shadow: 0 0 0 0 rgba(29,214,92,0); } }

/* ---------- topbar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(9,9,9,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar-in { height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--red); }
.brand-mark { width: 44px; height: 44px; flex: none; object-fit: contain; filter: drop-shadow(0 0 10px rgba(238,1,1,.35)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font: 900 22px/1 var(--display); color: var(--text); letter-spacing: .02em; text-transform: uppercase; }
.brand-text small { font: 700 8.5px/1 var(--display); letter-spacing: .22em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.nav { display: flex; gap: 4px; }
.nav a {
  font: 700 12.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  padding: 11px 14px; border: 1px solid transparent; display: flex; align-items: center; gap: 8px; transition: color .15s, border-color .15s;
}
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); border-color: var(--line-2); background: var(--panel); }
.nav a.active::before { content: ""; width: 5px; height: 5px; background: var(--red); }
.nav a[data-nav="live"].active::before { display: none; }
.burger { display: none; width: 40px; height: 40px; background: transparent; border: 1px solid var(--line-2); padding: 11px 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--text); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--red); transition: width .4s ease; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(900px 420px at 78% 40%, rgba(238,1,1,.22), transparent 60%),
    radial-gradient(600px 300px at 100% 100%, rgba(216,180,90,.10), transparent 70%),
    linear-gradient(180deg, #0d0d0d, #090909);
}
.hero-art { position: absolute; inset: 0; z-index: -1; opacity: .9; pointer-events: none; }
.hero-logo {
  position: absolute; right: 7%; top: 50%; width: 360px; height: auto; transform: translateY(-50%);
  filter: drop-shadow(0 0 40px rgba(238,1,1,.35)); opacity: .95;
}
.hero-art svg { position: absolute; right: -60px; top: 50%; transform: translateY(-50%); width: 720px; max-width: 80%; height: auto; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px);
}
.hero-in { padding: 70px 32px 0; }
.hero h1 {
  font: 900 clamp(54px, 9vw, 108px)/.88 var(--display); text-transform: uppercase; margin: 18px 0 20px; letter-spacing: -.005em;
}
.hero h1 .accent { color: var(--red); }
.hero p.lead { max-width: 470px; color: var(--text-2); font-size: 15px; line-height: 1.6; margin: 0 0 34px; }
.hero-stats { display: flex; gap: 0; border-top: 1px solid var(--line-2); margin-top: 8px; }
.hero-stat { padding: 16px 40px 22px 0; margin-right: 40px; }
.hero-stat + .hero-stat { padding-left: 0; }
.hero-stat .label { font-size: 10px; }
.hero-stat .v { font: 800 24px/1 var(--display); margin-top: 8px; font-variant-numeric: tabular-nums; }

/* ---------- sections ---------- */
.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.section-head .aside { text-align: right; font: 700 10px/1.5 var(--display); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }

/* ---------- podium ---------- */
.podium { display: grid; grid-template-columns: 1fr 1.18fr 1fr; gap: 12px; align-items: end; }
.pod {
  position: relative; background: linear-gradient(180deg, #151515, #101010); border: 1px solid var(--line-2);
  padding: 22px 18px 20px; text-align: center; display: block; transition: border-color .2s, transform .2s;
}
.pod:hover { transform: translateY(-3px); border-color: #3b3936; }
.pod.first { border-color: rgba(216,180,90,.55); background: linear-gradient(180deg, rgba(216,180,90,.13), rgba(216,180,90,.02) 70%), #121212; padding-top: 30px; padding-bottom: 26px; }
.pod.first:hover { border-color: var(--gold); }
.pod .crown { position: absolute; top: -26px; left: 50%; transform: translateX(-50%); width: 24px; color: var(--gold); }
.pod .place { font: 800 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.pod.first .place { color: var(--gold); }
.pod.second .place { color: var(--silver); }
.pod.third .place { color: var(--bronze); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center;
  font: 800 17px/1 var(--display); color: var(--text); background: #0c0c0c; flex: none; text-transform: uppercase;
}
.avatar { position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pod .avatar { width: 52px; height: 52px; margin: 16px auto 12px; font-size: 20px; }
.pod.first .avatar { width: 60px; height: 60px; border-color: rgba(216,180,90,.7); color: var(--gold-soft); }
.pod .name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pod .big { font: 800 34px/1 var(--display); margin-top: 12px; font-variant-numeric: tabular-nums; }
.pod.first .big { font-size: 44px; }
.pod .unit { font: 700 9px/1 var(--display); letter-spacing: .16em; color: var(--muted); text-transform: uppercase; margin-top: 5px; }
.pod .meta { display: flex; justify-content: center; gap: 22px; margin: 16px auto 0; padding-top: 12px; border-top: 1px solid var(--line-2); max-width: 220px; }
.pod .meta div { display: flex; flex-direction: column; gap: 4px; }
.pod .meta .label { font-size: 9px; }
.pod .meta b { font: 800 14px/1 var(--display); letter-spacing: .03em; text-transform: uppercase; }
.pod.empty { opacity: .35; }

/* ---------- tabs & filters ---------- */
.tabs { display: flex; gap: 36px; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.tab {
  background: none; border: 0; padding: 0 0 14px; font: 800 17px/1 var(--display); text-transform: uppercase; letter-spacing: .02em;
  color: var(--dim); position: relative;
}
.tab.active { color: var(--text); }
.tab.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); }
.filters { display: flex; flex-wrap: wrap; gap: 26px 36px; align-items: flex-end; margin-bottom: 24px; }
.filter .label { display: block; margin-bottom: 9px; font-size: 9.5px; }
.seg { display: inline-flex; border: 1px solid var(--line-2); }
.seg button {
  background: transparent; border: 0; border-right: 1px solid var(--line-2); padding: 9px 13px;
  font: 700 11px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); transition: background .15s;
}
.seg button:last-child { border-right: 0; }
.seg button:hover { background: #1a1a1a; }
.seg button.on { background: var(--red); color: #fff; }
.search { position: relative; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); width: 14px; color: var(--muted); }
.search input {
  width: 260px; background: #141414; border: 1px solid var(--line-2); color: var(--text); padding: 9px 12px 9px 33px; font: 13px var(--body); outline: none;
}
.search input:focus { border-color: #4a4744; }
.btn {
  background: transparent; border: 1px solid var(--line-2); padding: 9px 16px; font: 700 11px/1 var(--display);
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-2);
}
.btn:hover { border-color: #4a4744; color: var(--text); }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }

/* ---------- table ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font: 700 10px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 14px 10px; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); white-space: nowrap;
}
.table th.r, .table td.r { text-align: right; }
.table th.c, .table td.c { text-align: center; }
.table th.sortable { cursor: pointer; }
.table th.sortable:hover, .table th.sorted { color: var(--text); }
.table th.sorted::after { content: " ▾"; color: var(--red); }
.table td { padding: 13px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tbody tr.row { cursor: pointer; transition: background .12s; }
.table tbody tr.row:hover { background: #111; }
.rank { font: 800 13px/1 var(--display); color: var(--muted); letter-spacing: .05em; width: 56px; }
.rank.r1 { color: var(--gold); } .rank.r2 { color: var(--silver); } .rank.r3 { color: var(--bronze); }
.pcell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pcell .avatar { width: 30px; height: 30px; font-size: 12.5px; }
.pname { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 240px; }
.pname:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }
.psub { font: 700 9.5px/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fac { font: 700 10px/1.4 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.bigval { font: 800 18px/1 var(--display); font-variant-numeric: tabular-nums; }
.smallval { font: 700 9.5px/1 var(--display); letter-spacing: .1em; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.tval { font: 600 14px/1 var(--display); font-variant-numeric: tabular-nums; font-size: 15px; }
.badge {
  display: inline-block; border: 1px solid rgba(216,180,90,.6); color: var(--gold-soft); background: rgba(216,180,90,.08);
  font: 800 10.5px/1 var(--display); letter-spacing: .08em; padding: 5px 8px; text-transform: uppercase;
}
.badge.loss { border-color: var(--line-2); color: var(--muted); background: transparent; }
.badge.live { border-color: rgba(29,214,92,.5); color: var(--green); background: rgba(29,214,92,.07); }
.chev {
  width: 28px; height: 28px; border: 1px solid var(--line-2); background: transparent; display: grid; place-items: center; color: var(--muted); transition: transform .2s, border-color .2s;
}
.chev svg { width: 12px; }
tr.open .chev { transform: rotate(180deg); border-color: var(--red); color: var(--text); }
tr.detail td { background: #0d0d0d; padding: 0; }
.detail-in { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.detail-in > div { background: #0d0d0d; padding: 16px 18px; }
.detail-in .v { font: 800 20px/1 var(--display); margin-top: 8px; font-variant-numeric: tabular-nums; }
.detail-foot { padding: 12px 18px 16px; display: flex; justify-content: flex-end; }
.kd-hi { color: var(--gold-soft); }
.empty-state { padding: 60px 0; text-align: center; color: var(--muted); }
.empty-state b { display: block; font: 800 20px/1 var(--display); text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.table-foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; color: var(--muted); font-size: 12px; }

/* ---------- player page ---------- */
.back { display: inline-flex; align-items: center; gap: 8px; font: 700 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.back:hover { color: var(--text); }
.profile-head { display: flex; align-items: center; gap: 24px; margin: 24px 0 30px; }
.profile-head .avatar { width: 92px; height: 92px; font-size: 38px; border: 2px solid var(--red); }
.profile-head h1 { margin: 0; font: 900 clamp(40px, 6vw, 72px)/.9 var(--display); text-transform: uppercase; word-break: break-word; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; align-items: center; }
.tag { border: 1px solid var(--line-2); padding: 6px 10px; font: 700 10.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); background: rgba(0,0,0,.35); }
.tag.red { border-color: var(--red); color: #fff; background: rgba(238,1,1,.15); }
.tag.gold { border-color: rgba(216,180,90,.6); color: var(--gold-soft); }
a.tag:hover { border-color: #4a4744; }
.statgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.statgrid > div { background: #0e0e0e; padding: 20px 22px; }
.statgrid .v { font: 800 38px/1 var(--display); margin-top: 10px; font-variant-numeric: tabular-nums; }
.statgrid .s { color: var(--muted); font-size: 12px; margin-top: 6px; }
.statgrid .hl .v { color: var(--red); }
.grid2 { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.card { background: var(--panel); border: 1px solid var(--line-2); padding: 22px; }
.card h3 { margin: 0 0 18px; font: 800 18px/1 var(--display); text-transform: uppercase; display: flex; justify-content: space-between; align-items: baseline; }
.card h3 small { font: 700 10px/1 var(--display); letter-spacing: .14em; color: var(--muted); }
.chart { width: 100%; height: 200px; display: block; }
.chart .bar { fill: #3a3835; transition: fill .15s; }
.chart .bar.win { fill: var(--red); }
.chart .bar:hover { fill: var(--gold); }
.chart .grid { stroke: #1f1e1d; }
.chart text { fill: var(--dim); font: 600 10px var(--display); letter-spacing: .08em; }
.legend { display: flex; gap: 16px; margin-top: 10px; font: 700 10px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.legend i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; vertical-align: -1px; }
.hbar { margin-bottom: 14px; }
.hbar-top { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 6px; }
.hbar-top span:first-child { font: 700 12px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.hbar-track { height: 6px; background: #1d1c1b; }
.hbar-fill { height: 100%; background: var(--red); transition: width .6s ease; }
.tooltip {
  position: fixed; pointer-events: none; z-index: 100; background: #050505; border: 1px solid var(--line-2); padding: 9px 11px;
  font-size: 12px; line-height: 1.5; opacity: 0; transition: opacity .1s; white-space: nowrap;
}
.tooltip b { font-family: var(--display); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- live ---------- */
.live-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; align-items: start; }
.facbars { display: flex; flex-direction: column; gap: 14px; }
.facrow .top { display: flex; justify-content: space-between; margin-bottom: 7px; }
.facrow .top b { font: 800 15px/1 var(--display); text-transform: uppercase; letter-spacing: .05em; }
.facrow .top span { font: 800 20px/1 var(--display); }
.facrow .track { height: 8px; background: #1d1c1b; }
.facrow .fill { height: 100%; transition: width .6s ease; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.kv dt { font: 700 10px/1.6 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-weight: 500; }

/* ---------- footer ---------- */

.fade-in { animation: fadeIn .35s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.skeleton { background: linear-gradient(90deg, #121212, #1a1a1a, #121212); background-size: 200% 100%; animation: sk 1.2s infinite; height: 14px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-logo { width: 260px; right: 2%; opacity: .35; }
  .hide-md { display: none; }
  .detail-in { grid-template-columns: repeat(3, 1fr); }
  .statgrid { grid-template-columns: repeat(2, 1fr); }
  .grid2, .live-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hero-logo { width: 220px; right: -40px; top: 110px; transform: none; opacity: .2; }
  .wrap { padding: 0 16px; }
  .hero-in { padding: 46px 16px 0; }
  .nav { display: none; position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; background: #0b0b0b; border-bottom: 1px solid var(--line); padding: 8px 16px 14px; }
  .nav.open { display: flex; }
  .burger { display: flex; }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { padding-right: 0; margin-right: 28px; }
  .podium { grid-template-columns: 1fr; }
  .podium .first { order: -1; }
  .pod .crown { display: none; }
  .hide-sm { display: none; }
  .search input { width: 100%; }
  .search, .filter { width: 100%; }
  .filters { gap: 18px; }
  .seg { display: flex; }
  .seg button { flex: 1; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head .aside { text-align: left; }
  .detail-in { grid-template-columns: repeat(2, 1fr); }
  .pname { max-width: 150px; }
  .table td, .table th { padding-left: 6px; padding-right: 6px; }
  .rank { width: 34px; }
  .profile-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .profile-head .avatar { width: 64px; height: 64px; font-size: 26px; }
  .statgrid .v { font-size: 30px; }
}

/* ---------- botones CTA ---------- */
:root { --discord: #5865f2; --discord-2: #4752c4; }
.btn svg, .btn-discord svg, .btn-play svg { width: 16px; height: 16px; flex: none; }
.btn { display: inline-flex; align-items: center; gap: 8px; }
.btn-discord, .btn-play {
  display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid transparent;
  font: 800 12.5px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; transition: transform .15s, background .15s, box-shadow .15s;
}
.btn-discord { background: var(--discord); box-shadow: 0 8px 30px -10px rgba(88,101,242,.8); }
.btn-discord:hover { background: var(--discord-2); transform: translateY(-2px); }
.btn-play { background: var(--red); box-shadow: 0 8px 30px -10px rgba(238,1,1,.8); }
.btn-play:hover { background: var(--red-2); transform: translateY(-2px); }
.lg { padding: 15px 22px; font-size: 13.5px; }
.btn.lg { padding: 15px 20px; }
.lg svg { width: 19px; height: 19px; }
.nav a.nav-discord { color: #fff; background: var(--discord); border-color: var(--discord); margin-left: 8px; }
.nav a.nav-discord:hover { background: var(--discord-2); }
.nav a.nav-discord svg { width: 15px; height: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- landing ---------- */
.home-hero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.home-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(700px 520px at 76% 42%, rgba(238,1,1,.28), transparent 62%),
    radial-gradient(500px 300px at 10% 100%, rgba(238,1,1,.08), transparent 70%),
    linear-gradient(180deg, #0d0d0d, #090909);
}
.home-hero .hero-art text { display: none; }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(0deg, rgba(255,255,255,.018) 0 1px, transparent 1px 4px); }
.home-hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding-top: 64px; padding-bottom: 36px; }
.home-title { font: 900 clamp(64px, 10vw, 132px)/.84 var(--display); text-transform: uppercase; margin: 20px 0 22px; letter-spacing: -.01em; }
.home-title .accent { color: var(--red); }
.home-copy .lead { max-width: 500px; color: var(--text-2); font-size: 16px; line-height: 1.65; margin: 0 0 30px; }
.home-emblem { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; display: grid; place-items: center; }
.home-emblem img { position: relative; width: 86%; height: auto; filter: drop-shadow(0 0 50px rgba(238,1,1,.45)); animation: float 6s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(238,1,1,.25); }
.ring.r1 { inset: 2%; animation: spin 40s linear infinite; border-style: dashed; }
.ring.r2 { inset: 10%; border-color: rgba(238,236,228,.08); }
.ring.r3 { inset: -6%; border-color: rgba(238,1,1,.12); animation: spin 70s linear infinite reverse; border-style: dotted; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.server-card {
  display: grid; grid-template-columns: 2fr repeat(3, auto) auto; gap: 34px; align-items: center;
  background: rgba(14,14,14,.85); border: 1px solid var(--line-2); padding: 20px 24px; backdrop-filter: blur(6px);
}
.sc-name { font: 800 21px/1.1 var(--display); text-transform: uppercase; margin-top: 7px; }
.sc-stat b { display: block; font: 800 22px/1 var(--display); margin-top: 7px; text-transform: uppercase; }
.sc-actions { display: flex; gap: 10px; justify-content: flex-end; }

.features { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
.feature { background: #0e0e0e; padding: 26px 24px; transition: background .2s; grid-column: span 2; }
.feature:nth-child(-n+2) { grid-column: span 3; }
.feature:hover { background: #121212; }
.f-ic { width: 42px; height: 42px; border: 1px solid rgba(238,1,1,.45); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; background: rgba(238,1,1,.06); }
.f-ic svg { width: 21px; height: 21px; }
.feature h3 { margin: 0 0 8px; font: 800 19px/1.1 var(--display); text-transform: uppercase; }
.feature p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }

.home-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; }
.toplist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.toplist li { display: flex; align-items: center; gap: 14px; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.toplist .rank { width: 28px; }
.toplist .avatar { width: 34px; height: 34px; font-size: 14px; }
.toplist .pname { flex: 1; min-width: 0; }
.tl-kd { font: 700 11px/1 var(--display); letter-spacing: .1em; color: var(--muted); }
.tl-k { font: 800 22px/1 var(--display); min-width: 70px; text-align: right; }
.tl-k small { display: block; font-size: 9px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; margin-top: 3px; }
.steps { list-style: none; counter-reset: st; margin: 18px 0 0; padding: 0; }
.steps li { counter-increment: st; position: relative; padding: 0 0 22px 58px; }
.steps li::before {
  content: counter(st, decimal-leading-zero); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--red); color: var(--red); font: 800 15px/1 var(--display);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 42px; bottom: 4px; width: 1px; background: var(--line-2); }
.steps b { display: block; font: 800 17px/1.2 var(--display); text-transform: uppercase; margin-bottom: 4px; }
.steps span { color: var(--muted); font-size: 13.5px; }
.steps a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; }

.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:first-child { border-top: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 700 17px/1.3 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 24px; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--text-2); line-height: 1.65; max-width: 640px; }

.cta-band { position: relative; overflow: hidden; background: linear-gradient(100deg, rgba(238,1,1,.22), rgba(238,1,1,.04) 60%), #0d0d0d; border-bottom: 1px solid var(--line); }
.cta-band-in { display: flex; align-items: center; gap: 26px; padding-top: 44px; padding-bottom: 44px; }
.cta-band-in > div:nth-child(2) { flex: 1; }
.cta-band h2 { margin: 0 0 6px; font: 900 34px/1 var(--display); text-transform: uppercase; }
.cta-band p { margin: 0; color: var(--text-2); }

/* ---------- footer ---------- */
.footer { padding: 34px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 22px 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand div { display: flex; flex-direction: column; gap: 3px; }
.footer-brand b { font: 900 20px/1 var(--display); text-transform: uppercase; }
.footer-brand .muted { font-size: 12.5px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font: 700 11.5px/1.6 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-legal { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font-size: 11.5px; }

/* ---------- contenido pre-renderizado (SEO, se sustituye al cargar JS) ---------- */
.seo { padding: 56px 32px; color: var(--text-2); line-height: 1.7; }
.seo h1 { font: 900 44px/1 var(--display); text-transform: uppercase; color: var(--text); }
.seo h2 { font: 800 24px/1.1 var(--display); text-transform: uppercase; color: var(--text); margin-top: 32px; }
.seo h3 { font: 700 17px/1.2 var(--display); color: var(--text); }
.seo a { color: var(--text); text-decoration: underline; text-decoration-color: var(--red); }

@media (max-width: 980px) {
  .home-hero-in { grid-template-columns: 1fr; padding-top: 40px; }
  .home-emblem { max-width: 320px; order: -1; }
  .server-card { grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
  .sc-main, .sc-actions { grid-column: 1 / -1; }
  .sc-actions { justify-content: flex-start; }
  .features { grid-template-columns: 1fr 1fr; }
  .feature, .feature:nth-child(-n+2) { grid-column: auto; }
  .feature:last-child { grid-column: 1 / -1; }
  .home-split, .faq-wrap { grid-template-columns: 1fr; gap: 44px; }
  .nav a.nav-discord { margin-left: 0; }
}
@media (max-width: 720px) {
  .home-emblem { max-width: 230px; }
  .home-title { margin-top: 14px; }
  .features { grid-template-columns: 1fr; }
  .server-card { grid-template-columns: 1fr 1fr; padding: 18px; }
  .cta-row > * { flex: 1 1 100%; justify-content: center; }
  .cta-band-in { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .seo { padding: 40px 16px; }
  .tl-kd { display: none; }
}
