/* =============================================================================================
   PULIDO DE LA PORTADA (muestra 2026-10-30, owner: "combinar los dos").
   Taste Skill  -> orden: letra legible (17px), dos familias (Cinzel + Alegreya Sans), menos tamanos,
                   superficies por paso de tono (sin contornos de 1px, sin sombras ni brillos en reposo),
                   botones planos de un solo color, sin etiquetas chiquitas en mayusculas.
   Emil Kowalski -> movimiento: curvas fuertes de salida, nada pasa de 300ms en la interfaz, botones que
                   responden al apretar (scale .97), hover solo con raton, entradas escalonadas al bajar,
                   y con "reducir movimiento" se queda solo la opacidad.
   Capa ENCIMA de site.css + home.css (solo la portada). Se quita borrando su <link> y su <script>.
   ============================================================================================= */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --p-ground: #0b0907;
  --p-surface: #15100c;
  --p-surface-2: #1d160f;
  --p-ink: #ece7df;
  --p-ink-2: #bcae96;
  --p-accent: #c9521c;
  --p-accent-hi: #dc6127;
  --p-gold: #e2bd72;
}

/* ---- letra: dos familias, cuerpo de 17px, cinco tamanos ---- */
/* solo el contenido: menu y pie quedan iguales en todas las paginas (se cambian juntos cuando el estilo llegue al resto) */
main, .hx-hero, .hx-band { font-family: var(--hx-body); font-size: 17px; line-height: 1.55; color: var(--p-ink); }
.hx-h2 { font-size: clamp(30px, 4.6vw, 54px); line-height: 1.04; letter-spacing: .5px; margin: 0 0 14px; }
.hx-sub { color: var(--p-ink); font-size: 18px; max-width: 58ch; margin-bottom: 28px; }
.hx-sub, .hx-ev .when, .hx-war-foot, .hx-kill, .hx-side .lbl, .hx-stat .n, .hx-srcs li, .hx-vdate { font-size: 16px; }
.hx-ev .when, .hx-side .lbl, .hx-stat .n, .hx-vdate { color: var(--p-ink-2); }
#traductor h2 { font-size: clamp(22px, 5.2vw, 34px); line-height: 1.12; text-wrap: balance; }
.hx-special p, .hx-special > div:first-child { max-width: 70ch; }

/* sin etiquetas chiquitas en mayusculas: la informacion va en el titulo (o fuera) */
.hx-eyebrow { display: none; }
.hx-stat .k, .hx-clock span, .hx-count span, .hx-tier, .hx-vcat, .hx-ev .badge {
  font-family: var(--hx-body); text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 500;
}
.hx-stat .k { color: var(--p-gold); font-size: 15px; }

/* numeros con la letra de titulos y cifras tabulares (nada de monoespaciada) */
.hx-clock b, .hx-count b, .hx-kill time { font-family: var(--hx-display); font-variant-numeric: tabular-nums; text-shadow: none; }
.hx-kill time { font-size: 14px; }

/* ---- superficies: un paso de tono, sin contornos ni sombras en reposo ---- */
.hx-band-in { border: 0; border-radius: 6px; background: var(--p-ground); box-shadow: none; gap: 3px; }
.hx-stat { background: var(--p-surface); }
.hx-stat + .hx-stat { border-left: 0; }
.hx-clock div, .hx-count div { border: 0; border-radius: 4px; background: var(--p-surface-2); }
.hx-war { border: 0; border-radius: 6px; background: var(--p-surface); }
.hx-side .num { text-shadow: none; }
.hx-front { background: linear-gradient(90deg, var(--hx-are) 0 var(--split, 50%), var(--hx-elv) var(--split, 50%) 100%); }
.hx-seam { box-shadow: none; width: 6px; margin-left: -3px; }
.hx-ticker { border-block: 0; background: var(--p-surface); margin-top: 3px; }
.hx-ev { border: 0; border-radius: 6px; background: var(--p-surface); }
.hx-ev.next { box-shadow: none; background: var(--p-surface-2); }
.hx-ev.next::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--p-gold); }
.hx-ev .badge { background: var(--p-gold); border-radius: 3px; }
.hx-special { border: 0; border-radius: 6px; background: var(--p-surface-2); }
.hx-vid { border: 0; border-radius: 6px; }
.hx-card { border: 0; border-radius: 6px; background: var(--p-surface); box-shadow: none !important; transform: none !important; }
.hx-card::after { display: none; }
.hx-card[data-tier="legend"] { background: #1e130c; }
.hx-card[data-tier="rare"] { background: #0f1520; }
.hx-card[data-tier="magic"] { background: #0f1a13; }
.hx-sprite { border: 0; border-radius: 4px; background: var(--p-ground); }
.hx-srcs li { border: 0; background: rgba(255, 255, 255, .06); }
.hx-srcs li.boss { background: rgba(255, 106, 43, .16); }
.hx-join { border: 0; border-radius: 6px; background: var(--p-surface-2); }
.hx-status { border: 0; background: rgba(8, 6, 4, .82); }
.hx-stat .v .dot.on { box-shadow: none; }

/* ---- botones planos, de un color; responden al apretar ---- */
.hx-btn { border-radius: 4px; border-color: transparent; box-shadow: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.hx-btn:active { transform: scale(0.97); }
.hx-fire { background: var(--p-accent); box-shadow: none; }
.hx-ghost { background: rgba(20, 15, 11, .88); }
.btn { transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, filter 200ms ease; }
.btn:active { transform: scale(0.97); }

/* hover solo donde hay raton (en el celular el toque no deja "pegado" el efecto) */
@media (hover: hover) and (pointer: fine) {
  .hx-fire:hover { background: var(--p-accent-hi); box-shadow: none; }
  .hx-ghost:hover { background: rgba(40, 30, 20, .92); }
  .hx-stat.stat-click:hover { background: var(--p-surface-2); }
  .hx-card { transition: background-color 200ms ease; }
  .hx-card:hover { background: var(--p-surface-2); }
  .hx-card:hover .hx-sprite img { transform: scale(1.06); }
  .hx-vid img { transition: transform 300ms var(--ease-out), filter 200ms ease; }
  .hx-vid:hover img { transform: scale(1.03); filter: brightness(1.08); }
  .hx-vid:hover .hx-play { transform: scale(1.06); box-shadow: none; }
}
@media (hover: none) {
  .hx-vid:hover img { transform: none; filter: none; }
  .hx-vid:hover .hx-play { transform: none; box-shadow: none; }
}
.hx-play { transition: transform 200ms var(--ease-out); }

/* ---- movimiento ---- */
.hx-tick { animation: p-tick 200ms var(--ease-out); }
@keyframes p-tick { from { transform: translateY(-3px); opacity: .5; } to { transform: none; opacity: 1; } }
.hx-status i { animation: p-pulse 2s ease-in-out infinite; }
@keyframes p-pulse { 50% { opacity: .35; } }
.hx-seam { transition: left 600ms var(--ease-in-out); }

@media (prefers-reduced-motion: no-preference) {
  /* la portada entra en menos de un segundo y la accion no espera */
  .hx-art { animation: p-in-art 900ms var(--ease-out) backwards; }
  .hx-status { animation: p-in-up 300ms 120ms var(--ease-out) backwards; }
  .hx-ctas .hx-btn { animation: p-in-up 300ms 180ms var(--ease-out) backwards; }
  .hx-ctas .hx-btn:nth-child(2) { animation-delay: 240ms; }
  .hx-ctas .hx-btn:nth-child(3) { animation-delay: 300ms; }
  .hx-ctas .hx-btn:nth-child(4) { animation-delay: 360ms; }
  .hx-pitch { animation: p-in-up 300ms 300ms var(--ease-out) backwards; }
  /* entradas al bajar: solo si el script corrio (clase p-js); sin script todo se ve igual */
  .p-js .p-rev { opacity: 0; transform: translateY(18px);
    transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); transition-delay: var(--p-d, 0ms); }
  .p-js .p-rev.p-in { opacity: 1; transform: none; }
}
@keyframes p-in-art { from { opacity: 0; transform: scale(1.09); } to { opacity: 1; transform: translate3d(0, 0, 0) scale(1.05); } }
@keyframes p-in-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* reducir movimiento: se queda el fundido, se va el desplazamiento */
@media (prefers-reduced-motion: reduce) {
  .p-js .p-rev { opacity: 0; transition: opacity 300ms ease; transition-delay: var(--p-d, 0ms); }
  .p-js .p-rev.p-in { opacity: 1; }
  .hx-status i, .hx-tick { animation: none; }
  .hx-btn:active, .btn:active { transform: none; }
}

/* (el arreglo del video en el celular ya esta en home.css, publicado el 30-oct) */

/* ---- secciones de abajo (componentes de site.css) ---- */
.small { font-size: 15px; }
.card { border: 0 !important; box-shadow: none !important; background: var(--p-surface) !important; }
.card, .stat { transition: background-color 200ms ease; }
.card:hover, .stat:hover, .server-caps:hover { transform: none; box-shadow: none; }
@media (hover: hover) and (pointer: fine) { .card:hover { background: var(--p-surface-2) !important; } }
.server-caps::before { display: none; }
.server-caps .cap + .cap { border-left: 0; }
.server-caps .cap-k { font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--p-ink-2); }
.server-caps .cap-v { font-family: var(--hx-display); }
#traductor .small[style*="uppercase"] { text-transform: none !important; letter-spacing: 0 !important; font-size: 16px; }
#traductor h2 { font-size: clamp(18px, 5vw, 34px); }
.tag { font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 600; border-radius: 3px; }
.hx-vcat { display: none; }

/* ---- texto: plano y legible ---- */
:root { --muted: #b3a690; --dim: #a69a85; }
.small { font-size: 16px; }
main *:not(.hx-pitch), .hx-hero *:not(.hx-pitch), .hx-band * { text-shadow: none !important; }
.server-caps .cap-v { background: none !important; -webkit-text-fill-color: currentColor !important; color: var(--p-gold) !important; }
.server-caps .exp-v { color: #ffd257 !important; -webkit-text-fill-color: #ffd257 !important; }
.server-caps { box-shadow: none !important; }

/* (owner 2026-10-30 "algunas imagenes de las armas no estan centradas y la informacion"): sin la inclinacion 3D
   quedaba la profundidad (perspective del grid + translateZ de la cabecera y la lista): cada tarjeta se corria
   hacia afuera segun su columna. Plano: todo vuelve a su lugar. */
.hx-loot { perspective: none; }
.hx-card { transform-style: flat; }
.hx-card-head, .hx-srcs { transform: none; }

/* (owner 2026-10-30 "estos tambien", banda de estado): cada columna se centraba sola y como "ver lista" era mas chico
   que "creadas" las etiquetas quedaban a distinta altura. Ahora todas arrancan arriba con el mismo ritmo, y en el reloj y
   las cuentas regresivas el numero y su nombre van juntos y centrados en su cajita. */
.hx-stat { align-content: start; gap: 8px; padding: 20px 22px; }
.hx-stat .k { line-height: 1.2; }
.hx-stat .v { line-height: 1; min-height: 1em; }
.hx-stat .n { font-size: 16px; line-height: 1.3; }
.hx-stat.stat-click .n { font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--p-accent-hi); }
.hx-clock div, .hx-count div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 4px; }
.hx-clock div[hidden], .hx-count div[hidden] { display: none; }
.hx-clock b, .hx-count b { line-height: 1; }
.hx-clock span, .hx-count span { line-height: 1.1; }
@media (max-width: 560px) { .hx-stat { padding: 16px 14px; } }
@media (max-width: 860px) { .hx-stat.hx-up { border-bottom: 0; } }
/* cuentas regresivas de los eventos: todas apoyadas abajo, a la misma altura, aunque el horario tenga 1 o 2 lineas */
.hx-ev { display: flex; flex-direction: column; }
.hx-ev .when { min-height: 0; }
.hx-ev .hx-count { margin-top: auto; }
