/* Texans Gameday Pass — fan page.
   Brand (README): Deep Steel Blue #021018, Battle Red #ED0028,
   Liberty White #FFFFFF, H-Town Blue #0080C6. Oswald display, IBM Plex Sans body.
   Rules: no serif, no decorative gradients, square corners, no emoji. */

:root {
  --steel: #021018;
  --red: #ED0028;
  --white: #FFFFFF;
  --htown: #0080C6;
  --steel-2: #0a1e2b;
  --line: rgba(255, 255, 255, 0.14);
  --muted: rgba(255, 255, 255, 0.62);
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--steel);
  color: var(--white);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 20px; }

h1, h2, .eyebrow, .result-label, label, dt, .btn {
  font-family: 'Oswald', 'IBM Plex Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Masthead */
.masthead {
  border-bottom: 3px solid var(--red);
  padding: 40px 0 28px;
  background: var(--steel-2);
}
.eyebrow { margin: 0 0 6px; color: var(--htown); font-weight: 600; font-size: 14px; }
.masthead h1 { margin: 0; font-size: clamp(38px, 9vw, 64px); font-weight: 700; line-height: 0.98; }
.lede { margin: 14px 0 0; color: var(--muted); max-width: 46ch; }

/* Cards */
main { padding: 28px 0 8px; }
.card {
  background: var(--steel-2);
  border: 1px solid var(--line);
  padding: 24px 22px;
  margin: 0 0 18px;
}
.card h2 { margin: 0 0 4px; font-size: 22px; font-weight: 600; }
.hint { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

/* Form */
label { display: block; font-size: 13px; color: var(--muted); margin: 0 0 8px; }
input {
  width: 100%;
  font-family: inherit;
  font-size: 20px;
  color: var(--white);
  background: var(--steel);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
}
input:focus { outline: 2px solid var(--htown); outline-offset: 0; border-color: var(--htown); }

/* Preview */
.preview { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 20px; }
.result-gate { display: flex; flex-direction: column; gap: 4px; margin-bottom: 18px; }
.result-label { font-size: 13px; color: var(--htown); font-weight: 600; }
.result-value { font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 34px; line-height: 1; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0 0 20px; }
.result-grid dt { font-size: 12px; color: var(--muted); margin: 0 0 4px; }
.result-grid dd { margin: 0; font-size: 20px; font-weight: 500; font-family: 'IBM Plex Sans', sans-serif; text-transform: none; letter-spacing: 0; }

.unverified { font-size: 13px; color: var(--muted); border-left: 2px solid var(--htown); padding-left: 12px; margin: 0 0 18px; }

/* CTA */
.btn {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 20px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.btn:hover { background: #ff0b34; }

.notfound { margin: 18px 0 0; color: var(--muted); border-left: 2px solid var(--red); padding-left: 12px; }

/* Games */
.games-list { list-style: none; margin: 0; padding: 0; }
.games-list li { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.games-list li:last-child { border-bottom: 0; }
.game-opp { font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase; font-size: 17px; }
.game-date { color: var(--muted); font-size: 14px; }
.game-tag { color: var(--red); font-size: 12px; font-weight: 600; margin-left: 8px; text-transform: uppercase; }
.muted { color: var(--muted); }

.foot { padding: 8px 0 48px; color: var(--muted); font-size: 13px; }
