/* ─── Font Declarations ──────────────────────────────────────────────────────── */

@font-face {
  font-family: 'United Sans Cond';
  src: url('../fonts/UnitedSansCdBd.otf') format('opentype'),
       url('../fonts/UnitedSansCondHeavy.woff2') format('woff2'),
       url('../fonts/UnitedSansCondHeavy.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'TeX Gyre Heros Cn';
  src: url('../fonts/texgyreheroscn-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'TeX Gyre Heros Cn';
  src: url('../fonts/texgyreheroscn-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'TeX Gyre Heros Cn';
  src: url('../fonts/texgyreheroscn-italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'TeX Gyre Heros Cn';
  src: url('../fonts/texgyreheroscn-bolditalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

:root {
  --black:  #000000;
  --green:  #25B67C;
  --orange: #F79621;
  --yellow: #FAE454;
  --white:  #FFFFFF;
  --card:   #111111;
  --card2:  #1a1a1a;
  --border: #2a2a2a;
  --muted:  #888;
  --text:   #f0f0f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
button, a { touch-action: manipulation; }
body { font-family: 'TeX Gyre Heros Cn', 'Arial Narrow', Arial, sans-serif; background: var(--black); color: var(--text); min-height: 100vh; }

/* ── HEADER ── */
header {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

/* Mosaic pattern background — faded behind header content */
header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/roots_mosaic_pattern_big_stroke.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  pointer-events: none;
}

.header-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative; 
}



.header-logo {
  height: 100px;
  width: 100px;;
  object-fit: contain;
}

/* Wordmark SVG replaces h1 */
.header-wordmark {
  height: clamp(60px, 10vw, 100px);
  width: auto;
  display: block;
  margin: 0 auto 6px;
  filter: brightness(0) invert(1); /* force white on dark background */
}

/* Orange top stripe */
.header-top {
  background: var(--orange);
  text-align: center;
  padding: 6px 16px;
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 28px 20px 24px;
  text-align: center;
  position: relative;
}

@media (pointer: coarse) {
  .header-inner { padding: 16px 16px 18px; }
  .header-logo  { height: 90px; }
  .header-logos { gap: 12px; }
  .header-wordmark { height: clamp(40px, 8vw, 70px); }
}

.header-inner h1 {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(2.4rem, 7vw, 4rem);
  letter-spacing: 4px;
  line-height: 0.9;
  color: var(--white);
  text-transform: uppercase;
}
.header-inner h1 span { color: var(--orange); }
.header-inner .sub {
  font-size: 0.85rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ── MOSAIC DIVIDER — five brand colors ── */
.mosaic-divider {
  height: 5px;
  background: linear-gradient(to right,
    #EF4859 0%   20%,
    #65C2EE 20%  40%,
    #FCE354 40%  60%,
    #F89521 60%  80%,
    #23B67C 80%  100%
  );
}

/* ── MAP ── */
.map-section {
  position: relative;
  width: 100%;
  height: 500px;
  background: #111;
}

#map {
  width: 100%;
  height: 100%;
  display: none;
}

.map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (pointer: coarse) {
  .map-section { height: 600px; }
}

/* ── FILTERS ── */
.filters {
  max-width: 960px;
  margin: 28px auto 0;
  padding: 0 16px;
}
.filter-label {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (pointer: coarse) {
  .filter-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
    scrollbar-width: none;
  }
  .filter-buttons::-webkit-scrollbar { display: none; }
  .filter-btn {
    padding: 10px 16px;
    font-size: 0.88rem;
  }
}
.filter-btn {
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 18px;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: 'TeX Gyre Heros Cn', 'Arial Narrow', Arial, sans-serif;
  font-weight: 500;
  transition: all 0.15s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.filter-btn:hover { border-color: var(--orange); color: var(--orange); }
.filter-btn.active { background: var(--orange); color: var(--black); border-color: var(--orange); font-weight: 700; }
.filter-btn img { border-radius: 2px; vertical-align: middle; }

/* ── LOADING / ERROR ── */
.state-box { text-align: center; padding: 60px 20px; color: var(--muted); }
.state-box .icon { font-size: 2.5rem; margin-bottom: 12px; }
.state-box p { font-size: 0.9rem; line-height: 1.6; }
.state-box a { color: var(--orange); }
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── CATEGORY BLOCKS ── */
.list-section { max-width: 960px; margin: 28px auto 60px; padding: 0 16px; }
.category-block { margin-bottom: 40px; }
.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}
.cat-flag { display: flex; align-items: center; }
.cat-flag img { border-radius: 2px; }
.cat-title {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: 3px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--orange);
}
.cat-count {
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2px 8px;
  font-weight: 600;
}

/* ── BAR CARDS ── */
.bar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }

@media (pointer: coarse) {
  .bar-grid { grid-template-columns: repeat(2, 1fr); }
}
.bar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.18s;
}
.bar-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(247,150,33,0.12);
}
.bar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 4px 4px 0 0;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.18s;
}
.bar-card:hover::before { opacity: 1; }
.bar-spacer { flex: 1; }
.bar-name { font-weight: 700; font-size: 1.15rem; color: var(--white); margin-bottom: 4px; }
.bar-nations { font-size: 0.78rem; color: var(--orange); font-weight: 600; margin-bottom: 4px; }
.bar-address { font-size: 0.9rem; color: var(--muted); margin-bottom: 10px; min-height: 2.8em; line-height: 1.4; }
.bar-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.pill { font-size: 0.82rem; padding: 3px 10px; border-radius: 4px; font-weight: 600; border: 1px solid; }
.pill-type   { color: var(--muted);  border-color: var(--border); background: var(--card2); font-weight: 500; }
.pill-hours  { color: var(--green);  border-color: rgba(37,182,124,0.3); background: rgba(37,182,124,0.07); }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--orange);
  text-decoration: none;
  background: rgba(247,150,33,0.08);
  border: 1px solid rgba(247,150,33,0.3);
  border-radius: 5px;
  padding: 6px 14px;
  transition: all 0.15s;
  align-self: flex-start;
}
.map-link:hover { background: var(--orange); color: var(--black); }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 24px 20px; text-align: center; font-size: 0.74rem; color: var(--muted); }

@media (pointer: coarse) {
  footer { padding: 20px 16px; font-size: 0.72rem; line-height: 1.8; }
  .suggest-bar { margin: 10px 0; }
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--green);
  letter-spacing: 1px;
  text-transform: uppercase;
}
footer a { color: var(--orange); text-decoration: none; }
.hidden { display: none !important; }

@media (pointer: coarse) {
  .bar-name { font-size: 1.05rem; }
  .bar-address { font-size: 0.82rem; }
  .map-link { font-size: 0.8rem; padding: 6px 12px; }
}

/* ── GOOGLE INFOWINDOW DARK OVERRIDE ── */
.gm-style .gm-style-iw-c {
  overflow: visible !important;
  background: #1a1a1a !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6) !important;
  padding: 0 !important;
  border: 1px solid #2a2a2a !important;
}
.gm-style .gm-style-iw-d {
  overflow: visible !important;
  padding: 0 !important;
}
.gm-style .gm-style-iw-t::after {
  background: #1a1a1a !important;
  box-shadow: none !important;
}
.gm-style .gm-style-iw-tc::after {
  background: #1a1a1a !important;
}
.gm-style .gm-style-iw-chr {
  background: #1a1a1a !important;
  padding: 0 !important;
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
}
.gm-style .gm-style-iw-chr button span {
  background: #888 !important;
  width: 14px !important;
  height: 14px !important;
}
.gm-style-iw-d::-webkit-scrollbar { display: none; }

.gm-style .gm-style-iw-c {
  max-width: 300px !important;
}

/* ─── Match Carousel Section ─────────────────────────────────────────────────── */

.matches-section {
  position: relative;
  padding: 28px 0 20px;
  background: #0d0d0d;
  border-bottom: 1px solid #222;
}

.matches-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 14px;
}

.matches-title {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
}

.matches-nav {
  display: flex;
  gap: 8px;
}

.match-nav-btn {
  background: #1a1a1a;
  border: 1px solid #333;
  color: #aaa;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.match-nav-btn:hover {
  background: #F79621;
  color: #111;
  border-color: #F79621;
}

/* Scrollable track */
.matches-scroll {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 0 20px 12px;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.matches-scroll::-webkit-scrollbar { height: 4px; }
.matches-scroll::-webkit-scrollbar-track { background: transparent; }
.matches-scroll::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

@media (pointer: coarse) {
  .matches-scroll {
    scrollbar-width: none;
    padding: 0 12px 8px;
  }
  .matches-scroll::-webkit-scrollbar { display: none; }
}

.matches-track {
  display: flex;
  gap: 12px;
  width: max-content;
}

/* ─── Individual Match Card ───────────────────────────────────────────────────── */

.match-card {
  scroll-snap-align: center;
  flex-shrink: 0;
  width: 260px;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  padding: 14px 14px 12px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
  cursor: default;
}

.match-card:hover {
  transform: translateY(-2px);
  border-color: #444;
}

/* State variants */
.match-card--past {
  opacity: 0.65;
  border-color: #1e1e1e;
}
.match-card--past:hover {
  opacity: 0.85;
}

.match-card--today {
  border-color: #F79621;
  background: #1a1200;
  box-shadow: 0 0 18px rgba(247, 150, 33, 0.18);
  opacity: 1;
}

.match-card--soon {
  border-color: #555;
  background: #141414;
}

.match-card--future {
  opacity: 0.75;
}

/* Badge */
.match-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 2px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
.match-badge--today {
  background: #F79621;
  color: #111;
}
.match-badge--soon {
  background: #2a2a2a;
  color: #aaa;
  border: 1px solid #444;
}

/* Stage row */
.match-stage-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  margin-top: 4px;
}

.match-stage {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
}

.match-group {
  font-size: 0.65rem;
  color: #555;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 1px 5px;
}

/* Teams row */
.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.match-team--away {
  align-items: flex-end;
  text-align: right;
}

.team-flag img,
.team-flag span {
  display: block;
}

.team-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ccc;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.team--winner .team-name {
  color: #F79621;
}

/* Scores */
.match-vs-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.match-score {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.score-sep {
  color: #444;
  font-size: 1rem;
}
.score-win { color: #F79621; }
.score-loss { color: #555; }

.match-time {
  font-size: 0.75rem;
  font-weight: 700;
  color: #888;
  letter-spacing: 0.5px;
}

/* Meta row */
.match-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1e1e1e;
  padding-top: 8px;
  gap: 4px;
}

.match-date,
.match-date { flex-shrink: 0; }

/* Responsive */
@media (pointer: coarse) {
  .match-card { width: 220px; }
  .matches-title { font-size: 0.85rem; }
}

/* ─── Day Card (replaces individual match cards) ────────────────────────────── */

.day-card {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: clamp(280px, 72vw, 360px);
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  padding: 14px 14px 12px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

@media (pointer: coarse) {
  .day-card {
    width: 80vw;
  }
  .day-header {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  .mr-name {
    font-size: 0.85rem;
    max-width: 110px;
  }
  .mr-time {
    font-size: 0.8rem;
  }
  .mr-stage {
    font-size: 0.72rem;
  }
  .mr-score {
    font-size: 1.1rem;
  }
  .match-row {
    padding: 10px 12px 8px;
  }
  .matches-section {
    padding: 20px 0 16px;
  }
  .day-matches {
    max-height: 320px;
  }
}

.day-card--past   { opacity: 0.75; border-color: #2a2a2a; }
.day-card--today  { border-color: #F79621; background: #1a1200; box-shadow: 0 0 18px rgba(247,150,33,0.18); }
.day-card--soon   { border-color: #555; }
.day-card--future { opacity: 0.8; }

.day-header {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #F79621;
  margin-bottom: 10px;
  margin-top: 4px;
}

.day-card--past .day-header { color: #777; }

/* ─── Match Row ──────────────────────────────────────────────────────────────── */

.day-matches {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.day-matches::-webkit-scrollbar { width: 3px; }
.day-matches::-webkit-scrollbar-track { background: transparent; }
.day-matches::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

.match-row {
  background: #1a1a1a;
  border: 1px solid #222;
  border-radius: 0;
  padding: 7px 8px 5px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.match-row:hover {
  border-color: #F79621;
  background: #1f1700;
}

.match-row--active {
  border-color: #F79621;
  background: #1f1700;
}

.mr-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}

.mr-team {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mr-team--away {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.mr-team--away .mr-name {
  text-align: right;
}

.team--winner { color: #F79621; }

.mr-middle {
  display: flex;
  justify-content: center;
  min-width: 36px;
}

.mr-score {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 2px;
}

.mr-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: #aaa;
  letter-spacing: 0.3px;
}

.score-sep { color: #444; font-size: 0.85rem; }
.score-win  { color: #F79621; }
.score-loss { color: #555; }

.mr-stage {
  display: block;
  font-size: 0.78rem;
  color: #999;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.day-overflow {
  font-size: 0.62rem;
  color: #555;
  text-align: center;
  padding: 4px 0 2px;
  letter-spacing: 0.5px;
}

.mr-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e0e0e0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}
/* ─── MOBILE: 2x font sizes for all UI elements (except h1 header) ─────────── */
@media (pointer: coarse) {

  /* Header strip + sub */
  .header-top        { font-size: 0.72rem; }
  .header-inner .sub { font-size: 0.9rem; }

  /* Filters */
  .filter-label      { font-size: 0.75rem; letter-spacing: 0.5px; }
  .filter-btn        { font-size: 0.95rem; padding: 10px 14px; gap: 6px; }
  .filter-btn img    { width: 28px; height: 21px; }

  /* Category headers */
  .cat-title         { font-size: 1.5rem; letter-spacing: 2px; }
  .cat-count         { font-size: 0.8rem; padding: 2px 8px; }
  .cat-flag img      { width: 40px; height: 30px; }

  /* Bar cards */
  .bar-name          { font-size: 1rem; }
  .bar-address       { font-size: 0.85rem; }
  .pill              { font-size: 0.78rem; padding: 3px 8px; }
  .map-link          { font-size: 0.88rem; padding: 6px 14px; margin-top: 10px; }

  /* Match carousel */
  .matches-title     { font-size: 1rem; letter-spacing: 1px; }
  .match-nav-btn     { width: 36px; height: 36px; font-size: 1rem; }

  /* Day cards */
  .day-header        { font-size: 0.88rem; letter-spacing: 0.5px; }
  .mr-name           { font-size: 0.88rem; max-width: 120px; }
  .mr-time           { font-size: 0.78rem; }
  .mr-score          { font-size: 1rem; }
  .mr-stage          { font-size: 0.72rem; }
  .score-sep         { font-size: 0.88rem; }
  .day-overflow      { font-size: 0.75rem; }
  .match-row         { padding: 8px 10px 6px; }
  .mr-middle         { min-width: 44px; }
  .mr-team           { gap: 6px; }

  /* Match badge */
  .match-badge       { font-size: 0.72rem; padding: 3px 10px; top: -12px; }

  /* Footer */
  footer             { font-size: 0.74rem; line-height: 1.8; }
  .footer-badge      { font-size: 0.72rem; padding: 6px 14px; }

  /* Loading / error */
  .state-box p       { font-size: 0.9rem; }
  .map-loading       { font-size: 0.9rem; }
}
/* ── BUILT BY ── */
.built-by {
  margin-top: 12px;
  font-size: 0.68rem;
  color: #444;
}
.built-by a { color: #555; text-decoration: none; }
.built-by a:hover { color: var(--orange); }

/* ── DESKTOP: bigger match cards ── */
@media (min-width: 768px) {
  .day-card { width: clamp(300px, 30vw, 380px); }
  .mr-name  { font-size: 1rem; max-width: 120px; }
  .mr-time  { font-size: 0.9rem; }
  .mr-stage { font-size: 0.82rem; }
  .mr-score { font-size: 1.3rem; }
  .day-header { font-size: 1.05rem; }
  .match-row  { padding: 10px 12px 8px; }
}

/* ─── Roots Events Tab Button ─────────────────────────────────────────────────── */
.filter-btn--watch-party {
  border-color: rgba(37, 182, 124, 0.4);
  color: var(--green);
}
.filter-btn--watch-party:hover {
  border-color: var(--green);
  color: var(--green);
}
.filter-btn--watch-party.active {
  background: var(--green);
  color: var(--black);
  border-color: var(--green);
}
 
/* ─── Roots Events Section ────────────────────────────────────────────────────── */
#watchPartyList .bar-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
#watchPartyList .bar-card--watch-party {
  width: clamp(160px, 280px, 100%);
}

/* ─── Roots Events Card ───────────────────────────────────────────────────────── */
.bar-card--watch-party::before {
  background: var(--green);
  opacity: 1;
}
.bar-card--watch-party:hover {
  border-color: var(--green);
  box-shadow: 0 6px 24px rgba(37,182,124,0.12);
}
.wp-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.map-link--green {
  color: var(--green);
  background: rgba(37,182,124,0.08);
  border-color: rgba(37,182,124,0.3);
}
.map-link--green:hover {
  background: var(--green);
  color: var(--black);
}

/* ─── Hotels Tab Button ───────────────────────────────────────────────────────── */
.filter-btn--hotels {
  border-color: rgba(101,194,238,0.4);
  color: #65C2EE;
}
.filter-btn--hotels:hover {
  border-color: #65C2EE;
  color: #65C2EE;
}
.filter-btn--hotels.active {
  background: #65C2EE;
  color: var(--black);
  border-color: #65C2EE;
}

/* ─── Hotels Section ──────────────────────────────────────────────────────────── */
#hotelsList .bar-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
#hotelsList .bar-card--hotel {
  width: clamp(160px, 280px, 100%);
}

/* ─── Hotel Card ──────────────────────────────────────────────────────────────── */
.bar-card--hotel::before {
  background: #65C2EE;
  opacity: 1;
}
.bar-card--hotel:hover {
  border-color: #65C2EE;
  box-shadow: 0 6px 24px rgba(101,194,238,0.12);
}
.hotel-badge {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #65C2EE;
  margin-bottom: 6px;
}
.map-link--blue {
  color: #65C2EE;
  background: rgba(101,194,238,0.08);
  border-color: rgba(101,194,238,0.3);
}
.map-link--blue:hover {
  background: #65C2EE;
  color: var(--black);
}

/* ── FILTER LABEL — United Sans Cond brand voice ── */
.filter-label {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* ── SUGGEST BAR ── */
.suggest-bar { margin-top: 12px; }
.suggest-bar p {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.suggest-link {
  color: var(--orange);
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(247,150,33,0.3);
  padding: 5px 14px;
  border-radius: 4px;
  transition: all 0.15s;
  display: inline-block;
}
.suggest-link:hover { background: var(--orange); color: var(--black); }

/* ── MATCH-ROW NO-CLICK ── */
.match-row--no-click { cursor: default; }
.match-row--no-click:hover { border-color: #222; background: #1a1a1a; }

/* ── MR Roots Events BADGE ── */
.mr-watch-party {
  display: inline-block;
  margin-top: 5px;
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(37,182,124,0.1);
  border: 1px solid rgba(37,182,124,0.3);
  border-radius: 3px;
  padding: 2px 7px;
}

#page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.4s ease;
}
#page-loader.fade-out { opacity: 0; pointer-events: none; }
#page-loader.hidden { display: none; }
.loader-logo { height: 100px; width: auto; }
.loader-bar {
  width: 200px; height: 4px;
  background: var(--border);
}
.loader-fill {
  height: 100%;
  background: linear-gradient(to right, #EF4859, #65C2EE, #FCE354, #F89521, #23B67C);
  animation: load-progress 1.2s ease-in-out infinite alternate;
  width: 60%;
}
@keyframes load-progress {
  from { width: 20%; margin-left: 0; }
  to   { width: 60%; margin-left: 40%; }
}
/* ─── PAGE LOADER ────────────────────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.4s ease;
}
#page-loader.fade-out { opacity: 0; pointer-events: none; }
#page-loader.hidden { display: none; }
.loader-logo { height: 100px; width: auto; }
.loader-bar { width: 200px; height: 4px; background: var(--border); }
.loader-fill {
  height: 100%;
  background: linear-gradient(to right, #EF4859, #65C2EE, #FCE354, #F89521, #23B67C);
  animation: load-progress 1.2s ease-in-out infinite alternate;
}
@keyframes load-progress {
  from { width: 20%; margin-left: 0; }
  to   { width: 60%; margin-left: 40%; }
}

/* ─── EMAIL POPUP ────────────────────────────────────────────────────────────── */
#email-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#email-popup-overlay.visible { opacity: 1; }
#email-popup-overlay.hidden { display: none; }

#email-popup {
  background: var(--card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  max-width: 420px;
  width: 100%;
  padding: 32px 28px 28px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.3s ease;
}
#email-popup-overlay.visible #email-popup { transform: translateY(0); }

.popup-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  transition: color 0.15s;
}
.popup-close:hover { color: var(--white); }

.popup-logo { width: 52px; height: 52px; object-fit: contain; margin-bottom: 14px; }

.popup-eyebrow {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.popup-heading {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}

.popup-body { font-size: 0.88rem; color: var(--muted); line-height: 1.5; margin-bottom: 20px; }

.popup-form { display: flex; flex-direction: column; gap: 10px; }

.popup-input {
  background: var(--card2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 11px 14px;
  font-family: 'TeX Gyre Heros Cn', sans-serif;
  font-size: 0.95rem;
  outline: none;
  border-radius: 0;
  transition: border-color 0.15s;
  width: 100%;
}
.popup-input:focus { border-color: var(--orange); }
.popup-input::placeholder { color: #555; }

.popup-submit {
  background: var(--orange);
  color: var(--black);
  border: none;
  padding: 12px;
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
  border-radius: 0;
}
.popup-submit:hover { background: #e07d10; }
.popup-submit:disabled { background: #555; cursor: default; }

.popup-skip {
  text-align: center;
  font-size: 0.75rem;
  color: #555;
  cursor: pointer;
  margin-top: 4px;
  transition: color 0.15s;
  background: none;
  border: none;
  width: 100%;
  padding: 4px;
  font-family: 'TeX Gyre Heros Cn', sans-serif;
}
.popup-skip:hover { color: var(--muted); }

.popup-success { text-align: center; padding: 12px 0 4px; }
.popup-success-icon { font-size: 2rem; margin-bottom: 8px; }
.popup-success-msg {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.popup-success-sub { font-size: 0.82rem; color: var(--muted); }
/* ─── LOCAL'S GUIDE NAV BUTTON ───────────────────────────────────────────────── */
.filter-btn--guide {
  border-color: #65C2EE;
  color: #65C2EE;
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
}
.filter-btn--guide:hover { border-color: var(--yellow); color: var(--yellow); background: rgba(252,227,84,0.08); }

/* ─── EVENT BUTTON STYLES ──────────────────────────────────────────────────────── */
.filter-btn--events {
  border-color: #e63946;
}

.filter-btn--events.active,
.filter-btn--events:hover {
  background: #e63946;
  color: #FFF;
}

/* ─── GUIDE PAGE STYLES ──────────────────────────────────────────────────────── */
.guide-back-link {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  font-weight: 700;
  margin-left: 16px;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.guide-back-link:hover { opacity: 1; }

/* ─── RESTAURANT / HOTEL CARD STYLES FOR GUIDE PAGE ─────────────────────────── */
.filter-btn--restaurants {
  border-color: rgba(252,227,84,0.4);
  color: var(--yellow);
}
.filter-btn--restaurants:hover { border-color: var(--yellow); color: var(--yellow); }
.filter-btn--restaurants.active { background: var(--yellow); color: var(--black); border-color: var(--yellow); }

.filter-btn--guide-hotels {
  border-color: rgba(101,194,238,0.4);
  color: var(--blue, #65C2EE);
}
.filter-btn--guide-hotels:hover { border-color: #65C2EE; color: #65C2EE; }
.filter-btn--guide-hotels.active { background: #65C2EE; color: var(--black); border-color: #65C2EE; }

.restaurant-badge {
  font-family: 'United Sans Cond', 'Arial Narrow', Arial, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}

.map-link--yellow {
  color: var(--yellow);
  background: rgba(252,227,84,0.08);
  border-color: rgba(252,227,84,0.3);
}
.map-link--yellow:hover { background: var(--yellow); color: var(--black); }

.bar-card--restaurant::after { background: var(--yellow); }
.bar-card--restaurant:hover { border-color: var(--yellow); box-shadow: 0 8px 32px rgba(252,227,84,0.1); }