/* Fondo parallax horizontal estilo GTA VI (compartido por la portada y el admin de v2) */
html.v2, html.v2 body { background: #1a0b2e; }
.v2bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; background: #1a0b2e; opacity: 0; transition: opacity 1.4s ease; contain: strict; }
.v2bg.ready { opacity: 1; }
.v2bg-scene { position: absolute; inset: 0; will-change: opacity; }
.v2bg-img { position: absolute; left: 0; top: 0; height: 100%; width: auto; max-width: none; will-change: transform; transform: translate3d(0, 0, 0); backface-visibility: hidden; user-select: none; -webkit-user-drag: none; }
.v2bg-sun, .v2bg-haze, .v2bg-flare, .v2bg-grain, .v2bg-vig { position: absolute; inset: 0; pointer-events: none; }
.v2bg-sun { background: radial-gradient(ellipse 38% 46% at 50% 56%, rgba(var(--v2-glow), .26), rgba(var(--v2-glow), .09) 45%, transparent 70%); will-change: transform, opacity; }
.v2bg-haze { background: linear-gradient(180deg, rgba(60, 10, 90, .0) 40%, rgba(170, 40, 140, .22) 78%, rgba(40, 8, 70, .55) 100%); }
.v2bg-flare { width: 70vmax; height: 70vmax; inset: auto; left: 0; top: 0; background: radial-gradient(circle, rgba(var(--v2-glow), .20), rgba(var(--v2-glow), .08) 40%, transparent 65%); will-change: transform; }
.v2bg-grain { opacity: .13; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); background-size: 160px 160px; will-change: transform; }
.v2bg-vig { background: radial-gradient(ellipse at 50% 45%, transparent 38%, rgba(12, 2, 28, .55) 100%), linear-gradient(180deg, rgba(14, 3, 30, .45), transparent 22%, transparent 70%, rgba(14, 3, 30, .5)); }

/* interruptor de movimiento */
.v2-motion { position: fixed; right: 92px; bottom: 28px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .28); background: rgba(20, 8, 40, .5); color: #fff; font: 600 12px/1 Oxanium, "Segoe UI", system-ui, sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: border-color .2s, background .2s; }
.v2-motion:hover { border-color: var(--v2-hi); background: rgba(60, 14, 70, .6); }
.v2-motion i { width: 8px; height: 8px; border-radius: 50%; background: var(--v2-a); box-shadow: 0 0 10px var(--v2-a); }
.v2-motion[aria-pressed="false"] i { background: #6b5a85; box-shadow: none; }

/* velo morado: lleva toda la escena hacia los colores del logotipo */
.v2bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--v2-wash1), var(--v2-wash2)); }
.v2bg-vig { z-index: 1; }
.v2bg::after { z-index: 1; }
