/* Home a schermo intero: un contenuto casuale da /media come sfondo, logo e scritta al centro */

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #000;
  color: #fff;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  overflow: hidden;
}

a { color: inherit; }

.screen {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

/* sfondo */
.bg,
.layer {
  position: absolute;
  inset: 0;
}

.layer {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.layer.on { opacity: 1; }

/* centro */
.center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  text-align: center;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.5));
}

.logo {
  width: min(320px, 70vw);
  height: auto;
}

.tagline {
  margin: 0;
  font-family: "helvetica neue", helvetica, arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0em;
  text-transform: uppercase;
}

/* riga social in basso */
.social {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 24px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  font-size: 12px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}

.social a { text-decoration: none; }
.social a:hover { text-decoration: underline; }
