/* =========================================================
   BUNKER DEL SUR â€” style.css
   Portal de servidor Rust Â· HTML/CSS/JS sin dependencias.
   Sistema visual: acero oscuro, vidrio, cian y textura de Rust.
   ========================================================= */

/* ---------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------- */
:root {
  --bg: #0a0b0e;
  --bg-deep: #06070a;
  --bg-soft: #0d1015;
  --card: rgba(0, 0, 0, .30);
  --card-solid: rgba(11, 14, 19, .82);
  --glass: rgba(10, 11, 14, .72);
  --glass-strong: rgba(10, 11, 14, .9);

  --text: #e2e8f0;
  --text-strong: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #7186a0;

  --accent: #22d3ee;
  --accent-2: #0ea5e9;
  --accent-bright: #67e8f9;
  --accent-dark: #0891b2;
  --accent-soft: rgba(34, 211, 238, .12);
  --accent-softer: rgba(34, 211, 238, .055);
  --accent-line: rgba(34, 211, 238, .34);

  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #fb7185;
  --gold: #fbbf24;
  --silver: #cbd5e1;
  --bronze: #d97706;

  --line: rgba(255, 255, 255, .07);
  --line-soft: rgba(255, 255, 255, .04);
  --line-strong: rgba(255, 255, 255, .13);

  --display: "Inter", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --max: 1220px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 40px 90px -50px rgba(0, 0, 0, .95);
  --shadow-cyan: 0 24px 70px -38px rgba(34, 211, 238, .5);
}

/* ---------------------------------------------------------
   2. RESET Y BASE
   --------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.checkout-open {
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

strong,
b {
  font-weight: 700;
}

em {
  font-style: normal;
}

code,
kbd,
samp {
  font-family: var(--mono);
}

kbd {
  display: inline-block;
  padding: 1px 5px;
  border: 1px solid var(--line-strong);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .06);
  color: var(--text-strong);
  font-size: .82em;
  line-height: 1.4;
  white-space: nowrap;
}

::selection {
  background: rgba(34, 211, 238, .28);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #080a0e;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #080a0e;
  border-radius: 999px;
  background: #23303d;
}

::-webkit-scrollbar-thumb:hover {
  background: #33465a;
}

/* ---------------------------------------------------------
   3. FONDO GENERAL (acero oxidado + brillos cian)
   --------------------------------------------------------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 46% at 76% -6%, rgba(34, 211, 238, .13), transparent 62%),
    radial-gradient(ellipse 50% 42% at 0% 30%, rgba(14, 165, 233, .07), transparent 64%),
    radial-gradient(ellipse 52% 40% at 94% 82%, rgba(34, 211, 238, .055), transparent 66%),
    url("../img/rust-texture.svg") center / 1440px auto repeat,
    linear-gradient(180deg, #0b0e13 0%, #0a0b0e 54%, #080a0d 100%);
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 14, .18), rgba(10, 11, 14, .62) 46%, rgba(10, 11, 14, .9));
}

.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------
   4. UTILIDADES
   --------------------------------------------------------- */
.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--accent);
  color: #041014;
  font-weight: 800;
  transition: top .2s var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-bright));
  box-shadow: 0 0 12px rgba(34, 211, 238, .65);
}

/* ---------------------------------------------------------
   5. TIPOGRAFÃA COMPARTIDA
   --------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  flex: none;
  background: currentColor;
  box-shadow: 0 0 8px rgba(34, 211, 238, .65);
}

.section-title {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(30px, 4.4vw, 47px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.042em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-title em {
  color: var(--accent);
  background: linear-gradient(100deg, var(--accent-bright), var(--accent) 42%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 56px;
  margin-bottom: 42px;
}

.section-head--compact {
  margin-bottom: 30px;
}

.section-head--compact .section-title {
  font-size: clamp(27px, 3.7vw, 40px);
}

.section-head > div {
  max-width: 720px;
}

.section-head > p {
  max-width: 410px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.section-head > p a {
  color: var(--accent-bright);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, .4);
  text-underline-offset: 3px;
}

.section-head > p a:hover {
  color: #fff;
}

.section {
  position: relative;
  padding: 92px 0;
}

.section--tight {
  padding: 68px 0;
}

.explore {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(34, 211, 238, .035), transparent 70%);
}

.panel-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------
   6. HEADER Y NAVEGACIÃ“N
   --------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(10, 11, 14, .58), rgba(10, 11, 14, .18));
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: var(--glass);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 18px 50px -34px rgba(0, 0, 0, .95);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 16px rgba(34, 211, 238, .22));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__text > span {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.brand__text > span strong {
  color: var(--accent-bright);
  font-weight: 900;
}

.brand__text small {
  margin-top: 3px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav > a {
  padding: 9px 12px;
  border-radius: 7px;
  color: #a9b6c6;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease);
}

.nav > a:hover {
  background: rgba(255, 255, 255, .05);
  color: var(--text-strong);
}

.nav > a.is-active {
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.nav > a.nav__cta {
  margin-left: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .05);
  color: var(--text-strong);
}

.nav > a.nav__cta:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.header__cta {
  flex: none;
}

/* Cuenta de Steam */
.account {
  position: relative;
  flex: none;
}

.account__login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(255, 255, 255, .045);
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}

.account__login:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.account__steam {
  width: 16px;
  height: 16px;
  flex: none;
  color: var(--accent-bright);
}

.account__user {
  position: relative;
}

.account__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 3px 9px 3px 4px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  color: var(--text);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}

.account__toggle:hover,
.account__toggle[aria-expanded="true"] {
  border-color: var(--accent-line);
  background: var(--accent-soft);
}

.account__avatar {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(34, 211, 238, .2), rgba(14, 165, 233, .06));
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .02em;
}

.account__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.account__avatar img:not([src]),
.checkout__account-avatar img:not([src]) {
  display: none;
}

.account__avatar[data-initials]:has(img:not([src]))::after,
.checkout__account-avatar[data-initials]:has(img:not([src]))::after {
  content: attr(data-initials);
}

.account__name {
  max-width: 120px;
  overflow: hidden;
  color: var(--text-strong);
  font-size: 11px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account__chevron {
  width: 14px;
  height: 14px;
  flex: none;
  color: var(--muted-2);
  transition: transform .2s var(--ease);
}

.account__toggle[aria-expanded="true"] .account__chevron {
  transform: rotate(180deg);
}

.account__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 248px;
  padding: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(34, 211, 238, .09), transparent 70%),
    rgba(9, 12, 16, .98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .95);
}

.account__menu-label {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.account__menu-name {
  overflow: hidden;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account__menu-id {
  overflow: hidden;
  margin-bottom: 4px;
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account__menu-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(255, 255, 255, .035);
  color: var(--text);
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  text-align: left;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.account__menu-link:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.account__menu-link--danger {
  color: var(--danger);
}

.account__menu-link--danger:hover {
  border-color: rgba(251, 113, 133, .4);
  background: rgba(251, 113, 133, .1);
  color: var(--danger);
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .14), 0 0 10px rgba(52, 211, 153, .55);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  gap: 5px;
  padding: 9px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, .05);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  background: rgba(4, 6, 9, .64);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  transition: opacity .25s var(--ease), visibility .25s var(--ease);
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

/* ---------------------------------------------------------
   7. BOTONES, CHIPS Y PÃLDORAS
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent) 46%, var(--accent-2));
  color: #031014;
  box-shadow: 0 14px 34px -18px rgba(34, 211, 238, .75), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.btn--primary:hover {
  box-shadow: 0 18px 42px -16px rgba(34, 211, 238, .8), inset 0 1px 0 rgba(255, 255, 255, .55);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .045);
  color: var(--text-strong);
}

.btn--ghost:hover {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.btn--sm {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 7px;
  font-size: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 3px 11px;
  border: 1px solid rgba(52, 211, 153, .28);
  border-radius: 6px;
  background: rgba(52, 211, 153, .09);
  color: #86efac;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.status-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .15);
  animation: statusPulse 2.6s infinite;
}

.status-pill--sm {
  min-height: 24px;
  padding: 2px 9px;
  font-size: 8px;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .35); }
  50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); }
}

.demo-tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 9px;
  border: 1px solid rgba(251, 191, 36, .3);
  border-radius: 6px;
  background: rgba(251, 191, 36, .09);
  color: #fcd34d;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.label {
  display: block;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.copy-btn {
  flex: none;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, .05);
  color: var(--text);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease);
}

.copy-btn:hover,
.copy-btn.is-copied {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.mini-check {
  color: var(--accent);
  font-weight: 800;
}


/* ---------------------------------------------------------
   8. HERO
   --------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(920px, 100svh);
  padding: 148px 0 92px;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 11, 14, .82) 0%, rgba(10, 11, 14, .42) 42%, rgba(10, 11, 14, .12) 70%, rgba(10, 11, 14, .5) 100%),
    linear-gradient(180deg, rgba(10, 11, 14, .62) 0%, rgba(10, 11, 14, .1) 32%, rgba(10, 11, 14, .75) 86%, var(--bg) 100%),
    url("../img/rust-hero.svg") center / cover no-repeat;
}

.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 52% 58% at 76% 32%, rgba(34, 211, 238, .12), transparent 68%),
    radial-gradient(ellipse 38% 42% at 8% 78%, rgba(14, 165, 233, .08), transparent 72%);
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--bg) 92%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(rgba(148, 197, 230, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 197, 230, .09) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at 68% 30%, #000 10%, transparent 74%);
  mask-image: radial-gradient(ellipse 78% 70% at 68% 30%, #000 10%, transparent 74%);
}

.hero__scan {
  position: absolute;
  inset: 0;
  opacity: .2;
  background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero__glow--one {
  top: -16%;
  right: 4%;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(34, 211, 238, .17), transparent 66%);
}

.hero__glow--two {
  bottom: -24%;
  left: 34%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(14, 165, 233, .1), transparent 68%);
}

.hero__watermark {
  position: absolute;
  right: -2%;
  bottom: 8%;
  color: transparent;
  font-family: var(--display);
  font-size: clamp(160px, 24vw, 340px);
  font-weight: 900;
  line-height: .7;
  letter-spacing: -.08em;
  -webkit-text-stroke: 1px rgba(148, 197, 230, .07);
  opacity: .85;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 404px);
  gap: 64px;
  align-items: center;
}

.hero__copy {
  max-width: 640px;
}

.hero__badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.hero__title {
  display: flex;
  flex-direction: column;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(54px, 7.4vw, 104px);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.06em;
  text-transform: uppercase;
  text-shadow: 0 24px 70px rgba(0, 0, 0, .6);
}

.hero__line {
  display: block;
}

.hero__line--accent {
  background: linear-gradient(100deg, var(--accent-bright) 8%, var(--accent) 44%, var(--accent-2) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 34px rgba(34, 211, 238, .22));
}

.hero__lead {
  max-width: 570px;
  margin-top: 24px;
  color: #aab8c8;
  font-size: 15.5px;
  line-height: 1.75;
}

.hero__lead strong {
  color: var(--text-strong);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 560px;
  margin-top: 34px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  min-width: 0;
  padding: 0 16px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat__label {
  display: block;
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .13em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.stat__num {
  display: block;
  margin-top: 5px;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(21px, 2.3vw, 28px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 18px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}

.hero__scroll:hover {
  color: var(--accent-bright);
}

.hero__scroll i {
  display: block;
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, var(--accent-line), transparent);
  animation: scrollHint 2.4s var(--ease) infinite;
}

@keyframes scrollHint {
  0% { opacity: 0; transform: scaleY(.2); transform-origin: top; }
  40% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* Tarjeta de estado del servidor */
.server-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent 38%),
    rgba(8, 11, 16, .78);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
}

.server-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .8;
}

.server-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
}

.server-card__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.server-card__kicker svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.server-card__body {
  padding: 20px;
}

.server-card__identity {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line-soft);
}

.server-card__tag {
  display: block;
  margin-bottom: 7px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.server-card__identity h2 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.server-card__identity p {
  margin-top: 6px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
}

.server-card__logo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}

.server-card__logo img {
  width: 44px;
  height: 44px;
}

.server-card__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: rgba(0, 0, 0, .24);
  overflow: hidden;
}

.server-card__stats > div {
  padding: 10px 12px;
  border-left: 1px solid var(--line-soft);
}

.server-card__stats > div:first-child {
  border-left: 0;
}

.server-card__stats dt {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.server-card__stats dd {
  margin-top: 3px;
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}

.server-card__address {
  margin-top: 16px;
}

.server-card__address .label {
  margin-bottom: 6px;
}

.ip-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(0, 0, 0, .32);
}

.ip-box code {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--accent-bright);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.server-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
}

.server-card__meta .label {
  margin-bottom: 4px;
}

.server-card__meta b {
  display: block;
  color: var(--text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.server-card__cta {
  width: 100%;
  margin-top: 18px;
}

.server-card__note {
  margin-top: 11px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

/* ---------------------------------------------------------
   9. MARQUEE
   --------------------------------------------------------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, .28);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 13px 13px 13px 26px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee__group b {
  color: var(--accent);
  font-size: 10px;
  font-weight: 400;
  opacity: .7;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------------------------------------------------------
   10. PORTAL
   --------------------------------------------------------- */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.portal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 228px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .028), transparent 46%),
    var(--card);
  overflow: hidden;
  transition: transform .28s var(--ease), border-color .28s var(--ease), background-color .28s var(--ease), box-shadow .28s var(--ease);
}

.portal-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 211, 238, .11), transparent 68%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  background-color: rgba(34, 211, 238, .045);
  box-shadow: 0 26px 60px -40px rgba(34, 211, 238, .55);
}

.portal-card:hover::after {
  opacity: 1;
}

.portal-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  background: var(--accent-softer);
  color: var(--accent-bright);
}

.portal-card__icon svg {
  width: 19px;
  height: 19px;
}

.portal-card__index {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.portal-card h3 {
  margin-top: 5px;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.portal-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.portal-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s var(--ease), gap .2s var(--ease);
}

.portal-card:hover .portal-card__link {
  gap: 10px;
  color: var(--accent-bright);
}

/* ---------------------------------------------------------
   11. SERVIDOR / ABOUT
   --------------------------------------------------------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr);
  gap: 56px;
  align-items: start;
}

.about {
  border-top: 1px solid var(--line-soft);
}

.about__copy {
  max-width: 640px;
}

.about__text {
  max-width: 590px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.78;
}

.about__text strong {
  color: var(--text);
}

.about__signature {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  padding: 15px 18px;
  border-left: 2px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: linear-gradient(90deg, var(--accent-softer), transparent 74%);
}

.about__sig-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .04);
}

.about__sig-mark img {
  width: 36px;
  height: 36px;
}

.about__signature strong {
  display: block;
  color: var(--text-strong);
  font-size: 13px;
  font-weight: 700;
}

.about__signature span {
  display: block;
  margin-top: 2px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.specs {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%),
    var(--card);
  box-shadow: var(--shadow);
}

.specs::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  right: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}

.specs__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.specs__head h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.specs__badge {
  padding: 3px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 5px;
  background: var(--accent-soft);
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  white-space: nowrap;
}

.specs__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}

.specs__row span {
  color: var(--muted);
  font-size: 12px;
}

.specs__row b {
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  text-align: right;
}

.specs__row:last-of-type {
  border-bottom: 0;
}

.specs__note {
  margin-top: 12px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 64px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.pillar {
  position: relative;
  padding-left: 44px;
}

.pillar__num {
  position: absolute;
  top: 1px;
  left: 0;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  opacity: .8;
}

.pillar h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.pillar p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}


/* ---------------------------------------------------------
   12. COMUNIDAD / RANKINGS
   --------------------------------------------------------- */
.community {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 58% 54% at 74% 8%, rgba(34, 211, 238, .05), transparent 66%),
    linear-gradient(180deg, rgba(0, 0, 0, .14), transparent 28%);
}

.community__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 22px;
  align-items: start;
}

.leaderboard {
  position: relative;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 34%),
    rgba(7, 10, 14, .74);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.leaderboard::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .5), transparent);
}

.leaderboard__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 21px 22px 18px;
}

.leaderboard__head h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.leaderboard__badges {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
}

.ranking-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #86efac;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.ranking-live__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  animation: rankingPulse 2.4s infinite;
}

@keyframes rankingPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .45); }
  50% { box-shadow: 0 0 0 5px rgba(52, 211, 153, 0); }
}

.ranking-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 12px 22px;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, .18);
}

.segmented {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .34);
}

.segmented__btn {
  padding: 7px 13px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}

.segmented__btn:hover {
  color: var(--text-strong);
}

.segmented__btn.is-active {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: #031014;
  box-shadow: 0 6px 18px -10px rgba(34, 211, 238, .8), inset 0 1px 0 rgba(255, 255, 255, .4);
}

.ranking-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
}

.ranking-search svg {
  position: absolute;
  left: 11px;
  width: 14px;
  height: 14px;
  color: var(--muted-2);
  pointer-events: none;
}

.ranking-search input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 33px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, .32);
  color: var(--text);
  font-size: 12px;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}

.ranking-search input::placeholder {
  color: var(--muted-2);
}

.ranking-search input:focus {
  border-color: var(--accent-line);
  background: rgba(0, 0, 0, .45);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .09);
}

.ranking-metrics {
  display: flex;
  gap: 5px;
  padding: 11px 22px;
  border-bottom: 1px solid var(--line-soft);
  overflow-x: auto;
  scrollbar-width: none;
}

.ranking-metrics::-webkit-scrollbar {
  display: none;
}

.ranking-metric {
  flex: none;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted);
  font-family: var(--display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: color .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}

.ranking-metric:hover {
  border-color: var(--line);
  background: rgba(255, 255, 255, .06);
  color: var(--text-strong);
}

.ranking-metric.is-active {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.ranking-category {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 52% 150% at 0% 50%, rgba(34, 211, 238, .06), transparent 72%),
    rgba(0, 0, 0, .12);
}

.ranking-category__head {
  min-width: 150px;
}

.ranking-category__kicker {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.ranking-category h4 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.ranking-category p {
  max-width: 570px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.ranking-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 9px 22px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .04em;
}

.ranking-status span:last-child {
  text-align: right;
}

.ranking-status.is-stale {
  color: var(--warn);
}

.ranking-podium {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
}

.podium-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 14px 14px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background:
    radial-gradient(ellipse 100% 88% at 100% 0%, rgba(34, 211, 238, .1), transparent 64%),
    linear-gradient(180deg, rgba(14, 19, 26, .9), rgba(7, 10, 15, .72));
  transition: transform .22s var(--ease), border-color .22s var(--ease), box-shadow .22s var(--ease);
}

.podium-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  box-shadow: 0 18px 42px -30px rgba(34, 211, 238, .45);
}

.podium-card--p1 {
  border-color: rgba(251, 191, 36, .36);
  background:
    radial-gradient(ellipse 100% 88% at 100% 0%, rgba(251, 191, 36, .15), transparent 64%),
    linear-gradient(180deg, rgba(25, 21, 12, .92), rgba(9, 11, 15, .74));
}

.podium-card--p2 {
  border-color: rgba(203, 213, 225, .28);
}

.podium-card--p3 {
  border-color: rgba(217, 119, 6, .32);
}

.podium-card__rank {
  position: absolute;
  top: 11px;
  right: 12px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .08em;
}

.podium-card--p1 .podium-card__rank {
  color: var(--gold);
}

.podium-card--p2 .podium-card__rank {
  color: var(--silver);
}

.podium-card--p3 .podium-card__rank {
  color: var(--bronze);
}

.podium-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  margin-bottom: 8px;
  border-radius: 9px;
  background: var(--avatar, var(--accent));
  color: #041014;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}

.podium-card__body {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.podium-card__name {
  overflow: hidden;
  color: var(--text-strong);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-card__id {
  overflow: hidden;
  margin-top: 1px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.podium-card__metric {
  margin-top: 7px;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  white-space: nowrap;
}

.podium-card__metric small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .06em;
}

.podium-card__sub {
  overflow: hidden;
  max-width: 100%;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Tabla de ranking */
.leaderboard__cols,
.rank-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 104px 86px 86px;
  gap: 12px;
  align-items: center;
}

.leaderboard__cols {
  padding: 10px 22px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, .16);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.leaderboard__cols span:nth-child(n+3) {
  text-align: right;
}

.ranking-rows {
  min-height: 120px;
  transition: opacity .18s var(--ease);
}

.leaderboard.is-loading .ranking-rows {
  opacity: .4;
}

.rank-row {
  width: 100%;
  min-height: 64px;
  padding: 11px 22px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}

.rank-row:hover {
  background: rgba(255, 255, 255, .028);
  box-shadow: inset 2px 0 0 var(--accent-line);
}

.rank-row--top {
  background: linear-gradient(90deg, rgba(34, 211, 238, .075), transparent 62%);
}

.rank-row--top:hover {
  background: linear-gradient(90deg, rgba(34, 211, 238, .1), transparent 62%);
}

.rank-row[aria-expanded="true"] {
  background: rgba(34, 211, 238, .06);
  box-shadow: inset 2px 0 0 var(--accent);
}

.rank-row:last-of-type {
  border-bottom: 0;
}

.rank-row__pos {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
}

.rank-row--top .rank-row__pos {
  color: var(--accent-bright);
}

.rank-row--p1 .rank-row__pos {
  color: var(--gold);
}

.rank-row--p2 .rank-row__pos {
  color: var(--silver);
}

.rank-row--p3 .rank-row__pos {
  color: var(--bronze);
}

.rank-row__player {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.rank-row__player > span:last-child {
  min-width: 0;
}

.rank-row__player b {
  display: block;
  overflow: hidden;
  color: var(--text-strong);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row__player small {
  display: block;
  margin-top: 1px;
  overflow: hidden;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
  background: var(--avatar, var(--accent));
  color: #041014;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}

.rank-row__stat {
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  text-align: right;
  white-space: nowrap;
}

.rank-row__stat small {
  color: var(--muted-2);
  font-size: 8px;
  letter-spacing: .05em;
}

/* Detalle desplegable */
.rank-detail {
  padding: 14px 22px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(3, 5, 8, .4);
  animation: rankDetailIn .2s var(--ease);
}

@keyframes rankDetailIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

.rank-detail__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.rank-detail__stat {
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255, 255, 255, .022);
}

.rank-detail__stat span {
  display: block;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 7.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.rank-detail__stat b {
  display: block;
  margin-top: 2px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.rank-detail__resources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.resource-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
}

.resource-pill b {
  color: var(--text);
  font-weight: 500;
}

.rank-detail__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 11px;
}

.rank-detail__footer small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .04em;
}

.rank-detail__footer a {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .03em;
  transition: color .2s var(--ease);
}

.rank-detail__footer a:hover {
  color: var(--accent-bright);
}

/* Estado vacÃ­o, notas y paginaciÃ³n */
.ranking-empty {
  padding: 34px 22px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
}

.ranking-empty p + p {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 11px;
}

.ranking-empty b {
  color: var(--text-strong);
}

.ranking-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 18px;
  border-top: 1px solid var(--line-soft);
}

.leaderboard__note {
  flex: 1 1 250px;
  padding: 14px 22px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.6;
}

.ranking-pagination {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  padding: 12px 22px 15px;
}

.ranking-pagination__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px;
}

.ranking-page-btn,
.ranking-page-number {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .04em;
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.ranking-page-numbers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.ranking-page-number {
  min-width: 30px;
  padding: 7px;
  text-align: center;
}

.ranking-page-btn:hover:not(:disabled),
.ranking-page-number:hover:not(.is-active) {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.ranking-page-number.is-active {
  border-color: var(--accent-bright);
  background: var(--accent-soft);
  color: var(--accent-bright);
  box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .18);
}

.ranking-page-btn:disabled {
  opacity: .32;
  cursor: not-allowed;
}

.ranking-page-gap {
  padding: 0 1px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
}

.ranking-page-status {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .04em;
  text-align: right;
}

/* Columna lateral de comunidad */
.community__side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.community-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(34, 211, 238, .07), transparent 68%),
    var(--card);
  overflow: hidden;
}

.community-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.community-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  background: var(--accent-softer);
  color: var(--accent-bright);
}

.community-card__icon svg {
  width: 20px;
  height: 20px;
}

.community-card h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

.community-card > p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.community-card__list {
  display: grid;
  gap: 8px;
  margin: 16px 0 18px;
}

.community-card__list li {
  position: relative;
  padding-left: 18px;
  color: var(--text);
  font-size: 11.5px;
}

.community-card__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

.community-card .btn {
  width: 100%;
}

.community-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}

.community-link:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  background: rgba(34, 211, 238, .05);
}

.community-link__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--accent);
}

.community-link__icon svg {
  width: 17px;
  height: 17px;
}

.community-link small {
  display: block;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.community-link strong {
  display: block;
  margin-top: 2px;
  color: var(--text-strong);
  font-size: 12.5px;
  font-weight: 700;
}

.community-link__arrow {
  margin-left: auto;
  color: var(--muted-2);
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.community-link:hover .community-link__arrow {
  color: var(--accent-bright);
  transform: translateX(3px);
}


/* ---------------------------------------------------------
   13. PLUGINS
   --------------------------------------------------------- */
.plugins {
  border-top: 1px solid var(--line-soft);
}

.plugins-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.plugin {
  position: relative;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 50%),
    var(--card);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease);
}

.plugin::before {
  content: "";
  position: absolute;
  top: 0;
  left: 21px;
  width: 34px;
  height: 1px;
  background: var(--accent-line);
  transition: width .3s var(--ease);
}

.plugin:hover {
  transform: translateY(-3px);
  border-color: var(--accent-line);
  background-color: rgba(34, 211, 238, .035);
}

.plugin:hover::before {
  width: calc(100% - 42px);
}

.plugin__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.plugin__num {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
}

.plugin__tag {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.plugin h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.02em;
  text-transform: uppercase;
}

.plugin p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.plugins__note {
  margin-top: 24px;
  color: var(--muted-2);
  font-size: 11px;
  text-align: center;
}

.plugins__note a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, .35);
  text-underline-offset: 3px;
}

/* ---------------------------------------------------------
   14. WIPES
   --------------------------------------------------------- */
.wipes {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 54% 50% at 20% 30%, rgba(14, 165, 233, .055), transparent 66%);
}

.wipes__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 18px;
  align-items: stretch;
}

.wipe-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 86% 64% at 100% 0%, rgba(34, 211, 238, .13), transparent 66%),
    linear-gradient(180deg, rgba(10, 16, 22, .9), rgba(7, 10, 14, .78));
  box-shadow: var(--shadow-cyan);
  overflow: hidden;
}

.wipe-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.wipe-panel__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wipe-panel__tag b {
  color: var(--accent-bright);
  font-weight: 500;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 20px 0 16px;
}

.count {
  padding: 14px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, .3);
  text-align: center;
}

.count__num {
  display: block;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(28px, 3.3vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}

.count__label {
  display: block;
  margin-top: 5px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wipe-panel__date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .03em;
}

.wipe-panel__date span {
  color: var(--text);
}

.wipe-panel .btn {
  margin-top: 18px;
}

.wipe-schedule {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.wipe-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-soft);
}

.wipe-item__when {
  align-self: start;
  padding-top: 2px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wipe-item h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.015em;
  text-transform: uppercase;
}

.wipe-item h3 em {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .06em;
}

.wipe-item p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.wipe-schedule__note {
  padding: 15px 0;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   15. COMANDOS
   --------------------------------------------------------- */
.commands {
  border-top: 1px solid var(--line-soft);
}

.commands__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: 18px;
  align-items: start;
}

.command-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
}

.command {
  display: grid;
  grid-template-columns: minmax(92px, .5fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  color: inherit;
  text-align: left;
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}

.command:hover {
  background: rgba(34, 211, 238, .035);
  box-shadow: inset 2px 0 0 var(--accent-line);
}

.command.is-copied {
  background: rgba(34, 211, 238, .09);
  box-shadow: inset 2px 0 0 var(--accent);
}

.command__name {
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}

.command__desc {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command__action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .09em;
  text-transform: uppercase;
  transition: color .18s var(--ease);
}

.command__action svg {
  width: 13px;
  height: 13px;
}

.command:hover .command__action,
.command.is-copied .command__action {
  color: var(--accent-bright);
}

.command-list__note {
  padding: 15px 18px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.6;
}

.commands__side {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(34, 211, 238, .06), transparent 68%),
    var(--card);
}

.commands__side h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.command-steps {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.command-steps li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.command-steps li > span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
}

.command-steps p {
  padding-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.command-connect {
  margin-top: 20px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(0, 0, 0, .28);
}

.command-connect .label {
  margin-bottom: 5px;
}

.command-connect code {
  display: block;
  overflow: hidden;
  margin-bottom: 9px;
  color: var(--accent-bright);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.commands__note {
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   16. REGLAS
   --------------------------------------------------------- */
.rules {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 50% 46% at 84% 22%, rgba(34, 211, 238, .045), transparent 68%);
}

.rule-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.rule-card {
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: border-color .22s var(--ease), background-color .22s var(--ease), transform .22s var(--ease);
}

.rule-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-line);
  background: rgba(34, 211, 238, .035);
}

.rule-card__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  background: var(--accent-softer);
  color: var(--accent-bright);
}

.rule-card__icon svg {
  width: 19px;
  height: 19px;
}

.rule-card h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.rule-card p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.rules-list {
  margin-top: 18px;
  padding: 8px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.rules-list__title {
  padding: 14px 0 13px;
  border-bottom: 1px solid var(--line);
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.rules-list details,
.faq__list details {
  border-bottom: 1px solid var(--line-soft);
}

.rules-list details:last-child,
.faq__list details:last-child {
  border-bottom: 0;
}

.rules-list summary,
.faq__list summary {
  position: relative;
  padding: 15px 34px 15px 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--ease);
}

.rules-list summary::-webkit-details-marker,
.faq__list summary::-webkit-details-marker {
  display: none;
}

.rules-list summary::after,
.faq__list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 2px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  transition: transform .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}

.rules-list summary:hover,
.faq__list summary:hover {
  color: var(--accent-bright);
}

.rules-list details[open] summary,
.faq__list details[open] summary {
  color: var(--accent-bright);
}

.rules-list details[open] summary::after,
.faq__list details[open] summary::after {
  content: "âˆ’";
  border-color: var(--accent-line);
  color: var(--accent-bright);
}

.rules-list details p,
.faq__list details p {
  padding: 0 34px 16px 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.72;
}


/* ---------------------------------------------------------
   17. TIENDA
   --------------------------------------------------------- */
.store {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse 60% 46% at 50% 0%, rgba(34, 211, 238, .055), transparent 68%);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.store-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .03), transparent 40%),
    rgba(8, 11, 16, .76);
  overflow: hidden;
  transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.store-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.store-card--featured {
  border-color: var(--accent-line);
  background:
    radial-gradient(ellipse 84% 46% at 100% 0%, rgba(34, 211, 238, .13), transparent 66%),
    linear-gradient(180deg, rgba(12, 18, 24, .94), rgba(7, 10, 14, .84));
  box-shadow: var(--shadow-cyan);
}

.store-card--featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.store-card__tag {
  align-self: flex-start;
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.store-card__tag--hot {
  border-color: rgba(34, 211, 238, .36);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.store-card h3 {
  margin-top: 13px;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.store-card__price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 13px;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.05em;
}

.store-card__price > span {
  align-self: flex-start;
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
}

.store-card__price small {
  margin-left: 5px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .04em;
}

.store-card__pitch {
  margin-top: 9px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.store-kits {
  display: grid;
  gap: 6px;
  margin: 13px 0 18px;
}

.store-kit {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
  overflow: hidden;
}

.store-kit summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: background-color .18s var(--ease), color .18s var(--ease);
}

.store-kit summary::-webkit-details-marker {
  display: none;
}

.store-kit summary span::before {
  content: "+";
  display: inline-block;
  width: 14px;
  color: var(--accent);
  font-family: var(--mono);
  font-weight: 400;
}

.store-kit[open] summary span::before {
  content: "âˆ’";
}

.store-kit summary small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 400;
  letter-spacing: .04em;
  white-space: nowrap;
}

.store-kit summary:hover {
  background: rgba(34, 211, 238, .04);
  color: var(--accent-bright);
}

.store-kit__items {
  display: grid;
  gap: 4px;
  padding: 0 11px 10px 25px;
}

.store-kit__items li {
  position: relative;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.store-kit__items li::before {
  content: "\00B7";
  position: absolute;
  left: -9px;
  color: var(--accent);
}

.store-card > .btn {
  width: 100%;
  margin-top: auto;
}

.store__note {
  max-width: 780px;
  margin: 26px auto 0;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.7;
  text-align: center;
}

/* ---------------------------------------------------------
   18. CONECTAR
   --------------------------------------------------------- */
.connect {
  border-top: 1px solid var(--line-soft);
}

.connect__copy {
  max-width: 620px;
}

.connect__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 56px;
  align-items: center;
}

.connect__text {
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.steps {
  display: grid;
  gap: 0;
  margin-top: 26px;
}

.steps li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--line-soft);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.steps__num {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
}

.steps h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

.steps p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.steps code {
  color: var(--accent-bright);
  font-size: 11.5px;
}

.connect__panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 76% 48% at 100% 0%, rgba(34, 211, 238, .08), transparent 68%),
    var(--card);
  box-shadow: var(--shadow);
}

.connect__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.connect__season {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.connect__ip {
  margin-top: 17px;
  padding: 15px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: rgba(34, 211, 238, .045);
}

.connect__ip .label {
  margin-bottom: 5px;
}

.connect__ip code {
  display: block;
  overflow: hidden;
  color: var(--accent-bright);
  font-size: 15px;
  letter-spacing: -.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connect__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 14px;
}

.connect__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}

.connect__info > div {
  padding: 11px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, .22);
}

.connect__info span {
  display: block;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.connect__info strong {
  display: block;
  margin-top: 3px;
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

.connect__note {
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   19. FAQ
   --------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line-soft);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: start;
}

.faq__intro > p {
  max-width: 340px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.faq__intro .btn {
  margin-top: 20px;
}

.faq__list {
  padding: 6px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

/* ---------------------------------------------------------
   20. DISCORD
   --------------------------------------------------------- */
.discord {
  border-top: 1px solid var(--line-soft);
}

.discord__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 46px;
  border: 1px solid rgba(34, 211, 238, .24);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 64% 100% at 100% 0%, rgba(34, 211, 238, .14), transparent 66%),
    linear-gradient(135deg, rgba(12, 18, 25, .94), rgba(7, 10, 14, .86));
  box-shadow: var(--shadow-cyan);
  overflow: hidden;
}

.discord__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 14, .6), transparent 60%),
    url("../img/rust-texture.svg") center / 900px auto repeat;
  opacity: .24;
  mix-blend-mode: luminosity;
  pointer-events: none;
}

.discord__copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.discord__copy > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
}

.discord__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.discord__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.discord__tags li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: rgba(255, 255, 255, .035);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.discord__mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  border: 1px solid var(--accent-line);
  border-radius: 26px;
  background: rgba(34, 211, 238, .07);
  color: var(--accent-bright);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.discord__mark svg {
  width: 64px;
  height: 64px;
}

/* ---------------------------------------------------------
   21. FOOTER
   --------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .32), rgba(0, 0, 0, .58)),
    url("../img/rust-texture.svg") center bottom / 1400px auto repeat;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(140px, .65fr));
  gap: 38px;
  padding: 54px 0 40px;
}

.footer__brand p {
  max-width: 310px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.footer__ip {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 13px;
  font-family: var(--mono);
  font-size: 10px;
}

.footer__ip span {
  color: var(--muted-2);
  letter-spacing: .1em;
}

.footer__ip code {
  color: var(--accent-bright);
}

.footer__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px rgba(52, 211, 153, .6);
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__col h3 {
  margin-bottom: 4px;
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer__col a,
.footer__col span {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
  transition: color .18s var(--ease);
}

.footer__col a:hover {
  color: var(--accent-bright);
}

.footer__soon {
  color: var(--muted-2) !important;
  font-family: var(--mono);
  font-size: 9px !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.footer__cta {
  color: var(--accent) !important;
  font-family: var(--mono);
  font-size: 9px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer__legal {
  padding: 24px 0;
  border-top: 1px solid var(--line-soft);
}

.footer__legal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-bottom: 16px;
}

.footer__legal-head h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.footer__legal-head p {
  color: var(--muted-2);
  font-size: 10px;
}

.footer__legal-head a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.footer__legal-item {
  padding: 12px 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, .2);
}

.footer__legal-item summary {
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.footer__legal-item summary::-webkit-details-marker {
  display: none;
}

.footer__legal-item summary::before {
  content: "+";
  margin-right: 7px;
  color: var(--accent);
  font-family: var(--mono);
}

.footer__legal-item[open] summary::before {
  content: "âˆ’";
}

.footer__legal-item p {
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 9.5px;
  line-height: 1.6;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted-2);
  font-size: 9.5px;
}


/* ---------------------------------------------------------
   22. CHECKOUT
   --------------------------------------------------------- */
.checkout {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s var(--ease), visibility 0s linear .25s;
}

.checkout.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s var(--ease), visibility 0s;
}

.checkout__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 8, .78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.checkout__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  max-height: calc(100svh - 44px);
  overflow-y: auto;
  padding: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background:
    radial-gradient(ellipse 80% 40% at 100% 0%, rgba(34, 211, 238, .1), transparent 66%),
    linear-gradient(180deg, rgba(14, 19, 26, .98), rgba(8, 11, 16, .99));
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform: translateY(10px) scale(.99);
  transition: transform .25s var(--ease);
}

.checkout.is-open .checkout__dialog {
  transform: none;
}

.checkout__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  transition: color .2s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease);
}

.checkout__close:hover {
  border-color: var(--danger);
  background: rgba(251, 113, 133, .1);
  color: var(--danger);
}

.checkout__close svg {
  width: 16px;
  height: 16px;
}

.checkout__head {
  padding-right: 38px;
}

.checkout__kicker {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.checkout__head h2 {
  margin-top: 7px;
  color: var(--text-strong);
  font-family: var(--display);
  font-size: clamp(25px, 4vw, 33px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.checkout__head h2 span {
  color: var(--accent-bright);
}

.checkout__summary {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11.5px;
}

.checkout__summary strong {
  color: var(--text-strong);
  font-family: var(--mono);
  font-weight: 500;
}

.checkout__progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 24px 0;
}

.checkout__progress li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.checkout__progress li span {
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 8px;
}

.checkout__progress li.is-active {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-bright);
}

.checkout__progress li.is-active span {
  border-color: var(--accent-bright);
  background: var(--accent);
  color: #031014;
  font-weight: 700;
}

.checkout__progress li.is-done {
  border-color: rgba(52, 211, 153, .24);
  color: #86efac;
}

.checkout__progress li.is-done span {
  border-color: rgba(52, 211, 153, .4);
  background: rgba(52, 211, 153, .14);
  color: #86efac;
}

.checkout__step h3 {
  color: var(--text-strong);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.checkout__step > p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.checkout__step > label {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.checkout__steam {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout__steam input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(0, 0, 0, .36);
  color: var(--text-strong);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: .05em;
  outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.checkout__steam input::placeholder {
  color: var(--muted-2);
}

.checkout__steam input:focus {
  border-color: var(--accent-line);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .1);
}

.checkout__steam input.is-invalid {
  border-color: rgba(251, 113, 133, .6);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, .1);
}

.checkout__help {
  flex: none;
  color: var(--accent);
  font-size: 10px;
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, .35);
  text-underline-offset: 3px;
  white-space: nowrap;
}

.checkout__help:hover {
  color: var(--accent-bright);
}

.checkout__hint {
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 10px;
}

.checkout__login {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 211, 238, .13), rgba(14, 165, 233, .04));
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .2s var(--ease);
}

.checkout__login:hover {
  border-color: var(--accent-line);
  background: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(14, 165, 233, .07));
  transform: translateY(-1px);
}

.checkout__login > svg {
  width: 26px;
  height: 26px;
  flex: none;
  color: var(--accent-bright);
}

.checkout__login-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.checkout__login-copy strong {
  color: var(--text-strong);
  font-size: 12.5px;
  font-weight: 700;
}

.checkout__login-copy small {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.checkout__login-arrow {
  flex: none;
  color: var(--accent);
  font-size: 17px;
  line-height: 1;
}

.checkout__login-note {
  margin-top: 8px !important;
  color: var(--muted-2) !important;
  font-size: 9.5px !important;
}

.checkout__account {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 18px;
  padding: 11px 12px;
  border: 1px solid rgba(52, 211, 153, .3);
  border-radius: 10px;
  background: rgba(52, 211, 153, .06);
}

.checkout__account-avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  overflow: hidden;
  border: 1px solid rgba(52, 211, 153, .32);
  border-radius: 50%;
  background: rgba(52, 211, 153, .14);
  color: #86efac;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.checkout__account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.checkout__account-copy {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  line-height: 1.35;
}

.checkout__account-copy small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.checkout__account-copy strong {
  overflow: hidden;
  color: var(--text-strong);
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout__account-copy code {
  overflow: hidden;
  color: #6ee7b7;
  font-family: var(--mono);
  font-size: 9.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout__account-switch {
  flex: none;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.checkout__account-switch:hover {
  border-color: rgba(251, 113, 133, .4);
  color: var(--danger);
}

.checkout__error {
  min-height: 0;
  margin-top: 7px;
  color: var(--danger);
  font-size: 10.5px;
  line-height: 1.5;
}

.checkout__error:empty {
  display: none;
}

.checkout__next {
  width: 100%;
  margin-top: 18px;
}

.checkout__next:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.checkout__steam-summary {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
  background: rgba(0, 0, 0, .25);
  font-family: var(--mono);
}

.checkout__steam-summary code {
  color: var(--accent-bright);
  font-size: 11px;
}

.checkout__option {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, .24);
  overflow: hidden;
}

.checkout__option-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
}

.checkout__option-head strong {
  color: var(--text);
  font-size: 11.5px;
  font-weight: 600;
}

.checkout__option-head small {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: .05em;
}

.checkout__pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px;
  border: 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, .14), rgba(14, 165, 233, .06));
  color: var(--text-strong);
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}

.checkout__pay b {
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}

.checkout__pay:hover {
  background: rgba(34, 211, 238, .16);
  color: #fff;
}

.checkout__pay--dlocalgo {
  background: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(14, 165, 233, .08));
}

.checkout__rate {
  margin-top: 10px !important;
  color: var(--muted-2) !important;
  font-size: 10px !important;
  line-height: 1.55 !important;
}

.checkout__back {
  margin-top: 16px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: color .2s var(--ease);
}

.checkout__back:hover {
  color: var(--accent-bright);
}

.checkout__step--loading {
  text-align: center;
}

.checkout__step--loading h3 {
  margin-bottom: 18px;
}

.checkout__spinner {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 auto 15px;
  border: 2px solid rgba(34, 211, 238, .2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.checkout__step--loading p {
  margin-top: 6px;
}

.checkout__step--loading .checkout__hint {
  max-width: 360px;
  margin-inline: auto;
}

/* ---------------------------------------------------------
   23. TOAST
   --------------------------------------------------------- */
.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 2000;
  max-width: min(360px, calc(100vw - 44px));
  padding: 12px 16px;
  border: 1px solid var(--accent-line);
  border-radius: 9px;
  background: rgba(8, 14, 19, .96);
  color: var(--text);
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}

.toast.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------
   24. ANIMACIONES DE ENTRADA
   --------------------------------------------------------- */
html.js [data-reveal] {
  transition:
    opacity .7s var(--ease) var(--d, 0ms),
    transform .7s var(--ease) var(--d, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------
   25. RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1180px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 42px;
  }

  .community__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .community__side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__grid {
    grid-template-columns: minmax(220px, 1.25fr) repeat(3, minmax(130px, .7fr));
    gap: 30px;
  }
}

@media (max-width: 1040px) {
  .header__inner {
    height: 66px;
    gap: 12px;
  }

  .header__cta {
    display: none;
  }

  .account {
    margin-left: auto;
  }

  .nav-toggle {
    display: grid;
    margin-left: 0;
  }

  .nav {
    position: fixed;
    top: 78px;
    right: 16px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    width: min(340px, calc(100vw - 32px));
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(9, 12, 16, .97);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    backdrop-filter: blur(24px) saturate(1.4);
    box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav > a {
    padding: 11px 12px;
    font-size: 13px;
  }

  .nav > a.nav__cta {
    margin: 6px 0 0;
    justify-content: center;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 92px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .hero__copy {
    max-width: 700px;
  }

  .server-card {
    max-width: 520px;
  }

  .hero__scroll {
    display: none;
  }

  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-card--featured {
    order: -1;
  }
}

@media (max-width: 960px) {
  .section {
    padding: 76px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 32px;
  }

  .about__grid,
  .connect__grid,
  .faq__grid,
  .commands__grid,
  .wipes__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .specs {
    max-width: 620px;
  }

  .pillars {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-top: 44px;
  }

  .plugins-grid,
  .rule-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discord__panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 34px;
  }

  .discord__mark {
    display: none;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    padding-top: 44px;
  }

  .footer__legal-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 860px) {
  .store-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }

  .hero__title {
    font-size: clamp(54px, 12vw, 88px);
  }

  .server-card {
    max-width: none;
  }

  .ranking-podium {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .leaderboard__cols,
  .rank-row {
    grid-template-columns: 40px minmax(0, 1fr) 92px 76px 76px;
    gap: 9px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 34px, var(--max));
  }

  .account__name {
    display: none;
  }

  .account__toggle {
    padding-right: 4px;
  }

  .section {
    padding: 64px 0;
  }

  .section--tight {
    padding: 54px 0;
  }

  .footer__grid,
  .community__side,
  .portal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .portal-card {
    min-height: 0;
  }

  .hero {
    padding: 118px 0 76px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }

  .stat {
    padding: 0 14px;
  }

  .stat:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero__trust {
    gap: 8px 14px;
  }

  .rank-detail__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ranking-toolbar {
    align-items: stretch;
  }

  .ranking-search {
    max-width: none;
  }

  .ranking-podium {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .podium-card {
    flex-direction: row;
    align-items: center;
    gap: 11px;
    padding: 11px 13px;
  }

  .podium-avatar {
    margin-bottom: 0;
  }

  .podium-card__body {
    flex: 1;
  }

  .podium-card__metric {
    margin-top: 0;
    font-size: 18px;
  }

  .podium-card__sub {
    display: none;
  }

  .wipe-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .command {
    grid-template-columns: minmax(84px, .45fr) minmax(0, 1fr) auto;
    gap: 9px;
    padding: 13px 14px;
  }

  .command__desc {
    font-size: 11px;
  }

  .plugins-grid,
  .rule-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .brand__text small {
    display: none;
  }

  .account__login {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .account__login span {
    display: none;
  }

  .account__login .account__steam {
    width: 18px;
    height: 18px;
  }

  .hero__badges {
    margin-bottom: 20px;
  }

  .hero__lead {
    font-size: 14px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .leaderboard__cols,
  .rank-row {
    grid-template-columns: 32px minmax(0, 1fr) 78px 64px;
    gap: 8px;
    padding-inline: 14px;
  }

  .leaderboard__cols span:last-child,
  .rank-row .rank-row__stat:last-child {
    display: none;
  }

  .leaderboard__head,
  .ranking-toolbar,
  .ranking-metrics,
  .ranking-category,
  .ranking-status,
  .ranking-podium,
  .rank-detail,
  .leaderboard__note,
  .ranking-pagination {
    padding-inline: 14px;
  }

  .leaderboard__cols span:nth-child(3),
  .rank-row .rank-row__stat:nth-child(3) {
    text-align: right;
  }

  .rank-avatar {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .rank-row {
    min-height: 58px;
  }

  .connect__actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .connect__info {
    grid-template-columns: minmax(0, 1fr);
  }

  .checkout {
    padding: 10px;
  }

  .checkout__dialog {
    max-height: calc(100svh - 20px);
    padding: 22px 18px;
    border-radius: 14px;
  }

  .checkout__progress li {
    justify-content: center;
    padding: 7px 4px;
    font-size: 7px;
    letter-spacing: 0;
  }

  .checkout__steam {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout__help {
    padding-left: 2px;
  }

  .footer__legal-head {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .hero__title {
    font-size: 48px;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat__label {
    font-size: 7px;
    letter-spacing: .08em;
  }

  .stat__num {
    font-size: 20px;
  }

  .server-card__body {
    padding: 16px;
  }

  .server-card__top {
    padding: 13px 16px;
  }

  .server-card__identity h2 {
    font-size: 22px;
  }

  .server-card__logo {
    width: 48px;
    height: 48px;
  }

  .server-card__logo img {
    width: 36px;
    height: 36px;
  }

  .server-card__stats > div {
    padding: 9px;
  }

  .leaderboard__cols,
  .rank-row {
    grid-template-columns: 28px minmax(0, 1fr) 70px 58px;
  }

  .rank-row__player small {
    font-size: 7px;
  }

  .rank-row__stat {
    font-size: 10.5px;
  }

  .rank-detail__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .countdown {
    gap: 5px;
  }

  .count {
    padding: 11px 4px 9px;
  }

  .count__num {
    font-size: 26px;
  }

  .discord__panel {
    padding: 24px 18px;
  }
}

@media print {
  .page-bg,
  .site-header,
  .scroll-progress,
  .nav-backdrop,
  .hero__bg,
  .hero__scroll,
  .marquee,
  .toast,
  .checkout,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #111;
  }

  .section {
    padding: 24px 0;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
