/* Pagina di accesso: presentazione a sinistra, modulo a destra; sul
   telefono uno sopra l'altro. Qui lo scorrimento è permesso (tastiera
   del telefono aperta), il gioco no. */

.notte.accesso { height: auto; min-height: 100vh; min-height: 100dvh; overflow: hidden; }
.accesso-corpo {
  position: relative; flex: 1 0 auto; width: 100%; max-width: 1080px; margin: 0 auto;
  padding: 72px 16px 40px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 48px 72px;
}
.presentazione { flex: 1 1 380px; max-width: 500px; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.presentazione h1 { margin: 0; font-family: var(--titoli); font-weight: 700; font-size: 60px; line-height: 1.02; letter-spacing: -.015em; color: var(--forte); }
.motto { margin: 0; font-size: 22px; font-weight: 500; line-height: 1.35; color: var(--medio); }
.sotto { margin: 0; font-size: 16px; line-height: 1.5; color: var(--tenue); max-width: 400px; }
.stemma { width: 168px; height: 160px; }

@keyframes esagono-entra { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }
@keyframes stemma-brilla { 0%, 100% { filter: drop-shadow(0 0 4px rgba(255, 211, 110, .7)); } 50% { filter: drop-shadow(0 0 14px rgba(255, 211, 110, 1)); } }
.stemma .hx { transform-box: fill-box; transform-origin: center; animation: esagono-entra .7s cubic-bezier(.2, .9, .3, 1.3) both; }
.stemma .stella-stemma { animation: stemma-brilla 3.2s ease-in-out infinite; }
.movimento-ridotto .stemma .hx, .movimento-ridotto .stemma .stella-stemma { animation: none; }

.carta-accesso {
  flex: 0 1 400px; width: 100%; max-width: 400px; padding: 34px 30px 30px; border-radius: 26px;
  background: rgba(9, 15, 40, .72); border: 1px solid rgba(150, 170, 240, .22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}
#modulo { display: flex; flex-direction: column; gap: 18px; }
#modulo h2 { margin: 0 0 4px; font-family: var(--titoli); font-weight: 500; font-size: 22px; color: var(--forte); }
.campo { display: flex; flex-direction: column; gap: 8px; }
.campo label { font-size: 15px; font-weight: 500; color: var(--chiaro); }
.campo-testo {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px;
  border: 1px solid rgba(174, 185, 223, .38); background: rgba(255, 255, 255, .06);
  color: var(--forte); font-family: var(--testi); font-size: 17px; outline: none;
}
.campo-testo:focus { border-color: var(--oro); box-shadow: 0 0 0 3px rgba(255, 211, 110, .25); }
.campo-testo.sbagliato { border-color: var(--rosso); }
.con-occhio { position: relative; }
.con-occhio .campo-testo { padding-right: 52px; }
.occhio {
  position: absolute; right: 4px; top: 3px; width: 44px; height: 44px; border: 0; border-radius: 10px;
  background: transparent; color: var(--tenue); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.occhio:hover { color: var(--forte); background: rgba(255, 255, 255, .06); }
.occhio svg { width: 22px; height: 22px; }
.messaggio { min-height: 22px; }
.messaggio p { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--rosso-testo); }
.messaggio svg { width: 18px; height: 18px; flex: none; }
.entra { width: 100%; min-height: 52px; font-size: 16px; }
.entra:disabled { cursor: progress; }
.aiuto { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--tenue); text-align: center; }
.piede { position: relative; padding: 0 16px 24px; text-align: center; font-size: 13px; color: var(--spento); }

@media (max-width: 599px) {
  .accesso-corpo { padding: 40px 16px 28px; gap: 28px; }
  .presentazione { gap: 14px; flex-basis: auto; }
  .presentazione h1 { font-size: 44px; }
  .stemma { width: 110px; height: 105px; }
  .motto { font-size: 19px; }
  .carta-accesso { padding: 26px 20px 22px; }
  .luna { top: 28px; width: 52px; height: 52px; right: 7%; }
}
