/* Block Party — pagina «coming soon» (P1). Niente script: la CSP del server non ne ammette di esterni e qui non servono. */
@font-face { font-family: "Bungee"; src: url("/assets/bungee.woff2") format("woff2"); font-display: swap; }

:root {
  --ink: #0d1418;
  --ink-deep: #070b0d;
  --night: #1f2e35;
  --cream: #efe8d8;
  --fog: #b9b3a5;
  --porch: #f2b24b;
  --porch-ink: #2b1a06;
  --display: "Bungee", "Arial Black", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, #16232a 0%, var(--night) 55%, #142026 100%);
  color: var(--cream);
  font-family: var(--display);
  overflow-x: hidden;
}

.moon {
  position: fixed; top: clamp(28px, 7vh, 72px); right: clamp(24px, 9vw, 140px);
  width: clamp(56px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: #f4ecd2;
  box-shadow: 0 0 40px 10px rgba(244, 236, 210, .18), inset -10px -8px 0 rgba(0, 0, 0, .08);
  pointer-events: none;
}

.scene {
  flex: 1; position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 2vh, 18px);
  padding: clamp(56px, 10vh, 96px) 16px 24px;
  text-align: center;
}

.kicker { margin: 0; font-size: clamp(12px, 1.6vw, 15px); letter-spacing: .14em; text-transform: uppercase; color: var(--fog); }

.title {
  margin: 0; font-weight: 400; line-height: .95;
  font-size: clamp(44px, 11vw, 132px); letter-spacing: .02em; text-transform: uppercase;
  color: var(--cream);
  text-shadow: 4px 4px 0 var(--porch), 8px 8px 0 var(--ink-deep);
}

.street {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(4px, 2vw, 24px);
  width: min(720px, 100%);
  margin-top: clamp(8px, 3vh, 28px);
  padding: 0 8px;
  border-bottom: 10px solid #2b3036;
  box-shadow: 0 6px 0 0 #3b4144, 0 7px 0 0 var(--ink-deep);
}
.street img { display: block; width: clamp(96px, 22vw, 176px); height: auto; aspect-ratio: 1; }

.soon { margin: clamp(10px, 2vh, 18px) 0 0; font-size: clamp(18px, 3vw, 28px); letter-spacing: .08em; text-transform: uppercase; color: var(--porch); }

.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: clamp(6px, 2vh, 16px); }
.tile {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  color: var(--porch-ink); background: var(--porch);
  box-shadow:
    inset 0 4px 0 #ffd88f, inset 4px 0 0 #f8c56a, inset 0 -4px 0 #a8671a, inset -4px 0 0 #c98a2d,
    0 0 0 3px var(--ink), 7px 8px 0 3px rgba(2, 3, 10, .4);
}
.tile:hover { filter: brightness(1.06); }
.tile:active { transform: translate(3px, 4px); }
.tile:focus-visible { outline: 3px solid var(--cream); outline-offset: 5px; }
.ghost {
  color: var(--cream); background: #26363e;
  box-shadow: inset 0 4px 0 #34494f, inset 0 -4px 0 #18252b, 0 0 0 3px var(--ink), 7px 8px 0 3px rgba(2, 3, 10, .4);
}

.foot { padding: 18px 16px 22px; text-align: center; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fog); }

@media (prefers-reduced-motion: no-preference) {
  .street img { animation: bob 2.4s steps(2, end) infinite; }
  .street img:nth-child(2) { animation-delay: .4s; }
  .street img:nth-child(3) { animation-delay: .8s; }
  @keyframes bob { 50% { transform: translateY(-4px); } }
}
