/* ==========================================================================
   ENTRADA NUEVA (10/11) · pantalla «Entrar / crear cuenta» rehecha de cero.
   «Mitad lima», elegida por el dueño entre 3 propuestas (las otras dos en
   _disenos/entrada-nueva/con-3-propuestas). Marcado en account.js › enShell / viewLogin.
   ========================================================================== */
body:has(.en) .fp { z-index: 79; } /* el fondo de la web (rejilla, aurora, burbujas) tapa cabecera y pie, y queda detrás de la entrada */

.en { --l: #C6FF00; --n: #0B0B0B;
  position: fixed; inset: 0; z-index: 80; overflow: hidden auto; display: grid; grid-template-rows: auto 1fr auto; color: #F2F2F2; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.en *, .en *::before, .en *::after { box-sizing: border-box; }

/* ---------- barra de arriba: logo · pasos · cerrar ---------- */
.en-top { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 22px clamp(18px, 3vw, 44px); }
.en-logo { justify-self: start; padding: 0; border: 0; background: none; cursor: pointer; }
.en-logo img { display: block; width: auto; height: 46px; }
.en-pasos { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; list-style: none; font: 800 12px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #6F7468; }
.en-pasos li { display: flex; align-items: center; gap: 9px; }
.en-pasos li + li::before { content: ""; width: clamp(26px, 6vw, 72px); height: 2px; margin-right: 3px; background: #2A2D24; }
.en-pasos li + li.on::before { background: var(--l); }
.en-pasos b { --c: 7px; display: grid; place-items: center; width: 26px; height: 26px; font-size: 12px; letter-spacing: 0; color: #8B9082; background: #1C1E17; clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }
.en-pasos li.on { color: #F2F2F2; }
.en-pasos li.on b { color: var(--n); background: var(--l); }
.en-x { --c: 10px; position: relative; justify-self: end; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; color: #F2F2F2; background: rgba(255,255,255,.22); clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); cursor: pointer; transition: color .2s, background .2s; }
.en-x::before { content: ""; position: absolute; inset: 1px; background: #0D0E0B; clip-path: inherit; }
.en-x .ico { position: relative; width: 18px; height: 18px; }
.en-x:hover, .en-x:focus-visible { color: var(--l); background: var(--l); }

/* ---------- piezas comunes ---------- */
.en-esc { position: relative; z-index: 1; display: grid; place-items: center; padding: 6px clamp(18px, 4vw, 56px) 96px; }
.en-f { display: grid; justify-items: center; width: 100%; text-align: center; }
.en-eye { margin: 0 0 14px; font: 800 12px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--l); }
.en-h { margin: 0; font: 800 clamp(38px, 5.4vw, 76px)/.95 "Plus Jakarta Sans", sans-serif; letter-spacing: -.045em; text-transform: uppercase; color: #fff; }
.en-h b { font-weight: inherit; color: var(--l); }
.en-lead { max-width: 46ch; margin: 16px 0 0; font-size: 17px; line-height: 1.45; color: #B9BFB0; }
.en-lead b { color: #fff; overflow-wrap: anywhere; }
.en-zona { width: 100%; margin-top: 30px; }

.en-campo { position: relative; display: block; text-align: left; }
.en-campo__n { display: block; margin-bottom: 8px; font: 800 11px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #8D9384; }
.en-campo input, .en-campo select { display: block; width: 100%; height: 60px; padding: 0 18px; border: 0; border-radius: 0; outline: 0; font: 700 18px/1.2 "Plus Jakarta Sans", sans-serif; color: #fff; background: transparent; caret-color: var(--l); box-shadow: none; }
.en-campo input::placeholder { color: #555A4E; opacity: 1; }
.en-campo input:-webkit-autofill { -webkit-text-fill-color: #fff; transition: background-color 99999s; }
.en-campo .err-msg { display: block; margin-top: 8px; font: 700 13px/1.3 "Plus Jakarta Sans", sans-serif; color: #FF7A7A; }
.en-campo .err-msg:empty { display: none; }
.en-campo .hint { display: block; margin-top: 8px; font-size: 13px; color: #8D9384; }
.en-campo + .en-campo { margin-top: 16px; }

.en-bt { --c: 13px; position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 62px; padding: 0 34px; border: 0; cursor: pointer; font: 800 17px/1 "Plus Jakarta Sans", sans-serif; color: var(--n); background: var(--l); clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); transition: transform .2s; }
.en-bt .ico { width: 20px; height: 20px; transition: transform .25s; }
.en-bt:hover .ico, .en-bt:focus-visible .ico { transform: translateX(6px); }
.en-bt::after { content: ""; position: absolute; top: 0; bottom: 0; left: -45%; width: 32%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.8), transparent); transform: skewX(-20deg); opacity: 0; pointer-events: none; }
.en-bt:hover::after { animation: enBarrido .7s ease both; }
.en-bt:active { transform: translateY(1px); }
.en-bt:disabled { opacity: .6; cursor: wait; }
@keyframes enBarrido { 0% { left: -45%; opacity: 1; } 100% { left: 120%; opacity: 1; } }

.en-fino { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: #7D8275; }
.en-fino a { color: #B9BFB0; text-decoration: underline; text-underline-offset: 3px; }
.en-fino a:hover { color: var(--l); }
.en-alt { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 18px; }
.en-alt button { padding: 6px 0; border: 0; border-bottom: 1px solid #3A3D33; background: none; font: 700 14px/1.2 "Plus Jakarta Sans", sans-serif; color: #B9BFB0; cursor: pointer; transition: color .2s, border-color .2s; }
.en-alt button:hover, .en-alt button:focus-visible { color: var(--l); border-color: var(--l); }
.en-nota { display: inline-flex; align-items: center; gap: 8px; margin: 8px 0 0; font-size: 14px; line-height: 1.4; color: #9AA090; text-align: left; }
.en-nota .ico { flex: none; width: 16px; height: 16px; color: var(--l); }
.en-nota .otp-demo { color: var(--l); letter-spacing: .14em; }
.en-msg { min-height: 20px; margin: 16px 0 0; font: 700 14px/1.4 "Plus Jakarta Sans", sans-serif; color: #FF8A8A; }
.en-aviso { --c: 9px; display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 10px 16px; font-size: 14px; line-height: 1.35; text-align: left; color: var(--n); background: var(--l); clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }
.en-aviso .ico { flex: none; width: 18px; height: 18px; }
.en-pais { width: min(440px, 100%); margin-top: 16px; font-size: 14px; color: #9AA090; text-align: left; }
.en-pais summary { cursor: pointer; list-style: none; }
.en-pais summary::-webkit-details-marker { display: none; }
.en-pais summary b { color: #fff; }
.en-pais summary span { margin-left: 6px; color: var(--l); text-decoration: underline; text-underline-offset: 3px; }
.en-pais .en-campo { margin-top: 14px; }
.en-pais select { --c: 10px; height: 52px; font-size: 16px; background: #191B14; clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }

/* ---------- código de 6 números: casillas que se llenan de líquido (como el código del Lab) ---------- */
.en-cod { position: relative; display: flex; justify-content: center; gap: clamp(6px, 1.4vw, 12px); cursor: text; }
.en-cod input { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; opacity: 0; font-size: 16px; cursor: text; }
.en-cel { --c: 11px; position: relative; isolation: isolate; display: grid; place-items: center; flex: none; width: clamp(42px, 12.5vw, 74px); aspect-ratio: 3 / 4; background: rgba(255,255,255,.2); clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); transition: background .2s; }
.en-cel::before { content: ""; position: absolute; inset: 1.5px; z-index: -2; background: linear-gradient(160deg, #1A2109, #0B0C09 60%); clip-path: inherit; }
.en-cel b { font: 800 clamp(24px, 5vw, 40px)/1 "Plus Jakarta Sans", sans-serif; color: #fff; }
.en-liq { position: absolute; left: 1.5px; right: 1.5px; bottom: 1.5px; z-index: -1; height: 0; overflow: hidden; background: radial-gradient(120% 95% at 50% 100%, rgba(198,255,0,.8), rgba(110,190,0,.38) 55%, rgba(30,70,0,.45)); transition: height .6s cubic-bezier(.3, 1.55, .5, 1); }
.en-cel.on .en-liq { height: 84%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 8' preserveAspectRatio='none'%3E%3Cpath d='M0 4Q7 0 14 4T28 4V8H0z'/%3E%3C/svg%3E") 0 0/28px 8px repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8' preserveAspectRatio='none'%3E%3Cpath d='M0 5Q10 1 20 5T40 5V8H0z'/%3E%3C/svg%3E") 0 1px/40px 7px repeat-x, linear-gradient(#000 0 0) 0 7px/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 8' preserveAspectRatio='none'%3E%3Cpath d='M0 4Q7 0 14 4T28 4V8H0z'/%3E%3C/svg%3E") 0 0/28px 8px repeat-x, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 8' preserveAspectRatio='none'%3E%3Cpath d='M0 5Q10 1 20 5T40 5V8H0z'/%3E%3C/svg%3E") 0 1px/40px 7px repeat-x, linear-gradient(#000 0 0) 0 7px/100% 100% no-repeat;
  animation: enOla 1.8s linear infinite; animation-delay: calc(var(--i) * -.37s); }
@keyframes enOla { to { -webkit-mask-position: 28px 0, -40px 1px, 0 7px; mask-position: 28px 0, -40px 1px, 0 7px; } }
.en-cel.on .en-liq::after { content: ""; position: absolute; left: 26%; bottom: 8%; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.95); box-shadow: 16px 10px 0 -1px rgba(255,255,255,.7), 8px 26px 0 -1.5px rgba(255,255,255,.55); animation: enBurbuja 1.7s ease-in infinite; animation-delay: calc(var(--i) * -.41s); }
@keyframes enBurbuja { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 80% { opacity: .8; } 100% { transform: translateY(-46px); opacity: 0; } }
.en-cel.on b { text-shadow: 0 0 14px rgba(225,255,130,.95); }
.en-cod:focus-within .en-cel.next { background: var(--l); }
.en-cod:focus-within .en-cel.next::after { content: ""; width: 2px; height: 38%; background: var(--l); animation: enCursor 1s steps(2, jump-none) infinite; }
@keyframes enCursor { to { opacity: 0; } }
.en-cod.is-ok .en-cel { background: var(--l); animation: enOk .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 55ms); }
.en-cod.is-ok .en-liq { height: 100%; -webkit-mask: none; mask: none; animation: none; }
@keyframes enOk { 35% { filter: brightness(1.7); transform: translateY(-6px); } }
.en-cod.is-wrong { animation: enNo .4s; }
.en-cod.is-wrong .en-cel { background: #FF6B6B; }
.en-cod.is-wrong .en-liq { height: 0; }
@keyframes enNo { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }


/* ==========================================================================
   C · «MITAD LIMA»: media pantalla lima con el mensaje, media negra con el formulario
   ========================================================================== */
.en--c { grid-template-rows: 1fr; }
.en--c .en-top { position: absolute; top: 0; left: 0; right: 0; grid-template-columns: 50% 1fr auto; }
.en--c .en-pasos { justify-self: center; }
.en--c .en-logo img { filter: brightness(0); } /* logo en negro sobre el lima */
.en--c .en-esc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); place-items: stretch; padding: 0; }
.enC-lima { position: relative; overflow: hidden; display: grid; align-content: center; gap: clamp(24px, 4vh, 44px); min-height: 100%; padding: 120px clamp(28px, 6vw, 110px) 90px clamp(28px, 5vw, 90px); color: var(--n); background: var(--l); clip-path: polygon(0 0, 100% 0, calc(100% - 110px) 100%, 0 100%); }
.enC-lima::before { content: ""; position: absolute; left: -9%; bottom: -16%; width: 62%; aspect-ratio: 1; background: url("assets/mono-black.png?v=logo3") center/contain no-repeat; opacity: .07; transform: rotate(-12deg); pointer-events: none; }
.enC-lima h2 { position: relative; margin: 0; font: 800 clamp(54px, 8.4vw, 136px)/.86 "Plus Jakarta Sans", sans-serif; letter-spacing: -.055em; text-transform: uppercase; color: var(--n); }
.enC-cara { display: inline-block; width: .92em; height: .92em; margin: -.2em 0 -.08em .12em; vertical-align: baseline; transform: rotate(9deg); animation: enSaluda 4.6s ease-in-out infinite; }
@keyframes enSaluda { 50% { transform: rotate(-4deg) translateY(-6px); } }
.en--c .en-f { align-self: center; justify-self: center; justify-items: start; max-width: 470px; padding: 120px 24px 110px; text-align: left; }
.en--c .en-h { font-size: clamp(34px, 3.7vw, 56px); }
.en--c .en-zona { margin-top: 28px; }
.en--c .en-campo input { --c: 12px; background: linear-gradient(var(--l) 0 0) 0 100%/0 3px no-repeat, #1A1C15; clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); transition: background-size .4s cubic-bezier(.2, .8, .2, 1), background-color .2s; }
.en--c .en-campo:focus-within input { background-size: 100% 3px, auto; background-color: #20231A; }
.en--c .en-campo.err input { background-image: linear-gradient(#FF6B6B 0 0); background-size: 100% 3px, auto; }
.en--c .en-bt { width: 100%; margin-top: 16px; }
.en--c .en-alt { justify-content: flex-start; }
.en--c .en-cod { justify-content: flex-start; }
.en--c .en-cel { width: clamp(42px, 12.5vw, 62px); }

/* ---------- lado lima de la entrada: «lista limpia» (elegida por el dueño 10/11): sin líneas ni números; el mono va sin sombra ---------- */
.enC-ben { position: relative; display: grid; margin: 0; padding: 0; list-style: none; }
.enC-ben li { display: grid; grid-template-columns: auto 1fr; align-items: center; }
.enC-ben li i { display: grid; place-items: center; clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }
.enC-ben b, .enC-ben small { display: block; }
.enC-lima--3 .enC-ben { gap: 20px; max-width: 440px; }
.enC-lima--3 .enC-ben li { gap: 16px; }
.enC-lima--3 .enC-ben li i { --c: 10px; width: 46px; height: 46px; color: var(--l); background: var(--n); }
.enC-lima--3 .enC-ben .ico { width: 22px; height: 22px; }
.enC-lima--3 .enC-ben b { font: 800 19px/1.2 "Plus Jakarta Sans", sans-serif; color: var(--n); }
.enC-lima--3 .enC-ben small { margin-top: 2px; font: 600 14.5px/1.2 "Plus Jakarta Sans", sans-serif; color: rgba(11,11,11,.68); }

/* ---------- bienvenida, lado derecho «producto de la tienda» (ELEGIDO por el dueño 10/11 entre 9; las otras en _disenos/entrada-nueva/*-antes-*.*):
   título con el resplandor de .hl, tarjeta con el barrido de luz de las cajas de la tienda (styles.css › bxSweep), etiqueta «Nuevo socio» con raya lima,
   cupón «línea» y botón. Entrada de la tarjeta de 1,25 s a 2,1 s, a juego con account.js › bindAuthInner ---------- */
.en--c .enR.enR--3 { max-width: 620px; }
.en--c .enR .en-bt { width: 100%; }
.enR .en-h b { text-shadow: 0 0 42px rgba(198,255,0,.35); } /* mismo resplandor que .hl en styles.css */
.en--c .enR > .enR-obra.enR-obra { opacity: 1; transform: none; }
.en--c .enR .enR-obra .reveal__stage { width: 100%; margin-top: 0; }
.enT { position: relative; width: min(100%, 58vh); margin-top: 14px; }
.enT-luz { position: absolute; z-index: 2; inset: 7.6% 0 12.65%; border-radius: 4.2% / 6.66%; overflow: hidden; pointer-events: none; }
.enT-luz::before, .enT-luz::after { content: ""; position: absolute; inset: 0; opacity: 0; mix-blend-mode: screen;
  background: linear-gradient(112deg, transparent 0 36%, rgba(255,255,255,.03) 39%, rgba(255,255,255,.09) 42%, rgba(255,255,255,.18) 45%,
    rgba(255,255,255,.27) 48%, rgba(255,255,255,.3) 50%, rgba(255,255,255,.27) 52%, rgba(255,255,255,.18) 55%, rgba(255,255,255,.09) 58%,
    rgba(255,255,255,.03) 61%, transparent 64% 100%);
  background-size: 320% 100%; background-position: 100% 0; }
.enR--3.is-landed .enT-luz::before { animation: bxSweep 1.4s cubic-bezier(.45, .05, .25, 1) .2s both; }
.enT:hover .enT-luz::after, .enT:focus-within .enT-luz::after { animation: bxSweep 1.4s cubic-bezier(.45, .05, .25, 1) .1s both; }
/* etiqueta «Nuevo socio»: raya lima + texto sobre la tarjeta, a la derecha */
.enT-tag { position: absolute; z-index: 3; top: -4px; right: 1%; display: flex; align-items: center; gap: 10px; font: 800 11px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; color: var(--l); pointer-events: none; opacity: 0; }
.enT-tag::before { content: ""; width: 28px; height: 2px; background: var(--l); box-shadow: 0 0 10px rgba(198,255,0,.6); transform-origin: 100% 50%; }
.enR--3.is-landed .enT-tag { animation: enTagIn .5s cubic-bezier(.2, .8, .2, 1) .45s both; }
.enR--3.is-landed .enT-tag::before { animation: enRayaT .5s cubic-bezier(.6, 0, .2, 1) .7s both; }
@keyframes enTagIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; } }
@keyframes enRayaT { from { transform: scaleX(0); } }
/* entrada: la tarjeta sube y se asienta. OJO: la transparencia NUNCA en .club__card (es 3D): en algunos Chrome esconde el metal y se ve un rectángulo gris */
.enR--3.is-spinning .club__card { animation: enTPone .85s cubic-bezier(.2, 1.25, .35, 1) 1.25s both; }
@keyframes enTPone { 0% { transform: translateY(40px) rotate(2deg) scale(.93); } 100% { transform: none; } }
.enR--3.is-spinning .club { animation: enAparece .3s ease 1.25s both; }
@keyframes enAparece { from { opacity: 0; } }

/* ---------- cupón «línea» (elegido por el dueño 10/11 entre 3): filo como .btn--line que se enciende lima al pasar el mouse y botón cuadrado lima de copiar.
   El trazo sigue la diagonal del corte (capa de filo ::before + relleno ::after recortado), nunca border con clip-path ---------- */
.enG { --cut: 14px; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; width: 100%; padding: 11px 11px 11px 20px; text-align: left; color: #fff;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.enG::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--filo, rgba(255,255,255,.22)); transition: background .25s; }
.enG::after { content: ""; position: absolute; inset: 1px; z-index: -1; background: #0E0F0B;
  clip-path: polygon(0 0, calc(100% - var(--cut) + .4px) 0, 100% calc(var(--cut) - .4px), 100% 100%, calc(var(--cut) - .4px) 100%, 0 calc(100% - var(--cut) + .4px)); }
.enG:hover { --filo: rgba(198,255,0,.75); }
.enG-t { display: grid; gap: 5px; min-width: 0; }
.enG-t small { font: 800 10.5px/1.2 "Plus Jakarta Sans", sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--l); }
.enG-t b { font: 700 14.5px/1.25 "Plus Jakarta Sans", sans-serif; color: #fff; }
.enG-c { display: inline-flex; align-items: center; gap: 14px; border: 0; padding: 0; background: none; color: inherit; cursor: pointer; font-family: "Plus Jakarta Sans", sans-serif; }
.enG-c b { font: 800 17px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .08em; }
.enG-c i { --c: 9px; display: grid; place-items: center; width: 44px; height: 44px; color: var(--n); background: var(--l); transition: background .2s, transform .2s;
  clip-path: polygon(0 0, calc(100% - var(--c)) 0, 100% var(--c), 100% 100%, var(--c) 100%, 0 calc(100% - var(--c))); }
.enG-c .ico { width: 18px; height: 18px; }
.enG-c:hover i, .enG-c:focus-visible i { background: #D6FF3D; transform: scale(1.06); }

@media (max-width: 860px) { .enT { width: 100%; } }
@media (max-width: 420px) { .enG { gap: 10px; padding-left: 16px; } .enG-c b { font-size: 15px; } .enG-t b { font-size: 13.5px; } }
html.basico .enT-luz::before, html.basico .enT-luz::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .enT-luz::before, .enT-luz::after { animation: none !important; } }

/* ---------- animación del logo al entrar a la cuenta (account.js › authFx): «persianas», elegida por el dueño 10/11 entre 3 ---------- */
.enFx { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; overflow: hidden; font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
.enFx i { display: block; }
.enFx__bg { position: absolute; inset: 0; }
.enFx__tira { position: absolute; display: none !important; }
.enFx__in { position: relative; display: grid; justify-items: center; padding: 20px; text-align: center; }
.enFx__logo { position: relative; display: block; width: min(400px, 62vw); }
.enFx__logo img { display: block; width: 100%; height: auto; filter: brightness(0); }
.enFx b { margin-top: 26px; font: 800 clamp(30px, 4.2vw, 58px)/1 "Plus Jakarta Sans", sans-serif; letter-spacing: -.045em; text-transform: uppercase; animation: enSube .65s cubic-bezier(.16, 1, .3, 1) .6s both; }
.enFx small { margin-top: 14px; font: 800 12px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .24em; text-transform: uppercase; animation: enAsoma .5s ease .75s both; }
.enFx__bar { position: relative; overflow: hidden; width: min(240px, 50vw); height: 4px; margin-top: 22px; animation: enAsoma .4s ease .75s both; }
.enFx__bar::before { content: ""; position: absolute; inset: 0; background: currentColor; opacity: .22; }
.enFx__bar::after { content: ""; position: absolute; inset: 0; background: currentColor; transform-origin: 0 50%; animation: enFxCarga .95s cubic-bezier(.4, 0, .2, 1) .8s both; }
@keyframes enFxCarga { from { transform: scaleX(0); } }
.enFx.out .enFx__in { animation: enFxFuera .3s ease both; }
@keyframes enFxFuera { to { opacity: 0; transform: translateY(-18px); } }
@keyframes enFxSello { from { opacity: 0; transform: scale(1.55) rotate(-7deg); } }
/* seis franjas lima suben una tras otra, aparece el logo en negro y se van hacia arriba */
.enFx { color: #0B0B0B; }
.enFx .enFx__bg { background: #C6FF00; animation: enFxTapa .01s linear .82s both; }
@keyframes enFxTapa { from { opacity: 0; } }
.enFx.out .enFx__bg { opacity: 0; animation: none; }
.enFx .enFx__tira { display: block !important; top: -12%; bottom: -12%; left: calc(var(--i) * 16.667% - 5%); width: 26.667%; background: #C6FF00; animation: enFxSube .52s cubic-bezier(.7, 0, .2, 1) both; animation-delay: calc(var(--i) * .055s); }
@keyframes enFxSube { from { transform: skewX(-7deg) translateY(112%); } to { transform: skewX(-7deg); } }
.enFx.out .enFx__tira { animation: enFxSeVa .52s cubic-bezier(.7, 0, .2, 1) both; animation-delay: calc(var(--i) * .055s); }
@keyframes enFxSeVa { from { transform: skewX(-7deg); } to { transform: skewX(-7deg) translateY(-112%); } }
.enFx .enFx__logo { animation: enFxSello .55s cubic-bezier(.2, 1.4, .4, 1) .5s both; }
.enFx b { animation-delay: .75s; }

/* ---------- celular ---------- */
@media (max-width: 860px) {
  .en--c .en-top { grid-template-columns: 1fr auto; }
  .en--c .en-pasos { display: none; }
  .en--c .en-x { color: var(--l); background: var(--n); }
  .en--c .en-x::before { background: var(--n); }
  .en--c .en-esc { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .enC-lima { min-height: 0; gap: 0; padding: 96px 22px 54px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), 0 100%); }
  .enC-lima h2 { font-size: clamp(50px, 15vw, 84px); }
  .en--c .en-f { max-width: none; padding: 30px 22px 140px; }
}
@media (max-width: 700px) {
  .en-top { padding: 16px 18px; }
  .en-logo img { height: 38px; }
  .en-pasos span { display: none; }
  .en-esc { padding-bottom: 130px; }
  .en-lead { font-size: 16px; }
  .en-bt { width: 100%; }
}
@media (max-height: 760px) and (min-width: 701px) {
  .en-h { font-size: clamp(34px, 4.6vw, 60px); }
  .en-zona { margin-top: 22px; }
}

/* ---------- equipos lentos / menos movimiento ---------- */
/* ---------- renglones del lado lima (suben recortados, uno tras otro) ---------- */
.enC-ln { display: block; }
.en--entra .enC-ln, .en--fin .enC-ln { animation: enSube .8s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(.18s + var(--i) * .11s); }
@keyframes enSube { from { transform: translateY(72%); clip-path: inset(0 -30% 100% -5%); } to { transform: none; clip-path: inset(-70% -30% -25% -5%); } }
@keyframes enAsoma { from { opacity: 0; transform: translateY(14px); } }
@keyframes enPop { from { opacity: 0; transform: scale(0) rotate(-40deg); } }

/* ---------- primera vez que se abre la entrada: el lima entra desde la izquierda y todo se acomoda ---------- */
.en--entra .enC-lima { animation: enLimaEntra .8s cubic-bezier(.7, 0, .2, 1) both; }
@keyframes enLimaEntra { from { clip-path: polygon(0 0, 0 0, -110px 100%, 0 100%); } }
.en--entra .enC-ben li { animation: enAsoma .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.55s + var(--i) * .08s); }
.en--entra .enC-cara { animation: enPop .6s cubic-bezier(.3, 1.7, .5, 1) .7s both, enSaluda 4.6s ease-in-out 1.4s infinite; }
.en--entra .en-f > * { animation: enAsoma .6s cubic-bezier(.2, .8, .2, 1) both; }
.en--entra .en-f > :nth-child(n) { animation-delay: .45s; }
.en--entra .en-f > .en-h { animation-delay: .52s; }
.en--entra .en-f > .en-lead { animation-delay: .59s; }
.en--entra .en-f > .en-zona { animation-delay: .66s; }
.en--entra .en-f > .en-bt { animation-delay: .73s; }
.en--entra .en-f > .en-fino { animation-delay: .8s; }
.en--entra .en-pasos, .en--entra .en-x { animation: enAsoma .6s ease .5s both; }

/* ---------- bienvenida («Tu cuenta está lista»): saludo chico + nombre gigante + ficha del socio; a la derecha la tarjeta del club ---------- */
.enC-lima h2.enC-bien { font-size: clamp(18px, 2vw, 30px); line-height: 1.05; letter-spacing: -.02em; }
.enC-bien .enC-nom { margin-top: .12em; font-size: clamp(40px, min(9.4vw, calc(36vw / (var(--n) * .66))), 150px); line-height: .9; letter-spacing: -.055em; }
.enC-bien .enC-nom > span { position: relative; display: inline-block; max-width: 100%; overflow-wrap: anywhere; }
.enC-bien .enC-cara { width: 1.9em; height: 1.9em; margin: -.7em 0 -.5em .3em; vertical-align: middle; }
.enC-fic { position: relative; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0 clamp(18px, 2.6vw, 40px); max-width: 100%; margin: 0; padding: 16px 0 0; border-top: 2px solid var(--n); }
.enC-fic div { min-width: 0; }
.enC-fic dt { margin: 0 0 6px; font: 800 10.5px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: .16em; text-transform: uppercase; opacity: .62; }
.enC-fic dd { margin: 0; font: 800 clamp(14px, 1.3vw, 19px)/1.1 "Plus Jakarta Sans", sans-serif; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.en--c .enR { justify-items: center; max-width: 590px; margin: 0; padding: 96px 24px 70px; text-align: center; }
.en--c .enR .reveal__stage { position: relative; margin-top: 16px; }
.en--c .enR .en-alt { justify-content: center; }
.en--c .enR > :not(.reveal__stage) { opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1); }
.en--c .enR.is-landed > :not(.reveal__stage) { opacity: 1; transform: none; }
.en--c .enR.is-landed > :nth-child(n+3) { transition-delay: .1s; }
.en--c .enR.is-landed > :nth-child(n+4) { transition-delay: .2s; }
.en--c .enR.is-leaving > :not(.reveal__stage) { opacity: 0; }

/* ---------- aparición de la bienvenida (10/11): el lima llena la pantalla y sube el saludo; el lima se recoge a su mitad;
   se enciende una ranura de luz y la máquina «emite» la tarjeta: sale hacia arriba por la ranura y queda apoyada en ella.
   Tiempos a juego con account.js › bindAuthInner (confeti 2,15 s; fin 2,25 s) ---------- */
.en--fin .enC-lima { z-index: 2; }
.enC-ola { position: absolute; inset: 0; z-index: 1; display: block; pointer-events: none; background: var(--l); clip-path: polygon(0 0, 50% 0, calc(50% - 110px) 100%, 0 100%); animation: enOlaSale .8s cubic-bezier(.7, 0, .2, 1) .85s both; }
@keyframes enOlaSale { from { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } }
.en--fin .enC-cara { animation: enPop .6s cubic-bezier(.3, 1.7, .5, 1) .75s both, enSaluda 4.6s ease-in-out 1.5s infinite; }
.en--fin .enC-fic { animation: enRaya .7s cubic-bezier(.2, .8, .2, 1) .5s both; }
@keyframes enRaya { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 -5% -20% 0); } }
.en--fin .enC-fic div { animation: enAsoma .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.62s + var(--i) * .09s); }
.en--fin .en-logo { animation: enAsoma .5s ease both; }
@media (max-width: 860px) {
  .enC-ola { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); }
  .en--entra .enC-lima { animation-name: enLimaBaja; }
  .enC-lima h2.enC-bien { font-size: clamp(15px, 4.4vw, 20px); }
  .enC-bien .enC-nom { font-size: clamp(34px, min(17vw, calc(84vw / (var(--n) * .66))), 84px); }
  .enC-lima .enC-fic { margin-top: 20px; padding-top: 12px; gap: 0 18px; }
  .enC-fic dt { font-size: 9px; letter-spacing: .12em; }
  .enC-fic dd { font-size: 13px; }
  .en--c .enR { padding: 26px 20px 130px; }
}
@keyframes enLimaBaja { from { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); } }
@media (prefers-reduced-motion: reduce) {
  .enC-ola { display: none; }
  .en--entra *, .en--fin .enC-ln, .en--fin .enC-cara, .en--fin .en-logo, .en--fin .enC-fic, .en--fin .enC-fic div { animation: none !important; }
}

html.basico .enC-cara, html.basico .en-liq, html.basico .en-liq::after { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .enC-cara, .en-liq, .en-liq::after, .en-cod.is-ok .en-cel { animation: none !important; }
}
