/* =====================================================================
   FECOD Battles — Combat Sports Skin
   ---------------------------------------------------------------------
   Paleta agresiva, geometría angular, tipografía condensada.
   Pensada para sobrescribir tonos suaves de battle-rebrand.css.
   Cargar SIEMPRE después del resto de CSS de battle.
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Anton&family=Oswald:wght@400;500;700&family=Russo+One&family=JetBrains+Mono:wght@400;700&display=swap");

:root {
  /* ----- Paleta combat sports ----- */
  --bc-red: #E10600;
  --bc-red-deep: #B30500;
  --bc-red-glow: rgba(225, 6, 0, 0.55);
  --bc-black: #0A0A0A;
  --bc-surface: #141414;
  --bc-surface-2: #1C1C1C;
  --bc-surface-3: #262626;
  --bc-line: #2A2A2A;
  --bc-text: #FFFFFF;
  --bc-text-dim: rgba(255, 255, 255, 0.65);
  --bc-text-muted: rgba(255, 255, 255, 0.42);
  --bc-accent: #FFFFFF;
  --bc-warning: #FFB400;
  --bc-success: #18C964;

  /* ----- Miami Heretics layer (paleta oficial SVG = #216d6b teal) ----- */
  --mh-teal: #216d6b;
  --mh-teal-bright: #2EA9A4;
  --mh-orange: #FF6A1A;
  --mh-gold: #FFC72C;
  --mh-deep: #0F2A2A;

  /* ----- Tipografía ----- */
  --bc-font-display: "Bebas Neue", "Anton", "Oswald", "Bakbak One", sans-serif;
  --bc-font-display-2: "Anton", "Oswald", "Bebas Neue", sans-serif;
  --bc-font-mono: "JetBrains Mono", "Space Mono", ui-monospace, monospace;
  --bc-font-body: "Oswald", "Inter", "Exo 2", system-ui, sans-serif;

  /* ----- Geometría ----- */
  --bc-clip-card: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  --bc-clip-cta: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  --bc-clip-chip: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);

  /* ----- Sombras ----- */
  --bc-glow-red: 0 0 0 1px var(--bc-red), 0 18px 60px rgba(225, 6, 0, 0.35);
  --bc-shadow-card: 0 22px 70px rgba(0, 0, 0, 0.65);
  --bc-shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* =====================================================================
   Body / globales
   Redefinimos los tokens MX (--mx-*) que usa todo battle-rebrand.css y los
   componentes legacy bhome-*, para que automáticamente cojan paleta combat
   sin reescribir cada regla.
   ===================================================================== */
body.battle-zone {
  /* Override tokens FECOD/MX heredados — el resto de CSS antiguo seguirá
     usando estas variables y se rebrandeará solo. */
  --mx-bg: var(--bc-black) !important;
  --mx-surface: var(--bc-surface) !important;
  --mx-surface-2: var(--bc-surface-2) !important;
  --mx-surface-3: var(--bc-surface-3) !important;
  --mx-text: var(--bc-text) !important;
  --mx-text-muted: var(--bc-text-dim) !important;
  --mx-text-dim: var(--bc-text-muted) !important;
  --mx-accent: var(--bc-red) !important;
  --mx-accent-2: var(--bc-red) !important;
  --mx-border: var(--bc-line) !important;
  --mx-divider: var(--bc-line) !important;
  --mx-danger: var(--bc-red) !important;
  --mx-danger-strong: var(--bc-red-deep) !important;
  --mx-warning: var(--bc-warning) !important;
  --mx-success: var(--bc-success) !important;
  /* Tokens legacy fecod-* por si algún componente todavía los usa */
  --fecod-bg: var(--bc-black) !important;
  --fecod-surface: var(--bc-surface) !important;
  --fecod-text: var(--bc-text) !important;
  --fecod-accent: var(--bc-red) !important;
  --fecod-border: var(--bc-line) !important;

  background:
    radial-gradient(circle at 80% -10%, rgba(225, 6, 0, 0.18), transparent 50%),
    radial-gradient(circle at -10% 110%, rgba(225, 6, 0, 0.10), transparent 55%),
    var(--bc-black) !important;
  color: var(--bc-text) !important;
  font-family: var(--bc-font-body) !important;
  letter-spacing: 0.01em;
}

/* =====================================================================
   Override del hero legacy bhome-* (el de tu screenshot, fondo azul)
   ===================================================================== */
body.battle-zone .bhome-hero {
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(225, 6, 0, 0.12), transparent 70%),
    var(--bc-black) !important;
  border-bottom: 4px solid var(--bc-red) !important;
}

body.battle-zone .bhome-hero-bg,
body.battle-zone .bhome-hero-grid {
  background: transparent !important;
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 1px, transparent 36px) !important;
}

body.battle-zone .bhome-hero-glow,
body.battle-zone .bhome-hero-glow--red,
body.battle-zone .bhome-hero-glow--blue {
  background: radial-gradient(circle, var(--bc-red-glow) 0%, transparent 60%) !important;
}

body.battle-zone .bhome-hero-eyebrow {
  font-family: var(--bc-font-mono) !important;
  letter-spacing: 0.4em !important;
  color: var(--bc-red) !important;
}

body.battle-zone .bhome-hero-title,
body.battle-zone .bhome-hero-title-accent {
  font-family: var(--bc-font-display) !important;
  letter-spacing: 0 !important;
  color: var(--bc-text) !important;
  font-size: clamp(3.5rem, 10vw, 9rem) !important;
  line-height: 0.85 !important;
  text-transform: uppercase !important;
}

body.battle-zone .bhome-hero-title-accent {
  color: var(--bc-red) !important;
  text-shadow: 0 0 40px rgba(225, 6, 0, 0.5);
}

body.battle-zone .bhome-hero-subtitle {
  color: var(--bc-text-dim) !important;
  font-size: 1.15rem !important;
  font-family: var(--bc-font-body) !important;
}

body.battle-zone .bhome-live-dot {
  background: var(--bc-red) !important;
  box-shadow: 0 0 0 0 var(--bc-red-glow) !important;
  animation: bcPulse 1.6s infinite;
}

/* Stats strip legacy */
body.battle-zone .bhome-hero-metrics,
body.battle-zone .bhome-stats {
  background: var(--bc-black) !important;
  border: 1px solid var(--bc-line) !important;
  border-radius: 0 !important;
}

body.battle-zone .bhome-metric-val {
  font-family: var(--bc-font-display) !important;
  font-size: 2.6rem !important;
  color: var(--bc-red) !important;
  line-height: 1 !important;
}

body.battle-zone .bhome-metric-lbl {
  font-family: var(--bc-font-mono) !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  font-size: 0.7rem !important;
  color: var(--bc-text-muted) !important;
}

body.battle-zone .bhome-metric-sep {
  background: var(--bc-line) !important;
}

/* Login button (era btn-primary azul de Bootstrap) */
body.battle-zone .fecod-nav-login,
body.battle-zone a.fecod-nav-login {
  background: var(--bc-red) !important;
  border: 2px solid var(--bc-red) !important;
  color: var(--bc-text) !important;
  font-family: var(--bc-font-display) !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  clip-path: var(--bc-clip-cta);
  padding: 0.55rem 1.2rem !important;
}

body.battle-zone .fecod-nav-login:hover {
  background: var(--bc-red-deep) !important;
  border-color: var(--bc-red-deep) !important;
}

body.battle-zone::before {
  /* Líneas diagonales sutiles de fondo, tipo backdrop deportivo */
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.018) 0,
    rgba(255, 255, 255, 0.018) 1px,
    transparent 1px,
    transparent 14px
  );
  z-index: 0;
}

body.battle-zone main {
  position: relative;
  z-index: 1;
}

/* =====================================================================
   Tipografía display
   ===================================================================== */
body.battle-zone h1,
body.battle-zone h2,
body.battle-zone h3,
body.battle-zone .battle-display {
  font-family: var(--bc-font-display) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--bc-text);
}

body.battle-zone h1, body.battle-zone .battle-display-xl {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: 0.02em;
}

body.battle-zone h2 { font-size: clamp(2rem, 4.5vw, 3.6rem); }
body.battle-zone h3 { font-size: clamp(1.5rem, 3vw, 2.4rem); }

body.battle-zone .battle-kicker {
  font-family: var(--bc-font-mono);
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.78rem;
  color: var(--bc-red);
  font-weight: 700;
}

/* =====================================================================
   Header / navbar de battles (sobrescribe el actual)
   ===================================================================== */
body.battle-zone header,
body.battle-zone .battle-header,
body.battle-zone .navbar {
  background: var(--bc-black) !important;
  border-bottom: 1px solid var(--bc-line) !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
  position: relative;
}

/* Acento rojo abajo del header — un trazo corto y limpio en lugar de toda la línea */
body.battle-zone header::after,
body.battle-zone .battle-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 220px;
  height: 2px;
  background: var(--bc-red);
  box-shadow: 0 0 16px var(--bc-red-glow);
}

body.battle-zone .navbar-brand,
body.battle-zone .battle-brand {
  font-family: var(--bc-font-display);
  font-size: 1.65rem;
  letter-spacing: 0.08em;
  color: var(--bc-text) !important;
  text-transform: uppercase;
}

body.battle-zone .navbar-brand .accent,
body.battle-zone .battle-brand .accent {
  color: var(--bc-red);
}

body.battle-zone .nav-link,
body.battle-zone .navbar .dropdown-toggle {
  color: var(--bc-text-dim) !important;
  font-family: var(--bc-font-display);
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 1rem !important;
  border-radius: 0;
  position: relative;
  transition: color 0.15s ease;
}

/* Kill ALL ::after / ::before lines del legacy de nav-link en battles */
body.battle-zone .nav-link::after,
body.battle-zone .nav-link::before,
body.battle-zone .navbar-nav .nav-link::after,
body.battle-zone .navbar-nav .nav-link::before,
body.battle-zone .battle-header .battle-nav-list .nav-link::after,
body.battle-zone .battle-header .battle-nav-list .nav-link::before {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: none !important;
}

/* Caret del dropdown sí lo dejamos */
body.battle-zone .navbar .dropdown-toggle::after {
  display: inline-block !important;
  content: "" !important;
  border-top: 0.3em solid !important;
  border-right: 0.3em solid transparent !important;
  border-bottom: 0 !important;
  border-left: 0.3em solid transparent !important;
  vertical-align: 0.15em;
  margin-left: 0.3em;
}

body.battle-zone .nav-link,
body.battle-zone .navbar .dropdown-toggle {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.battle-zone .nav-link:hover,
body.battle-zone .nav-link:focus-visible,
body.battle-zone .nav-link.active,
body.battle-zone .navbar .dropdown-toggle.active,
body.battle-zone .navbar .nav-item.show > .dropdown-toggle {
  color: var(--bc-text) !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Línea inferior roja — única señal de hover/active.
   Specificity boosted con .battle-header .battle-nav-list para superar
   el `display: none !important` del legacy battle-navbar-lock.css. */
body.battle-zone .battle-header .battle-nav-list .nav-link.active::after,
body.battle-zone .battle-header .battle-nav-list .nav-link:hover::after,
body.battle-zone .battle-header .battle-nav-list .nav-item.show > .dropdown-toggle::after,
body.battle-zone .battle-header .battle-nav-list .dropdown-toggle[aria-expanded="true"]::after,
body.battle-zone .navbar .nav-link.active::after,
body.battle-zone .navbar .nav-link:hover::after,
body.battle-zone .navbar .nav-item.show > .dropdown-toggle::after,
body.battle-zone .navbar .dropdown-toggle[aria-expanded="true"]::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0.4rem !important;
  right: 0.4rem !important;
  bottom: 0 !important;
  top: auto !important;
  height: 2px !important;
  width: auto !important;
  background: var(--bc-red) !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: 0 0 10px var(--bc-red-glow) !important;
  transform: none !important;
  opacity: 1 !important;
  scale: 1 !important;
  pointer-events: none;
}

/* En heretics-mode la línea es naranja */
body.heretics-zone .battle-header .battle-nav-list .nav-link.active::after,
body.heretics-zone .battle-header .battle-nav-list .nav-link:hover::after,
body.heretics-zone .battle-header .battle-nav-list .dropdown-toggle[aria-expanded="true"]::after,
body.heretics-zone .navbar .nav-link.active::after,
body.heretics-zone .navbar .nav-link:hover::after,
body.heretics-zone .navbar .dropdown-toggle[aria-expanded="true"]::after {
  background: var(--mh-orange) !important;
  box-shadow: 0 0 10px rgba(255, 106, 26, 0.6) !important;
}

/* Cobertura extra: cuando button.dropdown-toggle tiene la clase .show */
body.battle-zone .battle-header .battle-nav-list .dropdown-toggle.show::after,
body.battle-zone .navbar .dropdown-toggle.show::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0.4rem !important;
  right: 0.4rem !important;
  bottom: 0 !important;
  height: 2px !important;
  background: var(--bc-red) !important;
  box-shadow: 0 0 10px var(--bc-red-glow) !important;
  border: 0 !important;
  margin: 0 !important;
}
body.heretics-zone .battle-header .battle-nav-list .dropdown-toggle.show::after,
body.heretics-zone .navbar .dropdown-toggle.show::after {
  background: var(--mh-orange) !important;
  box-shadow: 0 0 10px rgba(255, 106, 26, 0.6) !important;
}

/* Mata el ring/caja de focus + .show de Bootstrap y vibe-ui en battle-zone.
   Specificity boost: usar .battle-header .battle-nav-list para superar
   las reglas de vibe-ui (body.vibe-ui-enabled .battle-nav-list ...). */
body.battle-zone .navbar .nav-link:focus,
body.battle-zone .navbar .nav-link:focus-visible,
body.battle-zone .navbar .nav-link.show,
body.battle-zone .navbar .dropdown-toggle:focus,
body.battle-zone .navbar .dropdown-toggle:focus-visible,
body.battle-zone .navbar .dropdown-toggle.show,
body.battle-zone .navbar .dropdown-toggle[aria-expanded="true"],
body.battle-zone .navbar .btn:focus,
body.battle-zone .navbar .btn:active,
body.battle-zone .navbar .btn.show,
body.battle-zone .navbar .btn-link:focus,
body.battle-zone .battle-header .battle-nav-list .nav-link:focus,
body.battle-zone .battle-header .battle-nav-list .nav-link:focus-visible,
body.battle-zone .battle-header .battle-nav-list .nav-link.show,
body.battle-zone .battle-header .battle-nav-list .dropdown-toggle:focus,
body.battle-zone .battle-header .battle-nav-list .dropdown-toggle:focus-visible,
body.battle-zone .battle-header .battle-nav-list .dropdown-toggle.show,
body.battle-zone .battle-header .battle-nav-list .dropdown-toggle[aria-expanded="true"],
body.battle-zone .battle-header .battle-nav-list .btn:focus,
body.battle-zone .battle-header .battle-nav-list .btn:focus-visible,
body.battle-zone .battle-header .battle-nav-list .btn.show,
body.battle-zone .battle-header .battle-nav-list .btn-link:focus,
body.battle-zone .battle-header .battle-nav-list .btn-link:focus-visible,
/* Override explícito de vibe-ui — añadiendo body.battle-zone para mayor specificity */
body.battle-zone.vibe-ui-enabled .battle-nav-list .nav-link:focus-visible,
body.battle-zone.vibe-ui-enabled .navbar-nav .nav-link:focus-visible,
body.battle-zone.vibe-ui-enabled .btn:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  border-color: transparent !important;
  text-decoration: none !important;
}

/* Dropdown menus */
body.battle-zone .dropdown-menu {
  background: var(--bc-surface) !important;
  border: 1px solid var(--bc-line) !important;
  border-radius: 0 !important;
  box-shadow: var(--bc-shadow-card) !important;
  padding: 0.4rem !important;
  min-width: 16rem;
  border-top: 2px solid var(--bc-red) !important;
}

body.battle-zone .dropdown-item {
  color: var(--bc-text-dim) !important;
  font-family: var(--bc-font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
  padding: 0.7rem 0.9rem !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.12s ease, color 0.12s ease, padding-left 0.15s ease;
}

body.battle-zone .dropdown-item:hover,
body.battle-zone .dropdown-item:focus-visible {
  background: rgba(225, 6, 0, 0.12) !important;
  color: var(--bc-text) !important;
  padding-left: 1.15rem !important;
}

body.battle-zone .dropdown-item.battle-domain-switch,
body.battle-zone .dropdown-item.fecod-domain-switch {
  background: linear-gradient(90deg, rgba(225, 6, 0, 0.18), rgba(225, 6, 0, 0.06));
  color: var(--bc-text) !important;
  border-left: 3px solid var(--bc-red);
}

body.battle-zone .dropdown-item.battle-domain-switch:hover,
body.battle-zone .dropdown-item.fecod-domain-switch:hover {
  background: linear-gradient(90deg, rgba(225, 6, 0, 0.28), rgba(225, 6, 0, 0.10));
}

body.battle-zone .dropdown-divider {
  border-top-color: var(--bc-line) !important;
  margin: 0.3rem 0 !important;
}

body.battle-zone .dropdown-header {
  color: var(--bc-red) !important;
  font-family: var(--bc-font-mono);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
}

/* =====================================================================
   Buttons
   ===================================================================== */
body.battle-zone .btn {
  font-family: var(--bc-font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 0;
  border-width: 2px;
  padding: 0.85rem 1.6rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.battle-zone .btn:active { transform: translateY(1px); }

body.battle-zone .btn-primary,
body.battle-zone .battle-btn-primary {
  background: var(--bc-red) !important;
  border-color: var(--bc-red) !important;
  color: var(--bc-text) !important;
  clip-path: var(--bc-clip-cta);
  box-shadow: 0 6px 22px rgba(225, 6, 0, 0.35);
}

body.battle-zone .btn-primary:hover,
body.battle-zone .battle-btn-primary:hover {
  background: var(--bc-red-deep) !important;
  border-color: var(--bc-red-deep) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(225, 6, 0, 0.55);
}

body.battle-zone .btn-outline-light,
body.battle-zone .battle-btn-ghost {
  background: transparent !important;
  border-color: var(--bc-text) !important;
  color: var(--bc-text) !important;
  clip-path: var(--bc-clip-cta);
}

body.battle-zone .btn-outline-light:hover {
  background: var(--bc-text) !important;
  color: var(--bc-black) !important;
}

body.battle-zone .btn-outline-danger {
  border-color: var(--bc-red) !important;
  color: var(--bc-red) !important;
  clip-path: var(--bc-clip-cta);
}
body.battle-zone .btn-outline-danger:hover {
  background: var(--bc-red) !important;
  color: var(--bc-text) !important;
}

/* =====================================================================
   Cards
   ===================================================================== */
body.battle-zone .card,
body.battle-zone .battle-card {
  background: var(--bc-surface) !important;
  border: 1px solid var(--bc-line) !important;
  border-radius: 0 !important;
  color: var(--bc-text) !important;
  clip-path: var(--bc-clip-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}

body.battle-zone .card::before,
body.battle-zone .battle-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bc-red) 0%, var(--bc-red) 35%, transparent 35%, transparent 100%);
  pointer-events: none;
}

body.battle-zone .card:hover,
body.battle-zone .battle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--bc-shadow-card), 0 0 0 1px var(--bc-red);
}

body.battle-zone .card-title,
body.battle-zone .battle-card-title {
  font-family: var(--bc-font-display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bc-text);
}

/* Card XL para hero/promos */
body.battle-zone .battle-card-xl {
  padding: 3rem 2rem;
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.12) 0%, transparent 60%),
    var(--bc-surface);
}

body.battle-zone .battle-card-xl .battle-display-xl {
  margin-bottom: 0.6rem;
}

/* =====================================================================
   Hero
   ===================================================================== */
.battle-hero {
  position: relative;
  min-height: 520px;
  padding: 6rem 0 5rem;
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at center, rgba(225, 6, 0, 0.12), transparent 70%),
    var(--bc-black);
  overflow: hidden;
  border-bottom: 4px solid var(--bc-red);
}

.battle-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 2px,
    transparent 2px,
    transparent 24px
  );
  pointer-events: none;
}

.battle-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--bc-black));
  pointer-events: none;
}

.battle-hero-eyebrow {
  font-family: var(--bc-font-mono);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--bc-red);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.battle-hero-title {
  font-family: var(--bc-font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  line-height: 0.85;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--bc-text);
  margin: 0 0 1rem;
}

.battle-hero-title .accent {
  color: var(--bc-red);
}

.battle-hero-sub {
  font-size: 1.15rem;
  color: var(--bc-text-dim);
  max-width: 640px;
  line-height: 1.5;
  margin-bottom: 2.5rem;
}

.battle-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* =====================================================================
   Sections / containers
   ===================================================================== */
.battle-section {
  padding: 5rem 0;
  position: relative;
}

.battle-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--bc-line);
}

.battle-section-title {
  font-family: var(--bc-font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0;
  color: var(--bc-text);
}

.battle-section-title .accent {
  color: var(--bc-red);
}

/* =====================================================================
   Chips / badges
   ===================================================================== */
body.battle-zone .badge,
body.battle-zone .battle-chip {
  font-family: var(--bc-font-mono);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
  padding: 0.5rem 0.9rem;
  font-size: 0.72rem;
  background: var(--bc-surface-2);
  color: var(--bc-text);
  border: 1px solid var(--bc-line);
  clip-path: var(--bc-clip-chip);
}

body.battle-zone .badge.bg-danger,
body.battle-zone .battle-chip-live {
  background: var(--bc-red) !important;
  color: var(--bc-text) !important;
  border-color: var(--bc-red);
  animation: bcPulse 1.6s infinite;
}

@keyframes bcPulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--bc-red-glow); }
  50%      { box-shadow: 0 0 0 6px transparent; }
}

/* =====================================================================
   Tables
   ===================================================================== */
body.battle-zone .table {
  --bs-table-bg: var(--bc-surface);
  --bs-table-color: var(--bc-text);
  --bs-table-border-color: var(--bc-line);
  --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
  --bs-table-hover-bg: rgba(225, 6, 0, 0.08);
  border: 1px solid var(--bc-line);
}

body.battle-zone .table thead th {
  background: var(--bc-black);
  color: var(--bc-text);
  font-family: var(--bc-font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.85rem;
  border-bottom: 2px solid var(--bc-red);
  padding: 1rem;
}

body.battle-zone .table td {
  padding: 0.9rem 1rem;
  vertical-align: middle;
}

/* =====================================================================
   Forms
   ===================================================================== */
body.battle-zone .form-control,
body.battle-zone .form-select {
  background: var(--bc-surface) !important;
  border: 1px solid var(--bc-line) !important;
  color: var(--bc-text) !important;
  border-radius: 0 !important;
  padding: 0.85rem 1rem;
  font-family: var(--bc-font-body);
}

body.battle-zone .form-control:focus,
body.battle-zone .form-select:focus {
  border-color: var(--bc-red) !important;
  box-shadow: 0 0 0 0.2rem rgba(225, 6, 0, 0.15) !important;
  background: var(--bc-surface-2) !important;
}

body.battle-zone .form-label {
  font-family: var(--bc-font-display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--bc-text-dim);
}

/* =====================================================================
   Alerts
   ===================================================================== */
body.battle-zone .alert {
  background: var(--bc-surface) !important;
  border: 1px solid var(--bc-line) !important;
  border-left-width: 4px !important;
  border-radius: 0 !important;
  color: var(--bc-text);
}
body.battle-zone .alert-danger { border-left-color: var(--bc-red) !important; }
body.battle-zone .alert-warning { border-left-color: var(--bc-warning) !important; }
body.battle-zone .alert-success { border-left-color: var(--bc-success) !important; }
body.battle-zone .alert-info { border-left-color: var(--mh-teal) !important; }

/* =====================================================================
   Footer
   ===================================================================== */
body.battle-zone footer {
  background: var(--bc-black) !important;
  border-top: 2px solid var(--bc-red);
  color: var(--bc-text-dim);
  font-family: var(--bc-font-mono);
}

/* =====================================================================
   Miami Heretics — sponsor layer (solo en secciones marcadas)
   Aplica a contenedores con .heretics-zone
   ===================================================================== */
/* =====================================================================
   Heretics theme — paleta Miami Heretics aplicable a un section o a body
   Redefiniendo los tokens combat (--bc-red) por los Heretics, todo el
   skin existente se rebrandea automáticamente en cascada.
   ===================================================================== */
.heretics-zone {
  --bc-red: var(--mh-orange);
  --bc-red-deep: #CC3D00;
  --bc-red-glow: rgba(255, 106, 26, 0.55);
}

/* Cuando es una SECTION (banner standalone) — fondo + bordes propios */
section.heretics-zone {
  position: relative;
  background:
    linear-gradient(135deg, rgba(255, 106, 26, 0.18), rgba(46, 169, 164, 0.10) 60%, transparent 100%),
    var(--bc-black);
  border-top: 2px solid var(--mh-orange);
  border-bottom: 2px solid var(--mh-teal);
}

/* Cuando es el BODY de toda la página (chall 2v2) — fondo y acentos page-wide */
body.heretics-zone.battle-zone {
  background:
    radial-gradient(circle at 80% -10%, rgba(255, 106, 26, 0.16), transparent 50%),
    radial-gradient(circle at -10% 110%, rgba(46, 169, 164, 0.14), transparent 55%),
    var(--bc-black) !important;
}

/* Header línea de acento: rojo -> orange en heretics mode */
body.heretics-zone.battle-zone header::after,
body.heretics-zone.battle-zone .battle-header::after {
  background: var(--mh-orange) !important;
  box-shadow: 0 0 16px rgba(255, 106, 26, 0.55) !important;
}

.heretics-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 1.2rem 1rem;
  background: linear-gradient(90deg, var(--bc-black), rgba(255, 77, 0, 0.22), var(--bc-black));
  border-top: 1px solid var(--mh-orange);
  border-bottom: 1px solid var(--mh-orange);
  font-family: var(--bc-font-display);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bc-text);
  font-size: 0.95rem;
}

.heretics-banner img {
  height: 36px;
  width: auto;
  filter: drop-shadow(0 0 18px rgba(255, 77, 0, 0.45));
}

.heretics-banner .powered {
  color: var(--mh-gold);
  font-family: var(--bc-font-mono);
  letter-spacing: 0.4em;
  font-size: 0.72rem;
}

.heretics-zone .battle-card,
.heretics-zone .card {
  border-color: rgba(255, 77, 0, 0.35) !important;
}

.heretics-zone .battle-card::before,
.heretics-zone .card::before {
  background: linear-gradient(90deg, var(--mh-orange) 0%, var(--mh-teal) 80%, transparent 100%) !important;
}

.heretics-zone .battle-section-title .accent {
  color: var(--mh-orange);
}

/* =====================================================================
   Heretics stage — banner full CDL skin-reveal style
   ===================================================================== */
.heretics-stage {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.5rem 1rem 3rem;
  margin-bottom: 2rem;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(33, 109, 107, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(255, 106, 26, 0.18) 0%, transparent 50%),
    linear-gradient(180deg, #050a0a 0%, var(--mh-deep) 60%, #050a0a 100%);
  border-top: 3px solid var(--mh-teal-bright);
  border-bottom: 3px solid var(--mh-orange);
  isolation: isolate;
}

.heretics-stage-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.heretics-stage-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(46, 169, 164, 0.10) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(46, 169, 164, 0.10) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.7;
}

.heretics-stage-glow {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
}
.heretics-stage-glow--left {
  background: var(--mh-orange);
  top: -30%; left: -10%;
}
.heretics-stage-glow--right {
  background: var(--mh-teal-bright);
  bottom: -30%; right: -10%;
}

.heretics-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0,
    rgba(255, 255, 255, 0.04) 1px,
    transparent 1px,
    transparent 4px
  );
  z-index: 0;
}

.heretics-stage-content {
  z-index: 3;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heretics-powered {
  color: var(--mh-gold) !important;
  letter-spacing: 0.5em !important;
  font-size: 0.78rem !important;
  margin-bottom: 1rem !important;
}

.heretics-logo-xl {
  width: clamp(280px, 50vw, 520px);
  height: auto;
  filter:
    drop-shadow(0 0 24px rgba(46, 169, 164, 0.55))
    drop-shadow(0 0 60px rgba(33, 109, 107, 0.4));
  margin-bottom: 1.4rem;
}

.heretics-stage-title {
  font-family: var(--bc-font-display) !important;
  font-size: clamp(2rem, 5.5vw, 4.4rem) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin: 0 !important;
  line-height: 0.9 !important;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.heretics-vs {
  display: inline-flex;
  align-items: center;
  gap: 0.05em;
  font-family: "Russo One", "Black Ops One", "Anton", sans-serif !important;
  font-weight: 400;
  font-size: 1.05em;
  background: var(--mh-orange);
  color: #0A0A0A;
  padding: 0.18em 0.55em 0.10em;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  letter-spacing: 0.01em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.18);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.4);
}
.heretics-vs small {
  font-family: "Russo One", "Black Ops One", sans-serif !important;
  font-size: 0.5em;
  margin: 0 0.18em;
  padding: 0 0.05em;
  opacity: 0.92;
  letter-spacing: 0.04em;
  align-self: center;
  position: relative;
  top: -0.15em;
}

.heretics-stage-sub {
  font-family: var(--bc-font-mono) !important;
  letter-spacing: 0.36em !important;
  font-size: 0.78rem !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
  text-transform: uppercase !important;
}

/* =====================================================================
   Trading cards laterales (estilo CDL skin reveal)
   El operator render se enmarca en una card angular: el "corte" del render
   se vuelve intencional (la card termina ahí) y queda look pro.
   ===================================================================== */
.heretics-stage .heretics-card {
  position: absolute;
  bottom: 22px;
  width: clamp(260px, 24vw, 360px);
  height: clamp(420px, 60vh, 580px);
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  /* Card angular: bisel arriba derecha + abajo izquierda */
  clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
  filter: drop-shadow(0 22px 50px rgba(0, 0, 0, 0.65));
  transition: transform 0.35s ease;
}
.heretics-stage .heretics-card--left { left: 24px; }
.heretics-stage .heretics-card--right { right: 24px; }

.heretics-stage .heretics-card-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(33, 109, 107, 0.85) 0%, rgba(15, 42, 42, 0.95) 50%, rgba(8, 16, 16, 1) 100%);
}
.heretics-stage .heretics-card--right .heretics-card-bg {
  background:
    linear-gradient(200deg, rgba(255, 106, 26, 0.55) 0%, rgba(15, 42, 42, 0.95) 50%, rgba(8, 16, 16, 1) 100%);
}

/* Borde interno emulado (el clip-path no permite border real, usamos un pseudo) */
.heretics-stage .heretics-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Línea superior teal */
    linear-gradient(to right, var(--mh-teal-bright) 0%, var(--mh-teal-bright) 60%, transparent 60%) top / 100% 3px no-repeat,
    /* Línea inferior orange */
    linear-gradient(to right, transparent 30%, var(--mh-orange) 30%, var(--mh-orange) 100%) bottom / 100% 3px no-repeat;
  pointer-events: none;
  z-index: 4;
}
.heretics-stage .heretics-card--right::before {
  background:
    linear-gradient(to right, transparent 40%, var(--mh-orange) 40%, var(--mh-orange) 100%) top / 100% 3px no-repeat,
    linear-gradient(to right, var(--mh-teal-bright) 0%, var(--mh-teal-bright) 70%, transparent 70%) bottom / 100% 3px no-repeat;
}

/* Imagen del operador dentro de la card */
.heretics-stage .heretics-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;       /* el 30% inferior queda para stats + footer */
  object-fit: cover;
  object-position: center 18%;
  z-index: 2;
  filter: contrast(1.05) saturate(1.1);
}

/* Overlay degrade para fundir abajo con el footer */
.heretics-stage .heretics-card-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 55%, rgba(8, 16, 16, 0.55) 75%, rgba(8, 16, 16, 0.95) 100%);
  z-index: 3;
}

/* Badge Heretics arriba a la derecha de cada card */
.heretics-stage .heretics-card-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 78px;
  height: auto;
  z-index: 5;
  filter: drop-shadow(0 0 10px rgba(46, 169, 164, 0.5)) brightness(1.1);
  opacity: 0.92;
}
.heretics-stage .heretics-card--right .heretics-card-badge {
  right: auto;
  left: 14px;
}

/* Tag arriba izquierda — HOME / AWAY */
.heretics-stage .heretics-card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: var(--mh-teal-bright);
  color: #0A0A0A;
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  padding: 0.28rem 0.7rem;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45);
}
.heretics-stage .heretics-card--right .heretics-card-tag {
  left: auto;
  right: 16px;
  background: var(--mh-orange);
}

/* Stats grid sobre la imagen, parte inferior antes del footer */
.heretics-stage .heretics-card-stats {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 56px;
  z-index: 5;
  background: rgba(8, 16, 16, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(46, 169, 164, 0.35);
  border-left: 2px solid var(--mh-teal-bright);
  display: flex;
  flex-direction: column;
}
.heretics-stage .heretics-card--right .heretics-card-stats {
  border-left: 1px solid rgba(255, 106, 26, 0.35);
  border-right: 2px solid var(--mh-orange);
  border-top: 1px solid rgba(255, 106, 26, 0.35);
  border-bottom: 1px solid rgba(255, 106, 26, 0.35);
}

.heretics-stage .hs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.heretics-stage .hs-row + .hs-row {
  border-top: 1px solid rgba(46, 169, 164, 0.18);
}
.heretics-stage .heretics-card--right .hs-row + .hs-row {
  border-top: 1px solid rgba(255, 106, 26, 0.18);
}

.heretics-stage .hs-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.4rem;
  text-align: center;
}
.heretics-stage .hs-cell + .hs-cell {
  border-left: 1px solid rgba(46, 169, 164, 0.18);
}
.heretics-stage .heretics-card--right .hs-cell + .hs-cell {
  border-left: 1px solid rgba(255, 106, 26, 0.18);
}

.heretics-stage .hs-val {
  font-family: "Russo One", sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  color: #fff;
  letter-spacing: 0;
}
.heretics-stage .hs-val small {
  font-size: 0.65em;
  font-weight: 400;
  margin-left: 1px;
  opacity: 0.85;
}
.heretics-stage .hs-lbl {
  font-family: var(--bc-font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mh-teal-bright);
  margin-top: 0.22rem;
}
.heretics-stage .heretics-card--right .hs-lbl {
  color: var(--mh-orange);
}

/* Footer label final */
.heretics-stage .heretics-card-foot {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  padding: 0.6rem 1rem;
  z-index: 5;
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6));
}

.heretics-stage .heretics-card-name {
  display: inline-block;
  background: linear-gradient(90deg, transparent, rgba(46, 169, 164, 0.25), transparent);
  padding: 0.15rem 0.8rem;
}
.heretics-stage .heretics-card--right .heretics-card-name {
  background: linear-gradient(90deg, transparent, rgba(255, 106, 26, 0.25), transparent);
}

@media (max-width: 1199px) {
  .heretics-stage .heretics-card { opacity: 0.85; transform: scale(0.92); transform-origin: bottom; }
}
@media (max-width: 991px) {
  .heretics-stage { min-height: 360px; padding: 3rem 1rem; }
  .heretics-stage .heretics-card { display: none; }
  .heretics-logo-xl { width: clamp(220px, 70vw, 360px); }
}

/* =====================================================================
   Utilidades
   ===================================================================== */
.battle-divider-angular {
  height: 12px;
  background: linear-gradient(90deg, transparent 0%, var(--bc-red) 30%, var(--bc-red) 70%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 60px) 100%, 60px 100%);
  margin: 2rem 0;
}

.battle-stat-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  background: var(--bc-line);
  border: 1px solid var(--bc-line);
  margin: 2rem 0;
}

.battle-stat-bar > div {
  background: var(--bc-surface);
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.battle-stat-bar .stat-value {
  font-family: var(--bc-font-display);
  font-size: 2.6rem;
  color: var(--bc-red);
  line-height: 1;
}

.battle-stat-bar .stat-label {
  font-family: var(--bc-font-mono);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--bc-text-muted);
  margin-top: 0.4rem;
}

/* =====================================================================
   Override challs.css legacy (chall_list, chall_detail)
   ===================================================================== */
body.battle-zone .challs-hero {
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.20), transparent 55%),
    var(--bc-black) !important;
  border-bottom: 4px solid var(--bc-red) !important;
  padding: 5rem 0 3.5rem !important;
}

body.battle-zone .challs-hero::before {
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0, rgba(255,255,255,0.045) 1px, transparent 1px, transparent 28px) !important;
  opacity: 1 !important;
}

body.battle-zone .challs-hero-eyebrow {
  color: var(--bc-red) !important;
  font-family: var(--bc-font-mono) !important;
  letter-spacing: 0.32em !important;
}

body.battle-zone .challs-hero-title {
  font-family: var(--bc-font-display) !important;
  color: var(--bc-text) !important;
  font-size: clamp(2.6rem, 6vw, 5.2rem) !important;
  line-height: 0.9 !important;
  letter-spacing: 0.02em !important;
}

body.battle-zone .challs-hero-subtitle {
  color: var(--bc-text-dim) !important;
  font-family: var(--bc-font-body) !important;
  font-size: 1rem !important;
}

body.battle-zone .chall-filters {
  background: var(--bc-surface) !important;
  border: 1px solid var(--bc-line) !important;
  border-radius: 0 !important;
}

body.battle-zone .chall-card,
body.battle-zone .chall-active-card {
  background: var(--bc-surface) !important;
  border: 1px solid var(--bc-line) !important;
  border-radius: 0 !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.battle-zone .chall-card::before,
body.battle-zone .chall-active-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--bc-red) 0%, var(--bc-red) 35%, transparent 35%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

body.battle-zone .chall-card:hover,
body.battle-zone .chall-active-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--bc-red) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--bc-red) !important;
}

body.battle-zone .chall-card-header {
  background: var(--bc-black) !important;
  border-bottom: 1px solid var(--bc-line) !important;
  padding: 0.8rem 1rem !important;
}

body.battle-zone .chall-card-header .mode {
  background: rgba(225, 6, 0, 0.15) !important;
  color: var(--bc-red) !important;
  font-family: var(--bc-font-mono) !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
}

body.battle-zone .platform-pill {
  background: var(--bc-surface-3) !important;
  color: var(--bc-text) !important;
  border-radius: 0 !important;
  font-family: var(--bc-font-mono) !important;
  letter-spacing: 0.16em !important;
}

body.battle-zone .chall-card-body { color: var(--bc-text); }
body.battle-zone .chall-card-info,
body.battle-zone .chall-card-footer {
  color: var(--bc-text-dim);
  border-top: 1px solid var(--bc-line);
}

body.battle-zone .chall-vs-card {
  background: var(--bc-surface) !important;
  border: 1px solid var(--bc-line) !important;
  border-radius: 0 !important;
}

/* =====================================================================
   Override ladder.css legacy
   ===================================================================== */
body.battle-zone .ladder-page {
  background: transparent !important;
}

body.battle-zone .ladder-heading-wrap {
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.18), transparent 50%),
    var(--bc-black) !important;
  border-bottom: 3px solid var(--bc-red) !important;
}

body.battle-zone .ladder-main-title {
  font-family: var(--bc-font-display) !important;
  color: var(--bc-text) !important;
  letter-spacing: 0.02em !important;
}

body.battle-zone .ladder-mode-filter .btn-outline-secondary,
body.battle-zone .ladder-mode-filter .btn-primary {
  border-radius: 0 !important;
  font-family: var(--bc-font-display) !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

body.battle-zone .ladder-mode-filter .btn-outline-secondary {
  border-color: var(--bc-line) !important;
  color: var(--bc-text-dim) !important;
}

body.battle-zone .ladder-mode-filter .btn-outline-secondary:hover,
body.battle-zone .ladder-mode-filter .btn-primary {
  background: var(--bc-red) !important;
  border-color: var(--bc-red) !important;
  color: var(--bc-text) !important;
}

body.battle-zone .ladder-table-wrap {
  background: var(--bc-surface) !important;
  border: 1px solid var(--bc-line) !important;
  border-radius: 0 !important;
}

body.battle-zone .ladder-table thead th {
  background: var(--bc-black) !important;
  color: var(--bc-text) !important;
  font-family: var(--bc-font-display) !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  border-bottom: 2px solid var(--bc-red) !important;
}

body.battle-zone .ladder-table tbody tr {
  border-color: var(--bc-line) !important;
}

body.battle-zone .ladder-table tbody tr:hover {
  background: rgba(225, 6, 0, 0.08) !important;
}

body.battle-zone .ladder-table td {
  color: var(--bc-text);
  border-color: var(--bc-line) !important;
}

body.battle-zone .ladder-meta-pill {
  background: var(--bc-surface-2) !important;
  border: 1px solid var(--bc-line) !important;
  border-radius: 0 !important;
  color: var(--bc-text) !important;
  font-family: var(--bc-font-mono) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

body.battle-zone .ladder-meta-pill.action:hover {
  background: var(--bc-red) !important;
  border-color: var(--bc-red) !important;
  color: var(--bc-text) !important;
}

body.battle-zone .ladder-team-hero {
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.16), transparent 50%),
    var(--bc-black) !important;
  border-bottom: 3px solid var(--bc-red) !important;
}

body.battle-zone .ladder-team-hero h1 {
  font-family: var(--bc-font-display) !important;
  color: var(--bc-text) !important;
}

/* =====================================================================
   mx-page-hero (ladder y otros) — la mayoría heredan de var(--mx-*) ya
   overrideada, pero forzamos tipografía display
   ===================================================================== */
body.battle-zone .mx-page-hero {
  border-bottom: 3px solid var(--bc-red) !important;
}
body.battle-zone .mx-page-hero h1,
body.battle-zone .mx-page-hero__title {
  font-family: var(--bc-font-display) !important;
  color: var(--bc-text) !important;
}
body.battle-zone .mx-kicker,
body.battle-zone .mx-page-hero__kicker {
  color: var(--bc-red) !important;
  font-family: var(--bc-font-mono) !important;
  letter-spacing: 0.32em !important;
}

/* =====================================================================
   Heretics page-wide (ladder 2v2, chall_list 2v2, chall_detail 2v2)
   ===================================================================== */
.heretics-page,
body.heretics-zone {
  position: relative;
  background:
    radial-gradient(circle at 80% -10%, rgba(255, 106, 26, 0.18), transparent 50%),
    radial-gradient(circle at -10% 110%, rgba(46, 169, 164, 0.16), transparent 55%),
    var(--bc-black);
}

/* Watermark logo flotando de fondo */
.heretics-watermark {
  position: fixed;
  bottom: 4%;
  right: 3%;
  width: clamp(180px, 22vw, 360px);
  pointer-events: none;
  opacity: 0.045;
  z-index: 0;
  transform: rotate(-8deg);
}
.heretics-watermark img { width: 100%; height: auto; display: block; }

/* Header acentos en Heretics mode (para body class wide) */
body.heretics-zone header::after,
body.heretics-zone .battle-header::after {
  background: linear-gradient(90deg, var(--mh-orange), var(--mh-teal-bright)) !important;
  box-shadow: 0 0 20px rgba(255, 106, 26, 0.55) !important;
  width: 280px !important;
}

/* mx-page-hero kicker en Heretics */
body.heretics-zone .mx-kicker,
.heretics-zone .mx-kicker {
  color: var(--mh-orange) !important;
}

/* Filtros de modo (ladder) — botón activo en Heretics colors si selected_mode=2v2 */
body.heretics-zone .ladder-mode-filter .btn-primary,
body.heretics-zone .ladder-mode-filter .btn-outline-secondary:hover,
.heretics-zone .ladder-mode-filter .btn-primary,
.heretics-zone .ladder-mode-filter .btn-outline-secondary:hover {
  background: var(--mh-orange) !important;
  border-color: var(--mh-orange) !important;
}

/* Top 3 destacado en ladder con Heretics */
.heretics-zone .ladder-table tbody tr:nth-child(-n+3) {
  background: linear-gradient(90deg, rgba(255, 106, 26, 0.10), transparent 60%) !important;
  border-left: 3px solid var(--mh-orange) !important;
}
.heretics-zone .ladder-table tbody tr:nth-child(-n+3):hover {
  background: linear-gradient(90deg, rgba(255, 106, 26, 0.18), rgba(46, 169, 164, 0.06)) !important;
}
.heretics-zone .ladder-table tbody tr:first-child td:first-child::before {
  content: "★ ";
  color: var(--mh-gold);
  text-shadow: 0 0 10px rgba(255, 199, 44, 0.6);
}

/* =====================================================================
   Market product card (look tienda profesional)
   ===================================================================== */
.market-section-title {
  font-family: var(--bc-font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bc-text, #fff);
  margin: 0;
  position: relative;
  padding-bottom: 0.6rem;
  display: inline-block;
}
.market-section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 64px; height: 3px;
  background: var(--bc-red, #E10600);
}
.market-section-sub {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  margin: 0.4rem 0 0;
  font-family: var(--bc-font-body, "Oswald"), sans-serif;
  letter-spacing: 0.02em;
}

.market-product-card {
  background: var(--bc-surface, #141414) !important;
  border: 1px solid var(--bc-line, #2A2A2A) !important;
  border-radius: 4px !important;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.market-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--bc-red, #E10600) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.market-product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 50% 60%, #1d1d1d 0%, #0e0e0e 70%, #060606 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  position: relative;
  overflow: hidden;
}
.market-product-img::after {
  /* Sutil viñeta inferior para integrarse con la card */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 65%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.market-product-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
  transition: transform 0.3s ease;
}
.market-product-card:hover .market-product-img img {
  transform: scale(1.04);
}

.market-product-img--placeholder {
  color: rgba(255, 255, 255, 0.18);
}
.market-product-img--placeholder i {
  font-size: 4rem;
}

/* =====================================================================
   Badge "2v2 HERETICS" en chall cards (chall_list filtrado 2v2)
   ===================================================================== */
.chall-card[data-mode="2v2"] .chall-card-header::before {
  content: "MIAMI HERETICS · 2v2";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.25rem 0.7rem;
  background: linear-gradient(90deg, var(--mh-orange), var(--mh-teal));
  color: #0A0A0A;
  font-family: "Russo One", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-align: center;
  z-index: 2;
}

/* =====================================================================
   Strip compacto + cards laterales (variant="lateral")
   Reemplaza el banner gigante para no empujar contenido hacia abajo.
   ===================================================================== */

/* --- Strip horizontal compacto --- */
.heretics-strip {
  background: linear-gradient(90deg, rgba(255, 106, 26, 0.10), rgba(46, 169, 164, 0.10));
  border-top: 1px solid var(--mh-orange);
  border-bottom: 1px solid var(--mh-teal-bright);
  padding: 0.55rem 1rem;
}
.heretics-strip-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.heretics-strip-powered {
  font-family: var(--bc-font-mono);
  letter-spacing: 0.4em;
  font-size: 0.7rem;
  color: var(--mh-gold);
  font-weight: 700;
}
.heretics-strip-logo {
  height: 28px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(46, 169, 164, 0.45));
}
.heretics-strip-tag {
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  color: #fff;
}

/* --- Side cards: position: fixed, ancladas al contenedor padre via @media --- */
.heretics-side {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  z-index: 5;
  pointer-events: none;
  background:
    linear-gradient(165deg, rgba(33, 109, 107, 0.85), rgba(15, 42, 42, 0.95) 60%, rgba(8, 16, 16, 1));
  border: 1px solid rgba(46, 169, 164, 0.35);
  border-top: 2px solid var(--mh-teal-bright);
  border-bottom: 2px solid var(--mh-orange);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
  overflow: hidden;
  height: 460px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6);
}
.heretics-side--left { left: max(8px, calc(50% - 880px)); }
.heretics-side--right {
  right: max(8px, calc(50% - 880px));
  background: linear-gradient(195deg, rgba(255, 106, 26, 0.55), rgba(15, 42, 42, 0.95) 60%, rgba(8, 16, 16, 1));
}

.heretics-side-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  background: var(--mh-teal-bright);
  color: #0A0A0A;
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  padding: 0.22rem 0.55rem;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
}
.heretics-side--right .heretics-side-tag {
  background: var(--mh-orange);
  left: auto;
  right: 10px;
}

.heretics-side-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65%;
  object-fit: cover;
  object-position: center 18%;
  z-index: 1;
}

.heretics-side-stats {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 36px;
  z-index: 2;
  background: rgba(8, 16, 16, 0.85);
  backdrop-filter: blur(4px);
  border-left: 2px solid var(--mh-teal-bright);
  padding: 0.5rem 0.65rem;
}
.heretics-side--right .heretics-side-stats {
  border-left: 0;
  border-right: 2px solid var(--mh-orange);
}
.hss-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--bc-font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  padding: 0.18rem 0;
}
.hss-row + .hss-row { border-top: 1px solid rgba(255,255,255,0.06); }
.hss-row b {
  color: var(--mh-teal-bright);
  font-weight: 700;
  letter-spacing: 0.18em;
}
.heretics-side--right .hss-row b { color: var(--mh-orange); }
.hss-row span {
  font-family: "Russo One", sans-serif;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.heretics-side-logo {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  width: calc(100% - 16px);
  z-index: 3;
  opacity: 0.75;
  filter: drop-shadow(0 0 6px rgba(46, 169, 164, 0.4));
}

/* Visibilidad responsive — solo en pantallas anchas */
@media (max-width: 1399px) {
  .heretics-side { display: none; }
  .heretics-strip-inner { gap: 0.8rem; }
  .heretics-strip-tag { font-size: 0.72rem; }
}

/* =====================================================================
   Chall chat — launcher flotante + action bar
   ===================================================================== */
.chall-chat-launcher {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1040;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bc-red);
  color: #fff;
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55), 0 0 0 0 var(--bc-red-glow);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  animation: launcherPulse 2.4s infinite;
}
.chall-chat-launcher i { font-size: 1.6rem; }
.chall-chat-launcher:hover {
  transform: scale(1.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7), 0 0 0 8px var(--bc-red-glow);
}
.chall-chat-launcher.active { animation: none; }
.chall-chat-launcher-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--bc-red);
  opacity: 0.7;
  animation: launcherRing 2s infinite;
}
.chall-chat-launcher-id {
  position: absolute;
  bottom: -6px;
  right: -6px;
  background: #0A0A0A;
  color: var(--bc-red);
  font-family: "Russo One", sans-serif;
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  border: 1px solid var(--bc-red);
  letter-spacing: 0.04em;
}

@keyframes launcherPulse {
  0%, 100% { box-shadow: 0 12px 36px rgba(0,0,0,0.55), 0 0 0 0 var(--bc-red-glow); }
  50%      { box-shadow: 0 12px 36px rgba(0,0,0,0.55), 0 0 0 12px transparent; }
}
@keyframes launcherRing {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Action bar dentro del chat */
.chat-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  background: rgba(225, 6, 0, 0.06);
  border-bottom: 1px solid var(--bc-line);
}
.chat-action-btn {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 0.8rem;
  font-family: "Russo One", sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  text-transform: uppercase;
  background: var(--bc-surface-2);
  border: 1px solid var(--bc-line);
  color: var(--bc-text);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chat-action-btn:hover {
  border-color: var(--bc-red);
  color: var(--bc-red);
}
.chat-action--report { border-color: rgba(225, 6, 0, 0.4) !important; color: var(--bc-red) !important; }
.chat-action--report:hover { background: var(--bc-red); color: #fff !important; }
.chat-action--confirm { border-color: rgba(24, 201, 100, 0.4) !important; color: var(--bc-success) !important; }
.chat-action--confirm:hover { background: var(--bc-success); color: #0A0A0A !important; }
.chat-action--dispute { border-color: rgba(255, 180, 0, 0.4) !important; color: var(--bc-warning) !important; }
.chat-action--dispute:hover { background: var(--bc-warning); color: #0A0A0A !important; }
.chat-action--detail i { font-size: 1rem; }

/* =====================================================================
   Filtros chall_list más grandes y prominentes
   ===================================================================== */
body.battle-zone .clist-filters {
  background: var(--bc-surface) !important;
  border: 1px solid var(--bc-line) !important;
  border-radius: 0 !important;
  padding: 1.4rem 1.6rem !important;
}

body.battle-zone .clist-filter-row {
  gap: 1.6rem !important;
}

body.battle-zone .clist-filter-label {
  font-family: var(--bc-font-display) !important;
  font-size: 0.95rem !important;
  letter-spacing: 0.18em !important;
  color: var(--bc-text) !important;
  margin-bottom: 0.5rem !important;
  display: block;
}

body.battle-zone .clist-tab-group {
  gap: 0.5rem !important;
}

body.battle-zone .clist-tab {
  padding: 0.7rem 1.4rem !important;
  font-size: 0.95rem !important;
  font-family: var(--bc-font-display) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  border-radius: 0 !important;
  background: var(--bc-surface-2) !important;
  border: 1px solid var(--bc-line) !important;
  color: var(--bc-text-dim) !important;
  min-width: 76px;
  font-weight: 400;
}

body.battle-zone .clist-tab:hover {
  border-color: var(--bc-red) !important;
  color: var(--bc-text) !important;
  background: rgba(225, 6, 0, 0.08) !important;
}

body.battle-zone .clist-tab--active {
  background: var(--bc-red) !important;
  border-color: var(--bc-red) !important;
  color: #fff !important;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.35);
}

/* =====================================================================
   Chat & launcher en modo Heretics (cuando active_chall.mode == 2v2)
   Override de la paleta combat-red por orange/teal Heretics.
   ===================================================================== */
.chall-chat.heretics-mode {
  --bc-red: var(--mh-orange);
  --bc-red-deep: #CC3D00;
  --bc-red-glow: rgba(255, 106, 26, 0.55);
  border-top: 2px solid var(--mh-teal-bright) !important;
  border-bottom: 2px solid var(--mh-orange) !important;
}

/* Ribbon "POWERED BY MIAMI HERETICS" arriba del chat */
.chat-heretics-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  background: linear-gradient(90deg, rgba(255, 106, 26, 0.18), rgba(46, 169, 164, 0.18));
  border-bottom: 1px solid rgba(46, 169, 164, 0.35);
}
.chat-heretics-powered {
  font-family: var(--bc-font-mono);
  letter-spacing: 0.32em;
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--mh-gold);
  text-transform: uppercase;
}
.chat-heretics-ribbon img {
  height: 18px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(46, 169, 164, 0.5));
}

/* Tag 2v2 inline en el título del chat */
.chat-mode-tag {
  display: inline-block;
  background: var(--mh-orange);
  color: #0A0A0A;
  font-family: "Russo One", sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.06em;
  padding: 0.08rem 0.4rem;
  margin-left: 0.4rem;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  vertical-align: middle;
}

/* Action bar con paleta Heretics cuando heretics-mode */
.chall-chat.heretics-mode .chat-action-bar {
  background: linear-gradient(90deg, rgba(255, 106, 26, 0.08), rgba(46, 169, 164, 0.08));
  border-bottom-color: rgba(46, 169, 164, 0.3);
}
.chall-chat.heretics-mode .chat-action--report {
  border-color: rgba(255, 106, 26, 0.5) !important;
  color: var(--mh-orange) !important;
}
.chall-chat.heretics-mode .chat-action--report:hover {
  background: var(--mh-orange) !important;
  color: #0A0A0A !important;
}
.chall-chat.heretics-mode .chat-action--detail {
  border-color: rgba(46, 169, 164, 0.4) !important;
  color: var(--mh-teal-bright) !important;
}
.chall-chat.heretics-mode .chat-action--detail:hover {
  background: var(--mh-teal-bright) !important;
  color: #0A0A0A !important;
}

/* Header del chat en heretics: borde acento orange */
.chall-chat.heretics-mode .chat-header {
  border-bottom: 1px solid rgba(255, 106, 26, 0.35) !important;
  position: relative;
}
.chall-chat.heretics-mode .chat-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--mh-orange), var(--mh-teal-bright));
}
.chall-chat.heretics-mode .dot-live {
  background: var(--mh-orange) !important;
  box-shadow: 0 0 8px var(--mh-orange) !important;
}

/* Send button en heretics */
.chall-chat.heretics-mode .chat-send-btn {
  background: var(--mh-orange) !important;
  border-color: var(--mh-orange) !important;
}
.chall-chat.heretics-mode .chat-send-btn:hover {
  background: var(--mh-teal-bright) !important;
  border-color: var(--mh-teal-bright) !important;
}

/* Launcher flotante en heretics */
.chall-chat-launcher.heretics-mode {
  background: linear-gradient(135deg, var(--mh-orange) 0%, var(--mh-teal-bright) 100%) !important;
  border-color: #fff !important;
  animation: launcherPulseHeretics 2.4s infinite;
}
.chall-chat-launcher.heretics-mode .chall-chat-launcher-pulse {
  border-color: var(--mh-orange) !important;
}
.chall-chat-launcher.heretics-mode .chall-chat-launcher-id {
  background: #0A0A0A;
  color: var(--mh-orange);
  border-color: var(--mh-orange);
}
@keyframes launcherPulseHeretics {
  0%, 100% { box-shadow: 0 12px 36px rgba(0,0,0,0.55), 0 0 0 0 rgba(255, 106, 26, 0.55); }
  50%      { box-shadow: 0 12px 36px rgba(0,0,0,0.55), 0 0 0 12px transparent; }
}

/* =====================================================================
   Transiciones Heretics — entrada smooth al cargar la página
   ===================================================================== */

/* Strip horizontal: fade + slide-down */
@keyframes heFadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.heretics-strip {
  animation: heFadeDown 0.55s cubic-bezier(0.2, 0.85, 0.25, 1) both;
}

/* Refactor: las side cards usan top en lugar de translateY para liberar
   transform para la animation horizontal. */
.heretics-side {
  top: 50%;
  transform: translateY(-50%);
}

/* Slide-in lateral. Usamos transform completo para no chocar con el centrado vertical. */
@keyframes heSlideInLeft {
  from { opacity: 0; transform: translate(-160%, -50%); }
  to   { opacity: 1; transform: translate(0, -50%); }
}
@keyframes heSlideInRight {
  from { opacity: 0; transform: translate(160%, -50%); }
  to   { opacity: 1; transform: translate(0, -50%); }
}

.heretics-side--left {
  animation: heSlideInLeft 0.85s cubic-bezier(0.2, 0.85, 0.2, 1.05) 0.15s both;
}
.heretics-side--right {
  animation: heSlideInRight 0.85s cubic-bezier(0.2, 0.85, 0.2, 1.05) 0.25s both;
}

/* Operador dentro de la card: ligero pop después del slide */
@keyframes heImgPop {
  from { transform: scale(1.08); filter: contrast(1.05) saturate(1.1) brightness(0.7); }
  to   { transform: scale(1);    filter: contrast(1.05) saturate(1.1) brightness(1); }
}
.heretics-side .heretics-side-img,
.heretics-stage .heretics-card-img {
  animation: heImgPop 1.1s cubic-bezier(0.2, 0.85, 0.2, 1) 0.55s both;
}

/* Stats badges: fade-in escalonado */
@keyframes heFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.heretics-side .hss-row,
.heretics-stage .hs-cell {
  animation: heFadeIn 0.5s ease-out both;
}
.heretics-side .hss-row:nth-child(1) { animation-delay: 0.7s; }
.heretics-side .hss-row:nth-child(2) { animation-delay: 0.8s; }
.heretics-side .hss-row:nth-child(3) { animation-delay: 0.9s; }
.heretics-stage .hs-cell:nth-child(1) { animation-delay: 0.6s; }
.heretics-stage .hs-cell:nth-child(2) { animation-delay: 0.7s; }
.heretics-stage .hs-cell:nth-child(3) { animation-delay: 0.8s; }
.heretics-stage .hs-cell:nth-child(4) { animation-delay: 0.9s; }

/* Hover suave en las side cards */
.heretics-side {
  transition: filter 0.35s ease;
}
.heretics-side:hover { filter: brightness(1.08); }

/* Logo Heretics chat ribbon: fade-in */
.chat-heretics-ribbon {
  animation: heFadeDown 0.5s ease-out 0.1s both;
}

/* Body theme: fade del fondo radial */
@keyframes heBgFade {
  from { background-color: var(--bc-black); }
  to   { background-color: transparent; }
}
.heretics-page::before,
body.heretics-zone.battle-zone::after {
  /* Si quisiéramos un overlay con fade — lo dejamos preparado */
}

/* Respeto a prefers-reduced-motion: desactivar todas las animations Heretics */
@media (prefers-reduced-motion: reduce) {
  .heretics-strip,
  .heretics-side,
  .heretics-side--left,
  .heretics-side--right,
  .heretics-side .heretics-side-img,
  .heretics-stage .heretics-card-img,
  .heretics-side .hss-row,
  .heretics-stage .hs-cell,
  .chat-heretics-ribbon {
    animation: none !important;
  }
}
