/* Public Disorder World Cup — retro black & white */

:root {
  --ink: #000;
  --paper: #fff;
  --rule: 4px solid var(--ink);
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Futura", "Century Gothic", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--ink); }

/* ---------- header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: var(--rule);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  text-decoration: none;
}

.wordmark .mark { display: flex; }

.site-header nav {
  display: flex;
  gap: 1.5rem;
}

.site-header nav a {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  padding-bottom: 2px;
}

.site-header nav a:hover {
  border-bottom-color: var(--ink);
}

/* ---------- landing ---------- */

main { flex: 1; }

.hero {
  max-width: 46rem;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
}

.hero .ball {
  animation: roll 24s linear infinite;
}

@keyframes roll {
  to { transform: rotate(360deg); }
}

.hero h1 {
  margin-top: 2rem;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 900;
}

.hero .tagline {
  margin: 1.75rem auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 32rem;
}

.button {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  border: var(--rule);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  text-decoration: none;
  background: var(--paper);
  transition: background 0.1s, color 0.1s;
}

.button:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- games ---------- */

.games {
  max-width: 44rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.games h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 900;
  border-bottom: var(--rule);
  padding-bottom: 0.75rem;
  margin-bottom: 2.5rem;
}

.match-day { margin-bottom: 2.75rem; }

.match-day h2 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.fixtures {
  list-style: none;
  border: var(--rule);
}

.fixture {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.9rem 1.25rem;
  border-bottom: 2px solid var(--ink);
}

.fixture:last-child { border-bottom: none; }

.fixture:hover {
  background: var(--ink);
  color: var(--paper);
}

.fixture .time {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  min-width: 3.5rem;
}

.fixture .teams {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.fixture .team {
  font-weight: 700;
  font-size: 1.05rem;
}

.fixture .vs {
  font-size: 0.8rem;
  text-transform: uppercase;
  opacity: 0.6;
}

.fixture .group {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.fixture .stage {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2.5px solid currentColor;
  padding: 0.25rem 0.5rem;
  flex-shrink: 0;
}

.empty {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: var(--rule);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@media (max-width: 540px) {
  .site-header { flex-direction: column; }
  .fixture { gap: 0.8rem; padding: 0.8rem 0.9rem; }
}
