/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #14110e;
  --panel: #1f1b17cc;
  --line: #ffffff17;
  --text: #f6f0e6;
  --muted: #b0a99d;
  --orange: #f08039;
  --orange-2: #ffb15c;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; min-height: 100svh; background: var(--bg); color: var(--text); font: 16px/1.4 "Segoe UI", system-ui, -apple-system, Arial, sans-serif; overflow-x: hidden; }
button, input { color: inherit; font: inherit; }
button { cursor: pointer; }

/* ---------- Animated background ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.blob { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; opacity: .5; will-change: transform; }
.b1 { background: radial-gradient(circle closest-side, #f0803977, transparent); top: -20vmax; left: -15vmax; animation: drift1 22s ease-in-out infinite alternate; }
.b2 { background: radial-gradient(circle closest-side, #d1384a66, transparent); bottom: -25vmax; right: -10vmax; animation: drift2 26s ease-in-out infinite alternate; }
.b3 { background: radial-gradient(circle closest-side, #f2b43c4d, transparent); top: 30%; left: 40%; width: 35vmax; height: 35vmax; animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vmax, 14vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vmax, -12vmax) scale(1.2); } }
@keyframes drift3 { to { transform: translate(-20vmax, 10vmax) scale(.8); } }

/* ---------- Entrance reveal ---------- */
.reveal { animation: reveal 1s var(--ease) calc(var(--d, 0) * 110ms + 150ms) backwards; }
@keyframes reveal { from { opacity: 0; transform: translateY(24px); } }

/* ---------- Header ---------- */
header { position: sticky; top: 0; z-index: 20; height: 74px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: #14110ef2; animation: slideDown .8s var(--ease) both; }
@keyframes slideDown { from { transform: translateY(-100%); } }
.brand { display: flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; font-size: 18px; font-weight: 750; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(135deg, var(--orange-2), #e2561f); box-shadow: 0 6px 20px #f0803955; transition: transform .5s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-14deg) scale(1.12); }
.brand-mark svg { width: 24px; }
.brand-name span { color: var(--orange-2); }
.header-pill { display: flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 99px; background: #ffffff0a; color: var(--muted); font-size: 12.5px; }
.header-pill b { color: var(--text); font-variant-numeric: tabular-nums; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4ade80; animation: ping 2s ease-out infinite; }
@keyframes ping { to { transform: scale(2.8); opacity: 0; } }

/* ---------- Layout ---------- */
main { width: min(1700px, 100%); min-height: calc(100vh - 74px); margin: auto; padding: 27px 4vw 30px; display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 26px; }
.sidebar { min-width: 0; }
.eyebrow { margin: 8px 0 12px; color: var(--orange-2); font-size: 10.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -1.8px; }
.shimmer { background: linear-gradient(100deg, #ff8a3d 20%, #ffe0a3 45%, #ff8a3d 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4.5s linear infinite; }
@keyframes shimmer { to { background-position: -250% 0; } }
.intro { max-width: 330px; margin: 12px 0 18px; color: var(--muted); font-size: 14px; line-height: 1.65; }

/* Search */
.search { display: flex; align-items: center; gap: 10px; padding: 0 14px; height: 44px; border: 1px solid var(--line); border-radius: 13px; background: #ffffff0b; transition: border-color .3s, box-shadow .3s, background .3s; }
.search:focus-within { border-color: #f0803988; background: #ffffff10; box-shadow: 0 0 0 4px #f0803922; }
.search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 14px; }
.search input::placeholder { color: #8c857a; }

.section-row { margin: 22px 1px 11px; display: flex; align-items: center; justify-content: space-between; }
.section-row h2 { margin: 0; font-size: 13px; }
.shuffle { padding: 5px 10px; border: 1px solid var(--line); border-radius: 99px; background: #ffffff0a; font-size: 11.5px; transition: transform .3s var(--spring), background .3s; }
.shuffle:hover { background: #f0803933; transform: scale(1.07) rotate(-2deg); }
.shuffle:active { transform: scale(.94); }
.empty { color: var(--muted); font-size: 13px; }

/* ---------- Spot cards ---------- */
.spot-list { display: grid; gap: 9px; }
.spot-card { --mx: 50%; --my: 50%; position: relative; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); color: var(--text); text-align: left; animation: cardIn .8s var(--ease) calc(var(--i) * 80ms + 500ms) backwards; transition: border-color .4s var(--ease), transform .5s var(--ease), box-shadow .4s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateX(-30px); } }
.spot-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(180px circle at var(--mx) var(--my), #f0803930, transparent 70%); opacity: 0; transition: opacity .3s; }
.spot-card:hover::before, .spot-card.active::before { opacity: 1; }
.spot-card:hover { transform: translateX(6px); border-color: #f0803966; }
.spot-card.active { border-color: #f08039; box-shadow: 0 8px 30px #f0803928, inset 3px 0 0 var(--orange); transform: translateX(6px); }
.spot-card.hide { display: none; }
.spot-icon { position: relative; flex: none; width: 41px; height: 41px; display: grid; place-items: center; border-radius: 12px; background: #3b2a20; font-size: 20px; transition: transform .5s var(--spring); }
.spot-card:hover .spot-icon { transform: rotate(-10deg) scale(1.12); }
.spot-copy { position: relative; min-width: 0; flex: 1; }
.spot-copy strong, .spot-copy small { display: block; }
.spot-copy strong { margin-bottom: 3px; font-size: 13.5px; }
.spot-copy small { color: var(--muted); font-size: 11.5px; }
.spot-arrow { position: relative; width: 16px; height: 16px; color: #aaa69e; transition: transform .3s var(--ease), color .3s; }
.spot-card:hover .spot-arrow, .spot-card.active .spot-arrow { transform: translateX(4px); color: var(--orange-2); }
