@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --ink: #0b0b0c;
  --card: #17171a;
  --line: #2c2c33;
  --acid: #e8ff3e;
  --red: #ff2e17;
  --white: #f5f3ee;
  --muted: #8a8a93;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(120% 80% at 50% -10%, #26262d 0%, transparent 60%),
    var(--ink);
  color: var(--white);
  font-family: 'Bricolage Grotesque', sans-serif;
  overflow-x: hidden;
}

/* Zielflaggen-Textur oben und unten */
body::before,
body::after {
  content: '';
  position: fixed;
  left: 0; right: 0;
  height: 22px;
  background:
    repeating-conic-gradient(var(--white) 0 25%, transparent 0 50%) 0 0 / 22px 22px;
  opacity: .13;
  pointer-events: none;
}
body::before { top: 0; }
body::after { bottom: 0; }

.box {
  width: min(440px, 100%);
  position: relative;
  z-index: 1;
  animation: rise .7s cubic-bezier(.2, .8, .2, 1) both;
}

.tape {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #0b0b0c;
  background: repeating-linear-gradient(45deg, var(--acid) 0 14px, #c9dd28 14px 28px);
  padding: 7px 14px;
  display: inline-block;
  transform: rotate(-1.6deg);
  margin-bottom: 26px;
}

h1 {
  font-size: clamp(52px, 15vw, 88px);
  line-height: .82;
  font-weight: 800;
  letter-spacing: -.045em;
  font-stretch: condensed;
  text-transform: uppercase;
}
h1 .red { color: var(--red); display: block; }

.sub {
  color: var(--muted);
  font-size: 15px;
  margin: 18px 0 34px;
  max-width: 34ch;
  line-height: 1.45;
}

form { display: flex; flex-direction: column; gap: 12px; }

input {
  width: 100%;
  padding: 17px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  letter-spacing: .12em;
  color: var(--white);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 2px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder { color: #55555e; letter-spacing: .08em; }
input:focus { border-color: var(--acid); box-shadow: 0 0 0 3px rgba(232, 255, 62, .12); }

button {
  padding: 17px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--acid);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: transform .12s, background .2s;
}
button:hover { background: #f2ff6d; }
button:active { transform: translateY(1px) scale(.995); }

.err {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--red);
  min-height: 19px;
  line-height: 1.4;
}

.hint {
  margin-top: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #4a4a52;
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
