/* Pizza Rush coming-soon page - the brand kit's palette and type (PizzaRush-Brand/BRAND.md). */
:root {
  --tomato: #e2483f;
  --tomato-deep: #b3302a;
  --cheese: #f6c445;
  --cheese-light: #ffe08a;
  --crust: #e79a45;
  --basil: #3fdc74;
  --basil-deep: #1f7a43;
  --parch: #f4e7cf;
  --ink: #2a1f16;
  --espresso: #120d0a;
  --panel: #1b1511;
  --dim: #bba893;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--espresso);
  color: var(--parch);
  font: 400 16px/1.5 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* The key art, slowly drifting, under a warm vignette. */
.bg {
  position: fixed;
  inset: -4%;
  background: url('/__soon/bg-sm.jpg') center / cover no-repeat;
  animation: drift 26s ease-in-out infinite alternate;
  z-index: 0;
}
@media (min-width: 700px) { .bg { background-image: url('/__soon/bg.jpg'); } }
.bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 36%, rgba(18, 13, 10, 0.42) 0%, rgba(18, 13, 10, 0.74) 60%, rgba(18, 13, 10, 0.95) 100%),
    linear-gradient(180deg, rgba(18, 13, 10, 0.35) 0%, rgba(18, 13, 10, 0.55) 55%, rgba(18, 13, 10, 0.94) 100%);
}
@keyframes drift {
  from { transform: scale(1.02) translate3d(-0.6%, 0, 0); }
  to { transform: scale(1.08) translate3d(0.6%, -0.8%, 0); }
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: max(28px, env(safe-area-inset-top)) 20px max(20px, env(safe-area-inset-bottom));
}

.hero {
  flex: 1;
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 0 32px;
}
.logo {
  width: min(560px, 88vw);
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.55));
  animation: pop 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes pop {
  from { opacity: 0; transform: translateY(18px) scale(0.92) rotate(-2deg); }
  to { opacity: 1; transform: none; }
}

/* The game's "Coming soon" sticker: cheese, ink outline, a parchment die-cut edge, a hard shadow. */
.sticker {
  margin-top: 6px;
  font: 400 clamp(20px, 4.4vw, 30px)/1 'Bungee', 'Impact', sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(180deg, var(--cheese-light) 0 34%, var(--cheese) 34% 100%);
  padding: 12px 22px 10px;
  border: 3px solid var(--ink);
  border-radius: 14px;
  box-shadow: 0 0 0 4px var(--parch), 6px 8px 0 4px var(--espresso);
  transform: rotate(-3deg);
  animation: sticker 0.7s 0.35s cubic-bezier(0.2, 1.6, 0.4, 1) both, bob 3.2s 1.2s ease-in-out infinite;
}
@keyframes sticker {
  from { opacity: 0; transform: rotate(-12deg) scale(0.4); }
  to { opacity: 1; transform: rotate(-3deg) scale(1); }
}
@keyframes bob {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-4px); }
}

.line {
  margin: 30px 0 6px;
  font-weight: 700;
  font-size: clamp(18px, 3.2vw, 22px);
  color: var(--parch);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}
.loop {
  margin: 0;
  max-width: 520px;
  color: var(--dim);
  font-size: 15.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 26px;
}
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 220px;
  padding: 11px 18px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn__small { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.8; }
.btn__big { font: 400 17px/1.2 'Bungee', 'Impact', sans-serif; letter-spacing: 0.02em; }
.btn--studio {
  color: var(--parch);
  background: linear-gradient(180deg, #ef5a50 0%, var(--tomato) 45%, var(--tomato-deep) 100%);
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink), 0 14px 30px rgba(226, 72, 63, 0.3);
}
.btn--ghost {
  color: var(--parch);
  background: rgba(27, 21, 17, 0.72);
  border: 2px solid rgba(244, 231, 207, 0.22);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); }
.btn--studio:active { box-shadow: 0 1px 0 var(--ink); }
.btn:focus-visible, .gate__input:focus-visible, .gate__btn:focus-visible { outline: 3px solid var(--cheese); outline-offset: 3px; }

/* The access code: a till-roll card at the bottom. */
.gate {
  width: 100%;
  max-width: 440px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: rgba(27, 21, 17, 0.86);
  border: 1px solid rgba(244, 231, 207, 0.14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}
.gate__label { display: block; font-size: 14px; font-weight: 600; color: var(--dim); margin: 0 2px 10px; }
.gate__row { display: flex; gap: 8px; }
.gate__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 2px solid rgba(244, 231, 207, 0.18);
  background: var(--espresso);
  color: var(--parch);
  font: 500 16px 'IBM Plex Sans', system-ui, sans-serif;
  letter-spacing: 0.04em;
}
.gate__input::placeholder { color: rgba(187, 168, 147, 0.6); }
.gate__btn {
  height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 2px solid var(--ink);
  background: linear-gradient(180deg, #6fe896 0%, var(--basil) 45%, #2fbf5f 100%);
  color: var(--ink);
  font: 400 16px 'Bungee', 'Impact', sans-serif;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--basil-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.gate__btn:hover { transform: translateY(-1px); }
.gate__btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--basil-deep); }
.gate__msg { margin: 10px 2px 0; font-size: 14px; font-weight: 600; color: #ff8a80; }
.gate--bad .gate__input { border-color: var(--tomato); animation: shake 0.4s; }
@keyframes shake {
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.foot { margin-top: 18px; font-size: 12.5px; color: rgba(187, 168, 147, 0.7); }

@media (max-width: 480px) {
  .btn { min-width: 0; flex: 1 1 100%; align-items: center; }
  .loop { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .bg, .logo, .sticker { animation: none; }
}
