:root{
  --hdrImg: none;
  --bg:#0b1220;
  --panel:#ffffff;
  --muted:#6b7280;
  --text:#0f172a;
  --border:#e5e7eb;
  --purple:#a78bfa;
  --purple-2:#7c3aed;

  --red:#dc2626;      --red-bg:#fef2f2;      --red-br:#fee2e2;
  --green:#059669;    --green-bg:#ecfdf5;    --green-br:#d1fae5;
  --orange:#ea580c;   --orange-bg:#fff7ed;   --orange-br:#ffedd5;
  --violet:#7c3aed;   --violet-bg:#f5f3ff;   --violet-br:#ede9fe;

  --amber:#b45309;    --amber-bg:#fffbeb;    --amber-br:#fef3c7;

  --radius:16px;
  --shadow:0 10px 30px rgba(2,6,23,.08);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:#fff;
}

a{color:var(--purple-2); text-decoration:underline; text-underline-offset:3px}
a:hover{opacity:.85}

.wrap{max-width:780px; margin:0 auto; padding:0 22px}

/* Header */
.hdr{
  position:relative;
  color:#fff;
  background:var(--bg);
  overflow:hidden;
  padding-bottom:72px;
}
.hdr__bg{
  position:absolute; inset:0;
  /* You'll swap this background image via JS (snow.jpg / rain.jpg). */
  background-image: var(--hdrImg), linear-gradient(180deg, rgba(11,18,32,.40), rgba(11,18,32,.68), rgba(11,18,32,1)),
    linear-gradient(90deg, rgba(124,58,237,.16), rgba(0,0,0,0));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.nav {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #5c0f8c8c;
  backdrop-filter: blur(10px);
}
.nav__row{display:flex; align-items:center; justify-content:space-between; padding:14px 22px}
.brand__name{font-weight:800; letter-spacing:-.02em}
.brand__accent{color:var(--purple)}
.updated{
  display:flex; gap:10px; align-items:center;
  font-size:12px; font-weight:600;
  color:rgba(255,255,255,.80);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding:8px 12px;
  border-radius:999px;
}
.updated__dot{
  width:8px; height:8px; border-radius:99px;
  background:#34d399;
  box-shadow:0 0 10px rgba(52,211,153,.45);
  animation:pulse 1.6s infinite;
}
@keyframes pulse{0%,100%{transform:scale(1); opacity:1}50%{transform:scale(1.15); opacity:.75}}

.hero{position:relative; padding:44px 22px 6px}
.pill{
  display:inline-flex;
  font-size:12px;
  font-weight:600;
  color:#efe9ff;
  background:rgba(167,139,250,.18);
  border:1px solid rgba(167,139,250,.25);
  padding:7px 12px;
  border-radius:999px;
}
.hero__h1{
  margin:16px 0 10px;
  line-height:1.05;
  letter-spacing:-.03em;
  font-size:44px;
}
.hero__accent{
  color:transparent;
  -webkit-text-fill-color:transparent;
  background:linear-gradient(90deg, rgba(196,181,253,1), rgba(237,233,254,1), rgba(255,255,255,1));
  -webkit-background-clip:text;
  background-clip:text;
}
.hero__lead{
  margin:0;
  color:rgba(255,255,255,.72);
  font-size:14px;
  max-width:520px;
  line-height:1.55;
}

/* Main card stack pulled up */
.main{
  margin-top:-34px;
  padding-bottom:70px;
  position:relative;
}

/* Notice */
.notice{
  display:flex; gap:14px;
  background:var(--amber-bg);
  border:1px solid var(--amber-br);
  border-radius:14px;
  padding:16px;
  box-shadow:0 2px 10px rgba(2,6,23,.04);
  margin-bottom:14px;
}
.notice__icon{
  width:26px; height:26px;
  border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  color:var(--amber);
  border:1px solid var(--amber-br);
  background:#fff;
  font-weight:800;
  margin-top:1px;
}
.notice__title{font-weight:700; color:#78350f; font-size:13px; margin-bottom:4px}
.notice__text{color:rgba(120,53,15,.85); font-size:13px; line-height:1.45}

/* Extra details block (above search) */
.details{
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px 16px;
  box-shadow:0 2px 10px rgba(2,6,23,.04);
  margin:0 0 16px;
  color:#334155;
  font-size:13px;
  line-height:1.5;
}

/* Filters */
.filters{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:0 0 14px;
}
.search{
  flex:1 1 360px;
  position:relative;
}
.search__icon{
  position:absolute; left:12px; top:50%;
  transform:translateY(-50%);
  font-size:14px;
  opacity:.6;
}
.search input{
  width:100%;
  padding:11px 12px 11px 36px;
  border:1px solid var(--border);
  border-radius:12px;
  font-size:14px;
  outline:none;
  box-shadow:0 2px 10px rgba(2,6,23,.04);
}
.search input:focus{border-color:rgba(124,58,237,.45); box-shadow:0 0 0 3px rgba(124,58,237,.12)}
.select select{
  min-width:150px;
  padding:11px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  font-size:14px;
  box-shadow:0 2px 10px rgba(2,6,23,.04);
}

/* List */
.list{display:flex; flex-direction:column; gap:10px}
.card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 2px 10px rgba(2,6,23,.04);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover{transform:translateY(-2px)}

/* Make whole card clickable without link styling */
.card--link{display:block; color:inherit; text-decoration:none; cursor:pointer}
.card--link:visited{color:inherit}
.card--link:hover{opacity:1}
.card__row{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
}
.card__name{
  font-weight:700;
  font-size:15px;
  margin:0;
}
.card__addr{
  margin:6px 0 0;
  font-size:12px;
  color:var(--muted);
  display:flex;
  gap:6px;
  align-items:center;
}
.card__addr span{opacity:.7}
.pilltag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:12px;
  padding:7px 10px;
  border-radius:10px;
  border:1px solid transparent;
  white-space:nowrap;
}
.pilltag__dot{
  width:10px; height:10px; border-radius:99px;
  border:2px solid currentColor;
  opacity:.55;
}

/* Status variants */
.is-open:hover{border-color:var(--green-br); box-shadow:0 12px 26px rgba(5,150,105,.10)}
.is-closed:hover{border-color:var(--red-br); box-shadow:0 12px 26px rgba(220,38,38,.10)}
.is-closing:hover{border-color:var(--orange-br); box-shadow:0 12px 26px rgba(234,88,12,.10)}
.is-opening:hover{border-color:var(--violet-br); box-shadow:0 12px 26px rgba(124,58,237,.10)}

.tag-open{color:var(--green); background:var(--green-bg); border-color:var(--green-br)}
.tag-closed{color:var(--red); background:var(--red-bg); border-color:var(--red-br)}
.tag-closing{color:var(--orange); background:var(--orange-bg); border-color:var(--orange-br)}
.tag-opening{color:var(--violet); background:var(--violet-bg); border-color:var(--violet-br)}

.card a{color:inherit; text-decoration:none}
.card a:hover{opacity:.95}

/* Footer */
.ftr{margin-top:26px; padding-top:18px; border-top:1px solid #f1f5f9; text-align:center}
.ftr__line{font-size:12px; color:#64748b}
.ftr__small{margin-top:10px; font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:#94a3b8; font-weight:700}

.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;
}

@media (max-width: 700px) {
  .card__row div:first-child {
    width: 100%;
  }
  .card__row {
    flex-wrap: wrap;
  }
}

@media (max-width:520px){
  .hero__h1{font-size:38px}
}

.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand__img{height:22px; width:auto; display:block}
@media (min-width:640px){ .brand__img{height:24px} }
