/* ================================
   DESIGN SYSTEM
   ================================ */
:root {
  --color-bg: #f5f3f0;
  --color-surface: #ffffff;
  --color-text: #1a1a2e;
  --color-text-secondary: #6b7280;
  --color-text-muted: #9ca3af;
  --color-border: #e5e7eb;

  --color-attraction: #0d9488;
  --color-attraction-light: #ccfbf1;
  --color-attraction-bg: #f0fdfa;
  --color-stay: #ea580c;
  --color-stay-light: #fff7ed;
  --color-stay-bg: #fff7ed;

  --color-upvote: #16a34a;
  --color-upvote-bg: #f0fdf4;
  --color-downvote: #dc2626;
  --color-downvote-bg: #fef2f2;

  --color-hero-start: #1a1a2e;
  --color-hero-end: #16213e;

  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 8px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.06);
  --shadow-toolbar: 0 2px 12px rgba(0,0,0,0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --transition-fast: 150ms ease;
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================
   RESET & BASE
   ================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--color-attraction);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #0f766e;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  display: block;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

/* ================================
   HERO
   ================================ */
#hero {
  position: relative;
  height: 45vh;
  min-height: 300px;
  max-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1589802829985-817e51171b92?w=1600&q=80') center 35% / cover no-repeat;
  animation: heroZoom 25s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26,26,46,0.55) 0%,
    rgba(22,33,62,0.65) 60%,
    rgba(22,33,62,0.8) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
  padding: 0 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  animation: fadeUp 0.8s ease-out both;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  margin-top: 8px;
  font-weight: 300;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.mountain-silhouette {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1;
}

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

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

/* ================================
   TOOLBAR
   ================================ */
#toolbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(245, 243, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: none;
  transition: box-shadow var(--transition-normal);
}

#toolbar.scrolled {
  box-shadow: var(--shadow-toolbar);
}

.toolbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.search-wrapper {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}

#search-input {
  width: 100%;
  padding: 10px 36px 10px 42px;
  font-size: 0.938rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

#search-input:focus {
  border-color: var(--color-attraction);
  box-shadow: 0 0 0 3px rgba(13,148,136,0.12);
}

#search-input::placeholder {
  color: var(--color-text-muted);
}

.search-clear {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--color-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.search-clear:hover {
  color: var(--color-text);
  background: var(--color-border);
}

.filter-buttons {
  display: flex;
  gap: 6px;
}

.filter-btn {
  padding: 8px 18px;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-full);
  color: var(--color-text-secondary);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--color-border);
}

.filter-btn.active {
  background: var(--color-text);
  color: #fff;
  border-color: var(--color-text);
}

/* ================================
   MAP
   ================================ */
#map-section {
  max-width: 1280px;
  margin: 24px auto;
  padding: 0 24px;
}

#map {
  height: 45vh;
  min-height: 350px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  z-index: 1;
}

.google-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.813rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.google-map-link:hover {
  color: var(--color-attraction);
}

.google-map-link svg {
  flex-shrink: 0;
}

#map.map-pulse {
  box-shadow: 0 0 0 3px var(--color-attraction), var(--shadow-card);
  transition: box-shadow 0.3s ease;
}

/* Custom markers */
.custom-marker {
  background: none !important;
  border: none !important;
}

.marker-highlighted {
  z-index: 1000 !important;
  filter: drop-shadow(0 0 8px rgba(13,148,136,0.5));
  animation: markerPulse 1.5s ease-in-out infinite;
}

@keyframes markerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}

/* Popup styling */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-card-hover) !important;
  padding: 0 !important;
}

.leaflet-popup-content {
  margin: 14px 16px !important;
  font-family: var(--font-body) !important;
  font-size: 0.875rem !important;
  line-height: 1.5 !important;
}

.leaflet-popup-content strong {
  display: block;
  font-size: 0.938rem;
  margin-bottom: 4px;
}

.leaflet-popup-content p {
  color: var(--color-text-secondary);
  margin-bottom: 6px;
}

.popup-readmore {
  font-weight: 500;
}

/* ================================
   PLACES GRID
   ================================ */
.places-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px 8px;
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.places-section.section-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon {
  flex-shrink: 0;
  color: var(--color-text-secondary);
}

.places-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

#no-results {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
}

/* ================================
   PLACE CARD
   ================================ */
.place-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);

  /* Fade-in on scroll */
  opacity: 0;
  transform: translateY(24px);
}

.place-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-slow), transform var(--transition-slow), box-shadow var(--transition-normal);
}

.place-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.place-card.highlighted {
  outline: 3px solid var(--color-attraction);
  outline-offset: 2px;
}

.place-card[data-type="stay"].highlighted {
  outline-color: var(--color-stay);
}

.place-card[data-type="stay"] {
  background: linear-gradient(135deg, var(--color-stay-light) 0%, var(--color-surface) 40%);
}

/* Card Images / Carousel */
.card-images {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
  overflow: hidden;
}

.image-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-credit {
  position: absolute;
  bottom: 6px;
  right: 8px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.35);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

.image-credit a {
  color: rgba(255,255,255,0.9);
}

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.carousel-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0.8;
  transition: opacity var(--transition-fast), background var(--transition-fast);
  box-shadow: none;
}

.card-images:hover .carousel-prev,
.card-images:hover .carousel-next {
  opacity: 1;
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-prev:hover,
.carousel-next:hover {
  background: rgba(0,0,0,0.7);
}

.image-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d9488 0%, #16213e 100%);
  font-size: 3rem;
  opacity: 0.6;
}

.place-card[data-type="stay"] .image-fallback {
  background: linear-gradient(135deg, #ea580c 0%, #9a3412 100%);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Card Body */
.card-body {
  padding: 16px 20px 18px;
}

.card-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.card-badge.attraction {
  background: var(--color-attraction-light);
  color: var(--color-attraction);
}

.card-badge.stay {
  background: var(--color-stay-light);
  color: var(--color-stay);
}

.card-order {
  float: right;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 10px;
  line-height: 1.3;
  color: var(--color-text);
}

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

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 2px 8px;
  border-radius: 99px;
  background: #f1f5f9;
  color: #64748b;
}

/* Difficulty: easy → green */
.tag[data-group="easy"] {
  background: #dcfce7;
  color: #15803d;
}

/* Difficulty: moderate → amber */
.tag[data-group="moderate"] {
  background: #fef3c7;
  color: #b45309;
}

/* Difficulty: hard / danger → red */
.tag[data-group="hard"] {
  background: #fee2e2;
  color: #dc2626;
}

/* Crowded / popular → orange */
.tag[data-group="crowd"] {
  background: #ffedd5;
  color: #c2410c;
}

/* Scenery / views → sky blue */
.tag[data-group="scenery"] {
  background: #e0f2fe;
  color: #0369a1;
}

/* Nature / outdoors → emerald */
.tag[data-group="nature"] {
  background: #d1fae5;
  color: #047857;
}

/* Activities → purple */
.tag[data-group="activity"] {
  background: #ede9fe;
  color: #7c3aed;
}

/* Logistics / info → slate */
.tag[data-group="logistics"] {
  background: #f1f5f9;
  color: #475569;
}

.card-description {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  max-width: 60ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-description.expanded {
  -webkit-line-clamp: unset;
  display: block;
}

.read-more-toggle {
  display: none;
  margin-top: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-attraction);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.read-more-toggle:hover {
  color: #0f766e;
  text-decoration: underline;
}

.read-more-toggle.visible {
  display: inline-block;
}

/* Card Footer */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  min-width: 0;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-attraction);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.place-card[data-type="stay"] .card-link {
  color: var(--color-stay);
}

.card-link:hover {
  text-decoration: underline;
}

/* Vote Buttons */
.vote-buttons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.vote-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-right: 2px;
}

.vote-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  background: var(--color-surface);
  transition: all var(--transition-fast);
}

.vote-btn:hover {
  border-color: var(--color-text-muted);
}

.vote-btn.upvote:hover,
.vote-btn.upvote.active {
  background: var(--color-upvote-bg);
  border-color: var(--color-upvote);
  color: var(--color-upvote);
}

.vote-btn.downvote:hover,
.vote-btn.downvote.active {
  background: var(--color-downvote-bg);
  border-color: var(--color-downvote);
  color: var(--color-downvote);
}

.vote-btn.active {
  font-weight: 600;
}

.vote-icon {
  font-size: 0.7rem;
}

.vote-count {
  font-variant-numeric: tabular-nums;
  min-width: 1ch;
}

.vote-count.zero {
  opacity: 0.3;
}

/* Vote press animation */
.vote-btn.pressed {
  animation: votePress 0.3s ease;
}

@keyframes votePress {
  0% { transform: scale(1); }
  50% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Vote saved indicator */
.card-footer {
  position: relative;
  flex-wrap: wrap;
}

.vote-indicator {
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-upvote);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.vote-indicator.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================================
   VOTER NAME MODAL
   ================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
}

.modal-content {
  position: relative;
  background: var(--color-surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-hover);
  max-width: 380px;
  width: 90%;
  text-align: center;
  animation: fadeUp 0.3s ease-out;
}

.modal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.modal-content p {
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

#voter-name-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  margin-bottom: 14px;
  transition: border-color var(--transition-fast);
}

#voter-name-input:focus {
  border-color: var(--color-attraction);
}

.modal-buttons {
  display: flex;
  gap: 10px;
}

.btn-secondary {
  flex: 1;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.btn-secondary:hover {
  background: var(--color-border);
}

.btn-primary {
  flex: 2;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-attraction);
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.btn-primary:hover {
  background: #0f766e;
}

/* ================================
   LOADING OVERLAY
   ================================ */
#loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transition: opacity 0.4s ease;
}

#loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-attraction);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#loading-overlay p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* ================================
   SCROLL-TO-TOP
   ================================ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-text);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card-hover);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition-normal), transform var(--transition-normal), background var(--transition-fast);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top:hover {
  background: var(--color-attraction);
}

/* ================================
   RESULTS COUNTER
   ================================ */
.results-counter {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* ================================
   FOOTER
   ================================ */
footer {
  text-align: center;
  padding: 48px 24px;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

footer a {
  color: var(--color-text-secondary);
}

footer a:hover {
  color: var(--color-attraction);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 768px) {
  #hero {
    height: 38vh;
    min-height: 260px;
    max-height: 340px;
  }

  .toolbar-inner {
    flex-direction: column;
    gap: 10px;
    padding: 10px 16px;
  }

  .search-wrapper {
    width: 100%;
  }

  .filter-buttons {
    width: 100%;
    justify-content: center;
  }

  #map-section {
    padding: 0 16px;
    margin: 16px auto;
  }

  #map {
    height: 40vh;
    min-height: 280px;
    border-radius: var(--radius-md);
  }

  .places-section {
    padding: 16px 16px 32px;
  }

  .places-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .carousel-prev,
  .carousel-next {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .filter-btn {
    padding: 7px 14px;
    font-size: 0.813rem;
  }
}

/* ================================
   ACCESSIBILITY
   ================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ================================
   SKELETON LOADING
   ================================ */
.skeleton-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.skeleton-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.skeleton-body {
  padding: 16px 20px 18px;
}

.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  margin-bottom: 10px;
}

.skeleton-line.title {
  height: 20px;
  width: 65%;
  margin-bottom: 12px;
}

.skeleton-line.short {
  width: 40%;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ================================
   REDUCED MOTION
   ================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .place-card {
    opacity: 1;
    transform: none;
  }
}
