/* ============================================
   FLOWER MOUND FOOD — STYLE.CSS
   Dark & Modern Premium Local Food Platform
   ============================================ */

/* --- VARIABLES --- */
:root {
  --bg-primary: #0C0C0E;
  --bg-secondary: #141416;
  --bg-card: #1A1A1F;
  --bg-card-hover: #222228;
  --bg-glass: rgba(26, 26, 31, 0.7);
  --bg-glass-border: rgba(255, 255, 255, 0.06);

  --text-primary: #F5F5F7;
  --text-secondary: #A0A0AB;
  --text-muted: #6B6B78;

  --accent: #F59E0B;
  --accent-hover: #D97706;
  --accent-glow: rgba(245, 158, 11, 0.15);
  --accent-soft: rgba(245, 158, 11, 0.08);

  --cta: #10B981;
  --cta-hover: #059669;
  --cta-glow: rgba(16, 185, 129, 0.15);

  --premium: #8B5CF6;
  --premium-glow: rgba(139, 92, 246, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.5);

  --font-display: 'Sora', sans-serif;
  --font-body: 'Outfit', sans-serif;

  --nav-height: 72px;
  --container-max: 1200px;
  --container-wide: 1400px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, select, input, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}
::selection { background: var(--accent); color: var(--bg-primary); }

/* --- NOISE OVERLAY --- */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- CONTAINER --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* Hero reveals should be visible immediately as fallback */
.hero-section .reveal {
  animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-section .reveal-delay-1 { animation-delay: 0.12s; }
.hero-section .reveal-delay-2 { animation-delay: 0.24s; }
.hero-section .reveal-delay-3 { animation-delay: 0.36s; }

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- NAVIGATION --- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
#navbar.scrolled {
  background: rgba(12, 12, 14, 0.85);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}
.nav-inner {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  z-index: 1001;
}
.brand-icon { font-size: 1.4rem; }
.brand-accent { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.nav-link.active { color: var(--accent); }
.nav-email-btn {
  background: var(--accent);
  color: #0C0C0E !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--radius-full);
}
.nav-email-btn:hover {
  background: var(--accent-hover);
  color: #0C0C0E !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255,255,255,0.15);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}
.btn-block { width: 100%; }

/* --- SECTION COMMON --- */
.section {
  padding: 120px 0;
  position: relative;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}
.text-gradient {
  background: linear-gradient(135deg, var(--accent) 0%, #FBBF24 50%, #F97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- BADGE --- */
.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}
.badge-category {
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.badge-town {
  background: rgba(16, 185, 129, 0.08);
  color: var(--cta);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: orbFloat1 20s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #F97316 0%, transparent 70%);
  bottom: -200px; left: -150px;
  animation: orbFloat2 25s ease-in-out infinite;
}
.orb-3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--cta) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat3 18s ease-in-out infinite;
  opacity: 0.2;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(-60px, 40px); }
  66% { transform: translate(30px, -50px); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(50px, -30px); }
  66% { transform: translate(-40px, 50px); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-subtitle {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll-hint {
  margin-top: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SPIN WHEEL SECTION
   ============================================ */
.wheel-section {
  background: var(--bg-secondary);
}
.wheel-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.wheel-filters {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.filter-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.filter-select {
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.9rem;
  cursor: pointer;
  min-width: 180px;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A0A0AB' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.filter-select:focus {
  border-color: var(--accent);
}
.filter-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.spin-trigger-btn {
  padding: 16px 48px;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.wheel-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wheel-container {
  position: relative;
  width: min(500px, 90vw);
  height: min(500px, 90vw);
}
#wheelCanvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, 0.15), 0 0 60px rgba(245, 158, 11, 0.08), var(--shadow-lg);
}
.wheel-pointer {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 36px solid var(--accent);
  filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.4));
}
.wheel-center-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  text-align: center;
  letter-spacing: 0.06em;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* --- WINNER MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  padding: 24px;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  text-align: center;
  max-width: 420px;
  width: 100%;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text-primary); }
.modal-tag {
  display: inline-block;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.modal-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ============================================
   DIRECTORY SECTION
   ============================================ */
.directory-section {
  background: var(--bg-primary);
}
.directory-controls {
  margin-bottom: 40px;
}
.search-box {
  position: relative;
  margin-bottom: 16px;
}
.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.search-input {
  width: 100%;
  padding: 16px 18px 16px 48px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.search-input:focus {
  border-color: var(--accent);
}
.search-input::placeholder {
  color: var(--text-muted);
}
.filter-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.filter-row .filter-select {
  flex: 1;
  min-width: 150px;
}
.results-count {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.directory-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 4px 0 0;
  font-weight: 400;
}

/* Directory Grid */
.directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.restaurant-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.restaurant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,255,255,0.1);
}
.restaurant-card .card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.restaurant-card .card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-section {
  background: var(--bg-secondary);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pricing-card-featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, var(--bg-card) 40%);
  box-shadow: 0 0 40px var(--accent-glow);
  transform: scale(1.04);
}
.pricing-card-featured:hover {
  transform: scale(1.04) translateY(-6px);
}
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.pricing-tier {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-unit {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.pricing-period {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.pricing-features li:last-child { border-bottom: none; }

/* ============================================
   SUBMIT SECTION
   ============================================ */
.submit-section {
  background: var(--bg-primary);
}
.submit-form {
  max-width: 700px;
  margin: 0 auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.form-group-full {
  grid-column: 1 / -1;
}
.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.form-input::placeholder {
  color: var(--text-muted);
}
.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--bg-glass-border);
  padding: 60px 0 40px;
}
.footer-inner {
  text-align: center;
}
.footer-brand {
  margin-bottom: 24px;
}
.footer-brand .brand-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-left: 8px;
}
.footer-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 8px;
}
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  color: var(--text-muted);
  font-size: 0.8rem;
}
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   EVENTS TICKER
   ============================================ */
.events-ticker {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  height: 40px;
  background: rgba(20, 20, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--accent);
  overflow: hidden;
}
.ticker-badge {
  flex-shrink: 0;
  padding: 4px 14px;
  margin-left: 12px;
  margin-right: 12px;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--accent);
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.ticker-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}
.ticker-content {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 40s linear infinite;
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.ticker-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   EVENTS SPOTLIGHT SECTION (HOMEPAGE)
   ============================================ */
.events-spotlight-section {
  background: var(--bg-secondary);
}
.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.spotlight-card {
  background: var(--bg-glass);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, box-shadow 0.3s;
}
.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.3);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.08);
}
.spotlight-date {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.spotlight-restaurant {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}
.spotlight-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.spotlight-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.spotlight-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.spotlight-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  transition: color 0.2s;
}
.spotlight-link:hover {
  color: var(--accent-hover);
}
.spotlight-time {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}
.spotlight-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Also This Week — compact event list */
.more-events {
  margin-top: 32px;
}
.more-events-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 600;
}
.more-events-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.more-event-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.2s, border-color 0.2s;
}
.more-event-row:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.2);
}
.more-event-date {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  min-width: 50px;
}
.more-event-name {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
}
.more-event-time {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Weekly Recurring Specials */
.weekly-specials {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--bg-glass-border);
}
.weekly-specials-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 600;
}
.weekly-specials-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.weekly-special-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--bg-secondary);
  border-radius: 8px;
}
.weekly-special-day {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  min-width: 70px;
}
.weekly-special-deal {
  flex: 1;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .pricing-card-featured {
    transform: none;
    order: -1;
  }
  .pricing-card-featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .more-event-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .more-event-date { min-width: auto; }
  .more-event-name { width: 100%; }
  .weekly-special-row {
    flex-wrap: wrap;
    gap: 6px;
  }
  .weekly-special-day { min-width: auto; }
  .weekly-special-deal { width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section-header { margin-bottom: 40px; }

  /* Ticker mobile */
  .events-ticker { height: 36px; }
  .ticker-badge { font-size: 0.6rem; padding: 3px 10px; margin-left: 8px; margin-right: 8px; }
  .ticker-item { font-size: 0.72rem; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(12, 12, 14, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
  }
  .nav-link {
    font-size: 1.2rem;
    padding: 14px 32px;
  }

  /* Forms */
  .form-grid { grid-template-columns: 1fr; }

  /* Wheel */
  .wheel-filters { flex-direction: column; align-items: stretch; }
  .filter-select { min-width: unset; }
  .spin-trigger-btn { width: 100%; }

  /* Directory */
  .directory-grid { grid-template-columns: 1fr; }
  .filter-row { flex-direction: column; }
  .filter-row .filter-select { min-width: unset; }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2.4rem, 12vw, 4rem);
  }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 280px; }
  .wheel-container { width: 88vw; height: 88vw; }
  .modal-card { padding: 36px 24px; }
  .modal-title { font-size: 1.4rem; }
}

/* ============================================
   HERO CATEGORY PILLS (Bounce Rate Feature)
   ============================================ */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.25s ease;
}

.hero-pill:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: rgba(245, 158, 11, 0.25);
  transform: translateY(-1px);
}

/* ============================================
   POPULAR THIS WEEK SECTION
   ============================================ */
.popular-section {
  padding: 60px 0;
}

.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.popular-card {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s ease;
}

.popular-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.popular-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.popular-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.popular-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .popular-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .popular-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .popular-card {
    padding: 20px 16px;
  }
  .hero-pills {
    gap: 8px;
  }
  .hero-pill {
    font-size: 0.78rem;
    padding: 6px 14px;
  }
}

/* ============================================
   EXPLORE BY TOWN SECTION
   ============================================ */
.explore-towns-section {
  padding: 60px 0;
}

.town-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.town-card {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.25s ease;
}

.town-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(16, 185, 129, 0.2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.town-count {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 6px;
}

.town-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .town-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .town-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .town-card {
    padding: 20px 16px;
  }
}

/* ============================================
   FROM THE BLOG CTA SECTION
   ============================================ */
.blog-cta-section {
  padding: 60px 0;
}

.blog-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.blog-cta-card {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all 0.25s ease;
}

.blog-cta-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.blog-cta-emoji {
  font-size: 1.8rem;
  display: block;
  margin-bottom: 14px;
}

.blog-cta-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.blog-cta-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.blog-cta-action {
  text-align: center;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .blog-cta-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ENHANCED FOOTER (Cross-linking for SEO)
   ============================================ */
.footer-towns,
.footer-cuisines {
  margin-top: 20px;
}

.footer-section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.footer-towns a,
.footer-cuisines a {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-right: 16px;
  margin-bottom: 6px;
  transition: color 0.2s ease;
}

.footer-towns a:hover,
.footer-cuisines a:hover {
  color: var(--accent);
}

/* ============================================
   EMAIL CAPTURE — Popup + Spin + Footer
   ============================================ */

/* Popup Overlay */
.email-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.email-popup-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.email-popup {
  background: var(--bg-card);
  border: 1px solid var(--bg-glass-border);
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.email-popup-overlay.active .email-popup {
  transform: translateY(0);
}
.email-popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.email-popup-close:hover {
  color: var(--text-primary);
}
.email-popup-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.email-popup-title {
  font-family: 'Sora', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.email-popup-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}
.email-popup-form {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.email-popup-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--bg-glass-border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.email-popup-input:focus {
  border-color: var(--accent);
}
.email-popup-input::placeholder {
  color: var(--text-muted);
}
.email-popup-btn {
  white-space: nowrap;
  padding: 12px 20px;
  font-size: 0.85rem;
}
.email-popup-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}
.email-popup-status {
  font-size: 0.8rem;
  margin-top: 8px;
  min-height: 1.2em;
}
.email-popup-status.success { color: var(--cta); }
.email-popup-status.error { color: #EF4444; }

/* Spin Wheel Email Capture (inside winner modal) */
.spin-email-capture {
  margin-top: 16px;
  padding-top: 16px;
}
.spin-email-divider {
  height: 1px;
  background: var(--bg-glass-border);
  margin-bottom: 12px;
}
.spin-email-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.spin-email-form {
  display: flex;
  gap: 8px;
}
.spin-email-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--bg-glass-border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
}
.spin-email-input:focus {
  border-color: var(--accent);
}
.spin-email-input::placeholder {
  color: var(--text-muted);
}
.spin-email-btn {
  padding: 10px 16px;
  font-size: 0.8rem;
}
.spin-email-status {
  font-size: 0.75rem;
  margin-top: 6px;
  min-height: 1em;
}
.spin-email-status.success { color: var(--cta); }
.spin-email-status.error { color: #EF4444; }

/* Footer Email Capture */
.footer-email-capture {
  padding: 24px 0;
  border-top: 1px solid var(--bg-glass-border);
  margin-bottom: 16px;
  text-align: center;
}
.footer-email-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.footer-email-form {
  display: flex;
  gap: 8px;
  justify-content: center;
  max-width: 400px;
  margin: 0 auto;
}
.footer-email-input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--bg-glass-border);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
}
.footer-email-input:focus {
  border-color: var(--accent);
}
.footer-email-input::placeholder {
  color: var(--text-muted);
}
.footer-email-btn {
  padding: 10px 16px;
  font-size: 0.8rem;
}
.footer-email-status {
  font-size: 0.75rem;
  margin-top: 6px;
  min-height: 1em;
}
.footer-email-status.success { color: var(--cta); }
.footer-email-status.error { color: #EF4444; }

@media (max-width: 480px) {
  .email-popup { padding: 28px 20px; }
  .email-popup-form { flex-direction: column; }
  .email-popup-btn { width: 100%; }
  .footer-email-form { flex-direction: column; }
  .footer-email-btn { width: 100%; }
  .spin-email-form { flex-direction: column; }
  .spin-email-btn { width: 100%; }
}
