/* Tela de entrar: fica em /publico/ (abre sem sessão), então repete os tokens que usa de css/fliperama.css. */
:root { --bg-0: #0B0817; --ink: #F7F3FF; --ink-2: #D3CAF0; --ink-3: #ABA2D0; --ouro: #FFD23F; --rosa: #FF3DA5; --lima: #B8FF3C; --ciano: #3DE6FF; --neg: #FF6B84; --mola: cubic-bezier(.34, 1.56, .64, 1); --f-ui: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --f-mono: ui-monospace, "Cascadia Mono", Consolas, monospace; color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg-0); }
html, body { margin: 0; min-height: 100dvh; color: var(--ink); font: 400 15px/1.45 var(--f-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
button, input { font: inherit; color: inherit; }
p, h1 { margin: 0; }
svg { display: block; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ciano); outline-offset: 3px; border-radius: 10px; }
.cenario { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: radial-gradient(130% 90% at 50% -20%, #22144A, #120C26 45%, var(--bg-0) 75%); }
.blob { position: absolute; border-radius: 50%; }
.b1 { width: 75vmax; height: 75vmax; left: -28vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(139, 92, 255, .5), transparent); animation: d1 28s ease-in-out infinite alternate; }
.b2 { width: 60vmax; height: 60vmax; right: -24vmax; top: -14vmax; background: radial-gradient(closest-side, rgba(255, 61, 165, .36), transparent); animation: d2 32s ease-in-out infinite alternate; }
.b3 { width: 62vmax; height: 62vmax; left: -18vmax; bottom: -34vmax; background: radial-gradient(closest-side, rgba(255, 138, 31, .26), transparent); animation: d1 36s ease-in-out infinite alternate-reverse; }
.chao { position: absolute; left: 50%; bottom: 0; width: 200vmax; height: 90vh; margin-left: -100vmax; overflow: hidden; transform-origin: 50% 100%; transform: perspective(420px) rotateX(62deg); opacity: .34; -webkit-mask-image: linear-gradient(to top, #000, transparent 46%); mask-image: linear-gradient(to top, #000, transparent 46%); }
.chao i { position: absolute; left: 0; right: 0; top: -72px; bottom: 0; background-image: linear-gradient(rgba(255, 61, 165, .8) 2px, transparent 2px), linear-gradient(90deg, rgba(139, 92, 255, .75) 2px, transparent 2px); background-size: 72px 72px; animation: chao 2.6s linear infinite; }
.estrelas { position: absolute; width: 2px; height: 2px; border-radius: 50%; box-shadow: 12vw 8vh #fff, 28vw 22vh rgba(255,255,255,.7), 44vw 6vh #FFD23F, 63vw 14vh #fff, 81vw 9vh rgba(255,255,255,.8), 92vw 31vh #3DE6FF, 7vw 41vh rgba(255,255,255,.6), 35vw 52vh #fff, 76vw 61vh #fff, 18vw 73vh rgba(255,255,255,.7); animation: pisca 3.4s ease-in-out infinite; }
.crt { position: fixed; inset: 0; z-index: 9; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .02) 0 1px, transparent 1px 3px); }
.cena { min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px; }
.gabinete { width: min(420px, 100%); display: grid; gap: 12px; padding: 14px 16px 0; border-radius: 30px 30px 16px 16px; background: linear-gradient(90deg, rgba(0, 0, 0, .35), transparent 12%, transparent 88%, rgba(0, 0, 0, .35)), linear-gradient(180deg, #2C1D62, #170F36 60%, #0F0A26); box-shadow: inset 0 0 0 2px rgba(255, 210, 63, .5), 0 0 40px -10px rgba(255, 61, 165, .7), 0 12px 0 -3px rgba(5, 2, 14, .85), 0 40px 60px -30px #000; }
.marquise { position: relative; display: grid; place-items: center; height: 72px; border-radius: 20px 20px 8px 8px; background: radial-gradient(80% 120% at 50% 100%, rgba(255, 210, 63, .25), transparent 70%), linear-gradient(180deg, #120A28, #05030C); }
.lampadas { position: absolute; inset: 5px; border-radius: 16px 16px 6px 6px; border: 3px dotted var(--ouro); filter: drop-shadow(0 0 3px var(--ouro)); animation: lampadas 1.1s steps(1) infinite; }
.letreiro { position: relative; display: inline-flex; height: var(--h, 22px); color: var(--led); }
.letreiro svg { height: 100%; width: auto; overflow: visible; filter: drop-shadow(0 0 2px var(--led)) drop-shadow(0 0 8px var(--led)); }
.led-on { fill: none; stroke: var(--led); stroke-width: .82; stroke-linecap: round; }
.led-off { fill: none; stroke: rgba(255, 255, 255, .075); stroke-width: .62; stroke-linecap: round; }
.lt-marca { --h: 30px; --led: #FFD23F; }
.lt-start { --h: 18px; --led: #3DE6FF; }
.tela { display: grid; gap: 14px; padding: 22px 18px 18px; border-radius: 18px; text-align: center; background: radial-gradient(120% 90% at 50% 30%, #12284A, #070B1C 75%); box-shadow: inset 0 0 26px rgba(0, 0, 0, .85), inset 0 0 0 1px rgba(61, 230, 255, .2); }
.start { display: flex; justify-content: center; animation: piscaStart 1.1s steps(1) infinite; }
.sub { font-size: 13.5px; color: var(--ink-2); }
.form { display: grid; gap: 8px; text-align: left; }
.rot { font: 700 11px var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.campo input { width: 100%; min-height: 50px; padding: 0 14px; border: 0; border-radius: 14px; color: var(--ink); background: #0C0820; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .14); font: 700 18px var(--f-mono); letter-spacing: .12em; }
.campo input:focus { outline: none; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6), inset 0 0 0 2px var(--ciano); }
.campo.erro input { box-shadow: inset 0 2px 6px rgba(0, 0, 0, .6), inset 0 0 0 2px var(--neg); }
.campo.tremer { animation: tremer .45s; }
.aviso { min-height: 1.4em; font-size: 13px; color: #FFB0BE; }
.aviso.ok { color: var(--lima); } .aviso.espera { color: #FFDA8A; }
.entrar { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; border: 0; border-radius: 16px; font: 900 17px/1 var(--f-ui); letter-spacing: .12em; color: #2A1700; background: linear-gradient(180deg, #FFE680, #FFC21A); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 6px 0 -1px #9A6200, 0 14px 30px -10px rgba(255, 194, 26, .7); cursor: pointer; transition: transform .15s var(--mola); }
.entrar:active:not(:disabled) { transform: translateY(4px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 2px 0 -1px #9A6200; }
.entrar:disabled { opacity: .7; cursor: default; }
.moeda { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 900 10px/1 var(--f-ui); letter-spacing: 0; color: #7A4300; background: radial-gradient(circle at 35% 30%, #FFF6C2, #FFD23F 50%, #E59400); box-shadow: 0 0 0 2px #A65F00; animation: gira 1.6s ease-in-out infinite; }
.rodape { font-size: 12px; color: var(--ink-3); }
.demo-dica { font-size: 12px; color: var(--ciano); }
.deck { position: relative; height: 46px; margin: 0 -8px; clip-path: polygon(5% 0, 95% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, #3B2A7E, #160F33); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .15); }
.stick { position: absolute; left: 22%; bottom: 10px; width: 6px; height: 24px; border-radius: 3px; background: linear-gradient(90deg, #111, #555, #111); transform-origin: 50% 100%; animation: alavanca 3.6s ease-in-out infinite; }
.stick::before { content: ""; position: absolute; left: 50%; top: -10px; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFB3C6, #FF2D6F 55%, #8A0A30); }
.bt { position: absolute; bottom: 12px; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .35), 0 0 8px currentColor; }
.bt-a { left: 58%; color: #3DE6FF; background: #3DE6FF; } .bt-b { left: 69%; bottom: 19px; color: #FFD23F; background: #FFD23F; } .bt-c { left: 80%; color: #FF3DA5; background: #FF3DA5; }
.liberado .tela { animation: liberado .6s ease-out; }
.sem-js { padding: 40px 16px; text-align: center; }
@keyframes d1 { to { transform: translate3d(16vmax, 14vmax, 0) scale(1.12); } }
@keyframes d2 { to { transform: translate3d(-14vmax, 18vmax, 0) scale(.9); } }
@keyframes chao { to { transform: translateY(72px); } }
@keyframes pisca { 0%, 100% { opacity: .85; } 50% { opacity: .2; } }
@keyframes lampadas { 0% { border-color: #FFD23F; } 50% { border-color: #FF62B9; } }
@keyframes piscaStart { 0% { opacity: 1; } 55% { opacity: .3; } }
@keyframes tremer { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes gira { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.18); } }
@keyframes alavanca { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
@keyframes liberado { 40% { filter: brightness(1.8); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
