/* =============================================================================
   Efectos de las portadas de bitgame20.com y bitgamenodes.com (26-11-2026, «potenciar»): vídeos 3D en bucle,
   la cadena de bloques viva y el teléfono con la demo del juego. Los usan office/landing.twig y nodes/landing.twig.
   ============================================================================= */
.fx-vid { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Objetos 3D grabados sobre negro puro: se funden con un fondo oscuro. «lighten» deja cada punto del vídeo solo donde es
   más claro que el fondo (el negro desaparece y el objeto conserva su contraste; «screen» lo aclaraba). Solo se
   difumina una franja estrecha junto al borde, para que no se vea el corte del vídeo y la mano del logo quede entera. */
.fx-screen { object-fit: contain; mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect; }

/* Cadena de bloques viva: cada pocos segundos entra un bloque nuevo (naranja) con su huella y su sello. */
/* contain: inline-size → la fila de bloques (más ancha que la pantalla) nunca ensancha la columna que la contiene. */
.fx-chain { position: relative; overflow: hidden; padding: 18px 0; width: 100%; min-width: 0; contain: inline-size;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.fx-chain__track { display: flex; column-gap: 24px; width: max-content; padding-left: 6%; will-change: transform; }
.fx-blk { position: relative; flex: none; width: 108px; height: 92px; padding: 12px; border-radius: 18px; display: flex; flex-direction: column; justify-content: space-between;
  background: #0F1B40; border: 1.5px solid rgb(120 160 255 / .35); box-shadow: inset 0 1px 0 rgb(255 255 255 / .06), 0 12px 24px -14px rgb(0 0 0 / .7); }
.fx-blk + .fx-blk::before { content: ''; position: absolute; right: calc(100% + 1.5px); top: 50%; width: 24px; height: 2px;
  background: linear-gradient(90deg, rgb(120 160 255 / .25), rgb(120 160 255 / .75)); }
.fx-blk b { font-size: 13px; line-height: 16px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.fx-blk i { font-style: normal; font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace; font-size: 11px; line-height: 14px; color: #7FB2FF; }
.fx-blk em { position: absolute; right: 10px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: #2ECC71; box-shadow: 0 0 0 3px rgb(46 204 113 / .2); }
.fx-blk.is-new { border-color: #FF9F1C; box-shadow: 0 0 0 4px rgb(255 159 28 / .14), 0 14px 30px -12px rgb(255 159 28 / .65); animation: fx-seal .9s cubic-bezier(.34, 1.56, .64, 1); }
.fx-blk.is-new em { background: #FF9F1C; box-shadow: 0 0 0 3px rgb(255 159 28 / .25), 0 0 12px #FF9F1C; animation: fx-pulse 1.2s ease-in-out infinite; }
@keyframes fx-seal { from { transform: scale(.7) translateY(10px); opacity: 0; } }
@keyframes fx-pulse { 50% { transform: scale(1.45); } }
@media (max-width: 640px) {
  .fx-blk { width: 92px; height: 80px; padding: 10px; border-radius: 16px; }
  .fx-chain__track { column-gap: 16px; }
  .fx-blk + .fx-blk::before { width: 16px; }
}
@media (prefers-reduced-motion: reduce) { .fx-blk.is-new, .fx-blk.is-new em { animation: none; } }
