:root {
  --primary: #7C3AED;
  --secondary: #2563EB;
  --accent: #F59E0B;
  --pawpink: #F472B6;
  --bg: #070B18;
  --surface: #111827;
  --text: #F8FAFC;
  --muted: #94A3B8;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); }

/* Background image: hero-bg-europe-paw-journey (Paris street, Unsplash) */
.hero-bg-europe-paw-journey {
  background-image: url("https://images.unsplash.com/photo-1499856871958-5b9627545d1a?auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
}

.glass {
  background: linear-gradient(145deg, rgba(17,24,39,.85), rgba(17,24,39,.5));
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(124,58,237,.35);
  transition: transform .4s ease, border-color .4s ease;
}
.glass:hover { border-color: rgba(245,158,11,.4); }
.card-hover:hover { transform: translateY(-4px); }

.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; padding: .6rem 1.1rem; font-size: .9rem; font-weight: 600;
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff;
  transition: filter .3s ease, transform .3s ease;
}
.btn-primary:hover { filter: brightness(1.15); transform: translateY(-1px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 999px; padding: .6rem 1.1rem; font-size: .9rem; font-weight: 600;
  border: 1px solid rgba(245,158,11,.5); color: var(--accent);
  transition: background .3s ease, color .3s ease;
}
.btn-ghost:hover { background: rgba(245,158,11,.12); }

.badge-dog {
  display: inline-flex; align-items: center; gap: .35rem;
  border-radius: 999px; padding: .25rem .65rem; font-size: .7rem; font-weight: 600;
  background: rgba(244,114,182,.18); color: #fbcfe8; border: 1px solid rgba(244,114,182,.4);
}
.rating-chip {
  display: inline-flex; align-items: center; gap: .3rem;
  border-radius: 999px; padding: .25rem .6rem; font-size: .75rem; font-weight: 700;
  background: rgba(7,11,24,.75); color: var(--text); border: 1px solid rgba(245,158,11,.4);
}
.country-chip {
  border-radius: 999px; padding: .45rem .9rem; font-size: .85rem;
  border: 1px solid rgba(255,255,255,.12); background: rgba(17,24,39,.6); color: var(--text);
  transition: border-color .3s ease, color .3s ease;
}
.country-chip:hover { border-color: var(--accent); color: var(--accent); }
.country-tab {
  border-radius: 999px; padding: .5rem 1rem; font-size: .85rem;
  border: 1px solid rgba(255,255,255,.1); color: var(--muted); transition: all .25s ease;
}
.country-tab[aria-selected="true"], .country-tab.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }

.spotlight {
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 40%), rgba(124,58,237,.28), transparent 60%);
  transition: background .2s linear;
}

.cloud {
  position: absolute; height: 90px; width: 260px; border-radius: 999px;
  background: radial-gradient(circle, rgba(248,250,252,.12), transparent 70%);
  filter: blur(6px); animation: drift 30s ease-in-out infinite alternate;
}
.cloud-1 { top: 12%; left: -40px; }
.cloud-2 { bottom: 18%; right: -60px; animation-duration: 40s; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(80px); } }

.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; bottom: 0; width: 4px; height: 4px; border-radius: 50%;
  background: var(--accent); opacity: .6; animation: floatUp 9s linear infinite;
}
@keyframes floatUp { from { transform: translateY(0); opacity: 0; } 10% { opacity: .7; } to { transform: translateY(-420px); opacity: 0; } }

.paw-trail { stroke-dasharray: 8 10; animation: trail 6s linear infinite; }
@keyframes trail { to { stroke-dashoffset: -180; } }

.marker-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 0 rgba(245,158,11,0)); }
  50% { transform: scale(1.35); opacity: .85; filter: drop-shadow(0 0 8px rgba(245,158,11,.8)); }
  100% { transform: scale(1); opacity: 1; }
}

.orbit-card { animation: orbitA 16s ease-in-out infinite; }
.orbit-card-b { animation: orbitB 19s ease-in-out infinite; }
.orbit-card-c { animation: orbitA 22s ease-in-out infinite reverse; }
@keyframes orbitA { 0%, 100% { transform: translate(0,0) rotate(-2deg); } 50% { transform: translate(12px,-18px) rotate(2deg); } }
@keyframes orbitB { 0%, 100% { transform: translate(0,0) rotate(2deg); } 50% { transform: translate(-14px,16px) rotate(-2deg); } }

.stamp-in { animation: stampIn 1.2s cubic-bezier(.2,.9,.3,1.4) both; background: rgba(7,11,24,.6); transform: rotate(-8deg); }
@keyframes stampIn { from { opacity: 0; transform: scale(1.6) rotate(-18deg); } to { opacity: .9; transform: scale(1) rotate(-8deg); } }

.bento { display: grid; gap: 1rem; grid-template-columns: repeat(12, minmax(0, 1fr)); }

.bar-track { height: .5rem; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--pawpink)); }

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

.prose-editorial h1, .prose-editorial h2 { scroll-margin-top: 2rem; }

.gallery-thumb { border-radius: 1rem; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery-thumb:hover img { transform: scale(1.06); }

.modal-backdrop { background: rgba(7,11,24,.85); backdrop-filter: blur(6px); }

.skip-link { position: absolute; left: -999px; top: 0; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 60; background: #fff; color: #000; padding: .5rem 1rem; border-radius: .5rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 768px) {
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:col-span-5 { grid-column: span 5 / span 5; }
  .md\:col-span-6 { grid-column: span 6 / span 6; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .md\:col-span-12 { grid-column: span 12 / span 12; }
}
.col-span-12 { grid-column: span 12 / span 12; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}