/* index2 — Hawkeye Fan Hub (Diffui Iowa_Hawkeye_Sports_Fans) */
:root {
  --h2-gold: #ffcd00;
  --h2-black: #0a0a0c;
  --h2-ink: #121214;
  --h2-muted: #6b6b70;
  --h2-line: #e4e4e7;
  --h2-paper: #f4f4f5;
  --h2-white: #ffffff;
  --h2-font: "Poppins", system-ui, sans-serif;
  --h2-display: "Anton", Impact, sans-serif;
  --h2-radius: 14px;
  --h2-radius-sm: 999px;

  /* Scoreboard ticker tokens (normally from index-light-theme) */
  --font-display: var(--h2-display);
  --sb-gold: #ffcd00;
  --sb-black: #08080a;
  --sb-dark: #0d0d10;
  --sb-mid: #14151a;
  --sb-surface: #1a1b21;
  --sb-border: rgba(255, 205, 0, 0.18);
  --sb-border-dim: rgba(255, 205, 0, 0.07);
  --sb-text: #f0f0f0;
  --sb-muted: rgba(240, 240, 240, 0.42);
  --sb-green: #22c55e;
  --sb-green-glow: rgba(34, 197, 94, 0.18);
  --sb-gold-glow: rgba(255, 205, 0, 0.35);
  --sb-mono: "Poppins", system-ui, sans-serif;
}

/* Score ticker sits under sticky hub2 nav */
body.hub2 .sb-ticker-outer {
  margin-bottom: 0;
  z-index: 30;
}

body.hub2 .sb-expand-panel {
  z-index: 35;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.hub2 {
  margin: 0;
  font-family: var(--h2-font);
  color: var(--h2-ink);
  background: var(--h2-paper);
  min-height: 100vh;
}

a { color: inherit; }

/* ── Nav ── */
.hub2-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--h2-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.hub2-nav-inner {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hub2-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.hub2-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.hub2-brand-name {
  font-family: var(--h2-font);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hub2-brand-name span { color: var(--h2-gold); }

.hub2-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hub2-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.hub2-links a.is-active,
.hub2-links a:hover {
  color: #fff;
  border-bottom-color: var(--h2-gold);
}

.hub2-join {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--h2-gold);
  color: var(--h2-black);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border-radius: var(--h2-radius-sm);
  white-space: nowrap;
}

.hub2-join:hover { filter: brightness(1.05); }

.hub2-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 860px) {
  .hub2-nav-toggle { display: inline-flex; }
  .hub2-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #111114;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .hub2-links.is-open { display: flex; }
  .hub2-links a {
    padding: 0.85rem 1.25rem;
    border-bottom: none;
  }
  .hub2-join { display: none; }
}

/* ── Hero ── */
.hub2-hero {
  position: relative;
  min-height: clamp(26rem, 58vh, 34rem);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hub2-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hub2-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hub2-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, 0.82) 0%, rgba(8, 8, 10, 0.45) 48%, rgba(8, 8, 10, 0.28) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.25) 0%, transparent 40%, rgba(8, 8, 10, 0.75) 100%);
}

.hub2-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 4rem) 1.25rem clamp(5.5rem, 10vh, 7rem);
}

.hub2-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--h2-gold);
}

.hub2-headline {
  margin: 0 0 0.85rem;
  font-family: var(--h2-display);
  font-size: clamp(2.15rem, 6.2vw, 3.85rem);
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--h2-gold);
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
  max-width: 18ch;
}

.hub2-sr-only,
.hub2-sr-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hub2-sr-status:not(:empty) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hub2-lede {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.hub2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hub2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: var(--h2-radius-sm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.hub2-btn .material-icons {
  font-size: 1.1rem;
}

.hub2-btn--gold {
  background: var(--h2-gold);
  color: var(--h2-black);
  border: 2px solid var(--h2-gold);
}

.hub2-btn--ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.hub2-btn--gold:hover { filter: brightness(1.05); }
.hub2-btn--ghost:hover { border-color: var(--h2-gold); color: var(--h2-gold); }

/* ── Next game card (overlaps hero) ── */
.hub2-next-wrap {
  position: relative;
  z-index: 5;
  max-width: 1120px;
  margin: -3.5rem auto 0;
  padding: 0 1.25rem;
}

.hub2-next {
  background: var(--h2-white);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(10, 10, 12, 0.18);
  padding: 1.35rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(6.5rem, 1fr) auto minmax(11rem, 1.4fr) auto minmax(6.5rem, 1fr) auto auto;
  align-items: center;
  gap: 1rem 1.15rem;
}

.hub2-next-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  min-width: 7rem;
}

.hub2-next-team img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.hub2-next-team strong {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
}

.hub2-next-team span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--h2-muted);
}

.hub2-next-divider {
  width: 1px;
  align-self: stretch;
  background: var(--h2-line);
  min-height: 4.5rem;
}

.hub2-next-center {
  text-align: center;
  padding: 0 0.25rem;
}

.hub2-next-label {
  margin: 0 0 0.35rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--h2-muted);
}

.hub2-next-date {
  margin: 0;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hub2-next-time,
.hub2-next-ha,
.hub2-next-tv,
.hub2-next-score {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--h2-muted);
}

.hub2-next-score {
  color: var(--h2-ink);
  font-weight: 800;
  font-size: 0.95rem;
}

.hub2-next-venue {
  margin: 0.25rem 0 0.35rem;
  font-size: 0.82rem;
  color: var(--h2-muted);
}

.hub2-next[data-state="live"] .hub2-next-label {
  color: #b45309;
  font-weight: 800;
}

.hub2-next[data-state="final"] .hub2-next-label {
  color: var(--h2-ink);
}

.hub2-next-center .hub2-btn {
  margin-top: 0.55rem;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  font-size: 0.7rem;
}

.hub2-next-kick {
  text-align: center;
  padding-left: 0.25rem;
}

.hub2-next-kick-label {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.2rem 0.55rem;
  background: var(--h2-gold);
  color: var(--h2-black);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
}

.hub2-countdown {
  display: flex;
  gap: 0.55rem;
  justify-content: center;
}

.hub2-cd-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.6rem;
}

.hub2-cd-block strong {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.hub2-cd-block small {
  margin-top: 0.2rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--h2-muted);
}

@media (max-width: 900px) {
  .hub2-next {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "iowa opp"
      "center center"
      "kick kick";
  }
  .hub2-next > .hub2-next-team:nth-child(1) { grid-area: iowa; }
  .hub2-next > .hub2-next-team:nth-child(5) { grid-area: opp; }
  .hub2-next-center { grid-area: center; }
  .hub2-next-kick { grid-area: kick; }
  .hub2-next-divider { display: none; }
}

/* ── Content cards ── */
.hub2-section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.25rem 1.25rem 4rem;
}

.hub2-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .hub2-cards { grid-template-columns: 1fr; }
}

.hub2-card {
  background: var(--h2-white);
  border-radius: var(--h2-radius);
  padding: 1.25rem 1.3rem 1.35rem;
  box-shadow: 0 4px 18px rgba(10, 10, 12, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
}

.hub2-card-tag {
  display: inline-flex;
  align-self: flex-start;
  margin: 0;
  padding: 0.28rem 0.55rem;
  background: var(--h2-gold);
  color: var(--h2-black);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4px;
}

.hub2-card h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.hub2-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  font-size: 0.78rem;
  color: var(--h2-muted);
  font-weight: 600;
}

.hub2-card-thumb {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  background: #e8e8ea;
}

.hub2-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #3f3f46;
  flex: 1;
}

.hub2-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  color: var(--h2-ink);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  align-self: flex-start;
}

.hub2-card-link .material-icons {
  font-size: 1.05rem;
  color: var(--h2-gold);
}

.hub2-card-link:hover { color: #000; }
.hub2-card-link:focus-visible,
.hub2-btn:focus-visible,
.hub2-links a:focus-visible,
.hub2-poll-option:focus-within {
  outline: 3px solid var(--h2-gold);
  outline-offset: 3px;
}

/* ── Ozarks community ── */
.hub2-community {
  background: var(--h2-black);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
}

.hub2-community-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.hub2-community-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--h2-gold);
}

.hub2-community-title {
  margin: 0 0 1rem;
  font-family: var(--h2-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--h2-gold);
  max-width: 14ch;
}

.hub2-community-lede {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36rem;
}

.hub2-community-list {
  margin: 1.1rem 0 1.5rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.hub2-community-list li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.hub2-community-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--h2-gold);
  border-radius: 1px;
}

.hub2-community-media {
  border-radius: var(--h2-radius);
  overflow: hidden;
  min-height: 240px;
  background: #1a1a1e;
}

.hub2-community-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

@media (max-width: 860px) {
  .hub2-community-inner {
    grid-template-columns: 1fr;
  }
  .hub2-community-media { order: -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hub2-btn,
  .hub2-card-link,
  .hub2-join { transition: none; }
}

/* ── Fan poll (interactive demo) ── */
.hub2-section--poll {
  padding-top: 0;
}

.hub2-fan-poll {
  background: var(--h2-white);
  border-radius: var(--h2-radius);
  padding: 1.5rem 1.4rem 1.6rem;
  box-shadow: 0 4px 18px rgba(10, 10, 12, 0.05);
  max-width: 560px;
}

.hub2-fan-poll h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.hub2-poll-note {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--h2-muted);
  line-height: 1.45;
}

.hub2-poll-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.hub2-poll-options {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.hub2-poll-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--h2-line);
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--h2-white);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.hub2-poll-option:hover {
  border-color: #c4c4c8;
}

.hub2-poll-option.is-selected {
  border-color: var(--h2-gold);
  background: rgba(255, 205, 0, 0.12);
}

.hub2-poll-option input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #c9a000;
  flex-shrink: 0;
}

.hub2-poll-error {
  margin: 0 0 0.75rem;
  color: #b42318;
  font-size: 0.85rem;
  font-weight: 600;
}

.hub2-poll-thanks-msg {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--h2-ink);
}

/* ── Sports landing (sports.html) ── */
.hub2-sports-intro {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1.25rem 1.5rem;
}

.hub2-sports-title {
  margin: 0 0 0.75rem;
  font-family: var(--h2-display);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--h2-ink);
}

.hub2-sports-lede {
  margin: 0;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--h2-muted);
}

.hub2-sports-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .hub2-sports-grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 28rem;
  }
  .hub2-sport-tile--fb {
    grid-row: 1 / 3;
  }
}

.hub2-sport-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 14rem;
  border-radius: var(--h2-radius);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: var(--h2-black);
  isolation: isolate;
}

.hub2-sport-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.35s ease;
}

.hub2-sport-tile--fb img { object-position: center 35%; }
.hub2-sport-tile--wbb img { object-position: center 30%; }
.hub2-sport-tile--mbb img { object-position: center 25%; }

.hub2-sport-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(8, 8, 10, 0.15) 0%, rgba(8, 8, 10, 0.78) 100%);
}

.hub2-sport-body {
  position: relative;
  z-index: 2;
  padding: 1.35rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}

.hub2-sport-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--h2-gold);
}

.hub2-sport-name {
  font-family: var(--h2-display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hub2-sport-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.15rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.hub2-sport-meta strong {
  color: #fff;
  font-weight: 800;
  margin-left: 0.25rem;
}

.hub2-sport-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--h2-gold);
}

.hub2-sport-cta .material-icons {
  font-size: 1rem;
}

.hub2-sport-tile:hover img {
  transform: scale(1.04);
}

.hub2-sport-tile:focus-visible {
  outline: 3px solid var(--h2-gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hub2-sport-tile img { transition: none; }
  .hub2-sport-tile:hover img { transform: none; }
}

/* Footer */
.hub2-footer {
  background: var(--h2-black);
  color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.8rem;
}

.hub2-footer a {
  color: var(--h2-gold);
  text-decoration: none;
  font-weight: 700;
}
