:root {
  --iowa-gold: #ffcd00;
  --iowa-black: #08080a;
  --panel-bg: #121214;
  --sb-gold: #ffcd00;
  --sb-dark: #0d0d10;
}

/* ════════════════════════════════════════════════════════════════
   COMMAND CENTER HEADER (Loud & Proud Version)
   MOBILE-FIRST REFACTOR
════════════════════════════════════════════════════════════════ */
.header-command {
  display: flex;
  flex-direction: column;
  background: var(--panel-bg);
  border-bottom: 4px solid var(--iowa-gold);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

@media (min-width: 1100px) {
  .header-command {
    display: grid;
    grid-template-columns: 420px 1fr 350px;
    height: 160px;
  }
}

.command-brand {
  background: var(--iowa-black);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  text-decoration: none;
}

@media (min-width: 1100px) {
  .command-brand {
    padding: 1.2rem 2rem;
    justify-content: flex-start;
    gap: 1.5rem;
  }
}

.large-logo {
  width: 60px;
  transition: transform 0.3s ease;
}

@media (min-width: 1100px) {
  .large-logo {
    width: 110px;
  }
}

.command-brand:hover .large-logo {
  transform: scale(1.1) rotate(5deg);
}

.brand-titles .desktop-title {
  display: none;
}
.brand-titles .mobile-title {
  display: block;
}

@media (min-width: 1100px) {
  .brand-titles .desktop-title {
    display: block;
  }
  .brand-titles .mobile-title {
    display: none;
  }
}

.brand-titles h1 {
  font-family: "Anton", sans-serif;
  color: var(--iowa-gold);
  margin: 0;
  line-height: 0.9;
}

.mobile-title h1 {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
}

.desktop-title h1 {
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.5);
}

.brand-titles .club-name {
  font-size: 0.55rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #bbb;
  display: inline-block;
  margin-top: 2px;
}

@media (min-width: 1100px) {
  .brand-titles .club-name {
    font-size: 0.75rem;
    letter-spacing: 3px;
    display: block;
    margin-top: 5px;
    color: #eee;
  }
}

.command-nav-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.02);
}

/* ═══ Option #3 — primary row + utility rail (desktop) + mobile menu ═══ */
.command-nav-primary-row {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  gap: 0;
}

.command-nav-primary-row .nav-grid-tactical {
  flex: 1;
  min-width: 0;
}

.command-nav-utility {
  display: none;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 0 0.35rem;
  margin-top: 0.35rem;
  border-top: 1px solid rgba(255, 205, 0, 0.14);
}

@media (min-width: 1100px) {
  .command-nav-utility {
    display: flex;
    margin-top: 0;
    padding: 0 0 0 1rem;
    margin-left: 0.75rem;
    border-top: none;
    border-left: 1px solid rgba(255, 205, 0, 0.22);
    justify-content: flex-end;
    flex-shrink: 0;
  }
}

.hfz-util-link {
  font-family: "Antonio", "Roboto Condensed", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 205, 0, 0.85);
  text-decoration: none;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(255, 205, 0, 0.28);
  border-radius: 3px;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.hfz-util-link:hover {
  color: #fff;
  border-color: rgba(255, 205, 0, 0.5);
  background: rgba(255, 205, 0, 0.08);
}

.hfz-util-link:focus-visible {
  outline: 2px solid var(--iowa-gold);
  outline-offset: 2px;
}

.command-nav-mobile {
  display: flex;
  justify-content: flex-end;
  padding: 0.35rem 0.75rem 0.55rem;
}

@media (min-width: 1100px) {
  .command-nav-mobile {
    display: none;
  }
}

@media (max-width: 1099px) {
  .command-nav-primary-row .nav-grid-tactical,
  .command-nav-primary-row .command-nav-utility {
    display: none !important;
  }
}

.command-nav-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: 1px solid rgba(255, 205, 0, 0.45);
  color: var(--iowa-gold);
  padding: 0.45rem 0.85rem;
  border-radius: 4px;
  cursor: pointer;
  font-family: "Antonio", sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.command-nav-menu-btn:hover {
  background: rgba(255, 205, 0, 0.08);
  border-color: rgba(255, 205, 0, 0.75);
}

.command-nav-menu-btn:focus-visible {
  outline: 2px solid var(--iowa-gold);
  outline-offset: 2px;
}

.command-nav-menu-btn .material-icons {
  font-size: 1.35rem;
}

.command-nav-menu-label {
  position: relative;
  top: 1px;
}

.hfz-donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--iowa-gold);
  color: #08080a;
  font-family: "Antonio", "Roboto Condensed", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  padding: 0.5rem 1.1rem;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.hfz-donate-btn:hover {
  opacity: 0.94;
  transform: translateY(-1px);
  color: #000;
}

.hfz-donate-btn:focus-visible {
  outline: 2px solid var(--iowa-gold);
  outline-offset: 2px;
}

.hfz-donate-btn--footer {
  margin-top: 0.85rem;
}

@media (min-width: 1100px) {
  .command-nav-center {
    padding: 0 1.5rem;
    background: transparent;
  }
}

.nav-grid-tactical {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

@media (min-width: 640px) {
  .nav-grid-tactical {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 1100px) {
  .nav-grid-tactical {
    gap: 8px;
  }
}

.tactical-item {
  background: #444;
  border: 1px solid #666;
  padding: 16px 5px;
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  font-size: 0.9rem;
}

.tactical-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--iowa-gold);
  transition: width 0.2s ease;
  z-index: 0;
}

.tactical-item:hover {
  color: #000;
  transform: translateY(-2px);
}

.tactical-item:hover::before {
  width: 100%;
}

.tactical-item label,
.tactical-item span {
  position: relative;
  z-index: 1;
}

.tactical-item label {
  display: block;
  font-size: 0.55rem;
  font-family: "Share Tech Mono", monospace;
  color: var(--iowa-gold);
  opacity: 0.8;
  margin-bottom: 2px;
}
.tactical-item:hover label {
  color: #000;
}

.tactical-item.active {
  color: #000;
}
.tactical-item.active::before {
  width: 100%;
}
.tactical-item.active label {
  color: #000;
}

.command-right {
  display: none;
  background: var(--iowa-black);
  padding: 1rem 2rem;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.3rem;
}

@media (min-width: 1100px) {
  .command-right {
    display: flex;
  }
}

.status-pill {
  background: #22c55e;
  color: black;
  font-size: 0.6rem;
  font-weight: 900;
  padding: 2px 12px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  animation: pulse-active 1.5s infinite;
}
@keyframes pulse-active {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.real-time {
  font-family: "Share Tech Mono", monospace;
  font-size: 1.8rem;
  color: var(--iowa-gold);
  line-height: 1;
}

/* Ticker Container */
.sb-ticker-outer {
  grid-column: 1 / -1;
  background: #060608;
  border-top: 1px solid rgba(255, 205, 0, 0.2);
  border-bottom: 2px solid var(--iowa-gold);
  position: relative;
  overflow: visible;
  height: 36px;
  display: flex;
  align-items: center;
  z-index: 999;
}

.sb-ticker-label {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: var(--iowa-gold);
  color: black;
  font-family: "Antonio", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 3px;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  z-index: 3;
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 900;
}

.sb-ticker-track {
  overflow: hidden;
  padding-left: 100px;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

#sb-ticker-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.8rem;
}

@keyframes sbTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ═══ Mobile navigation bottom sheet ═══ */
.hfz-nav-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(0, 0, 0, 0.72);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.hfz-nav-sheet-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.hfz-nav-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2501;
  max-height: min(88vh, 520px);
  overflow-y: auto;
  padding: 0 0 calc(0.75rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #1c1e24 0%, #0a0b0e 55%);
  border-radius: 18px 18px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: none;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.65);
  transform: translateY(105%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.hfz-nav-sheet.is-open {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hfz-nav-sheet,
  .hfz-nav-sheet-backdrop {
    transition-duration: 0.01ms;
  }
}

.hfz-nav-sheet-handle-wrap {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 0.35rem;
}

.hfz-nav-sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
}

.hfz-nav-sheet-head {
  position: relative;
  padding: 0.25rem 3.25rem 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hfz-nav-sheet-eyebrow {
  margin: 0;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 205, 0, 0.65);
}

.hfz-nav-sheet-context {
  margin: 0.35rem 0 0;
  font-family: "Anton", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.hfz-nav-sheet-section {
  padding: 0.65rem 1rem 0.25rem;
}

.hfz-nav-sheet-section-label {
  margin: 0 0 0.35rem;
  font-family: "Share Tech Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.hfz-sheet-link {
  display: block;
  text-align: center;
  text-decoration: none;
  font-family: "Antonio", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e8e8e8;
  transition: background 0.15s ease, color 0.15s ease;
}

.hfz-sheet-link--primary:hover,
.hfz-sheet-link--utility:hover {
  background: rgba(255, 205, 0, 0.08);
  color: #fff;
}

.hfz-sheet-link.is-active {
  background: rgba(255, 205, 0, 0.16);
  color: var(--iowa-gold);
}

.hfz-sheet-link--donate {
  background: var(--iowa-gold);
  color: #08080a;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  margin: 0.35rem 0 0.25rem;
  padding: 0.75rem 1rem;
}

.hfz-sheet-link--donate:hover {
  opacity: 0.94;
  color: #000;
}

.hfz-nav-sheet-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #ccc;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.hfz-nav-sheet-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hfz-nav-sheet-close:focus-visible {
  outline: 2px solid var(--iowa-gold);
  outline-offset: 2px;
}

.hfz-nav-sheet-close .material-icons {
  font-size: 1.5rem;
}
