/* ═══════════════════════════════════════════════
   TRIPCHOOSY — styles.css
   "Honey, where should we go this weekend?"
   Warm, spontaneous, adventure-ready
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
  /* Brand Colors */
  --sunrise: #FF6B35;       /* primary orange — energy, spontaneity */
  --sunrise-dark: #E8531A;
  --sunrise-light: #FFF0EA;
  --teal: #0D7377;          /* secondary — depth, adventure */
  --teal-light: #E8F4F5;
  --gold: #F4A623;          /* accent — warmth, excitement */
  --cream: #FFFBF5;         /* background */
  --sand: #F5EDE0;          /* soft bg variant */
  --deep: #1C1C2E;          /* dark text */
  --slate: #4A5568;         /* medium text */
  --mist: #E8EEF4;          /* chip backgrounds */
  --border: rgba(0,0,0,.08);
  --white: #FFFFFF;

  /* Price Tier Colors */
  --free-color: #2D8A4E;
  --budget-color: #0D7377;
  --mid-color: #F4A623;
  --premium-color: #FF6B35;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.1);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.14);
  --shadow-card: 0 4px 16px rgba(0,0,0,.08);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 100px;

  /* Transitions */
  --transition: all .2s ease;
}

/* ─── RESET ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--cream);
  color: var(--deep);
  min-height: 100vh;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes wheelSpin {
  0% { transform: rotate(0deg); }
  70% { transform: rotate(calc(var(--target-deg) - 20deg)); }
  85% { transform: rotate(calc(var(--target-deg) + 10deg)); }
  100% { transform: rotate(var(--target-deg)); }
}

/* ═══════════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════════ */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--sunrise);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transform: rotate(-5deg);
  transition: transform .3s ease;
}
.logo:hover .logo-mark { transform: rotate(5deg); }
.logo-text {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--deep);
  letter-spacing: -0.5px;
}
.logo-text span { color: var(--sunrise); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.btn-ghost {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
  transition: var(--transition);
}
.btn-ghost:hover { background: var(--sand); color: var(--deep); }

.btn-primary {
  padding: 9px 20px;
  background: var(--sunrise);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover {
  background: var(--sunrise-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,107,53,.35);
}

.btn-secondary {
  padding: 9px 20px;
  background: white;
  color: var(--deep);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}
.btn-secondary:hover { border-color: var(--sunrise); color: var(--sunrise); }

/* User avatar (post-login) */
.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sunrise);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.user-avatar:hover { transform: scale(1.08); }

/* ═══════════════════════════════════════════════
   AD SLOTS
═══════════════════════════════════════════════ */
.ad-slot {
  background: white;
  border: 1.5px dashed #e0e0e0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
}
.ad-slot::before {
  content: 'Advertisement';
  position: absolute;
  top: 6px;
  left: 10px;
  font-size: 8px;
  color: #ddd;
  letter-spacing: 2px;
}
.ad-leaderboard { width: 100%; height: 80px; margin-bottom: 0; }
.ad-inline { width: 100%; height: 90px; grid-column: 1 / -1; margin: 4px 0; }

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  background: var(--deep);
  position: relative;
  overflow: hidden;
  padding: 52px 40px 60px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 10% 60%, rgba(255,107,53,.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(13,115,119,.3) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(244,166,35,.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating decoration dots */
.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.hero-dot-1 { width: 180px; height: 180px; background: var(--sunrise); top: -60px; right: 10%; }
.hero-dot-2 { width: 100px; height: 100px; background: var(--gold); bottom: -30px; left: 5%; }
.hero-dot-3 { width: 60px; height: 60px; background: var(--teal); top: 30%; left: 15%; }

.hero-ad-wrap { position: relative; z-index: 2; margin-bottom: 24px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(244,166,35,.12);
  border: 1px solid rgba(244,166,35,.25);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  animation: fadeUp .6s ease both;
}

.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  position: relative;
  z-index: 2;
  animation: fadeUp .6s .1s ease both;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: italic;
  color: var(--sunrise);
}

.hero-sub {
  color: rgba(255,255,255,.55);
  font-size: 16px;
  font-weight: 300;
  position: relative;
  z-index: 2;
  animation: fadeUp .6s .2s ease both;
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-disclaimer {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  position: relative;
  z-index: 2;
  animation: fadeUp .6s .3s ease both;
}
.hero-disclaimer strong { color: rgba(255,255,255,.7); font-weight: 500; }

/* ═══════════════════════════════════════════════
   MAIN LAYOUT
═══════════════════════════════════════════════ */
.main {
  display: grid;
  grid-template-columns: 360px 1fr;
  min-height: calc(100vh - 64px - 200px);
  align-items: start;
}

/* ═══════════════════════════════════════════════
   FILTERS PANEL
═══════════════════════════════════════════════ */
.filters {
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 24px 20px 80px;
  position: sticky;
  top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}

.filters-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.filters-title {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--deep);
}

.reset-btn {
  font-size: 12px;
  color: var(--sunrise);
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
}
.reset-btn:hover { background: var(--sunrise-light); }

.mobile-close-btn {
  display: none;
  font-size: 20px;
  color: #999;
  padding: 4px;
  line-height: 1;
}

/* Filter groups */
.filter-group { margin-bottom: 18px; }

.filter-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 9px;
  display: block;
}
.filter-sublabel {
  font-size: 10px;
  color: #bbb;
  letter-spacing: 0;
  text-transform: none;
  margin-left: 4px;
  font-weight: 400;
}

.filter-divider {
  border: none;
  border-top: 1px solid rgba(0,0,0,.06);
  margin: 4px 0 18px;
}

/* Pills */
.pill-group { display: flex; flex-wrap: wrap; gap: 6px; }

.pill {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  background: white;
  color: var(--slate);
  transition: var(--transition);
  user-select: none;
  white-space: nowrap;
  line-height: 1.3;
}
.pill:hover { border-color: var(--teal); color: var(--teal); }
.pill.active {
  background: var(--deep);
  border-color: var(--deep);
  color: white;
  font-weight: 500;
}

/* Budget */
.budget-mode-row {
  display: flex;
  background: #f2f4f5;
  border-radius: var(--radius-sm);
  padding: 3px;
  gap: 2px;
  margin-bottom: 10px;
}
.budget-mode-btn {
  flex: 1;
  padding: 6px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  background: transparent;
  color: #999;
  transition: var(--transition);
}
.budget-mode-btn.active {
  background: white;
  color: var(--deep);
  box-shadow: 0 1px 4px rgba(0,0,0,.1);
}

.group-size-row {
  display: none;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--slate);
}
.group-size-row.show { display: flex; }
.group-size-input {
  width: 56px;
  padding: 5px 8px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  text-align: center;
  outline: none;
  transition: var(--transition);
}
.group-size-input:focus { border-color: var(--teal); }

.budget-display {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 8px;
  line-height: 1;
}
.budget-display sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #aaa;
  vertical-align: baseline;
  margin-left: 4px;
}
.budget-per-note {
  font-size: 11px;
  color: #bbb;
  font-style: italic;
  margin-top: 4px;
  display: none;
}

/* Range slider */
.range-wrap { position: relative; }
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    to right,
    var(--sunrise) 0%,
    var(--sunrise) var(--pct, 5%),
    #e8e8e8 var(--pct, 5%)
  );
  border-radius: 4px;
  outline: none;
  transition: background .15s;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--deep);
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: transform .15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 10px;
  color: #bbb;
}

/* Stepper */
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  line-height: 1;
  color: var(--deep);
}
.stepper-btn:hover { background: var(--deep); color: white; border-color: var(--deep); }
.stepper-val {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--deep);
  min-width: 56px;
  text-align: center;
  line-height: 1;
}
.stepper-val sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  color: #aaa;
  vertical-align: baseline;
}

/* Text inputs */
.text-input {
  width: 100%;
  padding: 9px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: var(--deep);
  outline: none;
  transition: var(--transition);
  background: white;
}
.text-input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,115,119,.08); }
.text-input::placeholder { color: #ccc; }

/* Drive options reveal */
.drive-options {
  margin-top: 10px;
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  background: #f8fafb;
  border-radius: var(--radius-md);
  border: 1px solid rgba(13,115,119,.1);
  animation: fadeIn .2s ease;
}
.drive-options.show { display: flex; }

/* More activities accordion */
.more-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 10px 0 4px;
  user-select: none;
  border-top: 1px dashed rgba(0,0,0,.1);
  margin-top: 10px;
  transition: var(--transition);
}
.more-toggle:hover .more-toggle-label { color: var(--sunrise); }
.more-toggle-icon {
  font-size: 14px;
  color: var(--sunrise);
  font-weight: 700;
  transition: transform .25s ease;
  line-height: 1;
}
.more-toggle.open .more-toggle-icon { transform: rotate(45deg); }
.more-toggle-label { font-size: 13px; font-weight: 500; color: var(--teal); }
.more-panel { display: none; padding-top: 12px; }
.more-panel.open { display: block; animation: fadeIn .2s ease; }

.activity-category { margin-bottom: 14px; }
.activity-cat-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #bbb;
  margin-bottom: 7px;
  display: block;
}

/* Find button */
.find-btn {
  width: 100%;
  padding: 14px;
  background: var(--sunrise);
  color: white;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: var(--transition);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.find-btn:hover {
  background: var(--sunrise-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,107,53,.35);
}

.result-count-note {
  text-align: center;
  font-size: 11px;
  color: #bbb;
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════
   RESULTS PANEL
═══════════════════════════════════════════════ */
.results {
  padding: 28px 24px 80px;
  background: var(--cream);
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.results-title-wrap h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--deep);
}
.results-subtitle {
  font-size: 13px;
  color: #aaa;
  margin-top: 2px;
}

.results-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-select {
  padding: 7px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  color: var(--slate);
  background: white;
  outline: none;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════
   DESTINATION CARDS
═══════════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease;
  animation: fadeUp .4s ease both;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Card image */
.card-img {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: var(--sand);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.card:hover .card-img img { transform: scale(1.04); }

/* Fallback gradient when no image */
.card-img-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

/* Card badges */
.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(28,28,46,.82);
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .8px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}

.price-tier-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: .5px;
}
.price-tier-badge.free { background: rgba(45,138,78,.9); color: white; }
.price-tier-badge.budget { background: rgba(13,115,119,.85); color: white; }
.price-tier-badge.mid { background: rgba(244,166,35,.92); color: #1a1a00; }
.price-tier-badge.premium { background: rgba(255,107,53,.9); color: white; }

/* Save + compare icons on card */
.card-actions {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transition: opacity .2s ease;
}
.card:hover .card-actions { opacity: 1; }

.card-action-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  cursor: pointer;
  border: none;
}
.card-action-btn:hover { transform: scale(1.12); }
.card-action-btn.saved { background: var(--sunrise); }
.card-action-btn.in-compare { background: var(--teal); color: white; }

/* Card body */
.card-body { padding: 16px 18px 10px; flex: 1; }

.card-location {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}
.card-name {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 6px;
  line-height: 1.2;
}
.card-desc {
  font-size: 12.5px;
  color: var(--slate);
  line-height: 1.65;
  margin-bottom: 12px;
}

/* Chips */
.card-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.chip {
  font-size: 10px;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  background: var(--mist);
  color: var(--teal);
  font-weight: 500;
}

/* Budget health bar */
.budget-health {
  background: #f8fafb;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(0,0,0,.05);
}
.budget-health-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}
.budget-health-label { font-size: 10px; color: #aaa; }
.budget-health-pct { font-size: 11px; font-weight: 600; color: var(--deep); }
.budget-bar-track {
  width: 100%;
  height: 4px;
  background: #e8e8e8;
  border-radius: 2px;
  overflow: hidden;
}
.budget-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width .6s ease;
}
.budget-health-note {
  font-size: 10px;
  color: #bbb;
  margin-top: 5px;
  font-style: italic;
}

/* Affiliate buttons */
.card-links {
  padding: 0 18px 14px;
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.aff-btn {
  flex: 1;
  min-width: 70px;
  padding: 7px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--slate);
  background: white;
}
.aff-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

/* Card footer */
.card-footer {
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-price {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--deep);
}
.card-price sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: #aaa;
  vertical-align: baseline;
}
.card-days { font-size: 10px; color: #aaa; margin-top: 2px; }

.match-score {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--sunrise);
}
.match-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sunrise);
  animation: pulse 2s infinite;
}

/* Partial match section divider */
.partial-match-header {
  grid-column: 1 / -1;
  padding: 20px 0 12px;
  border-top: 1px solid var(--border);
  margin-top: 8px;
}
.partial-match-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 4px;
}
.partial-match-header p { font-size: 13px; color: #aaa; }

/* ═══════════════════════════════════════════════
   NO RESULTS
═══════════════════════════════════════════════ */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
  animation: fadeIn .4s ease;
}
.no-results-icon { font-size: 56px; margin-bottom: 16px; }
.no-results h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  color: var(--deep);
  margin-bottom: 8px;
}
.no-results p { color: #aaa; font-size: 13px; margin-bottom: 24px; }
.no-results-reset {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: var(--sunrise);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.no-results-reset:hover {
  background: var(--sunrise-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,107,53,.3);
}

/* ═══════════════════════════════════════════════
   BUCKET LIST DRAWER
═══════════════════════════════════════════════ */
.bucket-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: white;
  z-index: 500;
  box-shadow: -8px 0 32px rgba(0,0,0,.12);
  transition: right .35s ease;
  display: flex;
  flex-direction: column;
}
.bucket-drawer.open { right: 0; }

.bucket-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bucket-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--deep);
}
.bucket-close {
  font-size: 22px;
  color: #aaa;
  padding: 4px;
  transition: var(--transition);
}
.bucket-close:hover { color: var(--deep); }

.bucket-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.bucket-empty {
  text-align: center;
  padding: 60px 20px;
  color: #ccc;
}
.bucket-empty-icon { font-size: 48px; margin-bottom: 12px; }
.bucket-empty p { font-size: 13px; }

.bucket-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  animation: slideInLeft .3s ease;
}
.bucket-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--sand);
  flex-shrink: 0;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bucket-item-info { flex: 1; min-width: 0; }
.bucket-item-name {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bucket-item-loc { font-size: 11px; color: #aaa; margin-top: 2px; }
.bucket-item-remove {
  font-size: 16px;
  color: #ccc;
  transition: var(--transition);
  flex-shrink: 0;
}
.bucket-item-remove:hover { color: var(--sunrise); }

.bucket-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spin-wheel-btn {
  width: 100%;
  padding: 13px;
  background: var(--sunrise);
  color: white;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.spin-wheel-btn:hover {
  background: var(--sunrise-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255,107,53,.3);
}

.compare-btn-drawer {
  width: 100%;
  padding: 11px;
  background: white;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.compare-btn-drawer:hover { background: var(--teal-light); }

/* ═══════════════════════════════════════════════
   COMPARE MODAL
═══════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28,28,46,.6);
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
  padding: 20px;
}
.modal-overlay.open { display: flex; }

.compare-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: fadeUp .3s ease;
}

.compare-modal-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.compare-modal-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--deep);
}
.modal-close { font-size: 22px; color: #aaa; transition: var(--transition); }
.modal-close:hover { color: var(--deep); }

.compare-grid {
  display: grid;
  grid-template-columns: 140px repeat(auto-fill, minmax(180px, 1fr));
  padding: 24px 28px;
  gap: 0;
}
.compare-row {
  display: contents;
}
.compare-label {
  font-size: 11px;
  font-weight: 600;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.05);
  display: flex;
  align-items: center;
}
.compare-cell {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,.05);
  font-size: 13px;
  color: var(--deep);
  border-left: 1px solid rgba(0,0,0,.04);
}
.compare-cell.winner {
  background: rgba(255,107,53,.04);
  color: var(--sunrise);
  font-weight: 600;
}
.compare-dest-header {
  padding: 0 16px 16px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  border-left: 1px solid rgba(0,0,0,.04);
  text-align: center;
}
.compare-dest-img {
  width: 100%;
  height: 90px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--sand);
  margin-bottom: 8px;
  font-size: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compare-dest-name {
  font-family: 'Fraunces', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep);
  line-height: 1.2;
}

/* ═══════════════════════════════════════════════
   SPIN THE WHEEL MODAL
═══════════════════════════════════════════════ */
.wheel-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  padding: 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: fadeUp .3s ease;
}
.wheel-modal h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 900;
  color: var(--deep);
  margin-bottom: 8px;
}
.wheel-modal p { font-size: 14px; color: #aaa; margin-bottom: 28px; }

.wheel-container {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto 28px;
}
.wheel-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.wheel-pointer {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}

.spin-btn {
  padding: 14px 40px;
  background: var(--sunrise);
  color: white;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.spin-btn:hover {
  background: var(--sunrise-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,107,53,.4);
}
.spin-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.wheel-result {
  display: none;
  margin-top: 24px;
  padding: 20px;
  background: var(--sunrise-light);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,107,53,.2);
  animation: fadeUp .4s ease;
}
.wheel-result.show { display: block; }
.wheel-result-label { font-size: 12px; color: var(--sunrise); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 6px; }
.wheel-result-name {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--deep);
  margin-bottom: 12px;
}

/* ═══════════════════════════════════════════════
   AUTH MODAL
═══════════════════════════════════════════════ */
.auth-modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 420px;
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: fadeUp .3s ease;
}
.auth-modal-icon { font-size: 48px; margin-bottom: 16px; }
.auth-modal h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--deep);
  margin-bottom: 8px;
}
.auth-modal p { font-size: 14px; color: #aaa; margin-bottom: 28px; line-height: 1.6; }

.auth-form { text-align: left; }
.auth-field { margin-bottom: 14px; }
.auth-field label { font-size: 12px; font-weight: 600; color: var(--slate); display: block; margin-bottom: 5px; }

.auth-divider {
  text-align: center;
  font-size: 12px;
  color: #ccc;
  margin: 16px 0;
  position: relative;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: #eee;
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.btn-google {
  width: 100%;
  padding: 11px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  margin-bottom: 16px;
}
.btn-google:hover { border-color: #aaa; background: #fafafa; }

.btn-full {
  width: 100%;
  padding: 12px;
  background: var(--sunrise);
  color: white;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 6px;
}
.btn-full:hover { background: var(--sunrise-dark); }

.opt-in-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  text-align: left;
}
.opt-in-row input[type="checkbox"] { margin-top: 2px; accent-color: var(--sunrise); flex-shrink: 0; }
.opt-in-label { font-size: 12px; color: var(--slate); line-height: 1.5; }

.auth-switch { font-size: 12px; color: #aaa; margin-top: 20px; }
.auth-switch a { color: var(--sunrise); font-weight: 500; cursor: pointer; }

/* ═══════════════════════════════════════════════
   MOBILE FILTER BUTTON
═══════════════════════════════════════════════ */
.mobile-filter-btn {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--deep);
  color: white;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.28);
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}
.mobile-filter-btn:hover { transform: translateX(-50%) translateY(-2px); }

.filter-badge {
  background: var(--sunrise);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  min-width: 20px;
  text-align: center;
}

/* Filter drawer overlay */
.filter-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 300;
  backdrop-filter: blur(3px);
  animation: fadeIn .2s ease;
}
.filter-overlay.open { display: block; }

/* Bucket list button (floating) */
.bucket-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  background: var(--deep);
  color: white;
  border-radius: var(--radius-pill);
  padding: 13px 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.bucket-fab:hover {
  background: var(--sunrise);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255,107,53,.35);
}
.bucket-fab-count {
  background: var(--sunrise);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  min-width: 20px;
  text-align: center;
  transition: background .2s;
}
.bucket-fab:hover .bucket-fab-count { background: white; color: var(--sunrise); }

/* ═══════════════════════════════════════════════
   LOADING SPINNER
═══════════════════════════════════════════════ */
.loading-spinner {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px;
}
.loading-spinner.show { display: block; }
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #eee;
  border-top-color: var(--sunrise);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}
.loading-spinner p { font-size: 13px; color: #aaa; }

/* ═══════════════════════════════════════════════
   TOAST NOTIFICATIONS
═══════════════════════════════════════════════ */
.toast-container {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.toast {
  background: var(--deep);
  color: white;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: slideInLeft .3s ease;
  max-width: 280px;
}
.toast.success { border-left: 3px solid var(--green-color, #2D8A4E); }
.toast.info { border-left: 3px solid var(--teal); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.site-footer {
  background: var(--deep);
  color: rgba(255,255,255,.5);
  text-align: center;
  padding: 28px 40px;
  font-size: 12px;
  line-height: 1.8;
}
.site-footer a { color: rgba(255,255,255,.6); transition: color .15s; }
.site-footer a:hover { color: var(--sunrise); }
.footer-brand {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 900;
  color: white;
  margin-bottom: 8px;
}
.footer-brand span { color: var(--sunrise); }

/* ═══════════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════════ */
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ═══════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════ */
@media (max-width: 860px) {
  .main { grid-template-columns: 1fr; }

  .filters {
    position: fixed;
    top: 0;
    left: 0;
    width: min(380px, 90vw);
    height: 100vh;
    z-index: 400;
    transform: translateX(-110%);
    transition: transform .32s ease;
    border-right: none;
    box-shadow: 4px 0 28px rgba(0,0,0,.14);
    padding-top: 16px;
    padding-bottom: 100px;
  }
  .filters.mobile-open { transform: translateX(0); }

  .mobile-filter-btn { display: flex; }
  .mobile-close-btn { display: block; }

  .hero { padding: 32px 20px 48px; }
  .results { padding: 16px 14px 100px; }
  .cards-grid { grid-template-columns: 1fr; }

  .bucket-drawer { width: min(380px, 100vw); }

  .site-header { padding: 0 16px; }
  .nav-actions .btn-ghost { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 32px; }
  .compare-modal { border-radius: var(--radius-lg); }
  .wheel-container { width: 260px; height: 260px; }
}
