/* ---------------------------------------------------------------------
   KamerHive — design tokens
--------------------------------------------------------------------- */
:root {
  --red: #c8102e;
  --red-dark: #a30b23;
  --green: #0b6e52;
  --green-dark: #084d39;
  --green-hover: #075942;
  --green-subtle: rgba(11, 110, 82, 0.08);
  --yellow: #f5a623;
  --brand-green: #0b6e52;
  --brand-gold: #f5a623;
  --brand-red: #c8102e;
  --ink: #141816;
  --muted: #5c6560;
  --muted-light: #7a8580;
  --bg: #fbf9f4;
  --bg-alt: #f4efe6;
  --card: #ffffff;
  --border: #e6e0d4;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(14, 24, 20, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(14, 24, 20, 0.08), 0 2px 6px -1px rgba(14, 24, 20, 0.04);
  --shadow-lg: 0 16px 36px -4px rgba(14, 24, 20, 0.14), 0 4px 12px -2px rgba(14, 24, 20, 0.06);
  --shadow-glow: 0 0 24px rgba(11, 110, 82, 0.22);
  --font-head: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
/* Browsers give <fieldset> a default min-width based on its content (min-content),
   which stops it shrinking below that even in a normal block layout — a long-standing
   quirk that can force a whole form wider than a narrow viewport. */
fieldset {
  min-width: 0;
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0 0 0.5em;
  line-height: 1.2;
}
p {
  margin: 0 0 1em;
  color: var(--ink);
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 0.875rem;
}
.hidden {
  display: none !important;
}

/* ---------------------------------------------------------------------
   HiveMark Bespoke Vector Iconography System
--------------------------------------------------------------------- */
.hive-icon {
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition:
    transform 0.15s ease,
    stroke 0.15s ease;
}
.hive-icon-accent {
  fill: currentColor;
  opacity: 0.18;
}
.btn .hive-icon,
.intent-pill .hive-icon,
.cat-chip .hive-icon,
.cat-pill .hive-icon {
  margin-right: 0.35em;
}
.icon-xs {
  width: 14px;
  height: 14px;
}
.icon-sm {
  width: 18px;
  height: 18px;
}
.icon-md {
  width: 22px;
  height: 22px;
}
.icon-lg {
  width: 28px;
  height: 28px;
}
.cat-chip-icon {
  margin-right: 0.4em;
}

/* ---------------------------------------------------------------------
   Buttons & chips
--------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7em 1.3em;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.btn-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1 1 auto;
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  box-shadow: 0 4px 14px rgba(225, 68, 45, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 6px 18px rgba(225, 68, 45, 0.45);
  transform: translateY(-1px);
}
.btn-secondary {
  background: white;
  color: var(--ink);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--ink);
}
.btn-danger {
  color: var(--red);
  border-color: var(--red);
}
.btn-danger:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.btn-sm {
  padding: 0.5em 1em;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 0.9em 1.8em;
  font-size: 1.05rem;
}
.btn-block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none !important;
}

.chip {
  padding: 0.45em 1em;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: background 0.15s ease;
}
.chip:hover,
.chip-active {
  background: white;
  color: #16181d;
  border-color: white;
}

.cat-chip {
  flex: 0 0 auto;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: white;
  border: 1.5px solid var(--border);
  color: var(--ink);
  white-space: nowrap;
  transition: all 0.15s ease;
}
.cat-chip:hover {
  border-color: var(--red);
}
.cat-chip-active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

/* ---------------------------------------------------------------------
   Nav
--------------------------------------------------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 246, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.brand-word {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--ink);
}
.brand-word strong {
  color: var(--brand-green);
}
.brand-word.small {
  font-size: 1.1rem;
}
.brand-mark {
  display: inline-flex;
}
.brand-mark img {
  display: block;
  width: 38px;
  height: 38px;
}
.brand-mark .mark-dark {
  display: none;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.nav-account {
  color: var(--muted);
  font-size: 0.88rem;
  white-space: nowrap;
}
.nav-logout-form {
  display: inline-flex;
  margin-left: -0.75rem;
}
.nav-logout-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0.2em;
  color: var(--ink);
}
.nav-logout-btn:hover {
  opacity: 0.7;
}
.mobile-account-email {
  padding: 0.7rem 0.2rem;
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}
.mobile-logout-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  padding: 0.7rem 0.2rem;
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}

/* ---------------------------------------------------------------------
   Hero
--------------------------------------------------------------------- */
.hero {
  background: linear-gradient(120deg, #14181c 0%, #1e2530 45%, var(--green-dark) 100%);
  padding: 3.5rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(251, 192, 45, 0.18), transparent 55%),
    radial-gradient(circle at 10% 80%, rgba(225, 68, 45, 0.22), transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero h1 {
  color: white;
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -0.02em;
}
.hero h1 .dot {
  color: var(--yellow);
}
.hero-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 1.75rem;
}
.hero-sub.small {
  max-width: 640px;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

/* Brand lockup: animated logo + tagline at the top of the hero */
.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.hero-brand-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  animation: heroMarkIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.hero-brand-mark::before {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 183, 5, 0.35), rgba(242, 183, 5, 0) 70%);
  animation: heroMarkGlow 3.2s ease-in-out 0.9s infinite;
}
.hero-brand-mark img {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  animation: heroMarkFloat 4.5s ease-in-out 0.9s infinite;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.35));
}
.hero-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
  opacity: 0;
  animation: heroTaglineIn 0.7s ease 0.55s both;
}
@keyframes heroMarkIn {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-25deg);
  }
  60% {
    opacity: 1;
    transform: scale(1.08) rotate(4deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}
@keyframes heroMarkFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes heroMarkGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.12);
  }
}
@keyframes heroTaglineIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-bar {
  display: flex;
  gap: 0.5rem;
  max-width: 560px;
  margin: 0 auto 1.5rem;
}
.search-bar input {
  flex: 1;
  padding: 0.85em 1.2em;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  font-family: var(--font-body);
  box-shadow: var(--shadow-md);
}
.search-bar input:focus {
  outline: 2px solid var(--yellow);
}

.city-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

/* ---------------------------------------------------------------------
   Timeframe range filters
--------------------------------------------------------------------- */
.range-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
}
.range-filters-center {
  justify-content: center;
}
.range-chip {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.range-chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.range-chip-active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.range-chip-active:hover {
  background: var(--ink);
  color: white;
}

/* ---------------------------------------------------------------------
   Category scroller
--------------------------------------------------------------------- */
.category-scroller-wrap {
  position: relative;
}
.category-scroller {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 1.5rem 0 0.5rem;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.scroller-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-30%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition:
    opacity 0.15s ease,
    visibility 0.15s ease;
}
.scroller-arrow-left {
  left: -4px;
}
.scroller-arrow-right {
  right: -4px;
}
.scroller-arrow:hover {
  border-color: var(--ink);
}
.scroller-arrow.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 560px) {
  .scroller-arrow {
    display: none;
  }
}
.category-scroller::-webkit-scrollbar {
  display: none;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.6rem;
  margin: 2.5rem 0 1.1rem;
}
.view-toggle-row {
  display: flex;
  margin: 0.75rem 0 0;
}
#event-results {
  scroll-margin-top: 90px;
}
.section-title {
  font-size: 1.4rem;
  margin: 0;
}
.trending-section .section-title {
  margin: 2rem 0 0.85rem;
  line-height: 1.35;
}
.section-count {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------------
   Event grid & card
--------------------------------------------------------------------- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.25rem;
}
.trending-grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.event-card {
  display: block;
  background: var(--card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-cover {
  position: relative;
  height: 130px;
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-body {
  padding: 1rem 1.1rem 1.1rem;
}
.card-title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.card-footer {
  display: flex;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px dashed var(--border);
  padding-top: 0.6rem;
}
.stat {
  font-weight: 600;
}

.cat-pill,
.price-pill,
.countdown-pill {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3em 0.7em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #16181d;
  backdrop-filter: blur(2px);
}
.cat-pill.light {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.card-cover .cat-pill {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}
.card-cover .price-pill {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
}
.price-pill.price-free {
  background: var(--green);
  color: white;
}
.card-cover .countdown-pill {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(20, 20, 20, 0.55);
  color: white;
}

/* ---------------------------------------------------------------------
   View toggle buttons
--------------------------------------------------------------------- */
.view-toggle {
  display: flex;
  gap: 0.25rem;
  margin-left: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.2rem;
}
.view-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.3rem 0.55rem;
  border-radius: 8px;
  color: var(--muted);
  transition: all 0.15s ease;
  line-height: 1;
}
.view-btn:hover {
  color: var(--ink);
  background: var(--card);
}
.view-btn-active {
  background: var(--card) !important;
  color: var(--ink) !important;
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------------------
   List view
--------------------------------------------------------------------- */
.event-grid.view-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.view-list .event-card {
  display: flex;
  flex-direction: row;
  gap: 0;
  transform: none;
  transition: box-shadow 0.15s ease;
}
.view-list .event-card:hover {
  transform: none;
  box-shadow: var(--shadow-md);
}
.view-list .card-cover {
  width: 160px;
  min-width: 160px;
  height: auto;
  min-height: 120px;
  position: relative;
  padding: 0.6rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.view-list .card-body {
  flex: 1;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.view-list .card-title {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.view-list .card-meta {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.view-list .card-footer {
  border-top: none;
  padding-top: 0;
  gap: 0.75rem;
  font-size: 0.8rem;
}
.view-list .countdown-pill,
.view-list .price-pill {
  display: none;
}
.view-list .cat-pill {
  position: static;
  align-self: flex-start;
}
.view-list .fired-up-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  bottom: auto;
  left: auto;
  font-size: 0.65rem;
  padding: 0.2em 0.55em;
}

/* ---------------------------------------------------------------------
   Timeline view
--------------------------------------------------------------------- */
.event-grid.view-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.view-timeline::before {
  content: '';
  position: absolute;
  left: 80px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.view-timeline .event-card {
  display: flex;
  flex-direction: row;
  gap: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0.6rem 0;
  position: relative;
  transform: none;
  border-bottom: 1px solid var(--border);
}
.view-timeline .event-card:hover {
  transform: none;
  box-shadow: none;
}
.view-timeline .event-card:last-child {
  border-bottom: none;
}
.view-timeline .card-cover {
  width: 70px;
  min-width: 70px;
  height: auto;
  min-height: 50px;
  border-radius: var(--radius-sm);
  margin: 0.2rem 1rem 0.2rem 0;
  position: relative;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
/* Timeline dot */
.view-timeline .event-card::before {
  content: '';
  position: absolute;
  left: 76px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--card);
  transform: translateY(-50%);
  z-index: 1;
}
.view-timeline .card-cover .cat-pill,
.view-timeline .card-cover .price-pill,
.view-timeline .card-cover .countdown-pill {
  display: none;
}
.view-timeline .fired-up-badge {
  display: none;
}
.view-timeline .card-body {
  flex: 1;
  padding: 0 0 0 0.5rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
}
.view-timeline .card-title {
  font-size: 0.95rem;
  margin: 0;
  width: 100%;
}
.view-timeline .card-meta {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  font-size: 0.8rem;
  margin: 0;
  border: none;
}
.view-timeline .card-footer {
  border-top: none;
  padding: 0;
  margin-left: auto;
  gap: 0.5rem;
  font-size: 0.78rem;
}

/* Hide timeline on very small screens — fall back to list */
@media (max-width: 480px) {
  .view-timeline .card-cover {
    display: none;
  }
  .view-timeline::before {
    left: 0;
  }
  .view-timeline .event-card::before {
    left: -4px;
  }
  .view-timeline .card-body {
    padding-left: 1.2rem;
  }
}

/* Category gradients */
.grad-tech {
  background: linear-gradient(135deg, #1f2a44, #3f6fbf);
}
.grad-music {
  background: linear-gradient(135deg, #6a1b4d, #e1442d);
}
.grad-food {
  background: linear-gradient(135deg, #c2410c, #fbc02d);
}
.grad-outdoors {
  background: linear-gradient(135deg, #14532d, #1b8a5a);
}
.grad-business {
  background: linear-gradient(135deg, #1e293b, #475569);
}
.grad-community {
  background: linear-gradient(135deg, #7c2d12, #b45309);
}
.grad-arts {
  background: linear-gradient(135deg, #581c87, #c026d3);
}
.grad-sports {
  background: linear-gradient(135deg, #0f766e, #22c55e);
}
.grad-education {
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
}
.grad-health {
  background: linear-gradient(135deg, #065f46, #10b981);
}
.grad-fashion {
  background: linear-gradient(135deg, #9d174d, #f472b6);
}
.grad-gaming {
  background: linear-gradient(135deg, #312e81, #7c3aed);
}
.grad-spiritual {
  background: linear-gradient(135deg, #78350f, #d97706);
}
.grad-family {
  background: linear-gradient(135deg, #0e7490, #2dd4bf);
}
.grad-other {
  background: linear-gradient(135deg, #374151, #6b7280);
}

/* ---------------------------------------------------------------------
   Empty state / organizer CTA
--------------------------------------------------------------------- */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}
.empty-state.small-empty {
  padding: 1.5rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.my-events-section {
  margin-bottom: 2.5rem;
}
.my-events-section h2 {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}
.my-events-signin-hint {
  background: rgba(242, 183, 5, 0.12);
  border-color: var(--brand-gold);
  color: var(--ink);
}
.organizer-cta {
  margin: 3.5rem 0;
}
.organizer-cta-inner {
  background: linear-gradient(120deg, #14181c, var(--green-dark));
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: white;
}
.organizer-cta-inner h3 {
  color: white;
  margin-bottom: 0.3rem;
  font-size: 1.3rem;
}
.organizer-cta-inner p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: 420px;
}

/* ---------------------------------------------------------------------
   Event detail page
--------------------------------------------------------------------- */
.detail-cover {
  padding: 2.5rem 0 3rem;
  color: white;
  position: relative;
}
/* Belt-and-suspenders with the gradient overlay above: a photo that's genuinely near-white
   (sky, a white wall, a bright ceiling) can still wash out white text even under a fairly
   dark scrim, so every text node here also gets its own shadow. Inherits to every child
   (back-link, pill, h1, meta-row) without needing to repeat it on each selector. */
.detail-cover-inner {
  position: relative;
  z-index: 1;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.85),
    0 2px 10px rgba(0, 0, 0, 0.55);
}
.back-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
}
.detail-cover .back-link {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 1rem;
}
.detail-cover h1 {
  color: white;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0.6rem 0 0.9rem;
  max-width: 760px;
}
.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  align-items: center;
}
.countdown-badge {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.25em 0.8em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
}
.countdown-badge-inactive {
  background: var(--red);
  border-color: var(--red);
  color: white;
}
.sticky-event-countdown.countdown-badge-inactive {
  background: none;
  border: none;
  color: var(--red);
  padding: 0;
}
.multiday-badge {
  background: rgba(251, 192, 45, 0.25);
  border: 1px solid rgba(251, 192, 45, 0.6);
  padding: 0.25em 0.8em;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
}

.back-link {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  margin-top: -1.5rem;
  margin-bottom: 3rem;
  align-items: start;
}
/* The negative top margin above pulls the content card up to overlap the hero's rounded
   bottom corner — correct when nothing else sits in between. A status banner (cancelled/
   removed/past) is a real in-flow block between the hero and this grid, so the same pull
   would instead swallow the banner's own bottom edge; cancel it out when one is present. */
.past-event-banner ~ .detail-layout,
.cancelled-event-banner ~ .detail-layout {
  margin-top: 0;
}
.detail-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.panel h2 {
  font-size: 1.2rem;
}
.prose {
  color: var(--ink);
  white-space: pre-line;
}

.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.agenda-list li {
  display: flex;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
}
.agenda-list li:last-child {
  border-bottom: none;
}
.agenda-time {
  font-weight: 700;
  color: var(--red);
  min-width: 60px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1rem;
}
.info-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}
.info-item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.map-placeholder {
  border-radius: var(--radius-sm);
  padding: 2rem 1.5rem;
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 120px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
}
.faq-item p {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

/* Engagement */
.engagement-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.reaction-bar {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.reaction-bar.small {
  margin-top: 0.5rem;
}
.reaction-btn {
  display: flex;
  align-items: center;
  gap: 0.3em;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3em 0.7em;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ink);
  transition:
    transform 0.1s ease,
    background 0.15s ease;
}
.reaction-btn:hover {
  background: #f3efe7;
  color: #16181d;
}
.reaction-btn:active {
  transform: scale(0.94);
}
.reaction-btn.reacted {
  background: #fdecea;
  border-color: var(--red);
  color: var(--red-dark);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.comment-form input,
.comment-form textarea {
  padding: 0.7em 0.9em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: vertical;
  background: var(--card);
  color: var(--ink);
}
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.comment-form .btn {
  align-self: flex-end;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.comment {
  display: flex;
  gap: 0.75rem;
}
.comment-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 0.9rem;
}
.comment-body {
  flex: 1;
  min-width: 0;
}
.comment-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.15rem;
}
.organizer-badge {
  background: var(--green);
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15em 0.6em;
  border-radius: 999px;
}
.comment-time {
  font-size: 0.78rem;
}
.comment-body p {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.93rem;
}
.empty-comments {
  color: var(--muted);
  text-align: center;
  padding: 1rem 0;
}

/* Sidebar */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 90px;
  min-width: 0;
}
.sidebar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.interest-count {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.interest-count strong {
  display: block;
  font-size: 1.8rem;
  color: var(--ink);
  font-family: var(--font-head);
}
.notify-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.9rem;
}
.notify-form input {
  padding: 0.65em 0.9em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
}
.form-hint {
  font-size: 0.78rem;
  color: var(--muted-light);
  margin: 0.2rem 0 0;
  text-align: center;
}
.joined-note {
  text-align: center;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 0.9rem;
  margin: 0.9rem 0 0;
}
.sidebar-divider {
  height: 1px;
  background: var(--border);
  margin: 1.1rem 0;
}
.sidebar-row {
  text-align: center;
  font-weight: 700;
  margin-bottom: 0.9rem;
}
.sidebar-card .btn + .btn {
  margin-top: 0.6rem;
}
.organizer-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0.75rem 0;
}
.organizer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--yellow));
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

/* ---------------------------------------------------------------------
   Forms (create event)
--------------------------------------------------------------------- */
.form-page {
  padding: 2rem 0 4rem;
  max-width: 760px;
}
.form-page h1 {
  margin-top: 0.75rem;
}
.event-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 2rem;
}
.event-form legend {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  padding: 0;
}
.event-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
  flex: 1;
}
.event-form input,
.event-form select,
.event-form textarea {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.7em 0.9em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--ink);
}
.event-form input:focus,
.event-form select:focus,
.event-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.event-form input[type='file']::file-selector-button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  margin-right: 0.8em;
  padding: 0.5em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
}
.event-form input[type='file']::file-selector-button:hover {
  border-color: var(--ink);
}
.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.form-row label {
  min-width: 180px;
}

.field-hint {
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--muted);
}
.field-hint-spacer {
  visibility: hidden;
}

.time-picker {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.time-picker-hour,
.time-picker-minute {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  padding: 0.7em 0.5em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--ink);
  width: 3.6em;
  text-align: center;
}
.time-picker-hour:focus,
.time-picker-minute:focus {
  outline: none;
  border-color: var(--red);
}
.time-picker-sep {
  font-weight: 700;
  color: var(--muted);
}
.time-picker-ampm {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.time-picker-ampm-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.7em 0.85em;
  border: none;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
}
.time-picker-ampm-btn + .time-picker-ampm-btn {
  border-left: 1.5px solid var(--border);
}
.time-picker-ampm-btn.active {
  background: var(--red);
  color: #fff;
}
.time-picker-ampm-btn:hover:not(.active) {
  background: var(--bg);
  color: var(--ink);
}
.time-picker-invalid .time-picker-ampm {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(225, 68, 45, 0.2);
}

.agenda-label {
  margin-top: 0.5rem;
}
.agenda-row,
.faq-row {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.agenda-row input:first-child {
  max-width: 100px;
}
.faq-row input:first-child {
  flex: 1;
}
.faq-row input:last-child {
  flex: 2;
}
/* BL-022 / BL-023 — sponsors & partners and pricing tiers repeaters */
.repeater-row {
  display: grid;
  gap: 0.5rem;
  padding: 0.8rem;
  margin-bottom: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
}
.repeater-row .repeater-remove {
  justify-self: end;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.repeater-row .repeater-remove:hover,
.repeater-row .repeater-remove:focus-visible {
  color: var(--red);
  background: rgba(225, 68, 45, 0.08);
  outline: none;
}
.sponsor-fields {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.sponsor-fields input {
  flex: 2;
  min-width: 180px;
}
.sponsor-fields select {
  flex: 1;
  min-width: 140px;
}
.sponsor-logo {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}
.sponsor-logo input[type='file'] {
  width: 100%;
  border: 1.5px dashed var(--border);
  background: var(--bg);
  font-size: 0.8rem;
  padding: 0.5em;
  border-radius: var(--radius-sm);
}
.current-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.3rem;
}
.current-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 2px;
}
.tier-row-meta {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.tier-row-meta input[type='text'] {
  flex: 2;
  min-width: 160px;
}
.tier-row-meta input[type='number'] {
  flex: 1;
  min-width: 120px;
}
/* BL-022 / BL-023 — display: sponsor logo list and pricing tier list */
.sponsor-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sponsor-logo-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sponsor-logo-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 2px;
}
.sponsor-logo-name {
  font-weight: 600;
  font-size: 0.88rem;
}
.sponsor-logo-item .role-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tier-list {
  margin-top: 0.4rem;
}
.tier-item {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
}
.tier-item:last-child {
  border-bottom: none;
}
.tier-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.88rem;
}
.tier-price {
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}
.tier-benefits {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.alert {
  background: #fdecea;
  border: 1px solid var(--red);
  color: var(--red-dark);
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* ---------------------------------------------------------------------
   Footer
--------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 3rem;
}
.footer-inner {
  text-align: center;
  color: var(--muted);
}
.footer-inner p {
  max-width: 420px;
  margin: 0.4rem auto;
  font-size: 0.9rem;
}
.footer-note {
  font-size: 0.78rem !important;
  color: var(--muted-light);
}

/* ---------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------- */
@media (max-width: 860px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-sidebar {
    position: static;
    order: -1;
  }
}
@media (max-width: 560px) {
  .hero {
    padding: 2.5rem 0 2rem;
  }
  .search-bar {
    flex-direction: column;
  }
  .organizer-cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------------------------------------------------------------------
   Alerts
--------------------------------------------------------------------- */
.alert-success {
  background: #eaf7ef;
  border-color: var(--green);
  color: var(--green-dark);
}

/* ---------------------------------------------------------------------
   WhatsApp button
--------------------------------------------------------------------- */
.btn-whatsapp {
  background: #25d366;
  color: white;
}
.btn-whatsapp:hover {
  background: #1ebe59;
}

/* ---------------------------------------------------------------------
   Pinned organizer updates (public event page)
--------------------------------------------------------------------- */
.updates-panel {
  background: #fffbeb;
  border-color: var(--yellow);
  color: #6b5a00;
}
.updates-panel h2,
.updates-panel p,
.updates-panel strong {
  color: #6b5a00;
}
.updates-panel .muted {
  color: #92720c;
}
.update-item {
  padding: 0.5rem 0;
}
.update-item + .update-item {
  border-top: 1px dashed var(--border);
  margin-top: 0.5rem;
}

/* ---------------------------------------------------------------------
   Organizer manage dashboard
--------------------------------------------------------------------- */
.manage-page {
  padding: 2rem 0 4rem;
}
.manage-page h1 {
  margin-top: 0.75rem;
}

.manage-link-box {
  background: var(--card);
  border: 1.5px dashed var(--red);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  margin: 1.5rem 0;
}
.manage-link-box label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.copy-row {
  display: flex;
  gap: 0.6rem;
}
.copy-row input {
  flex: 1;
  padding: 0.6em 0.9em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: monospace;
  font-size: 0.85rem;
  background: var(--bg);
  color: var(--ink);
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-card strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.8rem;
}
.stat-card span {
  font-size: 0.82rem;
  color: var(--muted);
}

.manage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.manage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
  align-items: start;
}
.manage-grid .event-form label {
  margin-bottom: 0.75rem;
}

.table-scroll {
  overflow-x: auto;
}
.interest-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.interest-table th {
  text-align: left;
  padding: 0.5em 0.6em;
  border-bottom: 2px solid var(--border);
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.interest-table td {
  padding: 0.55em 0.6em;
  border-bottom: 1px solid var(--border);
}

.update-list li {
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border);
}
.update-list li:last-child {
  border-bottom: none;
}
.update-list p {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.manage-page .comment-body form {
  margin-top: 0.5rem;
}

@media (max-width: 760px) {
  .manage-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------------------------------------------------------------
   Buzz card
--------------------------------------------------------------------- */
.card-page-body {
  background: var(--ink);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.card-page-wrap {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.buzz-card {
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  color: white;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.buzz-card.has-image {
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.85),
    0 2px 10px rgba(0, 0, 0, 0.55);
}
.buzz-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-word.light {
  color: white;
}
.brand-word.light strong {
  color: var(--brand-gold);
}
.buzz-card h1 {
  color: white;
  font-size: 1.6rem;
  margin: 0;
}
.buzz-meta {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 0.92rem;
}

.buzz-stats {
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 1rem 0.5rem;
}
.buzz-stat {
  text-align: center;
}
.buzz-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
}
.buzz-stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
}

.buzz-quote {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  font-style: italic;
  font-size: 0.95rem;
}
.buzz-quote span {
  display: block;
  font-style: normal;
  font-weight: 700;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  opacity: 0.85;
}

.buzz-footer {
  margin: 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.card-page-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card-page-actions .form-hint {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------------------------------------------------------------------
   GPS coordinates + clickable map link
--------------------------------------------------------------------- */
.location-map {
  height: 280px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1.5px solid var(--border);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
  z-index: 0;
}
.gps-row label {
  min-width: 140px;
}
a.map-placeholder {
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease;
}
a.map-placeholder:hover {
  filter: brightness(1.1);
}

/* ---------------------------------------------------------------------
   Dev mailbox
--------------------------------------------------------------------- */
.mailbox-page {
  padding: 2rem 0 4rem;
  max-width: 680px;
}
.mailbox-page h1 {
  margin-top: 0.75rem;
}
.mailbox-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mailbox-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.mailbox-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.mailbox-type-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.25em 0.7em;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
}
.mailbox-type-manage-link {
  background: #fdecea;
  border-color: var(--red);
  color: var(--red-dark);
}
.mailbox-type-interest-notification {
  background: #eaf7ef;
  border-color: var(--green);
  color: var(--green-dark);
}
.mailbox-type-comment-notification {
  background: #fff8e1;
  border-color: var(--yellow);
  color: #92720c;
}
.mailbox-item strong {
  display: block;
  margin-bottom: 0.2rem;
}
.mailbox-item .btn {
  margin-top: 0.6rem;
}
.mailbox-text-preview {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  white-space: pre-line;
}

/* ---------------------------------------------------------------------
   Cover images (cards, detail hero, buzz card) with legibility overlay
--------------------------------------------------------------------- */
.card-cover.has-image,
.detail-cover.has-image,
.buzz-card.has-image {
  background-size: cover;
  background-position: center;
}
.card-cover.has-image::before,
.detail-cover.has-image::before,
.buzz-card.has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Strong at both top and bottom, not just bottom — the top is where the back-link,
     category pill, and title actually sit, so a photo with a light top half (sky, a
     white wall, a bright ceiling) still needs real contrast up there too. */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.6));
}
.buzz-card.has-image {
  position: relative;
}
.buzz-card.has-image > * {
  position: relative;
  z-index: 1;
}

.current-cover-preview {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: -0.5rem 0 1rem;
}
.current-cover-preview img {
  width: 90px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.publish-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0 1.25rem;
}
.btn-publish {
  font-size: 1.1rem;
  padding: 1em 1.8em;
}

/* ---------------------------------------------------------------------
   Mobile hamburger navigation
--------------------------------------------------------------------- */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.hamburger-btn span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.hamburger-btn[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger-btn[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a:not(.btn) {
  padding: 0.7rem 0.2rem;
  font-weight: 600;
  font-size: 1.02rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a.btn {
  margin-top: 0.5rem;
}

@media (max-width: 560px) {
  .nav-links {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
}

/* ---------------------------------------------------------------------
   Toasts
--------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  pointer-events: none;
}
.toast {
  background: var(--ink);
  color: white;
  padding: 0.7em 1.3em;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  max-width: 90vw;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast-error {
  background: var(--red-dark);
}
.toast-success {
  background: var(--green-dark);
}

/* ---------------------------------------------------------------------
   Draft banner (create event form)
--------------------------------------------------------------------- */
.draft-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: #fff8e1;
  border: 1px solid var(--yellow);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: #92720c;
}
.draft-banner-actions {
  display: flex;
  gap: 0.5rem;
  flex: none;
}

/* ---------------------------------------------------------------------
   Interest form trust signals + celebration
--------------------------------------------------------------------- */
.reminder-opt {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  flex-direction: row;
}
.reminder-opt input {
  width: auto;
}

@keyframes pop-in {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  60% {
    transform: scale(1.04);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}
.joined-note.celebrate {
  animation: pop-in 0.35s ease;
}

/* ---------------------------------------------------------------------
   Reaction pending state
--------------------------------------------------------------------- */
.reaction-btn.reacting {
  opacity: 0.5;
  pointer-events: none;
}

/* ---------------------------------------------------------------------
   Manage dashboard polish
--------------------------------------------------------------------- */
.panel-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  margin-bottom: 0.4rem;
}
.stat-trend {
  display: block;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.72rem;
  margin-top: 0.2rem;
}

/* ---------------------------------------------------------------------
   My Events page
--------------------------------------------------------------------- */
.my-events-page {
  padding: 2rem 0 4rem;
}
.my-events-page h1 {
  margin-top: 0.75rem;
}

.not-found-actions {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ---------------------------------------------------------------------
   Skip-to-content link
--------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: -100%;
  left: 1rem;
  z-index: 999;
  background: var(--ink);
  color: white;
  padding: 0.7em 1.2em;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--yellow);
}

/* ---------------------------------------------------------------------
   Footer grid (trust links)
--------------------------------------------------------------------- */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.footer-grid h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.footer-grid a {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
  padding: 0.25em 0;
}
.footer-grid a:hover {
  text-decoration: underline;
}
@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }
}

/* ---------------------------------------------------------------------
   Past event banner
--------------------------------------------------------------------- */
.past-event-banner {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  text-align: center;
  padding: 0.6rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
}
.past-event-banner span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.cancelled-event-banner {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: white;
  text-align: center;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}
.cancelled-event-banner span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ---------------------------------------------------------------------
   Sticky CTA bar (detail page)
--------------------------------------------------------------------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 0.7rem 0;
  transition: transform 0.25s ease;
}
.sticky-cta.hidden {
  transform: translateY(100%);
}
.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.sticky-cta .btn {
  flex: none;
}
@media (max-width: 860px) {
  .sticky-cta.hidden {
    display: none;
  }
  .detail-sidebar {
    padding-bottom: 4rem;
  }
}

/* Scrolling activity ticker — replaces the old (redundant) date/location text on the
   sticky bottom bar, since that's already shown in the sticky header above it. */
.sticky-cta-ticker-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.sticky-cta-ticker {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.sticky-cta-ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 24s linear infinite;
}
.sticky-cta-ticker-item {
  font-size: 0.8rem;
  color: var(--muted);
  white-space: nowrap;
  padding-right: 2.5rem;
}
.sticky-cta-ticker-empty {
  font-size: 0.8rem;
  color: var(--muted);
}
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Blinking interest count — bold red pulse, meant to grab attention. */
.blink-count {
  color: var(--red);
  font-weight: 800;
  animation: count-blink 0.8s ease-in-out infinite;
}
@keyframes count-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

/* Honeypot spam-trap field — invisible to real visitors, still "visible" (and so
   fillable) to a naive scripted bot that doesn't check layout/CSS. */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  overflow: hidden;
}

/* Report / flag disclosure (event sidebar) */
.report-disclosure {
  margin-top: 0.5rem;
  text-align: center;
}
.report-trigger {
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--muted);
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.report-trigger::-webkit-details-marker {
  display: none;
}
.report-trigger:hover {
  color: var(--red);
}
.report-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.6rem;
  text-align: left;
}
.report-form select,
.report-form textarea {
  padding: 0.5em 0.7em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.85rem;
  background: var(--card);
  color: var(--ink);
  resize: vertical;
}
.report-form .report-status {
  margin: 0;
  font-size: 0.8rem;
}
.report-form .report-status.success {
  color: var(--brand-green);
}
.report-form .report-status.error {
  color: var(--red);
}

.comment-report-btn {
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.5;
  font-size: 0.85rem;
  padding: 0.3em;
  margin-left: auto;
  transition: opacity 0.15s ease;
  color: var(--ink);
}
.comment-report-btn:hover {
  opacity: 1;
}
.comment-report-btn.reported {
  opacity: 1;
  cursor: default;
}

/* Legal pages (Terms, Privacy) */
.legal-page {
  max-width: 720px;
  margin: 2rem auto 4rem;
}
.legal-page h1 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}
.legal-page .hero-sub {
  margin-bottom: 1.5rem;
}
.legal-page .legal-disclaimer {
  background: #fff8e1;
  border-left: 3px solid var(--brand-gold);
  color: #78350f;
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}
body.dark-mode .legal-page .legal-disclaimer {
  background: rgba(242, 183, 5, 0.12);
  color: #f2b705;
}
@media (prefers-color-scheme: dark) {
  body:not(.light-mode) .legal-page .legal-disclaimer {
    background: rgba(242, 183, 5, 0.12);
    color: #f2b705;
  }
}
.legal-page section {
  margin-bottom: 1.75rem;
}
.legal-page h2 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.legal-page p,
.legal-page li {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}
.legal-page ul {
  padding-left: 1.3rem;
}
.legal-page li {
  margin-bottom: 0.3rem;
}
.legal-page .legal-updated {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: -0.8rem;
  margin-bottom: 1.5rem;
}

.save-btn.is-saved {
  background: rgba(11, 110, 82, 0.1);
  border-color: var(--brand-green);
  color: var(--brand-green);
}

/* Calendar provider dropdown */
.calendar-dropdown {
  position: relative;
}
.calendar-dropdown-menu {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 0.4rem);
  z-index: 20;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.calendar-dropdown-menu a {
  display: block;
  padding: 0.55em 0.7em;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.calendar-dropdown-menu a:hover {
  background: var(--bg);
}

/* ---------------------------------------------------------------------
   Sticky condensed event header — appears once the full hero has
   scrolled out of view, so the event name stays visible while reading.
--------------------------------------------------------------------- */
.sticky-event-header {
  position: sticky;
  z-index: 45;
  background: var(--card);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.sticky-event-header.hidden {
  display: none;
}
.sticky-event-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.6rem 1.25rem;
}

/* Left: event name (big), category right underneath it (small) */
.sticky-event-left {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
}
.sticky-event-title {
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.sticky-event-cat {
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Right: date, location, countdown, grouped together */
.sticky-event-right-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: none;
  font-size: 0.82rem;
  color: var(--muted);
  white-space: nowrap;
}
.sticky-event-countdown {
  font-weight: 700;
  color: var(--ink);
  font-size: 0.85rem;
}

@media (max-width: 860px) {
  .sticky-event-location {
    display: none;
  }
}
@media (max-width: 560px) {
  .sticky-event-date {
    display: none;
  }
  .sticky-event-title {
    font-size: 1.05rem;
  }
}

/* ---------------------------------------------------------------------
   Photo gallery carousel
--------------------------------------------------------------------- */
.gallery-carousel {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 1rem 0;
  margin: -0.5rem 0 0.5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-carousel img {
  flex: 0 0 240px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  scroll-snap-align: start;
}
@media (max-width: 560px) {
  .gallery-carousel {
    margin: 0 -1.25rem;
    padding: 0.75rem 1.25rem;
  }
  .gallery-carousel img {
    flex: 0 0 75vw;
    height: 200px;
  }
}
.gallery-thumb {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.gallery-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: -0.5rem 0 1rem;
}
.gallery-preview span {
  width: 100%;
}

/* ---------------------------------------------------------------------
   Mobile-specific optimizations
--------------------------------------------------------------------- */
@media (max-width: 560px) {
  .hero {
    padding: 1.5rem 0 1.25rem;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  .hero-sub {
    font-size: 0.92rem;
    margin-bottom: 1.25rem;
  }
  .search-bar input {
    padding: 0.7em 1em;
    font-size: 0.95rem;
  }
  .cat-chip,
  .chip {
    padding: 0.6em 1.2em;
    min-height: 44px;
  }
  .reaction-btn {
    padding: 0.4em 0.8em;
    min-height: 38px;
  }
  .back-link {
    display: inline-block;
    padding: 0.4em 0;
    min-height: 44px;
  }
  .nav-links .btn {
    padding: 0.6em 1em;
    min-height: 44px;
  }
  .comment-form input,
  .comment-form textarea,
  .notify-form input,
  input,
  select,
  textarea,
  button {
    font-size: 16px !important;
  }
  .form-page {
    padding: 1.25rem 0 3rem;
  }
  .form-page .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-page .form-row label {
    min-width: unset;
  }
  .gps-row {
    flex-direction: column;
  }
  .gps-row label {
    min-width: unset;
  }
  .detail-cover {
    padding: 1.5rem 0 2rem;
  }
  .detail-cover h1 {
    font-size: 1.4rem;
  }
  .manage-actions .btn {
    flex: 1;
  }
}
@media (max-width: 380px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}

/* ---------------------------------------------------------------------
   Admin pages
--------------------------------------------------------------------- */
.admin-page {
  padding: 2rem 0 4rem;
}
.admin-page h1 {
  margin-top: 0.75rem;
}
.admin-nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.admin-bar-whoami {
  font-size: 0.85rem;
  color: var(--muted);
}
.admin-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.admin-logout-form {
  margin: 0;
}

.admin-team-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}
.admin-team-member {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
}
.admin-team-member-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.admin-role-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2em 0.65em;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted);
}
.admin-role-owner {
  background: rgba(242, 183, 5, 0.15);
  border-color: var(--brand-gold, #f2b705);
  color: #8a6d00;
}
.admin-team-perm-form .notify-prefs-chips {
  justify-content: flex-start;
}
.admin-team-member-actions {
  margin-top: 0.75rem;
}
.admin-team-remove-form {
  margin-top: 0.6rem;
}

.admin-login-page {
  padding: 4rem 0;
  display: flex;
  justify-content: center;
}
.admin-login-panel {
  width: 100%;
  max-width: 380px;
}
.admin-login-panel h1 {
  margin-top: 0;
}
.admin-login-form {
  margin-top: 1.25rem;
}

/* Pending review list */
.pending-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}
.pending-item {
  display: flex;
  gap: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease;
  text-decoration: none;
  color: inherit;
}
.pending-item:hover {
  box-shadow: var(--shadow-md);
}
.pending-item-cover {
  width: 120px;
  min-height: 100px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 0.5rem;
}
.pending-item-cover .cat-pill {
  position: static;
}
.pending-item-body {
  flex: 1;
  padding: 1rem 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.pending-item-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}
.pending-item-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
  margin: 0.2rem 0;
}
.pending-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3rem;
}
.pending-item-link {
  display: flex;
  gap: 1rem;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}
.pending-item-actions {
  flex-shrink: 0;
  width: 170px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  justify-content: center;
  padding: 1rem 1rem 1rem 0;
}
.pending-item-actions input {
  padding: 0.4em 0.6em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 0.8rem;
  background: var(--card);
  color: var(--ink);
}
.pending-mini-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.pending-mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}
.pending-mini-item:last-child {
  border-bottom: none;
}
.pending-mini-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

/* Review page layout */
.review-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.5rem;
}
.review-main {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.review-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 90px;
}
.review-sidebar .sidebar-card {
  padding: 1.25rem;
}
.review-sidebar textarea {
  resize: vertical;
}

.admin-review-cover {
  padding: 1.5rem 0 2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  background-size: cover;
  background-position: center;
}
.admin-metadata {
  margin-top: 1rem;
}
.meta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.meta-table td {
  padding: 0.4em 0.6em;
  border-bottom: 1px solid var(--border);
}
.meta-table td:first-child {
  font-weight: 600;
  color: var(--muted);
  width: 140px;
}

@media (max-width: 860px) {
  .review-layout {
    grid-template-columns: 1fr;
  }
  .review-sidebar {
    position: static;
  }
  .pending-item {
    flex-direction: column;
  }
  .pending-item-cover {
    width: 100%;
    height: 100px;
  }
  .pending-item-body {
    padding: 0 1rem 1rem;
  }
  .pending-item-link {
    flex-direction: column;
  }
  .pending-item-actions {
    width: 100%;
    padding: 0 1rem 1rem;
    flex-direction: row;
  }
}

/* ---------------------------------------------------------------------
   Safe area insets (notched phones)
--------------------------------------------------------------------- */
.site-nav {
  padding-top: env(safe-area-inset-top, 0);
}
.toast-container {
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
}
@media (max-width: 560px) {
  .mobile-menu {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0));
  }
}

/* =====================================================================
   🎉 FUN & ANIMATION
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Animated hero gradient — slow color drift
--------------------------------------------------------------------- */
.hero {
  animation: heroDrift 16s ease infinite alternate;
  background-size: 150% 150%;
}
@keyframes heroDrift {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 50% 100%;
  }
  75% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* ---------------------------------------------------------------------
   2. Floating particles in hero
--------------------------------------------------------------------- */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  font-size: 1.6rem;
  opacity: 0;
  animation: floatUp 10s ease-in-out infinite;
  will-change: transform, opacity;
}
.p1 {
  left: 5%;
  bottom: -10%;
  animation-delay: 0s;
  font-size: 1.4rem;
}
.p2 {
  left: 15%;
  bottom: -10%;
  animation-delay: 1.2s;
  font-size: 1.8rem;
}
.p3 {
  left: 30%;
  bottom: -10%;
  animation-delay: 2.5s;
  font-size: 1.3rem;
}
.p4 {
  left: 45%;
  bottom: -10%;
  animation-delay: 0.8s;
  font-size: 1.7rem;
}
.p5 {
  left: 60%;
  bottom: -10%;
  animation-delay: 3.2s;
  font-size: 1.5rem;
}
.p6 {
  left: 72%;
  bottom: -10%;
  animation-delay: 1.8s;
  font-size: 1.2rem;
}
.p7 {
  left: 85%;
  bottom: -10%;
  animation-delay: 2s;
  font-size: 1.6rem;
}
.p8 {
  left: 92%;
  bottom: -10%;
  animation-delay: 3.8s;
  font-size: 1.3rem;
}
@keyframes floatUp {
  0% {
    transform: translateY(0) scale(0.6) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  30% {
    opacity: 0.7;
    transform: translateY(-30vh) scale(1) rotate(8deg);
  }
  60% {
    opacity: 0.4;
    transform: translateY(-60vh) scale(0.9) rotate(-5deg);
  }
  90% {
    opacity: 0.15;
    transform: translateY(-85vh) scale(0.7) rotate(3deg);
  }
  100% {
    transform: translateY(-100vh) scale(0.5);
    opacity: 0;
  }
}

/* ---------------------------------------------------------------------
   3. Buzz counter
--------------------------------------------------------------------- */
.buzz-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 0.4rem 1rem 0.4rem 0.6rem;
  margin: -0.5rem auto 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  z-index: 1;
}
.buzz-number {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--yellow);
  font-variant-numeric: tabular-nums;
  min-width: 2ch;
  display: inline-block;
  animation: buzzPop 0.4s ease;
}
.buzz-label strong {
  color: white;
}
.buzz-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes buzzPop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.7);
  }
}

/* ---------------------------------------------------------------------
   4+5. Scroll-reveal card entrance (JS adds .scroll-reveal + .visible)
--------------------------------------------------------------------- */
.event-card {
  opacity: 1; /* default visible — animation only when triggered */
}
.event-card.scroll-reveal {
  opacity: 0;
  animation: none;
}
.event-card.scroll-reveal.visible {
  animation: cardSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.06s + 0.15s);
}
@keyframes cardSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------------------
   6. Pulsing countdown pill
--------------------------------------------------------------------- */
.countdown-pill {
  animation: countdownPulse 2.4s ease-in-out infinite;
}
@keyframes countdownPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}
/* Stop pulsing on hover so it doesn't fight the user's attention */
.event-card:hover .countdown-pill {
  animation-play-state: paused;
}

/* ---------------------------------------------------------------------
   7. Card hover: gradient shimmer
--------------------------------------------------------------------- */
.card-cover {
  overflow: hidden;
}
.card-cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 30%,
    rgba(255, 255, 255, 0.12) 45%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.12) 55%,
    transparent 70%,
    transparent 100%
  );
  transform: translateX(-110%);
  transition: transform 0s;
  pointer-events: none;
}
.event-card:hover .card-cover::after {
  transform: translateX(110%);
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------------------------------------------------------------------
   8. Button sparkle burst (JS adds .sparkle to trigger sparkles)
--------------------------------------------------------------------- */
.btn-sparkle {
  position: relative;
  overflow: visible;
}
.sparkle-particle {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  font-size: 0.7rem;
  border-radius: 50%;
  animation: sparkleFly 0.7s ease-out forwards;
}
@keyframes sparkleFly {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx, 40px), var(--dy, -60px)) scale(0);
    opacity: 0;
  }
}

/* ---------------------------------------------------------------------
   9. Surprise Me button
--------------------------------------------------------------------- */
.surprise-btn {
  font-size: 1.2rem;
  padding: 0.5em 0.8em !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease !important;
}
.surprise-btn:hover {
  transform: scale(1.12) rotate(-8deg) !important;
  box-shadow: 0 0 20px rgba(251, 192, 45, 0.4) !important;
}
.surprise-btn:active {
  transform: scale(0.9) rotate(8deg) !important;
}
@keyframes surpriseShake {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  15% {
    transform: translateX(-4px) rotate(-4deg);
  }
  30% {
    transform: translateX(4px) rotate(4deg);
  }
  45% {
    transform: translateX(-3px) rotate(-3deg);
  }
  60% {
    transform: translateX(3px) rotate(3deg);
  }
  75% {
    transform: translateX(-2px) rotate(-2deg);
  }
  90% {
    transform: translateX(2px) rotate(2deg);
  }
}

/* ---------------------------------------------------------------------
   10. Parallax hero
--------------------------------------------------------------------- */
.hero {
  transition: background-position-y 0.1s ease-out;
}

/* ---------------------------------------------------------------------
   11. "Most Fired Up" badge & card glow (fixed alignment, zero clipping)
--------------------------------------------------------------------- */
.event-card-wrapper {
  position: relative;
  display: block;
}
.fired-up-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 6;
  background: linear-gradient(135deg, #fbc02d, #f59e0b);
  color: #16181d;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.28em 0.65em;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  white-space: nowrap;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}
.event-card.fired-up {
  border-color: rgba(251, 192, 45, 0.6);
  box-shadow:
    0 4px 16px rgba(251, 192, 45, 0.15),
    var(--shadow-sm);
}
.event-card.fired-up:hover {
  border-color: var(--yellow);
  box-shadow:
    0 8px 24px rgba(251, 192, 45, 0.25),
    var(--shadow-md);
}

/* Card peek quick button */
.card-peek-btn {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 4;
  opacity: 0.85;
  transition: all 0.15s ease;
  font-size: 0.85rem;
}
.card-peek-btn:hover {
  opacity: 1;
  transform: scale(1.1);
  border-color: var(--ink);
}
.card-landmark {
  font-size: 0.8rem;
  color: #d97706;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
}

/* Smart 1-Tap Intent Matrix */
.smart-intent-matrix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.1rem 0 0.5rem;
}
.intent-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.45em 0.9em;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.intent-pill:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.intent-pill-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

/* Active filter summary bar */
.filter-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: rgba(27, 138, 90, 0.08);
  border: 1px solid rgba(27, 138, 90, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  margin: 1rem 0 0.5rem;
  font-size: 0.85rem;
}
.filter-reset-link {
  font-weight: 700;
  color: var(--red);
  text-decoration: underline;
}

/* Map Explorer */
.discovery-map-container {
  margin: 1rem 0 2rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.discovery-map {
  height: 420px;
  width: 100%;
  z-index: 1;
}

/* Quick Peek modal / slide-over */
.quick-peek-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
}
.quick-peek-drawer {
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--card);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  position: relative;
  padding: 1.5rem;
  animation: slideInRight 0.25s ease-out;
}
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
.quick-peek-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  z-index: 10;
}
.peek-cover-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

/* Venue Landmark Taxi Guidance */
.venue-landmark-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.taxi-landmark-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: rgba(251, 192, 45, 0.15);
  border: 1px solid rgba(251, 192, 45, 0.4);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
  font-size: 0.88rem;
}
.copy-landmark-btn {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25em 0.65em;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.copy-landmark-btn:hover {
  background: var(--ink);
  color: var(--bg);
}
.map-action-btns {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* WhatsApp Group Invite button & Door Pass */
.btn-whatsapp-group {
  background: #128c7e;
  color: white;
  font-weight: 700;
}
.btn-whatsapp-group:hover {
  background: #075e54;
  color: white;
}
.my-checkin-pass-badge {
  background: rgba(27, 138, 90, 0.12);
  border: 1.5px dashed var(--green);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.6rem 0;
}
.pass-code-val {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green-dark);
}

/* Camera Scanner Container */
.scanner-container {
  position: relative;
  max-width: 320px;
  margin: 1rem auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
}
.qr-video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.scanner-laser {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  animation: scanLine 2s linear infinite;
}
@keyframes scanLine {
  0% {
    top: 10%;
  }
  50% {
    top: 90%;
  }
  100% {
    top: 10%;
  }
}

/* ---------------------------------------------------------------------
   12. Dark mode
--------------------------------------------------------------------- */
body.dark-mode {
  --bg: #0c1210;
  --bg-alt: #121a17;
  --card: #15201c;
  --ink: #f2f0eb;
  --muted: #8e9b95;
  --muted-light: #6e7a75;
  --border: #202d28;
  --green: #108a67;
  --green-dark: #0b6e52;
  --green-hover: #149c75;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 24px rgba(16, 138, 103, 0.3);
}
body.dark-mode .hero {
  background: linear-gradient(120deg, #0a0c10 0%, #14181c 45%, #0f2a1e 100%);
}
body.dark-mode .site-nav {
  background: rgba(15, 17, 21, 0.92);
}
body.dark-mode .search-bar input {
  background: #1a1d24;
  color: var(--ink);
}
body.dark-mode .cat-chip {
  background: #1a1d24;
  border-color: #2a2d35;
}
body.dark-mode .cat-chip:hover {
  border-color: var(--red);
}
body.dark-mode .cat-chip-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
body.dark-mode .btn-secondary {
  background: #1a1d24;
  color: var(--ink);
  border-color: #2a2d35;
}
body.dark-mode .btn-secondary:hover {
  border-color: var(--ink);
}
body.dark-mode .organizer-cta-inner {
  background: linear-gradient(120deg, #0a0c10, #0f2a1e);
}
body.dark-mode .range-chip {
  background: #1a1d24;
  border-color: #2a2d35;
}
body.dark-mode .range-chip:hover {
  border-color: var(--ink);
}
body.dark-mode .range-chip-active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
body.dark-mode .view-toggle {
  background: #1a1d24;
  border-color: #2a2d35;
}
body.dark-mode .view-btn {
  color: var(--muted);
}
body.dark-mode .view-btn:hover {
  background: var(--card);
  color: var(--ink);
}
body.dark-mode .view-btn-active {
  background: var(--card) !important;
  color: var(--ink) !important;
}
body.dark-mode .organizer-cta {
  border-color: #2a2d35;
}
body.dark-mode .brand-word strong {
  color: var(--brand-gold);
}
body.dark-mode .brand-mark .mark-light {
  display: none;
}
body.dark-mode .brand-mark .mark-dark {
  display: block;
}
body.dark-mode .admin-role-owner {
  background: rgba(242, 183, 5, 0.18);
  color: var(--brand-gold);
}

/* Explicit light mode — forces light even if the system prefers dark (used only
   when the user has manually picked light via the toggle). */
.light-mode {
  --bg: #fafaf6;
  --card: #ffffff;
  --ink: #16181d;
  --muted: #6b7280;
  --border: #ece9e2;
  --shadow-sm: 0 1px 3px rgba(20, 15, 10, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 15, 10, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 15, 10, 0.14);
}

/* Follow the OS/browser dark-mode setting automatically when the user hasn't
   made an explicit choice (i.e. no .light-mode class forcing light instead). */
@media (prefers-color-scheme: dark) {
  body:not(.light-mode) {
    --bg: #0f1115;
    --card: #1a1d24;
    --ink: #e8e6e3;
    --muted: #8b909a;
    --border: #2a2d35;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  }
  body:not(.light-mode) .hero {
    background: linear-gradient(120deg, #0a0c10 0%, #14181c 45%, #0f2a1e 100%);
  }
  body:not(.light-mode) .site-nav {
    background: rgba(15, 17, 21, 0.92);
  }
  body:not(.light-mode) .search-bar input {
    background: #1a1d24;
    color: var(--ink);
  }
  body:not(.light-mode) .cat-chip {
    background: #1a1d24;
    border-color: #2a2d35;
  }
  body:not(.light-mode) .cat-chip:hover {
    border-color: var(--red);
  }
  body:not(.light-mode) .cat-chip-active {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }
  body:not(.light-mode) .btn-secondary {
    background: #1a1d24;
    color: var(--ink);
    border-color: #2a2d35;
  }
  body:not(.light-mode) .btn-secondary:hover {
    border-color: var(--ink);
  }
  body:not(.light-mode) .organizer-cta-inner {
    background: linear-gradient(120deg, #0a0c10, #0f2a1e);
  }
  body:not(.light-mode) .range-chip {
    background: #1a1d24;
    border-color: #2a2d35;
  }
  body:not(.light-mode) .range-chip:hover {
    border-color: var(--ink);
  }
  body:not(.light-mode) .range-chip-active {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }
  body:not(.light-mode) .view-toggle {
    background: #1a1d24;
    border-color: #2a2d35;
  }
  body:not(.light-mode) .view-btn {
    color: var(--muted);
  }
  body:not(.light-mode) .view-btn:hover {
    background: var(--card);
    color: var(--ink);
  }
  body:not(.light-mode) .view-btn-active {
    background: var(--card) !important;
    color: var(--ink) !important;
  }
  body:not(.light-mode) .brand-word strong {
    color: var(--brand-gold);
  }
  body:not(.light-mode) .brand-mark .mark-light {
    display: none;
  }
  body:not(.light-mode) .brand-mark .mark-dark {
    display: block;
  }
  body:not(.light-mode) .organizer-cta {
    border-color: #2a2d35;
  }
  body:not(.light-mode) .admin-role-owner {
    background: rgba(242, 183, 5, 0.18);
    color: var(--brand-gold);
  }
}

/* Theme toggle button */
.theme-toggle {
  background: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  line-height: 1;
}
.theme-toggle:hover {
  border-color: var(--ink);
  background: var(--card);
}

/* Language switcher */
.lang-switch {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  padding: 0.3rem 0.6rem;
  color: var(--muted);
  text-decoration: none;
  line-height: 1;
}
.lang-switch-btn + .lang-switch-btn {
  border-left: 1.5px solid var(--border);
}
.lang-switch-btn.active {
  background: var(--red);
  color: #fff;
}
.lang-switch-btn:hover:not(.active) {
  background: var(--card);
  color: var(--ink);
}
.lang-switch-mobile {
  align-self: flex-start;
  margin: 0.3rem 0;
}

/* Notification preferences — a symmetric, centered composition rather than a
   standard left-aligned form: every element shares the same central axis. */
.notify-prefs-page h1,
.notify-prefs-page > p.hero-sub {
  text-align: center;
}
.notify-prefs-form {
  max-width: 700px;
  margin: 0 auto;
}
.notify-prefs-email {
  max-width: 380px;
  margin: 0 auto 2rem;
  text-align: center;
}
.notify-prefs-email label {
  display: block;
  margin-bottom: 0.5rem;
}
.notify-prefs-email input {
  width: 100%;
  text-align: center;
}
.notify-prefs-submit {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}
.notify-prefs-submit .btn {
  min-width: 280px;
}
.notify-prefs-info {
  max-width: 560px;
  margin: 1.5rem auto 0;
  padding: 1rem;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.notify-prefs-info p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* Checkbox chips for notification preferences — same look as .cat-chip on Discover */
.notify-prefs-section {
  margin-bottom: 1.5rem;
  text-align: center;
}
.notify-prefs-section > label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.75rem;
}
.notify-prefs-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}
.chip-check {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.chip-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.chip-check span {
  display: inline-block;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--ink);
  white-space: nowrap;
  transition: all 0.15s ease;
}
.chip-check input:checked + span {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.chip-check:hover span {
  border-color: var(--red);
}

/* ---------------------------------------------------------------------
   Respect reduced-motion preference — disables the decorative parallax,
   floating particles, sparkle bursts, and looping pulses for anyone who's
   asked their OS for less motion. Functionality is unaffected; only the
   animated transitions are removed or collapsed to be effectively instant.
--------------------------------------------------------------------- */
/* ---------------------------------------------------------------------
   Reviews
--------------------------------------------------------------------- */
.review-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}
.review-form input,
.review-form textarea {
  padding: 0.7em 0.9em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 0.92rem;
  resize: vertical;
  background: var(--card);
  color: var(--ink);
}
.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.review-form .btn {
  align-self: flex-end;
}
.star-picker {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.star-picker-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}
.star-picker-interactive {
  display: flex;
  gap: 0.15rem;
}
.star-picker-interactive .star-btn {
  font-size: 1.5rem;
  cursor: pointer;
  transition:
    color 0.15s ease,
    transform 0.15s ease;
}
.star-picker-interactive .star-btn:hover {
  transform: scale(1.2);
}
.review-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--yellow));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.review-meta strong {
  font-size: 0.9rem;
}
.review-stars {
  display: inline-flex;
  gap: 0.05rem;
}
.star {
  font-size: 1rem;
  color: var(--border);
}
.star-on {
  color: var(--yellow);
}
.review-summary-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  font-size: 1rem;
}
.review-summary-stars .star {
  font-size: 1.1rem;
}
.review-time {
  font-size: 0.78rem;
}
.review-text {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.93rem;
  line-height: 1.55;
}
.experience-photo {
  display: block;
  max-width: 280px;
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 0.5rem 0;
}
.experience-photo-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.experience-photo-label input[type='file'] {
  font-size: 0.85rem;
  color: var(--ink);
}
.empty-reviews {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 1rem 0;
  text-align: center;
}

/* ---------------------------------------------------------------------
   Footer: platform review disclosure
--------------------------------------------------------------------- */
.platform-review-disclosure {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.platform-review-trigger {
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.platform-review-trigger::-webkit-details-marker {
  display: none;
}
.platform-review-trigger:hover {
  color: var(--red);
}
.platform-review-disclosure[open] .platform-review-trigger span[aria-hidden] {
  display: inline-block;
  transform: rotate(180deg);
}
.platform-review-panel {
  max-width: 560px;
  margin: 1.25rem auto 0;
  text-align: left;
}

/* ---------------------------------------------------------------------
   Admin: messages page
--------------------------------------------------------------------- */
.admin-page h1 {
  font-size: 1.5rem;
}

/* ---------------------------------------------------------------------
   Reduced motion
--------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-particles {
    display: none;
  }
}

/* BL-015 — screen-reader-only text for the data-mode toggle (WCAG 2.2 AA: the control
   must be labelled for people who can't see the icon). */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* BL-011 — the verified organizer badge.
   Written against the existing tokens (--green, --border, --card) rather than fresh
   colours, and given an explicit dark-mode rule, because the customer's feedback on the
   last redesign was about the look: new UI should read as part of this theme, not as
   something bolted onto it. */
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28em 0.7em;
  border-radius: 999px;
  background: rgba(27, 138, 90, 0.1);
  color: var(--green-dark);
  border: 1px solid rgba(27, 138, 90, 0.25);
  white-space: nowrap;
  cursor: help;
}
.verified-badge-pending {
  background: rgba(107, 114, 128, 0.1);
  color: var(--muted);
  border-color: rgba(107, 114, 128, 0.25);
}
body.dark-mode .verified-badge {
  background: rgba(27, 138, 90, 0.18);
  color: #7fd6a9;
  border-color: rgba(127, 214, 169, 0.35);
}
body.dark-mode .verified-badge-pending {
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted-light);
  border-color: rgba(255, 255, 255, 0.18);
}

/* BL-014 / BL-012 — the freshness stamp and completeness hints sit inside existing
   sidebar and panel components; they need no new colour of their own. */
.freshness-stamp {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* BL-012 — the "not confirmed recently" notice.
   Deliberately NOT the red cancelled/past banner it originally borrowed. Reusing that
   gradient made a soft caution look identical to a cancellation, which contradicts the
   rule this feature is built on: an unconfirmed event is marked, never condemned — the
   organizer may simply be offline and the event may well be going ahead. */
.unconfirmed-banner {
  background: rgba(251, 192, 45, 0.16);
  color: #7a5c00;
  border-top: 1px solid rgba(251, 192, 45, 0.5);
  border-bottom: 1px solid rgba(251, 192, 45, 0.5);
  text-align: center;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.88rem;
}
.unconfirmed-banner span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 70ch;
}
body.dark-mode .unconfirmed-banner {
  background: rgba(251, 192, 45, 0.14);
  color: #f6d488;
}

/* BL-014 — alerts that contain real content, not just one line of text.
   There is a global `p { color: var(--ink) }`, so in dark mode a paragraph inside an
   alert rendered near-white on the alert's light background — invisible. Every alert
   until now held a single text node, so nothing had hit it; the completeness gate is the
   first alert with paragraphs, a list and links inside it. Content inherits the alert's
   own colour. */
.alert p,
.alert li,
.alert strong,
.alert a,
.alert-success p,
.alert-success li,
.alert-success strong,
.alert-success a {
  color: inherit;
}
.alert a,
.alert-success a {
  text-decoration: underline;
}
.alert ul,
.alert-success ul {
  margin-bottom: 0;
}

/* ==========================================================================
   Flagship Design System — Deeper Cameroon Green (#0B6E52), Warm Paper & Gold
   ========================================================================== */

/* 🌟 1. Flagship Cameroon Forest Green Hero */
.flagship-hero {
  padding: 3.25rem 1rem 2.75rem !important;
  text-align: left;
  position: relative;
  background: linear-gradient(135deg, #074030 0%, #0b6e52 100%) !important;
  color: #ffffff !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-texture-overlay {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.65;
  pointer-events: none;
}

.flagship-hero .hero-inner {
  max-width: 900px !important;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.flagship-hero .hero-brand {
  margin-bottom: 0.5rem;
}

.flagship-hero .hero-tagline {
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.15em !important;
  color: #f5a623 !important;
  text-transform: uppercase !important;
  display: inline-block;
}

.flagship-hero .hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.3rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  line-height: 1.14 !important;
  margin: 0 0 0.75rem !important;
  color: #ffffff !important;
  max-width: 780px;
}

.highlight-gold {
  color: #f5a623 !important;
  text-shadow: 0 0 24px rgba(245, 166, 35, 0.35);
}

.flagship-hero .hero-sub {
  font-size: 1.05rem !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  margin: 0 0 1.75rem !important;
  max-width: 680px;
}

/* 🔍 2. World-Class Main Search & Location Capsule */
.main-search-capsule {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 820px !important;
  min-height: 58px !important;
  margin: 0 0 1rem !important;
  background: #ffffff !important;
  border-radius: 999px !important;
  box-shadow:
    0 16px 40px -6px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  padding: 0.35rem 0.45rem !important;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease !important;
}

body.dark-mode .main-search-capsule {
  background: #15201c !important;
  border-color: #202d28 !important;
  box-shadow: 0 16px 44px -6px rgba(0, 0, 0, 0.65) !important;
}

.main-search-capsule:focus-within {
  border-color: var(--primary) !important;
  box-shadow: 0 20px 48px -4px rgba(11, 110, 82, 0.35) !important;
}

.search-capsule-input-col {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  min-width: 180px !important;
  padding: 0 0.95rem !important;
  gap: 0.65rem !important;
}

.search-capsule-icon {
  color: var(--green, #0b6e52) !important;
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0;
}

.search-capsule-input-col input {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #141816 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.5rem 0 !important;
  margin: 0 !important;
}

body.dark-mode .search-capsule-input-col input {
  color: #f2f0eb !important;
}

.search-capsule-divider {
  width: 1px !important;
  height: 32px !important;
  background: rgba(0, 0, 0, 0.12) !important;
  flex-shrink: 0 !important;
}

body.dark-mode .search-capsule-divider {
  background: rgba(255, 255, 255, 0.16) !important;
}

.search-capsule-city-col {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 180px !important;
  padding: 0 0.95rem !important;
  gap: 0.5rem !important;
}

.search-capsule-select {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #141816 !important;
  cursor: pointer !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0.5rem 0 !important;
}

body.dark-mode .search-capsule-select {
  color: #f2f0eb !important;
}

.search-capsule-select option {
  background: var(--card) !important;
  color: var(--ink) !important;
}

.search-capsule-actions {
  display: flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  flex-shrink: 0 !important;
}

.search-capsule-submit-btn {
  height: 46px !important;
  padding: 0 1.5rem !important;
  border-radius: 999px !important;
  background: #0b6e52 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition:
    transform 0.15s ease,
    background 0.15s ease !important;
  box-shadow: 0 4px 14px rgba(11, 110, 82, 0.35) !important;
}

.search-capsule-submit-btn:hover {
  background: #084d39 !important;
  transform: scale(1.02) !important;
}

.search-capsule-surprise-btn {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  border-radius: 50% !important;
  background: var(--bg) !important;
  color: var(--ink) !important;
  border: 1px solid var(--border) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.search-capsule-surprise-btn:hover {
  background: rgba(245, 166, 35, 0.18) !important;
  border-color: #f5a623 !important;
  transform: rotate(15deg) scale(1.05) !important;
}

/* ⚡ 3. Quick Suggestions */
.hero-quick-suggestions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0.85rem 0 2rem;
}

.suggestions-label {
  opacity: 0.75;
  font-weight: 600;
}

.suggestion-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.suggestion-link:hover {
  color: #f5a623;
}

.suggestion-dot {
  opacity: 0.4;
}

/* 🛡️ 4. 3 Trust & Truth Feature Pillars */
.hero-trust-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.trust-pillar-icon {
  color: #f5a623;
  margin-top: 2px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.16);
}

.trust-pillar-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
  line-height: 1.4;
}

.trust-pillar-text strong {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

.trust-pillar-text span {
  color: rgba(255, 255, 255, 0.75);
}

/* ⚡ 1-Tap Intent Matrix */
.smart-intent-matrix {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.4rem 0 0;
}

.intent-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.78rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.intent-pill:hover,
.intent-pill-active {
  background: #0b6e52;
  border-color: #0b6e52;
  color: #ffffff;
  transform: translateY(-1px);
}

/* 🎟️ 3. Pristine Event Pass Cards */
.event-card.pass-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius-md, 14px);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s ease,
    border-color 0.2s ease;
  position: relative;
}

.event-card.pass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px -6px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

/* Cover Image / Gradient Canvas */
.pass-card .card-cover {
  height: 140px;
  min-height: 140px;
  position: relative;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: cover;
  background-position: center;
}

.card-cover-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-cover-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.pass-card .cat-pill {
  position: static !important;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.pass-card .price-pill {
  position: static !important;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.price-pill.price-free {
  background: rgba(22, 163, 74, 0.95);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.price-pill.price-paid {
  background: rgba(0, 0, 0, 0.75);
  color: #fcd34d;
  border: 1px solid rgba(252, 211, 77, 0.4);
}

.pass-card .countdown-pill {
  position: static !important;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ✂️ Die-Cut Perforation Notch */
.card-perforation {
  position: relative;
  height: 1px;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.perf-line {
  flex: 1;
  border-top: 1px dashed var(--border);
}

.perf-notch {
  width: 14px;
  height: 14px;
  background: var(--bg);
  border-radius: 50%;
  position: absolute;
  top: -7px;
  box-shadow: inset 0 0 0 1px var(--border);
  z-index: 3;
}

.perf-notch-left {
  left: -7px;
}

.perf-notch-right {
  right: -7px;
}

/* Card Body */
.pass-card .card-body {
  padding: 1rem 1.15rem;
  background: var(--card);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pass-card .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 0.6rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pass-card .card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.83rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-icon {
  color: var(--primary);
  display: flex;
  align-items: center;
}

.pass-card .card-landmark {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  color: #0d9488;
  background: rgba(13, 148, 136, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(13, 148, 136, 0.2);
  margin-top: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.dark-mode .pass-card .card-landmark {
  color: #5eead4;
  background: rgba(13, 148, 136, 0.16);
  border-color: rgba(94, 234, 212, 0.25);
}

.landmark-icon {
  display: flex;
  align-items: center;
}

.landmark-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pass-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border);
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: auto;
}

.card-stats {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.stat-fire {
  color: #ea580c;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.stat-chat {
  color: #16a34a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card-cta {
  color: var(--primary);
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.pass-card:hover .card-cta {
  transform: translateX(3px);
}

/* 📱 Responsive Mobile Adjustments */
@media (max-width: 680px) {
  .compact-hero .hero-title {
    font-size: 1.8rem;
  }
  .main-search-capsule {
    flex-direction: column !important;
    border-radius: 20px !important;
    padding: 0.65rem 0.85rem !important;
    gap: 0.5rem !important;
  }
  .search-capsule-input-col {
    width: 100% !important;
    padding: 0.25rem 0 !important;
  }
  .search-capsule-divider {
    display: none !important;
  }
  .search-capsule-city-col {
    width: 100% !important;
    flex: 1 1 100% !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 0.4rem 0 !important;
  }
  body.dark-mode .search-capsule-city-col {
    border-top-color: rgba(255, 255, 255, 0.1) !important;
  }
  .search-capsule-actions {
    width: 100% !important;
    justify-content: space-between !important;
    padding: 0 !important;
  }
  .search-capsule-submit-btn {
    flex: 1 !important;
    justify-content: center !important;
  }
}
