/* ═══════ FOOD GEMS — Premium Warm Design System ═══════ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ── Loading Screen ───────────────────────── */
.loading-logo-wrap {
  animation: loadingPulse 1.5s ease-in-out infinite;
}
@keyframes loadingPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.loading-text {
  animation: loadingFade 2s ease-in-out infinite;
}
@keyframes loadingFade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.loading-bar {
  width: 160px;
  height: 3px;
  background: #f3f4f6;
  border-radius: 3px;
  overflow: hidden;
}
.loading-bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  border-radius: 3px;
  animation: loadingProgress 2s ease-in-out forwards;
}
@keyframes loadingProgress {
  0% { width: 0; }
  60% { width: 70%; }
  100% { width: 100%; }
}
#loading-screen.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* ── Hero Emoji Rain ──────────────────────── */
.hero-rain-emoji {
  position: absolute;
  font-size: 1.8rem;
  opacity: 0;
  animation: emojiRain linear forwards;
  filter: blur(0.5px);
}
@keyframes emojiRain {
  0% { transform: translateY(-40px) rotate(0deg); opacity: 0; }
  10% { opacity: 0.12; }
  90% { opacity: 0.08; }
  100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* ── Skeleton Loading ── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite linear;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Base ──────────────────────────────────── */
body {
  background: #fefefe;
  color: #1f2937;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── FG Logo ──────────────────────────────── */
.fg-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
  box-shadow: 0 2px 8px rgba(249,115,22,0.3);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.fg-logo:hover { transform: scale(1.08) rotate(-3deg); }

/* ── Glassmorphism (Light) ─────────────────── */
.glass-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.glass-input {
  background: #f9fafb;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  color: #1f2937;
  outline: none;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.glass-input:focus { border-color: rgba(249,115,22,0.5); box-shadow: 0 0 20px rgba(249,115,22,0.08); }
.glass-input option { background: #fff; color: #1f2937; }
.glass-input::placeholder { color: #9ca3af; }

/* ── Hero Section ─────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #fff 0%, #fef7ee 30%, #fef3e2 60%, #fff 100%);
}
.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.4;
}
.hero-bg-shape-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(251,191,36,0.15), transparent 70%);
  top: -5%; right: -5%;
  animation: orbFloat 15s ease-in-out infinite;
}
.hero-bg-shape-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(249,115,22,0.1), transparent 70%);
  bottom: 10%; left: -5%;
  animation: orbFloat 18s ease-in-out infinite reverse;
}
.hero-bg-shape-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(244,63,94,0.08), transparent 70%);
  top: 40%; right: 15%;
  animation: orbFloat 12s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -15px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.95); }
}

/* ── Hero Badge ───────────────────────────── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid rgba(249,115,22,0.12);
  box-shadow: 0 2px 12px rgba(249,115,22,0.06);
  margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(245,158,11,0.5);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-badge-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c2410c;
}

/* ── Hero Heading ─────────────────────────── */
.hero-heading {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  color: #1f2937;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  position: relative;
}
.hero-heading-highlight {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 900;
  background: linear-gradient(135deg, #f59e0b, #f97316, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-heading-emoji {
  display: inline-block;
  font-style: normal;
  font-size: 0.7em;
  -webkit-text-fill-color: initial;
  animation: wiggle 3s ease-in-out infinite;
  vertical-align: middle;
  margin-left: 0.2em;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(-8deg) scale(1.1); }
  75% { transform: rotate(8deg) scale(1.05); }
}

/* ── Hero Floating Emojis ─────────────────── */
.hero-fire-emoji {
  position: absolute;
  left: 5%;
  top: 30%;
  font-size: 3rem;
  opacity: 0.8;
  animation: floatBounce 4s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.hero-pizza-emoji {
  position: absolute;
  right: 8%;
  bottom: 35%;
  font-size: 2.5rem;
  opacity: 0.6;
  animation: floatBounce 5s ease-in-out infinite reverse;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.08));
}
@keyframes floatBounce {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

/* ── Hero Subtitle ────────────────────────── */
.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.25rem);
  color: #6b7280;
  max-width: 30rem;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* ── Hero Search Bar ──────────────────────── */
.hero-search-bar {
  background: #fff;
  border-radius: 1.25rem;
  padding: 0.35rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
}
.hero-search-bar:focus-within {
  box-shadow: 0 8px 40px rgba(249,115,22,0.1), 0 2px 8px rgba(0,0,0,0.06);
  border-color: rgba(249,115,22,0.2);
}
.hero-search-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
}
.hero-search-emoji {
  font-size: 1.4rem;
  flex-shrink: 0;
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.95rem;
  color: #1f2937;
  min-width: 0;
}
.hero-search-animated-placeholder {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 0.95rem;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
}
.hero-search-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}
.hero-search-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
}

/* ── Hero Pill Buttons ────────────────────── */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  font-size: 0.82rem;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: all 0.3s;
}
.hero-pill:hover {
  background: #fef7ee;
  border-color: rgba(249,115,22,0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(249,115,22,0.08);
  color: #c2410c;
}

/* ── Section Headings ─────────────────────── */
.section-heading {
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 800;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-heading-bar {
  margin-top: 0.5rem;
  height: 3px;
  width: 2.5rem;
  border-radius: 3px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

/* ── Mobile Menu ──────────────────────────── */
.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  border: none;
  background: transparent;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.mobile-menu-item:hover, .mobile-menu-item.active {
  background: #fef7ee;
  color: #ea580c;
}

/* ── Mobile Bottom Nav ────────────────────── */
.mobile-bottom-nav {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 -2px 16px rgba(0,0,0,0.04);
}

/* ── Buttons ───────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #f97316, #ef4444);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(249,115,22,0.35);
}
.btn-primary-sm {
  background: linear-gradient(135deg, #f59e0b, #f97316, #ef4444);
  color: #fff;
  font-weight: 700;
  padding: 0.5rem 1.15rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.btn-primary-sm:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(249,115,22,0.3); }
.btn-google {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  color: #333;
  font-weight: 500;
  padding: 0.7rem 1.5rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-google:hover { background: #f9fafb; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.08); }
.pill-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  color: #374151;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.875rem;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.pill-btn:hover {
  background: linear-gradient(135deg, #fff7ed, #fff1f2);
  border-color: rgba(249,115,22,0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(249,115,22,0.1);
  color: #ea580c;
}

/* ── Navigation ────────────────────────────── */
#main-nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: all 0.4s;
}
#main-nav.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.05);
  border-bottom-color: rgba(0,0,0,0.06);
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.65rem;
  color: rgba(0,0,0,0.45);
  font-size: 0.9rem;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
}
.nav-link:hover { color: #1a1a2e; background: rgba(0,0,0,0.04); }
.nav-link.active { color: #ea580c; background: rgba(249,115,22,0.08); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
}
.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0.45rem 0.85rem;
  border-radius: 0.75rem;
  color: rgba(0,0,0,0.35);
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.3s;
}
.mobile-nav-btn:hover, .mobile-nav-btn.active { color: #ea580c; background: rgba(249,115,22,0.08); }

/* ── Restaurant Cards ──────────────────────── */
.restaurant-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.5rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.restaurant-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(249,115,22,0.2);
  box-shadow: 0 25px 50px rgba(0,0,0,0.1), 0 0 30px rgba(249,115,22,0.05);
}
.restaurant-card .card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.restaurant-card:hover .card-img { transform: scale(1.08); }
.restaurant-card p, .restaurant-card span { color: #6b7280; }
.restaurant-card h3 { color: #1a1a2e; }
.card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  color: #374151;
  text-transform: capitalize;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.card-fav-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #9ca3af;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.card-fav-btn:hover { background: #fff; color: #ef4444; transform: scale(1.2); }
.card-fav-btn.active { background: #fef2f2; color: #ef4444; border-color: rgba(239,68,68,0.2); animation: heartPop 0.4s ease; }
@keyframes heartPop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* ── Collection Cards ──────────────────────── */
.collection-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  height: 200px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.collection-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.collection-card:hover img { transform: scale(1.1); }
.collection-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #fff;
}

/* ── Star Rating ───────────────────────────── */
.star-rating { display: flex; gap: 4px; }
.star-rating .star {
  cursor: pointer;
  color: rgba(0,0,0,0.12);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.5rem;
}
.star-rating .star.filled { color: #f59e0b; text-shadow: 0 0 8px rgba(245,158,11,0.3); }
.star-rating .star:hover { transform: scale(1.25) rotate(5deg); }

/* ── Toast ─────────────────────────────────── */
.toast {
  padding: 0.8rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 280px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.toast-success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2); color: #15803d; }
.toast-error { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2); color: #b91c1c; }
.toast-info { background: rgba(59,130,246,0.1); border: 1px solid rgba(59,130,246,0.2); color: #1d4ed8; }

/* ── Leaderboard ───────────────────────────── */
.leader-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.leader-row:hover { background: #fefefe; transform: translateX(6px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.leader-row.top-1 { background: linear-gradient(135deg, #fffbeb, #fef3c7); border-color: rgba(245,158,11,0.15); box-shadow: 0 4px 20px rgba(245,158,11,0.08); }
.leader-row.top-2 { background: linear-gradient(135deg, #f9fafb, #f3f4f6); border-color: rgba(0,0,0,0.06); }
.leader-row.top-3 { background: linear-gradient(135deg, #fff7ed, #ffedd5); border-color: rgba(234,88,12,0.1); }
.leader-row p { color: #6b7280; }
.leader-row .font-semibold { color: #1a1a2e; }

/* ── Notification Items ────────────────────── */
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.notif-item:hover { background: #fafafa; transform: translateX(4px); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.notif-item.unread { border-left: 3px solid #f97316; background: #fff7ed; }
.notif-item p { color: #6b7280; }
.notif-item .font-semibold { color: #1a1a2e; }

/* ── Views ─────────────────────────────────── */
.view { display: none; }
.view.active { display: block; animation: fadeIn 0.4s ease; }

/* ── Review card ───────────────────────────── */
.review-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.25rem;
  padding: 1.25rem;
  transition: all 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}
.review-card:hover { background: #fafafa; border-color: rgba(0,0,0,0.08); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.review-card p { color: #6b7280; }
.review-card .font-semibold { color: #1a1a2e; }

/* ── Admin Tabs ────────────────────────────── */
.admin-tab {
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s;
}
.admin-tab:hover { color: #1a1a2e; background: #f9fafb; }
.admin-tab.active { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; border-color: transparent; box-shadow: 0 4px 15px rgba(249,115,22,0.25); }

/* ── Admin Dashboard Cards ────────────────── */
.admin-stat-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.admin-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
.admin-stat-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.25rem;
}
.admin-stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.admin-stat-label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
}
/* ── Badge ─────────────────────────────────── */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid rgba(249,115,22,0.15);
  color: #c2410c;
}

/* ── Auth Modal Override ───────────────────── */
#auth-modal .glass-card {
  background: rgba(255,255,255,0.95);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}
#auth-modal h2 { color: #1a1a2e; }
#auth-modal label { color: #6b7280 !important; }
#auth-modal p { color: #9ca3af; }
#auth-modal .text-gem-400 { color: #ea580c; }

/* ── Scrollbar ─────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.2); }

/* ── Animations ────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(100px); } to { opacity: 1; transform: translateX(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
@keyframes floatEmoji {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.4; }
  90% { opacity: 0.4; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}
@keyframes bounceSlow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(249,115,22,0.08); }
  50% { box-shadow: 0 0 30px rgba(249,115,22,0.15); }
}
@keyframes textGlow {
  0%, 100% { text-shadow: none; }
  50% { text-shadow: 0 0 30px rgba(249,115,22,0.2); }
}

.animate-fade-in { animation: fadeIn 0.6s ease both; }
.animate-fade-in-up { animation: fadeInUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-scale-in { animation: scaleIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both; }
.animate-bounce-slow { animation: bounceSlow 2.5s ease-in-out infinite; }
.animate-text-glow { animation: textGlow 3s ease-in-out infinite; }
.animate-pulse-glow { animation: pulseGlow 3s ease-in-out infinite; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

.floating-emoji {
  position: absolute;
  font-size: 1.5rem;
  animation: floatEmoji linear infinite;
  pointer-events: none;
  opacity: 0;
}

/* ── Map ───────────────────────────────────── */
.leaflet-popup-content-wrapper {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(0,0,0,0.08) !important;
  border-radius: 1.25rem !important;
  color: #1a1a2e !important;
  box-shadow: 0 15px 40px rgba(0,0,0,0.12) !important;
}
.leaflet-popup-tip { background: rgba(255,255,255,0.97) !important; }
.leaflet-popup-close-button { color: #6b7280 !important; }

/* ── Skeleton ──────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, rgba(0,0,0,0.03) 25%, rgba(0,0,0,0.06) 50%, rgba(0,0,0,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: 0.75rem;
}

/* ── Profile Header ────────────────────────── */
.profile-header-card {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 0 rgba(255,255,255,0.8) inset;
  position: relative;
  overflow: hidden;
}
.profile-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #f97316, #ef4444, #ec4899);
  border-radius: 1.5rem 1.5rem 0 0;
}

/* ── Review Action Buttons ────────────────── */
.review-action-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.review-action-btn:hover {
  color: #ea580c !important;
  background: rgba(249,115,22,0.06);
  transform: translateY(-1px);
}
.review-action-btn span { font-variant-numeric: tabular-nums; }

/* ── Comment Thread ───────────────────────── */
.comments-thread {
  border-left: 2px solid rgba(249,115,22,0.1);
  padding-left: 0.75rem;
  margin-left: 0.25rem;
}
.comment-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  animation: fadeIn 0.3s ease;
}
.comment-item:last-child { border-bottom: none; }

.comment-input {
  flex: 1;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: #1a1a2e;
  outline: none;
  transition: all 0.3s;
}
.comment-input:focus {
  border-color: rgba(249,115,22,0.4);
  box-shadow: 0 0 12px rgba(249,115,22,0.06);
  background: #fff;
}
.comment-input::placeholder { color: rgba(0,0,0,0.25); }

.comment-post-btn {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.comment-post-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}
.comment-post-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ── Share Modal ──────────────────────────── */
.share-modal-content {
  background: #fff;
  border-radius: 1.75rem;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  margin: 1rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
  border: 1px solid rgba(0,0,0,0.05);
}
.share-preview {
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
  border: 1px solid rgba(249,115,22,0.1);
  border-radius: 1rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.share-btn:hover {
  transform: translateY(-2px);
}
.share-btn-whatsapp {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid rgba(34,197,94,0.15);
}
.share-btn-whatsapp:hover {
  background: #bbf7d0;
  box-shadow: 0 8px 25px rgba(34,197,94,0.15);
}
.share-btn-instagram {
  background: linear-gradient(135deg, #fce7f3, #ede9fe);
  color: #a21caf;
  border: 1px solid rgba(168,85,247,0.12);
}
.share-btn-instagram:hover {
  background: linear-gradient(135deg, #fbcfe8, #ddd6fe);
  box-shadow: 0 8px 25px rgba(168,85,247,0.12);
}
.share-btn-copy {
  background: #f9fafb;
  color: #374151;
  border: 1px solid rgba(0,0,0,0.06);
}
.share-btn-copy:hover {
  background: #f3f4f6;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

/* ── User Profile Modal ───────────────────── */
.user-profile-modal-content {
  background: #fff;
  border-radius: 1.75rem;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  margin: 1rem;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
  border: 1px solid rgba(0,0,0,0.05);
  max-height: 85vh;
  overflow-y: auto;
}
.user-profile-modal-content::-webkit-scrollbar { width: 3px; }
.user-profile-modal-content::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.08); border-radius: 3px; }

.border-gradient-orange {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
}

.follow-modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  box-shadow: 0 4px 16px rgba(249,115,22,0.25);
}
.follow-modal-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 25px rgba(249,115,22,0.35);
}
.follow-modal-btn.following {
  background: #fff;
  color: #15803d;
  border: 1px solid rgba(34,197,94,0.2);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.follow-modal-btn.following:hover {
  background: #fef2f2;
  color: #b91c1c;
  border-color: rgba(239,68,68,0.2);
  box-shadow: 0 4px 16px rgba(239,68,68,0.1);
}

.user-review-mini {
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 0.75rem;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.25s;
}
.user-review-mini:hover {
  background: rgba(249,115,22,0.03);
  border-color: rgba(249,115,22,0.1);
  transform: translateX(2px);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Map Controls ─────────────────────────── */
.map-controls {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;
  margin-left: 0.75rem;
}
.map-ctrl-btn {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0.65rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  white-space: nowrap;
}
.map-ctrl-btn:hover {
  background: #fef7ee;
  border-color: rgba(249,115,22,0.3);
  color: #ea580c;
}
.map-ctrl-btn.active {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(249,115,22,0.3);
}

/* ── Cluster Icons ────────────────────────── */
.marker-cluster-custom { background: transparent !important; }
.cluster-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.cluster-small {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
}
.cluster-medium {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #f97316, #ea580c);
}
.cluster-large {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  font-size: 0.9rem;
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 768px) {
  .collection-card { height: 150px; }
  .share-modal-content, .user-profile-modal-content { max-width: calc(100% - 2rem); padding: 1.5rem; }
  .hero-fire-emoji { font-size: 2rem; left: 3%; top: 25%; }
  .hero-pizza-emoji { font-size: 1.8rem; right: 3%; bottom: 30%; }
  .hero-section { min-height: 80vh; }
  .hero-heading { font-size: 2.5rem; }
  #floating-emojis { display: none; }
}

@media (max-width: 480px) {
  .hero-fire-emoji, .hero-pizza-emoji { display: none; }
  .hero-badge-text { font-size: 0.6rem; letter-spacing: 0.08em; }
}
