:root {
  --bg: #121212;
  --card-bg: #191919;
  --ink: #f4f2ec;
  --ink-muted: #a8a49c;
  --border: #f4f2ec;
  --stamp-bg: #000000;
  --stamp-ink: #ffd400;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: "Courier New", Courier, monospace;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

header {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--border);
}

h1 {
  margin: 0 0 6px;
  font-family: "Arial Narrow", "Helvetica Neue Condensed Bold", Impact, sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 12vw, 3.4rem);
  letter-spacing: 0.5px;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}

header p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.wall {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: var(--card-bg);
  border: 3px solid var(--border);
  text-decoration: none;
  color: inherit;
  box-shadow: 5px 5px 0 var(--tile-accent);
  transform: rotate(var(--tilt));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a.tile:hover,
a.tile:focus-visible {
  transform: rotate(0deg) translate(-2px, -2px);
  box-shadow: 9px 9px 0 var(--tile-accent);
  outline: none;
}

.tile:nth-child(odd) {
  --tilt: -1.4deg;
}

.tile:nth-child(even) {
  --tilt: 1.4deg;
}

.tile.disabled {
  filter: saturate(0.55) brightness(0.85);
  cursor: default;
}

.badge {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--tile-accent);
  border: 3px solid var(--border);
}

.badge img {
  width: 34px;
  height: 34px;
  display: block;
}

.copy {
  min-width: 0;
}

.copy h2 {
  margin: 0 0 6px;
  font-family: "Arial Narrow", "Helvetica Neue Condensed Bold", Impact, sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
}

.copy p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-muted);
}

.stamp {
  position: absolute;
  top: -12px;
  right: -10px;
  background: var(--stamp-bg);
  color: var(--stamp-ink);
  border: 2px solid var(--stamp-ink);
  padding: 3px 7px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transform: rotate(-7deg);
  white-space: nowrap;
}

footer {
  margin-top: 44px;
  font-size: 0.7rem;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .tile {
    transition: none;
  }
}
