/* ══════════════════════════════════════════════════════════════
   Enjoy Mooresville — Design System v3
   Direction: modern tech-forward · NC regional · NASCAR-inspired
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* ── NASCAR-Inspired Palette ──────────────────────────────── */
  --red:              #FC0031;   /* NASCAR Red — brand accent        */
  --red-dark:         #D4002A;   /* red pressed/hover state          */
  --red-tint:         #FFF0F3;   /* red wash backgrounds             */

  --navy:             #162033;   /* dark navy-charcoal — deep anchor */
  --navy-mid:         #1E2D45;   /* hover state on navy              */
  --navy-tint:        #EEF1F7;   /* very light navy wash             */

  --blue:             #0B74C9;   /* NASCAR Blue — primary action     */
  --blue-dark:        #0960A8;   /* blue hover/pressed               */
  --blue-tint:        #E8F3FC;   /* blue wash background             */

  --yellow:           #FFD200;   /* NASCAR Yellow — energy highlight */
  --yellow-tint:      #FFFBE6;   /* yellow wash                      */

  --magenta:          #C61D9B;   /* NASCAR Magenta — secondary accent */
  --magenta-tint:     #FBF0F8;   /* magenta wash                     */

  --steel:            #5F6B7A;   /* muted slate text                 */
  --steel-light:      #C8D0DA;   /* borders, dividers                */

  /* ── Backgrounds ─────────────────────────────────────────── */
  --bg:               #F7F8FA;   /* off-white page bg                */
  --bg-surface:       #FFFFFF;   /* cards, modals                    */
  --bg-subtle:        #EEF1F6;   /* inset areas                      */

  /* ── Text ─────────────────────────────────────────────────── */
  --text:             #162033;   /* dark navy-charcoal               */
  --text-secondary:   #2D3E55;   /* secondary label color            */
  --text-muted:       #5F6B7A;   /* metadata, captions               */
  --text-faint:       #9DA8B4;   /* placeholder, ghost text          */

  /* ── Borders ─────────────────────────────────────────────── */
  --border:           #E3E7ED;
  --border-strong:    #C8D0DA;

  /* ── Radius ───────────────────────────────────────────────── */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;

  /* ── Shadows ──────────────────────────────────────────────── */
  --shadow-card:  0 1px 4px rgba(22,32,51,0.07), 0 1px 2px rgba(22,32,51,0.04);
  --shadow-hover: 0 4px 16px rgba(22,32,51,0.10), 0 1px 4px rgba(22,32,51,0.06);
  --shadow-nav:   0 1px 0 rgba(22,32,51,0.08);

  /* ── Typography ───────────────────────────────────────────── */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

/* ── HEADER ─────────────────────────────────────────────────── */

.site-header {
  background: var(--navy);
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 54px;
  position: sticky;
  top: 0;
  z-index: 100;
  /* Subtle red racing stripe at top */
  border-top: 3px solid var(--red);
  box-shadow: 0 2px 8px rgba(22,32,51,0.22);
}

.logo {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-decoration: none;
  color: rgba(255,255,255,0.92);
}
.logo span { color: var(--red); }

.nav { display: flex; gap: 2px; }

.nav a {
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--r-md);
  transition: background 0.15s, color 0.15s;
  letter-spacing: 0.01em;
}
.nav a:hover { background: rgba(255,210,0,0.12); color: var(--yellow); }
.nav a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-weight: 600;
}

.btn-submit-header {
  font-size: 12px;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 7px 15px;
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
  letter-spacing: 0.01em;
  justify-self: end;
}
.btn-submit-header:hover { background: var(--blue-dark); }

/* ── HERO ────────────────────────────────────────────────────── */

.hero {
  background: var(--navy);
  padding: 52px 28px 44px;
  position: relative;
  overflow: hidden;
}

/* Diagonal speed-stripe motif — pure CSS, no images */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    rgba(255,255,255,0.025) 0px,
    rgba(255,255,255,0.025) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
}

/* Red accent bar top-left */
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--red), rgba(252,0,49,0.25));
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
  background: rgba(252,0,49,0.12);
  border: 1px solid rgba(252,0,49,0.28);
  padding: 4px 10px;
  border-radius: 20px;
}

.hero-headline {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 14px;
  color: #fff;
  max-width: 560px;
}

.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-secondary {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 10px 20px;
  border-radius: var(--r-md);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s, border-color 0.15s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
}

.stat {
  padding: 14px 28px;
  border-right: 1px solid rgba(255,255,255,0.10);
}
.stat:last-of-type { border-right: none; }

.stat-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 13px 28px;
  background: var(--yellow);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-md);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background 0.12s, transform 0.1s;
}
.stat-submit:hover {
  background: #e6be00;
  transform: translateY(-1px);
  color: var(--navy);
}

.stat-n {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
}

.stat-l {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ── HERO TWO-COLUMN LAYOUT ───────────────────────────────────── */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.hero-left { /* existing child styles already scoped to their own classes */ }

/* ── TODAY'S EVENTS PANEL ─────────────────────────────────────── */
.hero-right {
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.todays-panel {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: var(--r-xl);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.todays-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  flex-shrink: 0;
}

.todays-panel-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}

.todays-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.todays-panel-date {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  font-weight: 500;
}

.todays-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
}

.todays-loading {
  padding: 24px 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}

.todays-empty {
  padding: 32px 16px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}
.todays-empty-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.todays-event-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: background 0.12s;
}
.todays-event-row:last-child { border-bottom: none; }
.todays-event-row:hover { background: rgba(255,255,255,0.05); }

.todays-event-time {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.42);
  min-width: 44px;
  flex-shrink: 0;
  padding-top: 2px;
  text-align: right;
}

.todays-event-info { flex: 1; min-width: 0; }

.todays-event-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.todays-event-venue {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.todays-event-cost {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}
.todays-event-cost.free { background: rgba(34,197,94,0.18); color: #6ee7a0; }
.todays-event-cost.paid { background: rgba(255,255,255,0.10); color: rgba(255,255,255,0.58); }

.todays-panel-footer {
  padding: 11px 16px;
  border-top: 1px solid rgba(255,255,255,0.09);
  text-align: center;
  flex-shrink: 0;
}
.todays-panel-footer a {
  font-size: 12px;
  font-weight: 600;
  color: var(--yellow);
  text-decoration: none;
  letter-spacing: 0.02em;
  opacity: 0.85;
  transition: opacity 0.12s;
}
.todays-panel-footer a:hover { opacity: 1; text-decoration: underline; }

/* Collapse to single column on medium screens */
@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-right { display: none; }
}

/* ── TODAY STRIP ─────────────────────────────────────────────── */

.today-strip {
  background: var(--navy);
  padding: 7px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  flex-wrap: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.today-strip::-webkit-scrollbar { display: none; }

/* The JS renders items inside a #today-items div — keep them in a horizontal row */
#today-items {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
}

.today-label {
  font-size: 9px;
  font-weight: 800;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 6px;
  border-right: 1px solid rgba(255,255,255,0.18);
}

.today-item {
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.20);
}

/* ── MAIN LAYOUT ─────────────────────────────────────────────── */

.main {
  padding: 32px 28px;
  max-width: 1120px;
  margin: 0 auto;
}

/* ── PAGE HERO (sub-pages) ───────────────────────────────────── */

.page-hero {
  background: var(--navy);
  padding: 36px 28px 30px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    rgba(255,255,255,0.02) 0px,
    rgba(255,255,255,0.02) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--red), rgba(252,0,49,0.2));
}

.page-hero h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 7px;
  color: #fff;
  position: relative;
}

.page-hero .sub {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
  position: relative;
}

/* ── SECTIONS ────────────────────────────────────────────────── */

.section { margin-bottom: 40px; }

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Red accent bar to the left of section titles */
.section-title::before {
  content: "";
  display: block;
  width: 3px;
  height: 16px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.view-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.01em;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.view-all:hover { opacity: 1; text-decoration: underline; }

/* ── LOADING / STATUS ────────────────────────────────────────── */

.loading-placeholder {
  font-size: 13px;
  color: var(--text-faint);
  padding: 8px 0;
}

.status-line {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

/* ── FILTER BAR / CHIPS ──────────────────────────────────────── */

.filter-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chip {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.15s;
  user-select: none;
}
.chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-tint); }
.chip.on { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ── SEARCH BAR ──────────────────────────────────────────────── */

.search-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.search-input {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  font-size: 13px;
  font-family: var(--font);
  background: var(--bg-surface);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.search-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11,116,201,0.12);
}
.search-input::placeholder { color: var(--text-faint); }

/* ── CARDS ───────────────────────────────────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--steel-light);
  transform: translateY(-2px);
}

.card-img {
  height: 80px;
  background: var(--navy-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  position: relative;
}

.card-badge {
  position: absolute;
  top: 9px;
  left: 9px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.badge-deal  { background: var(--red-tint); color: var(--red-dark); }
.badge-new   { background: var(--blue-tint); color: var(--blue-dark); }
.badge-event { background: #EEF8E6; color: #2A6010; }
.badge-free  { background: #F0EDF9; color: #4A2A82; }
.badge-soon  { background: #FDF5E0; color: #7A5500; }

.card-body { padding: 14px 14px 12px; }

.card-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
  color: var(--text);
}

.card-meta {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 8px;
}

.card-hook {
  font-size: 12px;
  color: var(--red);
  font-weight: 600;
  line-height: 1.4;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.card-cat {
  font-size: 10px;
  color: var(--text-faint);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-cta {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s;
}
.card-cta:hover { color: var(--blue-dark); text-decoration: underline; }

/* ── EVENT ROWS ──────────────────────────────────────────────── */

.event-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.12s;
}
.event-row:last-child { border-bottom: none; }
.event-row:hover { background: transparent; }

.event-date {
  width: 46px;
  text-align: center;
  background: var(--navy);
  border-radius: var(--r-md);
  padding: 7px 4px;
  flex-shrink: 0;
  border: 1px solid var(--navy-mid);
}

.event-month {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.50);
  line-height: 1;
  margin-bottom: 3px;
}

.event-day {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.event-body { flex: 1; min-width: 0; }

.event-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
  line-height: 1.3;
  color: var(--text);
}

.event-cat {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

.event-detail {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}

.event-tags {
  display: flex;
  gap: 5px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.etag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-surface);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── SPOTLIGHT ───────────────────────────────────────────────── */

.spotlight {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 22px 22px 22px 26px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

/* Left red bar */
.spotlight::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
}

/* Diagonal stripe overlay */
.spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
  border-radius: var(--r-xl);
}

.spotlight-inner {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.spotlight-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.spotlight-body { flex: 1; min-width: 160px; }

.spotlight-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 5px;
}

.spotlight-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
  color: #fff;
}

.spotlight-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  margin-bottom: 6px;
  line-height: 1.4;
}

.spotlight-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* Override btn-secondary inside spotlight to work on dark bg */
.spotlight .btn-secondary {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.22);
  align-self: center;
  font-size: 12px;
  white-space: nowrap;
}
.spotlight .btn-secondary:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

/* ── DEAL CARDS (full page) ──────────────────────────────────── */

.deal-section { margin-bottom: 40px; }

.deal-section-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.deal-section-title::before {
  content: "";
  display: block;
  width: 3px;
  height: 12px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.deal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.deal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 18px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.18s;
}
.deal-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--steel-light);
  transform: translateY(-1px);
}

.deal-card-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
  letter-spacing: -0.1px;
}

.deal-card-address {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.deal-card-day {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue-dark);
  background: var(--blue-tint);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 11px;
  letter-spacing: 0.02em;
  border: 1px solid rgba(11,116,201,0.15);
}

.deal-card-text {
  font-size: 13px;
  font-weight: 500;
  background: #F0FDF4;
  border-left: 3px solid #22C55E;
  padding: 9px 11px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  line-height: 1.55;
  margin-bottom: 10px;
  color: #15803D;
}

.deal-card-notes {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.55;
  border-top: 1px solid var(--border);
  padding-top: 9px;
  margin-top: 2px;
}

/* ── MAP PLACEHOLDER ─────────────────────────────────────────── */

.map-section {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: var(--shadow-card);
}

.map-header {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.map-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.map-badge {
  font-size: 10px;
  font-weight: 700;
  background: var(--navy-tint);
  color: var(--navy);
  border-radius: 20px;
  padding: 2px 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-placeholder {
  height: 160px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
  flex-direction: column;
  gap: 4px;
}

/* ── NEWSLETTER ──────────────────────────────────────────────── */

.newsletter {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: 24px;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    rgba(255,255,255,0.015) 0px,
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 28px
  );
  pointer-events: none;
}

.nl-text { flex: 1; min-width: 200px; position: relative; }

.nl-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #fff;
}

.nl-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

.nl-form { display: flex; gap: 8px; flex: 1; min-width: 220px; position: relative; }

.nl-input {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  font-size: 13px;
  font-family: var(--font);
  background: rgba(255,255,255,0.08);
  color: #fff;
  outline: none;
  transition: border-color 0.15s;
}
.nl-input:focus { border-color: rgba(255,255,255,0.45); }
.nl-input::placeholder { color: rgba(255,255,255,0.30); }

/* btn-primary in newsletter context is fine as-is */

/* ── SUBMIT BLOCK ─────────────────────────────────────────────── */

.submit-section {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 22px;
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-card);
}

.submit-text { flex: 1; min-width: 200px; }

.submit-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.submit-sub {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
}

.submit-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.btn-submit-sm {
  font-size: 12px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: var(--r-md);
  cursor: pointer;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--text-secondary);
  transition: all 0.15s;
  display: inline-block;
  text-decoration: none;
}
.btn-submit-sm:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-tint);
}

/* ── FOOTER ──────────────────────────────────────────────────── */

.footer-bar {
  background: var(--navy);
  border-top: none;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  position: relative;
}

/* Red racing stripe at top of footer */
.footer-bar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--red) 40%, transparent);
}

.footer-logo {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: rgba(255,255,255,0.80);
  letter-spacing: -0.2px;
}
.footer-logo span { color: var(--red); }

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }

.footer-links a {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.85); }

.footer-note {
  font-size: 11px;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.02em;
}

/* ── WEEKEND EVENTS ──────────────────────────────────────────── */

.we-subtitle {
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

/* Featured card */
.we-featured {
  background: var(--navy);
  border-radius: var(--r-xl);
  padding: 20px 22px;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}
.we-featured::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--red);
}
.we-featured-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.we-featured-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.40);
  letter-spacing: 0.04em;
}

/* Day groups */
#we-days {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0 32px;
}
.we-day {
  margin-bottom: 24px;
}
.we-day-heading {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 8px;
  margin-bottom: 2px;
  border-bottom: 2px solid var(--border);
}
.we-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border-radius: var(--r-sm);
  transition: background 0.12s;
}
.we-row:hover { background: var(--bg-subtle); }
.we-row:last-child { border-bottom: none; }
.we-row-main { flex: 1; min-width: 0; }
.we-row-name {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.we-row-at {
  font-weight: 400;
  color: var(--text-faint);
}
.we-row-cat {
  font-size: 10.5px;
  color: var(--text-faint);
  margin-top: 1px;
}
.we-row-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
  padding-top: 1px;
}
.we-date-sm {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-subtle);
  padding: 1px 6px;
  border-radius: 4px;
}
.we-time-sm {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}
.we-free {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 8px;
  background: var(--yellow-tint);
  color: #a07800;
}
.we-cost {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  #we-days { grid-template-columns: 1fr; gap: 0; }
  .we-featured-title { font-size: 17px; }
}

/* ── MEET MOORESVILLE carousel ──────────────────────────────── */
.meet-wrap {
  position: relative;
}
.meet-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.meet-track::-webkit-scrollbar { display: none; }
.meet-card {
  flex-shrink: 0;
  width: 148px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s, box-shadow 0.15s;
}
.meet-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.09);
}
.meet-card-img {
  width: 100%;
  height: 112px;
  background: var(--bg-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.meet-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.meet-emoji {
  font-size: 32px;
  line-height: 1;
}
.meet-card-name {
  padding: 9px 10px 3px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.meet-card-type {
  padding: 0 10px 11px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.meet-arrow {
  display: none;
  position: absolute;
  top: calc(50% - 7px);
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  line-height: 1;
  padding: 0;
  transition: opacity 0.15s;
}
.meet-arrow:hover { opacity: 0.7; }
.meet-arrow-l { left: -15px; }
.meet-arrow-r { right: -15px; }
@media (hover: hover) { .meet-arrow { display: flex; } }

/* ── RESPONSIVE ──────────────────────────────────────────────── */

@media (max-width: 640px) {
  .site-header { padding: 0 16px; }
  .nav a { padding: 5px 8px; font-size: 12px; }
  .btn-submit-header { padding: 6px 12px; font-size: 11px; }

  .hero { padding: 32px 16px 28px; }
  .hero-headline { font-size: 28px; }
  .hero-sub { font-size: 14px; }
  .hero-stats { width: 100%; }
  .stat { padding: 12px 18px; }
  .stat-n { font-size: 22px; }

  .today-strip { padding: 7px 16px; }

  .main { padding: 20px 16px; }
  .page-hero { padding: 28px 16px 22px; }
  .page-hero h1 { font-size: 22px; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .deal-cards { grid-template-columns: 1fr; }

  .newsletter { flex-direction: column; gap: 16px; padding: 20px 16px; }
  .nl-form { flex-direction: column; }

  .submit-section { flex-direction: column; align-items: flex-start; }

  .footer-bar { padding: 16px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 380px) {
  .cards { grid-template-columns: 1fr; }
  .nav a { font-size: 11px; padding: 5px 6px; }
  .hero-headline { font-size: 24px; }
}
