/* PEDAL teaser page. Plain CSS, no build step, nothing loaded from other hosts.
   The game's look (src/style.css): dark, the magenta accent, Silkscreen for the words, Rubik for the small print. */

@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/rubik-latin-wght-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/silkscreen-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Silkscreen';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/silkscreen-latin-700-normal.woff2') format('woff2');
}

:root {
  color-scheme: dark; /* one look, dark, whatever the device's setting */
  --magenta: #ff22b5;
  --ink: #07090e;
  --text: #eef2f8;
  --muted: #94a0b8;
  --pixel: 'Silkscreen', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { height: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  color: var(--text);
  font-family: var(--sans);
  text-align: center;
}

/* The backdrop: one screenshot from the game, blacked out to a hint; darkest at the edges and behind the words */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--ink) url('img/hirschberg.jpg') 47% 50% / cover no-repeat;
  filter: brightness(0.5) saturate(0.75) contrast(1.1);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 45% at 50% 40%, rgba(7, 9, 14, 0.72), transparent 75%),
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 35%, rgba(7, 9, 14, 0.9) 100%),
    linear-gradient(rgba(42, 29, 61, 0.45), rgba(7, 9, 14, 0.5));
}

main { align-self: center; padding: 24px 16px 14vh; }
p { margin: 0; }

.logo { margin: 0 -0.08em 0 0; font-family: var(--pixel); font-weight: 700; font-size: clamp(3.4rem, 17vw, 8.5rem); line-height: 1; letter-spacing: 0.08em; text-shadow: 0 6px 0 rgba(0, 0, 0, 0.45), 0 0 60px rgba(255, 34, 181, 0.25); }
.logo b { font-weight: 700; color: var(--magenta); }

.status { margin: clamp(18px, 3vw, 30px) -0.32em 0 0; font-family: var(--pixel); font-size: clamp(0.8rem, 2.6vw, 1.05rem); letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.soon { margin-top: 12px; font-family: var(--pixel); font-size: clamp(0.95rem, 3.2vw, 1.3rem); letter-spacing: 0.14em; text-transform: uppercase; }
.cursor { display: inline-block; width: 0.6em; height: 0.95em; margin-left: 0.4em; vertical-align: -0.12em; background: var(--magenta); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } }

footer { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); font-size: 11px; letter-spacing: 0.04em; color: rgba(148, 160, 184, 0.6); }
