/* ═══════════════════════════════════════════════════════════════════════
   login-v2.css — Pagina di accesso FLAC Hub nel nuovo stile (2026-10-12).
   Lo stesso dei siti e del totem: fondo scuro, luce viola/rosa, vetro, la
   mappa della rete con le sedi vere. Classi con prefisso «hl-» per non
   pestare il tema Gull caricato da inc/mainhead.php.
   ═══════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;700;800&display=swap');

html, body.text-left { background: #0c0e1e !important; }
body.text-left { color: #f2f2f7; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.hl-root { --viola: #5e17eb; --rosa: #db2777; --oro: #f6c56e; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: #f2f2f7; }
.hl-root a { color: inherit; text-decoration: none; }
.hl-root *, .hl-root *::before, .hl-root *::after { box-sizing: border-box; }

#hlStelle { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.hl-aur { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hl-aur i { position: absolute; border-radius: 50%; opacity: .65; mix-blend-mode: screen; }
.hl-aur i:nth-child(1) { width: 70vmax; height: 70vmax; left: -28vmax; top: -32vmax; background: radial-gradient(closest-side, rgba(94,23,235,.85), transparent); animation: hlA1 14s ease-in-out infinite alternate; }
.hl-aur i:nth-child(2) { width: 60vmax; height: 60vmax; right: -25vmax; bottom: -32vmax; background: radial-gradient(closest-side, rgba(219,39,119,.65), transparent); animation: hlA2 17s ease-in-out infinite alternate; }
@keyframes hlA1 { to { transform: translate(16vmax,10vmax) scale(1.2); } }
@keyframes hlA2 { to { transform: translate(-18vmax,-10vmax) scale(1.15); } }
@keyframes hlSu { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hlPulsa { 50% { opacity: .35; } }

.hl-pag { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; max-width: 1320px; margin: 0 auto; padding: 40px 32px 100px; }

/* sinistra: titolo, numeri, mappa */
.hl-sx { position: relative; display: grid; grid-template-columns: 1fr minmax(260px,330px); grid-template-areas: 'logo logo' 'kick kick' 'h1 h1' 'sub mappa'; column-gap: 10px; align-items: start; }
.hl-logo { grid-area: logo; height: 44px; justify-self: start; filter: drop-shadow(0 0 14px rgba(94,23,235,.7)); animation: hlSu .8s both; }
.hl-kick { grid-area: kick; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--oro); border: 1px solid rgba(246,197,110,.4); background: rgba(246,197,110,.1); padding: 7px 16px; border-radius: 99px; animation: hlSu .8s .1s both; }
.hl-kick b { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25); animation: hlPulsa 1.6s infinite; }
.hl-h1 { grid-area: h1; margin: 18px 0 12px; font-family: inherit; font-size: clamp(38px,4.8vw,66px); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; color: #fff; }
.hl-h1 .pw { display: inline-block; white-space: nowrap; }
.hl-h1 .ch { display: inline-block; opacity: 0; transform: translateY(46px) rotate(8deg) scale(.6); animation: hlLettera .6s cubic-bezier(.2,1.4,.4,1) forwards; animation-delay: calc(var(--i) * .03s); }
@keyframes hlLettera { to { opacity: 1; transform: none; } }
.hl-h1 em { font-style: normal; }
.hl-h1 em .ch { color: #f6c56e; }
.hl-h1 em .pw:last-child .ch { color: #f9a8d4; }
.hl-sinfo { grid-area: sub; padding-top: 6px; }
.hl-sub { font-size: 17px; line-height: 1.6; opacity: .75; max-width: 440px; margin: 0; animation: hlSu .8s .9s both; }
.hl-pills { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; animation: hlSu .8s 1.2s both; }
.hl-pills div { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(20,18,44,.7); border: 1px solid rgba(255,255,255,.1); font-size: 13.5px; max-width: 300px; }
.hl-pills b { font-size: 22px; font-weight: 800; min-width: 54px; background: linear-gradient(90deg,var(--oro),#f9a8d4); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hl-mappa { grid-area: mappa; position: relative; width: 100%; margin-top: -30px; z-index: 1; animation: hlSu 1.2s .5s both; }
.hl-mappa svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 30px rgba(94,23,235,.35)); }
.hl-rg { fill: rgba(124,58,237,.10); stroke: rgba(196,181,253,.38); stroke-width: .7; }
.hl-rg.hot { fill: url(#hlGHot); stroke: rgba(249,168,212,.8); animation: hlAccende 4s ease-in-out infinite; }
@keyframes hlAccende { 50% { fill-opacity: .55; } }
.hl-fascio { fill: none; stroke: url(#hlGFascio); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 6 10; animation: hlCorre 1.6s linear infinite; filter: drop-shadow(0 0 6px rgba(249,168,212,.9)); }
@keyframes hlCorre { to { stroke-dashoffset: -32; } }
.hl-dot { fill: #fff; filter: drop-shadow(0 0 6px #f9a8d4) drop-shadow(0 0 14px #db2777); }
.hl-onda { fill: none; stroke: #f9a8d4; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: hlOnda 2.6s ease-out infinite; }
.hl-onda.b { animation-delay: 1.3s; }
@keyframes hlOnda { from { opacity: .9; transform: scale(.4); } to { opacity: 0; transform: scale(3.4); } }
.hl-lbl { font: 800 9px 'Plus Jakarta Sans', sans-serif; fill: #fff; paint-order: stroke; stroke: #0c0e1e; stroke-width: 3px; }
.hl-lbl2 { font: 700 7px 'Plus Jakarta Sans', sans-serif; fill: #f6c56e; paint-order: stroke; stroke: #0c0e1e; stroke-width: 3px; letter-spacing: .08em; text-transform: uppercase; }

/* destra: il riquadro di accesso (vetro, bordo di luce che gira, si inclina col mouse) */
.hl-dx { perspective: 1200px; }
.hl-card { position: relative; border-radius: 32px; padding: 40px 36px 30px; background: rgba(18,16,40,.78); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); box-shadow: 0 50px 120px rgba(0,0,0,.6); transform-style: preserve-3d; transition: transform .25s ease-out; animation: hlSu .9s .4s both; isolation: isolate; }
.hl-card::before { content: ""; position: absolute; inset: -2px; border-radius: 34px; z-index: -1; background: conic-gradient(from var(--hlang), #5e17eb, #db2777, #f6c56e, #22d3ee, #5e17eb); animation: hlGiraBordo 6s linear infinite; }
.hl-card::after { content: ""; position: absolute; inset: 0; border-radius: 32px; z-index: -1; background: rgba(18,16,40,.94); }
@property --hlang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
@keyframes hlGiraBordo { to { --hlang: 360deg; } }
.hl-riflesso { position: absolute; inset: 0; border-radius: 32px; pointer-events: none; background: radial-gradient(400px circle at var(--mx,50%) var(--my,0%), rgba(255,255,255,.09), transparent 40%); }
.hl-saluto { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--oro); }
.hl-card h2 { margin: 6px 0 6px; font-family: inherit; font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.hl-cs { margin: 0 0 24px; font-size: 15px; opacity: .68; line-height: 1.5; }
.hl-alert { border-radius: 14px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; font-weight: 600; }
.hl-alert.warn { background: rgba(246,197,110,.12); border: 1px solid rgba(246,197,110,.35); color: #fde68a; }
.hl-alert.ok { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.35); color: #bbf7d0; }
.hl-card label { display: block; font-size: 13px; font-weight: 800; color: rgba(255,255,255,.8); margin: 0 0 7px; }
.hl-fld { position: relative; margin-bottom: 18px; }
.hl-fld > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; opacity: .55; color: #fff; pointer-events: none; }
.hl-fld input { width: 100%; height: 58px; border-radius: 16px; border: 1.5px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); color: #fff; font: inherit; font-size: 16px; padding: 0 52px 0 46px; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; }
.hl-fld input::placeholder { color: rgba(255,255,255,.35); }
.hl-fld input:focus { border-color: #a78bfa; background: rgba(255,255,255,.08); box-shadow: 0 0 0 5px rgba(139,92,246,.22); }
.hl-fld input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #1d1a3a inset; caret-color: #fff; }
.hl-fld:focus-within > svg { opacity: 1; color: #c4b5fd; }
.hl-occhio { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 11px; background: transparent; color: #fff; opacity: .6; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.hl-occhio svg { width: 19px; height: 19px; }
.hl-occhio:hover { opacity: 1; background: rgba(255,255,255,.08); }
.hl-forgot { display: block; text-align: right; font-size: 13.5px; font-weight: 700; color: var(--oro) !important; margin: -6px 0 22px; }
.hl-btn { width: 100%; height: 60px; border: 0; border-radius: 99px; font: inherit; font-size: 17px; font-weight: 800; color: #fff; cursor: pointer; background: linear-gradient(90deg,var(--viola),var(--rosa)); box-shadow: 0 16px 40px rgba(219,39,119,.42); position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, opacity .2s; }
.hl-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(219,39,119,.55); }
.hl-btn:active { transform: scale(.97); }
.hl-btn:disabled { opacity: .7; cursor: wait; }
.hl-btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent); animation: hlLuce 3.5s 2s ease-in-out infinite; }
@keyframes hlLuce { to { left: 130%; } }
.hl-curioso { margin-top: 22px; padding: 16px 18px; border-radius: 18px; background: rgba(246,197,110,.08); border: 1px solid rgba(246,197,110,.3); font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,.75); }
.hl-curioso b { display: block; font-size: 15px; color: #fff; margin-bottom: 4px; }
.hl-curioso em { font-style: normal; font-weight: 800; color: var(--oro); }
.hl-curioso a { display: inline-block; margin-top: 8px; font-weight: 800; color: #c4b5fd !important; text-decoration: none; }
.hl-help { margin-top: 22px; text-align: center; font-size: 14px; color: rgba(255,255,255,.72); }
.hl-help a { font-weight: 800; color: #c4b5fd !important; }
.hl-sic { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: rgba(255,255,255,.5); }

/* la scritta che scorre, come sui monitor in sala */
.hl-nastro { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; width: min(1180px, calc(100% - 32px)); display: flex; align-items: center; overflow: hidden; white-space: nowrap; border-radius: 99px; padding: 6px; color: #fff; background: linear-gradient(90deg,#5b21b6,#7c3aed 45%,#db2777); border: 2px solid rgba(255,255,255,.28); box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.hl-nastro .tkm { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: #7c3aed; display: flex; align-items: center; justify-content: center; margin-right: 12px; }
.hl-nastro .tkm svg { width: 19px; height: 19px; transform: rotate(-12deg); }
.hl-nastro .tkw { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg,transparent,#000 4%,#000 94%,transparent); mask-image: linear-gradient(90deg,transparent,#000 4%,#000 94%,transparent); }
.hl-nastro .nas { display: inline-block; padding: 6px 0; font-size: 15px; font-weight: 700; animation: hlScorre 45s linear infinite; }
.hl-nastro .nas i { font-style: normal; opacity: .45; padding: 0 18px; }
@keyframes hlScorre { to { transform: translateX(-50%); } }

/* «Attiva le notifiche» qui non serve: l'iscrizione richiede l'utente loggato (push-subscribe.php
   risponde 401) e il riquadro copriva il modulo sul telefono. Ricompare dopo l'accesso.
   «Installa l'app» resta, nello stesso vetro. */
#fhPushChip { display: none !important; }
#fhPushChip, #fhInstall { background: rgba(20,18,44,.94) !important; border: 1px solid rgba(255,255,255,.14) !important; border-radius: 18px !important; box-shadow: 0 20px 50px rgba(0,0,0,.55) !important; font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
#fhPushChip > div:first-child, #fhInstall > div:first-child { color: #fff !important; }
#fhPushChip > div:nth-child(2), #fhInstall > div:nth-child(2) { color: rgba(255,255,255,.7) !important; }
#fhPushYes, #fhInstYes, #fhInstOk { background: linear-gradient(90deg,#5e17eb,#db2777) !important; border-radius: 99px !important; }
#fhPushNo, #fhInstNo { background: rgba(255,255,255,.08) !important; color: rgba(255,255,255,.75) !important; border-radius: 99px !important; }

/* laptop bassi (es. 1280×720): niente sovrapposizioni con la scritta in fondo */
@media (min-width: 981px) and (max-height: 800px) {
    .hl-pag { padding-top: 24px; padding-bottom: 96px; }
    .hl-mappa { max-width: 270px; margin-top: -20px; }
    .hl-h1 { font-size: clamp(36px,4.2vw,56px); }
}
/* telefono e tablet: una colonna, il riquadro d'accesso subito sotto */
@media (max-width: 980px) {
    .hl-pag { grid-template-columns: 1fr; gap: 20px; padding: 30px 18px 30px; align-content: start; }
    .hl-sx { grid-template-columns: 1fr; grid-template-areas: 'logo' 'kick' 'h1' 'sub' 'mappa'; }
    .hl-pills { display: none; }
    .hl-logo { height: 36px; }
    .hl-kick { margin-top: 18px; }
    .hl-h1 { font-size: clamp(32px,9vw,46px); margin: 14px 0 8px; }
    .hl-sub { font-size: 15.5px; max-width: none; }
    .hl-mappa { width: 62%; max-width: 250px; margin: 4px auto -14px; justify-self: center; }
    .hl-card { padding: 28px 22px 24px; border-radius: 26px; }
    .hl-card::before { border-radius: 28px; }
    .hl-card::after, .hl-riflesso { border-radius: 26px; }
    .hl-card h2 { font-size: 27px; }
    .hl-nastro { position: relative; left: auto; bottom: auto; transform: none; margin: 4px auto 26px; }
    .hl-nastro .nas { font-size: 13.5px; }
    .hl-nastro .tkm { width: 32px; height: 32px; }
}
/* schermi grandi (1920, 2560, ultrawide 34") */
@media (min-width: 1900px) { .hl-pag, .hl-nastro { zoom: 1.25; } .hl-pag { min-height: calc(100svh / 1.25); } }
@media (min-width: 2900px) { .hl-pag, .hl-nastro { zoom: 1.6; } .hl-pag { min-height: calc(100svh / 1.6); } }
@media (prefers-reduced-motion: reduce) { .hl-root *, .hl-root *::before, .hl-root *::after { animation: none !important; } .hl-h1 .ch { opacity: 1; transform: none; } }
