/* Landing v3 · cartas de «Por qué jugar» (carrusel + detalle que se abre). Todo bajo .vc-; solo carga con landing_v3. */
.vc { position: relative; padding: 4.5rem 0 3rem; isolation: isolate; overflow: hidden; scroll-margin-top: 64px; transition: filter .45s ease, opacity .45s ease; }
.vc.atenuada { filter: blur(6px) brightness(.55); opacity: .55; pointer-events: none; }
.vc-polvo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.vc h2 { font-family: var(--v3-tit, Cinzel, serif); text-transform: uppercase; letter-spacing: .04em; text-align: center; font-size: clamp(1.7rem, 4.4vw, 3rem); margin: 0 0 .4rem; color: var(--hueso, #efe6d5); }
.vc-sub { text-align: center; color: var(--tenue, #b8ae9d); margin: 0 0 2rem; }
.vc-carril { display: flex; gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2rem calc(50% - clamp(150px, 13vw, 230px)) 2.4rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; list-style: none; margin: 0; }
.vc-carril::-webkit-scrollbar { display: none; }
.vc-carta { --ac: var(--oro-claro, #f0c877); --k: 1; flex: none; position: relative; width: clamp(300px, 26vw, 460px); aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: #14101c; border: 1px solid var(--borde); cursor: pointer; scroll-snap-align: center; padding: 0; text-align: left; color: inherit; font: inherit;
  transform: scale(calc(.86 + var(--k) * .14)); opacity: calc(.5 + var(--k) * .5); transition: transform .25s ease, opacity .25s ease, box-shadow .3s, border-color .3s; box-shadow: 0 22px 60px rgba(0,0,0,.6); }
.vc-carta:focus-visible, .vc-carta.act { border-color: var(--ac); box-shadow: 0 0 0 1px var(--ac), 0 0 60px color-mix(in srgb, var(--ac) 35%, transparent), 0 28px 70px rgba(0,0,0,.7); outline: none; }
.vc-carta:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
.vc-img { position: absolute; inset: 0; background: center / cover no-repeat; transition: transform .6s ease; }
.vc-carta:hover .vc-img, .vc-carta:focus-visible .vc-img { transform: scale(1.06); }
.vc-carta::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,0) 28%, rgba(10,10,12,.88) 52%, rgba(10,10,12,.97) 68%, rgb(10,10,12) 100%); pointer-events: none; }
.vc-barrido { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; background: linear-gradient(115deg, transparent 35%, rgba(240,200,119,.38) 50%, transparent 65%); background-size: 260% 100%; background-position: 130% 0; opacity: 0; }
.vc-carta:hover .vc-barrido, .vc-carta:focus-visible .vc-barrido { opacity: 1; animation: vc-barrido 1s ease forwards; }
@keyframes vc-barrido { to { background-position: -30% 0; } }
.vc-tx { position: absolute; left: 1.3rem; right: 1.3rem; bottom: 1.2rem; z-index: 3; }
.vc-cat { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); } .vc-cat b { font-family: var(--v3-tit, Cinzel, serif); margin-right: .4rem; font-size: 1rem; }
.vc-carta h3 { font-family: var(--v3-tit, Cinzel, serif); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.1; margin: .3rem 0 .4rem; color: var(--hueso, #efe6d5); }
.vc-carta p { margin: 0; color: #e4dac8; font-size: 1rem; line-height: 1.4; max-width: 30em; }
.vc-mas { position: absolute; z-index: 4; top: 1rem; right: 1rem; display: inline-flex; align-items: center; padding: .55rem 1rem; min-height: 44px; border-radius: 999px; border: 1px solid var(--ac); background: rgba(10,10,12,.78); color: var(--ac); font-weight: 700; font-size: .92rem; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s; backdrop-filter: blur(4px); }
.vc-carta:hover .vc-mas, .vc-carta:focus-visible .vc-mas, .vc-carta.act .vc-mas { opacity: 1; transform: none; }
.vc-carta.act .vc-mas { animation: vc-late 2.4s ease-in-out infinite; }
@keyframes vc-late { 50% { box-shadow: 0 0 18px color-mix(in srgb, var(--ac) 60%, transparent); } }
@media (hover: none) { .vc-mas { opacity: 1; transform: none; } }
.vc-flecha { position: absolute; top: 50%; z-index: 5; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--borde); background: rgba(10,10,12,.75); color: var(--oro-claro, #f0c877); font-size: 1.5rem; cursor: pointer; transform: translateY(-50%); }
.vc-flecha.p { left: 1.2rem; } .vc-flecha.s { right: 1.2rem; }
.vc-cont { text-align: center; color: var(--tenue, #b8ae9d); font-family: var(--v3-tit, Cinzel, serif); } .vc-cont b { color: var(--oro-claro, #f0c877); }
/* ---- detalle (panel) ---- */
.vc-fondo { position: fixed; inset: 0; z-index: 90; background: rgba(5,5,8,.55); opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.vc-fondo.on { opacity: 1; pointer-events: auto; }
.vc-panel { --ac: var(--oro-claro, #f0c877); position: fixed; z-index: 100; left: 50%; top: 50%; width: min(1180px, 94vw); height: min(760px, 90vh); margin: calc(min(760px, 90vh) / -2) 0 0 calc(min(1180px, 94vw) / -2); border-radius: 22px; overflow: hidden; background: #0e0c12; border: 1px solid var(--ac); box-shadow: 0 40px 120px rgba(0,0,0,.8), 0 0 70px color-mix(in srgb, var(--ac) 22%, transparent); display: none; will-change: transform; }
.vc-panel.on { display: block; }
.vc-velo { position: absolute; inset: 0; background: center / cover; filter: brightness(.55); }
.vc-cuerpo { position: relative; height: 100%; display: grid; grid-template-columns: 1.15fr 1fr; background: #0e0c12; }
.vc-gal { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 0; background: #0a090c; border-right: 1px solid var(--borde); }
.vc-prin { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; background: #08070a; overflow: hidden; }
.vc-prin img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.vc-epi { padding: .7rem 1.1rem; font-size: .9rem; color: var(--tenue, #b8ae9d); border-top: 1px solid var(--borde); min-height: 2.6rem; }
.vc-minis { display: flex; gap: .6rem; padding: .7rem 1rem; overflow-x: auto; border-top: 1px solid var(--borde); }
.vc-mini { flex: none; width: 112px; height: 76px; min-height: 44px; border-radius: 9px; border: 2px solid transparent; background: #14101c center / cover; cursor: pointer; opacity: .7; padding: 0; }
.vc-mini[aria-selected=true] { border-color: var(--ac); opacity: 1; }
.vc-texto { display: flex; flex-direction: column; min-height: 0; }
.vc-cab { padding: 1.4rem 4.2rem .6rem 1.6rem; } .vc-cab .vc-cat { display: block; } .vc-cab h3 { font-family: var(--v3-tit, Cinzel, serif); font-size: clamp(1.6rem, 2.6vw, 2.3rem); margin: .2rem 0 0; line-height: 1.1; color: var(--hueso, #efe6d5); }
.vc-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: .8rem 1.6rem 2rem; border-top: 1px solid var(--borde); line-height: 1.6; color: #e4dac8; font-size: 1.03rem; scrollbar-color: var(--oro, #d8a24a) transparent; }
.vc-scroll h4 { font-family: var(--v3-tit, Cinzel, serif); color: var(--oro-claro, #f0c877); font-size: 1.15rem; margin: 1.2rem 0 .3rem; } .vc-scroll h4:first-child { margin-top: 0; }
.vc-scroll p { margin: .3rem 0 .8rem; } .vc-scroll b { color: var(--hueso, #efe6d5); }
.vc-x { position: absolute; top: .9rem; right: .9rem; z-index: 8; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--borde); background: rgba(10,10,12,.8); color: var(--oro-claro, #f0c877); font-size: 1.4rem; cursor: pointer; }
/* ---- efecto propio del Sótano: luz de taberna que titila + naipes de siete y medio ---- */
.vc-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 3; }
.vc-luz { position: absolute; inset: 0; background: radial-gradient(circle at 30% 70%, rgba(255,170,70,.35), transparent 55%); mix-blend-mode: screen; animation: vc-titila 2.8s steps(1, end) infinite; }
@keyframes vc-titila { 0% { opacity: .55; } 20% { opacity: .85; } 34% { opacity: .5; } 58% { opacity: .9; } 74% { opacity: .6; } 100% { opacity: .55; } }
.vc-naipe { position: absolute; top: 1.2rem; width: 64px; height: 92px; perspective: 500px; right: 2rem; }
.vc-naipe.b { right: 6.2rem; } .vc-naipe.b i { animation-delay: .8s; }
.vc-naipe i { position: absolute; inset: 0; border-radius: 8px; transform-style: preserve-3d; animation: vc-voltea 2s .3s ease-in-out forwards; background: linear-gradient(145deg, #6a1f2b, #2a0c12); border: 2px solid var(--oro, #d8a24a); }
.vc-naipe i::after { content: "7½"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 1.5rem var(--v3-tit, Cinzel, serif); color: #2a0c12; background: #f3e6c4; border-radius: 6px; backface-visibility: hidden; transform: rotateY(180deg); }
@keyframes vc-voltea { to { transform: rotateY(180deg); } }
/* ---- efecto propio del Banco de joyas: joyas que vuelan a un saldo que cuenta ---- */
.vc-joya { position: absolute; width: 38px; height: 38px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(240,200,119,.7)); animation: vc-joya 1.3s cubic-bezier(.5, 0, .3, 1) forwards; opacity: 0; }
@keyframes vc-joya { 0% { transform: translate(0,0) scale(1); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(.4); opacity: 0; } }
.vc-saldo { position: absolute; right: 1rem; bottom: 1rem; z-index: 4; background: rgba(10,10,12,.82); border: 1px solid var(--oro, #d8a24a); border-radius: 12px; padding: .5rem .9rem; font-family: var(--v3-tit, Cinzel, serif); color: var(--oro-claro, #f0c877); }
.vc-saldo small { display: block; font: 500 .8rem Inter, system-ui, sans-serif; color: var(--tenue, #b8ae9d); letter-spacing: .08em; text-transform: uppercase; } .vc-saldo b { font-size: 1.7rem; font-variant-numeric: tabular-nums; }
/* ---- pestañas por clase y efectos del Dark Lord / Elfa / Mago ---- */
.vc-tabs { display: flex; gap: .3rem; padding: .2rem 1.4rem; border-top: 1px solid var(--borde); overflow-x: auto; }
.vc-tab { min-height: 44px; padding: 0 .95rem; border: 0; background: none; color: var(--tenue, #b8ae9d); font: 600 .95rem Inter, system-ui, sans-serif; cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; }
.vc-tab[aria-selected=true] { color: var(--ac); border-bottom-color: var(--ac); }
.vc-tab:focus-visible { outline: 2px solid var(--ac); outline-offset: -2px; }
.vc-cuervos { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; opacity: .95; pointer-events: none; }
.vc-flecha-luz { position: absolute; height: 3px; width: 160px; left: -180px; border-radius: 3px; background: linear-gradient(90deg, transparent, #9fe8ff 55%, #fff); box-shadow: 0 0 14px #7fd8ff; opacity: 0; animation: vc-flecha 1.5s ease-out forwards; }
@keyframes vc-flecha { 0% { transform: translateX(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateX(110vw); opacity: 0; } }
.vc-destello { position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(150,190,255,.9), rgba(150,190,255,0) 55%); opacity: 0; animation: vc-dest .5s ease-out; }
@keyframes vc-dest { 0% { opacity: .95; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.6); } }
/* ---- Chat (globos), Interfaz (filete) y Economia (Tronos) + clip real en la galeria ---- */
.vc-clip { max-width: 100%; max-height: 100%; object-fit: contain; display: block; background: #08070a; }
.vc-globo { position: absolute; bottom: -2rem; padding: .3rem .7rem; border-radius: 10px; background: rgba(10,10,12,.82); border: 1px solid var(--borde); color: var(--oro-claro, #f0c877); font: 700 .95rem Inter, system-ui, sans-serif; opacity: 0; animation: vc-sube 2.4s ease-out forwards; }
@keyframes vc-sube { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-62vh); opacity: 0; } }
.vc-filete { position: absolute; background: linear-gradient(90deg, transparent, var(--ac), transparent); box-shadow: 0 0 12px var(--ac); }
.vc-filete.t, .vc-filete.b { height: 2px; left: 0; width: 0; animation: vc-dibuja-x 1.1s ease-out forwards; } .vc-filete.t { top: 0; } .vc-filete.b { bottom: 0; }
.vc-filete.l, .vc-filete.r { width: 2px; top: 0; height: 0; animation: vc-dibuja-y 1.1s .2s ease-out forwards; } .vc-filete.l { left: 0; } .vc-filete.r { right: 0; }
@keyframes vc-dibuja-x { to { width: 100%; } } @keyframes vc-dibuja-y { to { height: 100%; } }
.vc-moneda { position: absolute; top: -3rem; width: 40px; height: 40px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); opacity: 0; animation: vc-cae 1.8s ease-in forwards; }
@keyframes vc-cae { 0% { transform: translateY(0) rotate(0); opacity: 0; } 12% { opacity: 1; } 100% { transform: translateY(78vh) rotate(260deg); opacity: 0; } }
/* ---- La Salada (brasas) y Lorencia rioplatense (petalos) ---- */
.vc-brasa { position: absolute; bottom: -12px; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle, #fff1b0, #ff7a1a 60%, transparent 72%); box-shadow: 0 0 10px #ff6a00; opacity: 0; animation: vc-asciende 3.4s ease-out infinite; }
@keyframes vc-asciende { 0% { transform: translate(0,0); opacity: 0; } 15% { opacity: .95; } 100% { transform: translate(var(--dx), -75vh); opacity: 0; } }
.vc-petalo { position: absolute; top: -20px; width: 12px; height: 16px; border-radius: 80% 0 80% 0; background: #e0452f; opacity: 0; animation: vc-petalo 6s linear infinite; }
.vc-petalo.b { background: #d96ab0; width: 10px; height: 14px; }
@keyframes vc-petalo { 0% { transform: translate(0,0) rotate(0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(var(--dx), 78vh) rotate(420deg); opacity: 0; } }
.vc-radar { position: absolute; left: 72%; top: 41%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--ac); opacity: 0; animation: vc-ping 2.4s ease-out infinite; }
@keyframes vc-ping { 0% { transform: scale(.3); opacity: .9; } 100% { transform: scale(7); opacity: 0; } }
@media (max-width: 900px) {
  .vc-panel { width: 100vw; height: 100vh; margin: 0; left: 0; top: 0; border-radius: 0; }
  .vc-cuerpo { display: block; overflow-y: auto; height: 100%; } .vc-gal { border-right: 0; } .vc-prin { min-height: 42vh; } .vc-scroll { overflow: visible; }
  .vc-carril { padding-inline: calc(50% - 41vw); } .vc-carta { width: 82vw; } .vc-flecha { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .vc, .vc-carta, .vc-img, .vc-fondo { transition: none; }
  .vc-barrido, .vc-luz, .vc-naipe i, .vc-joya, .vc-flecha-luz, .vc-destello, .vc-cuervos, .vc-globo, .vc-filete, .vc-moneda, .vc-brasa, .vc-petalo, .vc-radar, .vc-polvo { animation: none !important; display: none; }
  .vc-carta.act .vc-mas { animation: none; }
}

/* Parte E/F · personaje ENDGAME de la clase en «Reworks»: en la columna de TEXTO, flotando en el borde derecho (el clip y la ventana quedan como estaban).
   Sin fondo, sin halo y sin cartel (Rudi 23/11). Respira y flota: escala 1 → 1,015 y sube y baja 6 px en un loop lento (7 s); sombra elíptica en el piso que se achica al subir.
   En escritorio el texto deja un carril a la derecha para el personaje (no se pisa nada); en celular va arriba y chico. Quieto con prefers-reduced-motion. */
.vc-texto { position: relative; }
.vc-pj { --pj-w: clamp(120px, 14vw, 190px); position: absolute; z-index: 0; right: 1rem; bottom: 1rem; width: var(--pj-w); height: min(56%, 360px); margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; pointer-events: none; }
.vc-texto.con-pj .vc-scroll { position: relative; z-index: 2; padding-right: calc(var(--pj-w, 160px) * .55 + 1.6rem); }   /* el personaje pasa POR DETRAS del texto en el borde: el carril es solo parte de su ancho */
.vc-texto.con-pj { --pj-w: clamp(120px, 14vw, 190px); }
.vc-pj-flota { flex: 1; min-height: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; transform-origin: 50% 100%; animation: vc-pj-respira 7s ease-in-out infinite; }
.vc-pj-flota img { max-height: 100%; max-width: 100%; object-fit: contain; }
.vc-pj-sombra { flex: none; width: 70%; height: 10px; margin-top: 2px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(0,0,0,.55), rgba(0,0,0,0) 70%); animation: vc-pj-sombra 7s ease-in-out infinite; }
@keyframes vc-pj-respira { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.015); } }
@keyframes vc-pj-sombra { 0%, 100% { transform: scaleX(1); opacity: 1; } 50% { transform: scaleX(.85); opacity: .7; } }
@media (max-width: 900px) {
  .vc-texto.con-pj .vc-scroll { padding-right: 1.6rem; }
  .vc-pj { position: relative; right: auto; bottom: auto; width: 100%; height: 150px; }
}
@media (prefers-reduced-motion: reduce) { .vc-pj-flota, .vc-pj-sombra { animation: none; } }
/* F1: mientras llega el fragmento de la carta (landing_v3_carta.php), el «Ver más» late; casi siempre ya llegó al pasarle el mouse */
.vc-carta.vc-cargando { cursor: progress; } .vc-carta.vc-cargando .vc-mas { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .vc-carta.vc-cargando .vc-mas { animation: vc-cargando .8s ease-in-out infinite alternate; } }
@keyframes vc-cargando { to { opacity: .45; } }
