/* ============================================================
   ARGENTINA CS — Estilos del sitio
   Paleta tomada del banner oficial: negro + azul + dorado
   ============================================================ */

:root {
  --bg: #06070b;
  --bg-soft: #0b0e15;
  --panel: #10141d;
  --panel-2: #151a26;
  --border: rgba(255, 255, 255, 0.09);

  --blue: #2f9bff;
  --blue-soft: #7cc4ff;
  --blue-deep: #0b5ed7;
  --gold: #ffb61e;
  --gold-soft: #ffd469;
  --gold-deep: #c98a00;
  --red: #e63946;

  --text: #e9ecf3;
  --muted: #9aa3b5;

  --radius: 14px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 600px at -10% -10%, rgba(47, 155, 255, 0.14), transparent 60%),
    radial-gradient(1000px 600px at 110% -10%, rgba(255, 182, 30, 0.12), transparent 60%),
    radial-gradient(800px 500px at 50% 120%, rgba(47, 155, 255, 0.07), transparent 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.55;
  min-height: 100vh;
}

/* Imagen de fondo estática (fotograma del video del logo): respaldo
   para cuando el video no puede reproducirse. Misma opacidad que el video. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("fondo.jpg") center no-repeat;
  background-size: cover;
  opacity: 0.09;
  pointer-events: none;
}

/* Video de fondo sutil (lo inyecta main.js; mientras reproduce
   reemplaza a la imagen estática para que no se superpongan) */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.09;
  pointer-events: none;
}

body.con-video::before { display: none; }

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

a { color: var(--blue-soft); text-decoration: none; }
a:hover { text-decoration: none; }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Tipografía display (estilo banner) ---------- */
.display {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

.text-blue { color: var(--blue); }
.text-gold { color: var(--gold); }
.text-red  { color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 7, 11, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.brand-logo {
  width: 44px;
  height: 44px;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
  color: #fff;
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  font-style: italic;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }

.main-nav a.nav-cta {
  color: #101010;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  font-weight: 800;
}

.main-nav a.nav-cta:hover { filter: brightness(1.1); }

/* Menú desplegable (submenú de Minecraft) */
.nav-sub { position: relative; }

.nav-sub .caret { font-size: 0.7em; opacity: 0.7; }

.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  min-width: 100%;
  max-width: calc(100vw - 24px);
  background: rgba(13, 16, 23, 0.97);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  display: none;
  z-index: 60;
  box-shadow: var(--shadow);
}

.nav-sub:hover .sub-menu,
.nav-sub:focus-within .sub-menu { display: block; }

.sub-menu a {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.sub-menu a:hover { background: rgba(255, 255, 255, 0.08); }

.sub-menu hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 6px 10px;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 56px; text-align: center; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  margin-bottom: 18px;
}

.hero h1 .line { display: block; }

.hero-sub {
  max-width: 640px;
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-sub strong.accion { color: var(--red); }
.hero-sub strong.comunidad { color: var(--blue); }

.hero-stars { margin: 10px 0 26px; letter-spacing: 0.5em; font-size: 0.9rem; }
.hero-stars .b { color: var(--blue); }
.hero-stars .w { color: #fff; }

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: transform 0.12s, filter 0.15s, box-shadow 0.15s;
}

.btn:hover { transform: translateY(-1px); filter: brightness(1.12); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #131313;
  box-shadow: 0 6px 24px rgba(255, 182, 30, 0.25);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-soft), var(--blue) 55%, var(--blue-deep));
  color: #071120;
  box-shadow: 0 6px 24px rgba(47, 155, 255, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
}

/* ---------- Secciones ---------- */
.section { padding: 56px 0; }

.section-head { text-align: center; margin-bottom: 36px; }

.section-head .diamond-icon { width: 54px; height: 54px; margin: 0 auto 14px; }

.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }

.section-head p.sub { color: var(--muted); margin-top: 8px; max-width: 620px; margin-inline: auto; }

.divider-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 34px 0 16px;
}

.divider-tag::before,
.divider-tag::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, var(--border));
}

.divider-tag::after { background: linear-gradient(90deg, var(--border), transparent); }

.divider-tag h3 {
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1rem;
  white-space: nowrap;
}

/* ---------- Cards de servidores ---------- */
.server-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(480px, 100%), 1fr));
  gap: 14px;
}

.server-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}

.server-main {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.server-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.server-card.cs:hover { border-color: rgba(255, 182, 30, 0.5); }

.server-info { flex: 1; min-width: 0; }

.server-info h4 {
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.server-info .ip {
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s;
}

.server-card.cs .ip:hover { color: var(--gold-soft); }

.server-live {
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}

.server-live.on { color: #6ee7a0; }
.server-live.off { color: var(--red); }

[data-copy][role="button"]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 6px;
}

.server-actions { display: flex; gap: 8px; flex: none; }

.btn-play {
  padding: 9px 14px;
  font-size: 0.8rem;
  border-radius: 8px;
}

.btn-copy {
  padding: 9px 11px;
  font-size: 0.85rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--muted);
}

.btn-copy:hover { color: var(--text); }

.server-card.cs { cursor: pointer; }

.gt-link { display: block; }

.gt-banner {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.15s;
}

.gt-link:hover .gt-banner { border-color: rgba(255, 182, 30, 0.5); }

.server-note {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.server-note code {
  font-family: "Cascadia Code", "Consolas", monospace;
  background: rgba(255, 255, 255, 0.07);
  padding: 1px 7px;
  border-radius: 6px;
  color: var(--gold-soft);
}

/* ---------- Minecraft (servidor unificado) ---------- */
.mc-unified {
  max-width: 860px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  text-align: center;
  transition: border-color 0.15s;
}

.mc-unified:hover { border-color: rgba(47, 155, 255, 0.5); }

.mc-head { margin-bottom: 20px; }

.mc-online-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
  padding: 0;
}

.mc-online-list li {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-soft);
  background: rgba(47, 155, 255, 0.1);
  border: 1px solid rgba(47, 155, 255, 0.35);
  border-radius: 999px;
  padding: 4px 14px;
}

.mc-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.mc-platform {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 20px;
}

.mc-platform .mc-icon { font-size: 2rem; margin-bottom: 6px; }

.mc-platform h3 {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--blue-soft);
  margin-bottom: 10px;
}

.mc-platform .desc { color: var(--muted); font-size: 0.88rem; margin-top: 12px; }

.mc-platform .btn { width: 100%; margin-top: 8px; }

.mc-note { margin-top: 18px; color: var(--muted); font-size: 0.92rem; }

.mc-players {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 12px;
}

.mc-players.on { color: #6ee7a0; border-color: rgba(110, 231, 160, 0.4); }
.mc-players.off { color: var(--red); border-color: rgba(230, 57, 70, 0.4); }

.mc-ip {
  font-family: "Cascadia Code", "Consolas", monospace;
  font-size: 1.05rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  color: var(--blue-soft);
  cursor: pointer;
  overflow-wrap: anywhere;
}

.mc-ip small { display: block; color: var(--muted); font-size: 0.75rem; }

/* ---------- Tienda / VIP ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.promo-card {
  position: relative;
  display: block;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  color: var(--text);
  overflow: hidden;
  transition: border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}

.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.promo-card.tienda:hover { border-color: rgba(47, 155, 255, 0.55); }
.promo-card.vip:hover { border-color: rgba(255, 182, 30, 0.55); }

.promo-card .promo-icon { font-size: 2.4rem; margin-bottom: 10px; }

.promo-card h3 {
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  font-size: 1.4rem;
}

.promo-card.tienda h3 { color: var(--blue); }
.promo-card.vip h3 { color: var(--gold); }

.promo-card p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }

.badge-soon {
  position: absolute;
  top: 14px;
  right: -38px;
  transform: rotate(38deg);
  background: var(--red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 42px;
}

/* ---------- Redes sociales ---------- */
.socials-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.social {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #11151d;
  border: 1px solid var(--border);
  color: #fff;
  transition: transform 0.15s, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.social svg { width: 26px; height: 26px; fill: currentColor; }

.social:hover { transform: translateY(-4px) scale(1.05); border-color: transparent; }

.social.instagram:hover { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); box-shadow: 0 8px 24px rgba(214, 36, 159, 0.4); }
.social.tiktok:hover    { background: #010101; border-color: #69c9d0; box-shadow: 0 8px 24px rgba(105, 201, 208, 0.35); }
.social.facebook:hover  { background: #1877f2; box-shadow: 0 8px 24px rgba(24, 119, 242, 0.4); }
.social.youtube:hover   { background: #ff0000; box-shadow: 0 8px 24px rgba(255, 0, 0, 0.4); }
.social.discord:hover   { background: #5865f2; box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4); }
.social.whatsapp:hover  { background: #25d366; box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 34px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-values {
  display: flex;
  justify-content: center;
  gap: 10px 26px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.footer-values span { display: inline-flex; align-items: center; gap: 7px; }

.footer-tagline {
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}

.footer-tagline .une { color: var(--blue); }
.footer-tagline .siempre { color: var(--gold); }

.footer-credit {
  margin-top: 8px;
  font-size: 0.78rem;
  opacity: 0.7;
}

/* ---------- Páginas de novedades (CS y Minecraft) ---------- */
.nov-hero { text-align: center; padding: 48px 0 20px; }
.nov-hero h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 10px; }
.nov-hero .sub { color: var(--muted); max-width: 620px; margin: 0 auto; }

.nov-lista { max-width: 760px; margin: 26px auto 40px; display: flex; flex-direction: column; gap: 16px; }
.nov-item {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 24px;
}
.nov-item .nov-fecha {
  display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--gold-soft); background: rgba(255, 182, 30, 0.1);
  border: 1px solid rgba(255, 182, 30, 0.35); border-radius: 999px; padding: 3px 12px; margin-bottom: 10px;
}
.nov-item h2 { font-weight: 800; font-size: 1.15rem; margin-bottom: 8px; }
.nov-item p { color: var(--muted); font-size: 0.95rem; }
.nov-item code {
  font-family: "Cascadia Code", "Consolas", monospace; font-size: 0.85em;
  background: rgba(255, 255, 255, 0.07); padding: 1px 7px; border-radius: 6px; color: var(--blue-soft);
}
.nov-pie { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 30px; }

/* ---------- Páginas de reglamento ---------- */
.reg-hero { text-align: center; padding: 48px 0 6px; }
.reg-hero h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); margin-bottom: 10px; }
.reg-hero .sub { color: var(--muted); max-width: 640px; margin: 0 auto; }
.reg-hero .reg-links { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }

.reg-wrap { max-width: 820px; margin: 0 auto; }

.reg-seccion { padding: 28px 0 4px; }
.reg-seccion > h2 {
  font-weight: 800; font-style: italic; text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: 0.05em; color: var(--blue-soft);
  margin-bottom: 12px;
}
.reg-seccion > h2.dorado { color: var(--gold); }
.reg-seccion > p.intro { color: var(--muted); margin-bottom: 14px; font-size: 0.95rem; }

.reg-panel {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px;
}

.reg-prohibido { list-style: none; padding: 0; margin: 0; }
.reg-prohibido li {
  color: var(--muted); font-size: 0.94rem; padding: 8px 0 8px 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05); position: relative;
}
.reg-prohibido li:last-child { border-bottom: none; }
.reg-prohibido li::before {
  content: "✕"; position: absolute; left: 6px; top: 8px;
  color: var(--red); font-weight: 800; font-size: 0.85rem;
}
.reg-permitido li::before { content: "✓"; color: #6ee7a0; }

.reg-item {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px;
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px;
}
.reg-item .ico { font-size: 1.4rem; flex: none; }
.reg-item h3 { font-weight: 800; font-size: 1rem; margin-bottom: 4px; }
.reg-item p { color: var(--muted); font-size: 0.93rem; }

.reg-sanciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.reg-sancion {
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 18px; text-align: center;
}
.reg-sancion .nivel {
  font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; margin-bottom: 6px;
}
.reg-sancion.leve .nivel { color: #6ee7a0; }
.reg-sancion.grave .nivel { color: var(--gold-soft); }
.reg-sancion.muygrave .nivel { color: var(--red); }
.reg-sancion p { color: var(--muted); font-size: 0.9rem; }

.reg-aviso {
  margin: 16px 0 0; padding: 13px 18px; text-align: center;
  background: rgba(255, 182, 30, 0.07); border: 1px dashed rgba(255, 182, 30, 0.4);
  border-radius: var(--radius); color: var(--muted); font-size: 0.92rem;
}
.reg-aviso strong { color: var(--gold-soft); }
.reg-aviso code, .reg-panel code, .reg-item code {
  font-family: "Cascadia Code", "Consolas", monospace; font-size: 0.85em;
  background: rgba(255, 255, 255, 0.07); padding: 1px 7px; border-radius: 6px; color: var(--blue-soft);
}

.reg-equipo { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 10px; }
.reg-equipo span {
  font-size: 0.85rem; font-weight: 700; color: var(--text);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px 14px;
}
.reg-equipo.mods span { color: var(--muted); font-weight: 600; }
.reg-rol { text-align: center; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-top: 16px; }

.reg-cierre { text-align: center; padding: 34px 0 20px; }

/* Índice de secciones (reglamentos largos) */
.reg-indice {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; margin-top: 22px;
}
.reg-indice .titulo {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 10px; text-align: center;
}
.reg-indice ol {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 4px 14px;
}
.reg-indice a {
  display: block; color: var(--text); font-size: 0.88rem; font-weight: 600;
  padding: 5px 8px; border-radius: 8px;
}
.reg-indice a:hover { background: rgba(255, 255, 255, 0.07); color: var(--blue-soft); }

.reg-seccion[id] { scroll-margin-top: 90px; }
.reg-seccion > h2 .num { color: var(--muted); font-weight: 700; margin-right: 4px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: #171c27;
  border: 1px solid rgba(255, 182, 30, 0.5);
  color: var(--text);
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 100;
  max-width: 92vw;
  text-align: center;
}

.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Página "en construcción" (tienda / vip) ---------- */
.uc-wrap {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.uc-card {
  text-align: center;
  max-width: 560px;
  width: 92%;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 54px 34px;
  box-shadow: var(--shadow);
}

.uc-card .diamond-icon { width: 84px; height: 84px; margin: 0 auto 22px; }

.uc-card h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); margin-bottom: 12px; }

.uc-card p { color: var(--muted); margin-bottom: 8px; }

.uc-card .uc-hint { font-size: 0.9rem; }

.uc-card .btn { margin-top: 22px; }

.uc-socials { margin-top: 26px; }

.uc-socials .social { width: 46px; height: 46px; }
.uc-socials .social svg { width: 21px; height: 21px; }

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  /* en pantallas chicas el menú se centra: los desplegables también,
     para que no se salgan por el borde derecho */
  .sub-menu { left: 50%; transform: translateX(-50%); }

  .hero { padding: 48px 0 40px; }
  .server-main { flex-wrap: wrap; }
  .server-actions { width: 100%; }
  .server-actions .btn-play { flex: 1; }
  .main-nav { justify-content: center; width: 100%; }
  .site-header .container { justify-content: center; }
}

/* ---- Cinta con los nombres del equipo (debajo del menu, en todas las paginas) ----
   Discreta a proposito: tipografia chica y blanco con transparencia, para que
   acompane sin competir con el contenido. */
.cinta-equipo {
  overflow: hidden;               /* recorta lo que sobresale del ancho */
  /* Va dentro del header, que es sticky: la cinta acompana al visitante
     mientras baja por la pagina. El borde de abajo lo pone el header. */
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
  padding: 5px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.cinta-pista {
  display: flex;
  width: max-content;             /* que mida lo que ocupan las dos copias */
  /* La duracion la calcula cada pagina segun cuantos nombres muestra,
     asi la velocidad de lectura es la misma en todas. */
  animation: cinta-rodar var(--cinta-duracion, 180s) linear infinite;
}
.cinta-grupo { display: flex; flex-shrink: 0; }
.cinta-nombre {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .34);
  white-space: nowrap;
  padding: 0 14px;
}
/* Duenos y staff en dorado, para que se distingan del resto del equipo.
   Mas opaco que los demas: sobre fondo oscuro el dorado necesita algo mas de
   cuerpo que el blanco para leerse igual de bien. */
.cinta-nombre.destacado {
  color: rgba(255, 182, 30, .62);
  font-weight: 800;
}

.cinta-nombre + .cinta-nombre::before {
  content: "·";                /* punto separador */
  color: rgba(255, 255, 255, .18);
  margin-right: 14px;
}
/* Arranca con la primera copia ya fuera de cuadro y la trae hacia la derecha */
@keyframes cinta-rodar {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
/* Si la persona pidio menos movimiento, la cinta se queda quieta */
@media (prefers-reduced-motion: reduce) {
  .cinta-pista { animation: none; transform: translateX(-50%); }
}

/* Un respiro entre la cinta y el borde de abajo del header, para que los
   nombres no queden pegados al filo. */
.site-header { padding-bottom: 10px; }

/* En telefono la cinta se ensancha a un 7% del alto de pantalla: en una franja
   tan angosta como la de escritorio los nombres quedaban apretados contra el
   menu. El minimo evita que se aplaste en pantallas muy bajas. */
@media (max-width: 760px) {
  .cinta-equipo {
    height: 7vh;
    min-height: 34px;
    padding: 0;
    display: flex;
    align-items: center;      /* los nombres, centrados en la franja */
  }
  .cinta-pista { flex: none; } /* que el flex no le achique el ancho */
  .cinta-nombre { font-size: .72rem; }
}
