:root {
  --bg: #08090a;
  --card: rgba(255, 255, 255, 0.025);
  --card-hover: rgba(255, 255, 255, 0.05);
  --border: rgba(255, 255, 255, 0.08);
  --text: #ededee;
  --muted: #8a8a93;
  --faint: #5a5a63;
  --emerald: #34d399;
  --amber: #fbbf24;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  min-height: 100vh;
  background-image:
    radial-gradient(900px 500px at 50% -10%, rgba(52, 211, 153, 0.10), transparent 70%),
    radial-gradient(600px 400px at 90% 10%, rgba(52, 211, 153, 0.05), transparent 70%);
  background-attachment: fixed;
}
a { color: inherit; }
.wrap { max-width: 960px; margin: 0 auto; padding: 80px 24px 64px; }

.kicker { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--faint); font-weight: 600; }
h1 { margin-top: 14px; font-size: clamp(34px, 6vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -0.02em; }
h1 .dim { color: var(--faint); }
.sub { margin-top: 16px; max-width: 560px; color: var(--muted); font-size: 16px; line-height: 1.6; }

.section-label { display: flex; align-items: baseline; gap: 10px; margin: 56px 0 18px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.section-label .count { color: var(--faint); letter-spacing: 0; font-weight: 500; }

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

/* cards */
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease; }
a.card:hover { transform: translateY(-3px); background: var(--card-hover); border-color: rgba(52, 211, 153, 0.45); box-shadow: 0 12px 40px -12px rgba(52, 211, 153, 0.25); }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.name { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.desc { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.card-foot { margin-top: 16px; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--faint); }
a.card:hover .card-foot { color: var(--emerald); }
.arrow { transition: transform 0.18s ease; }
a.card:hover .arrow { transform: translateX(3px); }

/* image slot + placeholder */
.thumb { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #15161a, #0c0d10); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb-ph { font-size: 44px; font-weight: 800; color: rgba(255,255,255,0.08); letter-spacing: -0.02em; user-select: none; }
.detail-thumb .thumb-ph { font-size: 96px; }

/* status pills */
.pill { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.pill.live { color: var(--emerald); background: rgba(52, 211, 153, 0.12); }
.pill.building { color: var(--amber); background: rgba(251, 191, 36, 0.12); }

footer { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); color: var(--faint); font-size: 13px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--emerald); }

/* detail page */
.back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.15s ease; }
.back:hover { color: var(--emerald); }
.detail-hero { margin-top: 36px; }
.detail-hero .row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.detail-hero h1 { margin: 0; font-size: clamp(30px, 5vw, 44px); }
.detail-thumb { margin: 28px 0; aspect-ratio: 16 / 9; border-radius: 18px; border: 1px solid var(--border); }
.detail-body { max-width: 620px; }
.detail-body p { color: #c4c4cb; font-size: 16px; line-height: 1.7; margin-bottom: 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 26px 0; }
.chip { font-size: 12px; color: var(--muted); background: rgba(255,255,255,0.04); border: 1px solid var(--border); padding: 5px 11px; border-radius: 999px; }
.btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 11px 18px; border-radius: 12px; background: var(--emerald); color: #07140d; font-weight: 700; font-size: 14px; text-decoration: none; transition: transform 0.15s ease, filter 0.15s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
