/* Tela de entrada (login/cadastro) — complementa tema.css */

.entrada { padding-top: calc(var(--safe-top) + 28px); max-width: 440px; }
.entrada-topo { text-align: center; display: grid; justify-items: center; gap: 4px; margin-bottom: 18px; }
.entrada-logo { width: 96px; height: auto; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .35)); animation: girar-logo 6s ease-in-out infinite; }
@keyframes girar-logo { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.entrada-topo h1 { font-size: clamp(28px, 8vw, 36px); margin-top: 6px; }
.entrada-topo p { margin: 0 0 8px; color: var(--texto-2); font-weight: 800; }

.entrada-card { display: grid; gap: 4px; }
.form-entrada { display: grid; gap: 8px; margin-top: 14px; }
.rotulo { font-weight: 900; font-size: 13px; color: var(--texto-2); text-transform: uppercase; letter-spacing: .5px; margin-top: 4px; }

.campo-icone { position: relative; }
.campo-icone > i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--texto-3); pointer-events: none; }
.campo-icone .campo { padding-left: 42px; padding-right: 48px; }
.ver-senha {
    position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border: 0; background: none; color: var(--texto-3); cursor: pointer; border-radius: 12px;
}
.ver-senha:focus-visible { outline: 3px solid var(--azul); }
.form-entrada .btn { margin-top: 10px; min-height: 56px; font-size: 18px; }

.esqueci { justify-self: center; margin-top: 6px; background: none; border: 0; color: var(--texto-2); font-weight: 800; text-decoration: underline; cursor: pointer; padding: 8px; }
.esqueci-ajuda { margin-top: 4px; }
.dica-campo { margin: 0; color: var(--vermelho); font-weight: 800; font-size: 13px; }

.entrada-aviso.erro { background: rgba(244, 63, 94, .12); border-color: rgba(244, 63, 94, .45); color: var(--vermelho); }
.entrada-aviso.sucesso { background: rgba(16, 185, 129, .12); border-color: rgba(16, 185, 129, .45); color: var(--verde); }

.entrada-rodape { text-align: center; color: var(--texto-3); font-weight: 700; font-size: 13px; margin: 18px 8px 0; }
.entrada-rodape b { color: var(--texto-ouro); }

@media (prefers-reduced-motion: reduce) { .entrada-logo { animation: none; } }
.entrada-logo { border-radius: 24px; }

/* ==========================================================================
   LOGIN ESTILO LOBBY DE BATTLE ROYALE (2026-11-11): fundo com raios girando e cartas/moedas
   flutuando, emblema com aura, nome do app em letras 3D douradas, painel de jogo com borda de energia.
   ========================================================================== */
body.sem-nav { overflow-x: hidden; }
.lobby-fundo { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
    background: radial-gradient(90% 60% at 50% 18%, rgba(124, 58, 237, .55), transparent 70%), radial-gradient(70% 50% at 50% 100%, rgba(14, 165, 233, .25), transparent 70%); }
.lf-raios { position: absolute; left: 50%; top: 150px; width: 900px; height: 900px; margin: -450px 0 0 -450px;
    background: repeating-conic-gradient(rgba(255, 220, 120, .1) 0 8deg, transparent 8deg 22deg);
    -webkit-mask: radial-gradient(circle, #000 10%, transparent 60%); mask: radial-gradient(circle, #000 10%, transparent 60%);
    animation: aura-girar 40s linear infinite; }
.lf-item { position: absolute; bottom: -80px; opacity: .55; animation: lf-sobe linear infinite; }
.lf-carta { width: 34px; height: 46px; border-radius: 6px; border: 2px solid rgba(255, 255, 255, .8);
    background: linear-gradient(180deg, var(--c) 0 32%, #2f6fd0 32%, #1d4f9c); box-shadow: 0 6px 14px rgba(0, 0, 0, .4); }
.lf-moeda { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3c4, #ffc83d 55%, #d97706); box-shadow: 0 0 12px rgba(255, 200, 61, .6); }
.c1 { --c: #e53935; left: 8%;  animation-duration: 16s; animation-delay: -2s; }
.c2 { --c: #7cb342; left: 78%; animation-duration: 19s; animation-delay: -9s; }
.c3 { --c: #fdd835; left: 46%; animation-duration: 22s; animation-delay: -15s; }
.m1 { left: 22%; animation-duration: 12s; animation-delay: -4s; }
.m2 { left: 62%; animation-duration: 14s; animation-delay: -1s; }
.m3 { left: 88%; animation-duration: 11s; animation-delay: -7s; }
.m4 { left: 35%; animation-duration: 17s; animation-delay: -11s; }
@keyframes lf-sobe { 0% { transform: translateY(0) rotate(0deg); } 100% { transform: translateY(-115vh) rotate(380deg); } }

.entrada { position: relative; z-index: 1; padding-top: calc(var(--safe-top) + 34px); }
.entrada-topo { gap: 6px; margin-bottom: 22px; }
.entrada-emblema { position: relative; width: 112px; height: 112px; display: grid; place-items: center; }
.emblema-aura { position: absolute; inset: -14px; border-radius: 50%;
    background: conic-gradient(from var(--giro, 0deg), #ffd45c, transparent 30%, #a78bfa, transparent 60%, #38bdf8, transparent 85%, #ffd45c);
    -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%, #000 66%, transparent 68%); mask: radial-gradient(circle, transparent 58%, #000 60%, #000 66%, transparent 68%);
    animation: toast-giro 3s linear infinite; filter: drop-shadow(0 0 8px rgba(255, 200, 61, .8)); }
.entrada-logo { width: 104px; border-radius: 26px; animation: emblema-flutua 4s ease-in-out infinite; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), 0 0 30px rgba(255, 200, 61, .35); }
@keyframes emblema-flutua { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-6px) rotate(4deg); } }

.entrada-nome {
    position: relative; margin: 12px 0 0 !important; font: 700 clamp(46px, 14vw, 62px)/1 'Fredoka', sans-serif !important; letter-spacing: 2px;
    background: linear-gradient(180deg, #fff8dc 0%, #ffd45c 45%, #ff9f1c 75%, #f97316 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 4px 0 #7c2d12) drop-shadow(0 8px 14px rgba(0, 0, 0, .5)); transform: rotate(-3deg);
}
.entrada-nome::after {   /* brilho passando pelas letras */
    content: attr(data-texto); position: absolute; inset: 0;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .9) 50%, transparent 60%) 0 0 / 300% 100%;
    -webkit-background-clip: text; background-clip: text; color: transparent; animation: nome-brilho 3.5s ease-in-out infinite;
}
@keyframes nome-brilho { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }
.entrada-slogan {
    margin: 6px 0 4px !important; padding: 4px 16px; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    font: 900 12px 'Nunito', sans-serif; text-transform: uppercase; letter-spacing: 1.5px; color: #fff !important;
    background: linear-gradient(90deg, #7c3aed, #4f46e5, #0ea5e9);
}
.entrada-online { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 3px 12px; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    font: 900 11px 'Nunito', sans-serif; text-transform: uppercase; letter-spacing: .6px; color: #03251a; background: linear-gradient(180deg, #6ff7c3, #10b981); }
.entrada-online i { font-size: 8px; animation: pulsar-ponto 1.4s ease-in-out infinite; }
@keyframes pulsar-ponto { 50% { opacity: .3; } }

/* Painel de login: placa de jogo com borda de energia */
.entrada-card {
    display: grid; gap: 4px; padding: 16px 16px 18px; border-radius: 6px 24px 6px 24px; border: 2px solid transparent;
    background: linear-gradient(180deg, rgba(36, 26, 82, .96), rgba(18, 12, 38, .96)) padding-box,
                conic-gradient(from var(--giro, 0deg), rgba(255, 212, 92, .9), rgba(167, 139, 250, .5), rgba(56, 189, 248, .7), rgba(255, 212, 92, .9)) border-box;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 30px rgba(124, 58, 237, .35); animation: toast-giro 6s linear infinite;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.entrada-card .campo { border-radius: 4px 14px 4px 14px; background: rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .12); }
.entrada-card .campo:focus { border-color: #ffd45c; box-shadow: 0 0 0 3px rgba(255, 200, 61, .25), 0 0 14px rgba(255, 200, 61, .35); }
.entrada-card .rotulo { font: 900 11px 'Nunito', sans-serif; letter-spacing: 1px; color: #c4b5fd; }
.btn-jogar { min-height: 60px !important; font-size: 22px !important; letter-spacing: 2px !important; }
.esqueci { font-size: 13px; text-decoration: none; color: #a5b4fc; }
.esqueci:hover { color: #fff; }
.entrada .creditos { margin-top: 22px; }

@media (prefers-reduced-motion: reduce) {
    .lf-raios, .lf-item, .emblema-aura, .entrada-logo, .entrada-nome::after, .entrada-card, .entrada-online i { animation: none; }
}
/* Cartas e moedas flutuando no lugar (posições fixas pela tela, sempre visíveis) */
.lf-item { bottom: auto; opacity: .5; animation: lf-flutua 7s ease-in-out infinite; }
.c1 { top: 30%; left: 6%;  animation-delay: 0s; transform: rotate(-18deg); }
.c2 { top: 62%; left: 84%; animation-delay: -2.5s; }
.c3 { top: 86%; left: 14%; animation-delay: -4s; }
.m1 { top: 12%; left: 82%; animation-delay: -1s; }
.m2 { top: 48%; left: 90%; animation-delay: -3s; }
.m3 { top: 74%; left: 4%;  animation-delay: -5s; }
.m4 { top: 92%; left: 72%; animation-delay: -6s; }
@keyframes lf-flutua { 0%, 100% { transform: translateY(0) rotate(-14deg); } 50% { transform: translateY(-18px) rotate(14deg); } }

/* Entrar com Google (cores oficiais do botão: fundo branco, logo colorido) */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; border-radius: 4px 16px 4px 16px;
    background: #fff; color: #1f1f1f; font: 800 16px 'Nunito', sans-serif; text-decoration: none; border: 1px solid #dadce0;
    box-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.btn-google:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.g-logo { width: 22px; height: 22px; flex: none; }
.entrada-ou { display: flex; align-items: center; gap: 10px; margin: 14px 0 2px; color: var(--texto-3); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.entrada-ou::before, .entrada-ou::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .15); }
.entrada-nota { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--texto-2); line-height: 1.4; }
.entrada-nota i { color: var(--texto-ouro); margin-right: 4px; }
.entrada-subtitulo { margin: 0 0 8px; font-size: 20px; text-align: center; }
.entrada-aviso.alerta { background: rgba(255, 200, 61, .12); border-color: rgba(255, 200, 61, .45); }
.form-reenviar { display: grid; }
.form-reenviar[hidden] { display: none; }

.entrada-nota a { color: #a5b4fc; font-weight: 900; }
.entrada-legal { margin: 8px 0 0; text-align: center; font-size: 12px; }
