/* Pizza Forte Österreich – Coming soon. Static version of app/globals.css. */

/* Outfit (self-hosted, same files next/font ships) --------------------------------- */
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/outfit-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/outfit-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/outfit-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Outfit;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../assets/fonts/outfit-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* metric-matched fallback so the layout doesn't jump while the font loads */
@font-face {
  font-family: "Outfit Fallback";
  src: local(Arial);
  ascent-override: 100.18%;
  descent-override: 26.05%;
  line-gap-override: 0%;
  size-adjust: 99.82%;
}

:root {
  --font-outfit: "Outfit", "Outfit Fallback";
  --red: #d9261c;
  --red-dark: #b71c14;
  --cream: #fff8f3;
  --ink: #3a1410;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--cream);
  color: var(--ink);
  font-family:
    var(--font-outfit),
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.page {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--cream);
}

.canvas {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
  touch-action: none;
}

.canvas div {
  touch-action: none;
}

.canvas.ready {
  opacity: 1;
}

.fade {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 2;
}

.fade-top {
  top: 0;
  height: 26vh;
  background: linear-gradient(to bottom, var(--cream) 0%, rgba(255, 248, 243, 0.7) 45%, rgba(255, 248, 243, 0) 100%);
}

.fade-bottom {
  bottom: 0;
  height: 30vh;
  background: linear-gradient(to top, var(--cream) 0%, rgba(255, 248, 243, 0.75) 45%, rgba(255, 248, 243, 0) 100%);
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(18px, 3.5vh, 40px) 24px clamp(26px, 6vh, 64px);
  pointer-events: none;
}

.logo img {
  display: block;
  width: clamp(120px, 13vw, 190px);
  height: auto;
  filter: drop-shadow(0 10px 26px rgba(217, 38, 28, 0.18));
  animation: rise 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero {
  text-align: center;
  animation: rise 1.1s 0.15s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(50px, 9vw, 136px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--red);
  -webkit-text-stroke: 7px #fff;
  paint-order: stroke fill;
  filter: drop-shadow(0 14px 30px rgba(217, 38, 28, 0.18));
}

.footer {
  position: absolute;
  left: 22px;
  bottom: 14px;
  z-index: 3;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(58, 20, 16, 0.55);
  pointer-events: none;
}

.pin {
  font-family: var(--font-outfit), system-ui, sans-serif;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;
  position: relative;
}

.pin {
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--red);
  background: #fff;
  border-radius: 999px;
  padding: 5px 12px;
  box-shadow:
    0 0 0 1.5px rgba(217, 38, 28, 0.85),
    0 8px 18px rgba(120, 30, 20, 0.16);
}

.pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1.5px;
  height: 22px;
  background: linear-gradient(to bottom, var(--red), rgba(217, 38, 28, 0));
  transform: translateX(-50%);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-aspect-ratio: 17/20) {
  .overlay {
    padding-top: 11vh;
    padding-bottom: 13vh;
  }
  .logo img {
    width: clamp(130px, 36vw, 190px);
  }
  .hero h1 {
    font-size: clamp(54px, 15vw, 120px);
  }
}

@media (max-width: 640px) {
  .overlay {
    padding-left: 16px;
    padding-right: 16px;
  }
  .footer {
    left: 16px;
    bottom: 10px;
    font-size: 11px;
  }
  .fade-bottom {
    height: 26vh;
  }
}
