/* OBX Surfing — modern oceanic UI
   Public site: dark/cinematic. Members + admin: same palette, calmer chrome.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,600;9..144,800&display=swap');

:root {
  /* Brand */
  --bg-0: #060d18;          /* deepest */
  --bg-1: #0a1726;          /* page */
  --bg-2: #0f2236;          /* cards */
  --bg-3: #14304a;          /* elevated */
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.16);

  --ink: #eaf3fb;
  --ink-soft: #9fb4c7;
  --ink-mute: #6e8497;

  --accent: #ff7a3d;        /* sunrise */
  --accent-2: #ffb070;
  --teal: #3ee0c6;          /* sea-glass */
  --teal-deep: #1aa890;
  --gold: #ffd166;

  --ok: #4ee08a;
  --warn: #ffc266;
  --danger: #ff6b6b;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --shadow-lg: 0 30px 80px -20px rgba(0,0,0,0.6), 0 8px 24px -8px rgba(0,0,0,0.4);
  --shadow: 0 12px 32px -12px rgba(0,0,0,0.5);

  --container: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg-1);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

/* Subtle aurora background behind the whole page */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(62,224,198,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(255,122,61,0.10), transparent 60%),
    radial-gradient(1100px 700px at 50% 110%, rgba(20,168,144,0.10), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

a { color: var(--teal); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-2); }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 14px; line-height: 1.15; }
h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 800; font-size: clamp(2.2rem, 5.5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.01em; }
h3 { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.005em; }

p { margin: 0 0 12px; color: var(--ink-soft); }
.muted { color: var(--ink-mute); }
.tiny { font-size: 0.78rem; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(10, 23, 38, 0.72);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em;
}
.brand:hover { color: var(--ink); }
.brand .mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--gold) 100%);
  display: grid; place-items: center;
  box-shadow: 0 8px 20px -6px rgba(255,122,61,0.6);
}
.brand .mark svg { width: 18px; height: 18px; color: #1a0a05; }

.site-header nav {
  display: flex; gap: 6px; margin-left: auto; align-items: center;
}
.site-header nav a {
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  transition: all .15s ease;
}
.site-header nav a:hover { color: var(--ink); background: rgba(255,255,255,0.05); text-decoration: none; }
.site-header nav a.btn-nav {
  background: var(--accent);
  color: #1a0a05;
  font-weight: 700;
  padding: 8px 16px;
}
.site-header nav a.btn-nav:hover { background: var(--accent-2); color: #1a0a05; }

/* ============ LAYOUT ============ */
main { display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-tight { padding: 32px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 18px; height: 1px; background: var(--teal);
}

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1400px 700px at 70% 20%, rgba(62,224,198,0.15), transparent 60%),
              radial-gradient(900px 500px at 10% 80%, rgba(255,122,61,0.18), transparent 60%),
              linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
}
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 90px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'><path d='M0,60 C240,20 480,90 720,50 C960,10 1200,80 1440,40 L1440,90 L0,90 Z' fill='%230a1726'/></svg>") no-repeat;
  background-size: cover;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--gold) 60%, var(--teal) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 540px; margin-bottom: 28px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.hero-card .img {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(6,13,24,0.85) 100%),
    radial-gradient(circle at 30% 40%, #1d4763 0%, #0a1726 60%);
}
.hero-card .img::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'><defs><linearGradient id='w' x1='0' y1='0' x2='0' y2='1'><stop offset='0' stop-color='%2335a8c8' stop-opacity='0.3'/><stop offset='1' stop-color='%23ff7a3d' stop-opacity='0.2'/></linearGradient></defs><path d='M0,420 Q200,360 400,420 T800,420 L800,600 L0,600 Z' fill='url(%23w)'/><path d='M0,460 Q200,420 400,460 T800,460 L800,600 L0,600 Z' fill='%231aa890' opacity='0.25'/><circle cx='620' cy='130' r='60' fill='%23ffd166' opacity='0.85'/><path d='M0,520 Q200,490 400,520 T800,520 L800,600 L0,600 Z' fill='%230a1726'/></svg>") center/cover;
}
.hero-card .label {
  position: absolute; left: 20px; bottom: 18px; right: 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  color: var(--ink);
}
.hero-card .live {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 107, 107, 0.15);
  color: var(--danger);
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
  border: 1px solid rgba(255, 107, 107, 0.4);
}
.hero-card .live::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--danger);
  box-shadow: 0 0 0 0 rgba(255,107,107,0.7);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,107,107,0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(255,107,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,107,107,0); }
}

.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 40px;
}
.stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  padding: 16px 18px; border-radius: var(--radius);
}
.stat .n { font-family: 'Fraunces', Georgia, serif; font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.stat .l { font-size: 0.82rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============ BUTTONS ============ */
button, .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent);
  color: #1a0a05;
  border: none;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  transition: transform .08s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 20px -8px rgba(255,122,61,0.5);
}
button:hover, .btn:hover { background: var(--accent-2); transform: translateY(-1px); }
button:active, .btn:active { transform: translateY(0); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--ink-soft); }
.btn.secondary, button.secondary {
  background: var(--bg-3); color: var(--ink); box-shadow: none;
  border: 1px solid var(--line);
}
.btn.secondary:hover, button.secondary:hover { background: var(--bg-2); border-color: var(--line-strong); }
.btn.danger, button.danger { background: var(--danger); color: #2a0303; box-shadow: 0 8px 20px -8px rgba(255,107,107,0.4); }
.btn.danger:hover, button.danger:hover { background: #ff8585; }
.btn-sm { padding: 7px 14px; font-size: 0.85rem; }

/* ============ CARDS / GRID ============ */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.card {
  background: linear-gradient(180deg, var(--bg-2) 0%, rgba(15,34,54,0.6) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}

/* Spot card — visual, glassy, with cam preview */
.spot-card {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.spot-card:hover {
  transform: translateY(-3px);
  border-color: rgba(62,224,198,0.4);
  box-shadow: 0 18px 40px -14px rgba(62,224,198,0.18);
  text-decoration: none;
}
.spot-card .thumb {
  aspect-ratio: 16/9;
  position: relative;
  background:
    linear-gradient(180deg, transparent 30%, rgba(6,13,24,0.92) 100%),
    radial-gradient(ellipse at 50% 30%, #1d4763 0%, #0a1726 70%);
  overflow: hidden;
}
.spot-card .thumb::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 225'><path d='M0,160 Q100,140 200,160 T400,160 L400,225 L0,225 Z' fill='%231aa890' opacity='0.35'/><path d='M0,180 Q100,165 200,180 T400,180 L400,225 L0,225 Z' fill='%230a1726' opacity='0.7'/><circle cx='320' cy='50' r='22' fill='%23ffd166' opacity='0.7'/></svg>") center/cover;
}
.spot-card .thumb .live { position: absolute; top: 14px; left: 14px; }
.spot-card .thumb .cams-pill {
  position: absolute; top: 14px; right: 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.75rem; font-weight: 600;
  padding: 4px 10px; border-radius: 999px;
}
.spot-card .body { padding: 18px 20px 20px; }
.spot-card .region {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal);
}
.spot-card h3 { margin: 4px 0 8px; color: var(--ink); }
.spot-card .meta { font-size: 0.86rem; color: var(--ink-mute); display: flex; gap: 12px; flex-wrap: wrap; }
.spot-card .meta strong { color: var(--ink-soft); font-weight: 600; }

/* ============ LIVE TAG ============ */
.live {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,107,107,0.18);
  color: #ffb3b3;
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  border: 1px solid rgba(255,107,107,0.4);
  text-transform: uppercase;
}
.live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--danger);
  animation: pulse 1.6s infinite;
}

/* ============ BADGES / PILLS ============ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(62,224,198,0.10);
  color: var(--teal);
  font-size: 0.78rem; font-weight: 600;
  padding: 3px 10px; border-radius: 999px;
  border: 1px solid rgba(62,224,198,0.25);
}
.badge.gold { background: rgba(255,209,102,0.10); color: var(--gold); border-color: rgba(255,209,102,0.3); }
.badge.warm { background: rgba(255,122,61,0.10); color: var(--accent-2); border-color: rgba(255,122,61,0.3); }
.badge.cool { background: rgba(120,170,220,0.10); color: #a5c4e0; border-color: rgba(120,170,220,0.3); }

/* ============ SPOT DETAIL ============ */
.spot-header {
  padding: 56px 0 24px;
  border-bottom: 1px solid var(--line);
  background: radial-gradient(800px 300px at 30% 0%, rgba(62,224,198,0.10), transparent 60%);
}
.spot-header .region { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }
.spot-header h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.spot-header .row {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
}
.spot-header .row p { max-width: 640px; }

.cams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 18px;
  margin: 28px 0 40px;
}
.cam {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .15s ease;
}
.cam:hover { border-color: var(--line-strong); }
.cam .player {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.cam video { width: 100%; height: 100%; display: block; object-fit: cover; }
.cam .player .live { position: absolute; top: 12px; left: 12px; z-index: 2; }
.cam .label {
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.95rem; font-weight: 600; color: var(--ink);
  border-top: 1px solid var(--line);
}

.reports-feed {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.report {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .15s ease;
}
.report:hover { border-color: var(--line-strong); }
.report .head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.report .head strong { font-size: 1.05rem; color: var(--ink); }
.report .when { color: var(--ink-mute); font-size: 0.85rem; }
.report .stats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.report .body-text { color: var(--ink-soft); }

/* save button on spot page */
.save-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-3);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
  font-weight: 600;
}
.save-btn:hover { background: var(--bg-2); border-color: var(--accent); color: var(--accent-2); }
.save-btn.saved { background: rgba(255,209,102,0.12); border-color: var(--gold); color: var(--gold); }
.save-btn.saved:hover { background: rgba(255,209,102,0.18); }

/* ============ AUTH FORMS ============ */
.auth-wrap {
  display: grid; place-items: center; min-height: calc(100vh - 70px);
  padding: 48px 24px;
}
.auth-card {
  width: 100%; max-width: 440px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.auth-card::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255,122,61,0.4), rgba(62,224,198,0.4), transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.auth-card h2 { font-family: 'Fraunces', Georgia, serif; }
.auth-card .sub { color: var(--ink-mute); margin-bottom: 22px; font-size: 0.95rem; }

label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--ink-soft); margin: 14px 0 6px;
  letter-spacing: 0.02em;
}
input, textarea, select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255,255,255,0.03);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255,255,255,0.05);
}
input::placeholder, textarea::placeholder { color: var(--ink-mute); }

.auth-card .row-btn {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 22px;
}
.auth-card .row-btn a { font-size: 0.88rem; }

.checkbox-row {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  padding: 12px 14px; border-radius: 10px;
  cursor: pointer;
  margin-top: 6px;
}
.checkbox-row input { width: auto; }
.checkbox-row span { color: var(--ink); font-size: 0.92rem; }

.flash { padding: 12px 14px; border-radius: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.flash.error { background: rgba(255,107,107,0.12); color: #ffb3b3; border: 1px solid rgba(255,107,107,0.3); }
.flash.ok { background: rgba(78,224,138,0.12); color: #aef0c2; border: 1px solid rgba(78,224,138,0.3); }

/* ============ MEMBERS / DASHBOARD ============ */
.dash-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--line);
}
.dash-header .greeting {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.dash-header .greeting .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  margin-top: 32px;
}

.dash-side {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  height: fit-content;
}
.dash-side h3 { font-family: 'Fraunces', Georgia, serif; }
.dash-side .field { margin-bottom: 16px; }
.dash-side .field:last-child { margin-bottom: 0; }
.dash-side .small-label { font-size: 0.78rem; color: var(--ink-mute); letter-spacing: 0.06em; text-transform: uppercase; }
.dash-side .val { color: var(--ink); font-weight: 500; }

@media (max-width: 880px) {
  .dash-grid { grid-template-columns: 1fr; }
}

/* Empty state */
.empty {
  background: var(--bg-2);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--ink-soft);
}
.empty h3 { color: var(--ink); margin-bottom: 8px; }
.empty .btn { margin-top: 14px; }

/* ============ ADMIN ============ */
.admin-shell { padding: 32px 0 60px; }
.admin-shell h1 { font-family: 'Fraunces', Georgia, serif; font-size: 1.9rem; }

.tabbar {
  display: flex; gap: 4px;
  margin: 18px 0 22px;
  padding: 4px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: fit-content;
}
.tabbar button {
  background: transparent; color: var(--ink-soft);
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: none;
  transition: all .15s ease;
}
.tabbar button:hover { color: var(--ink); background: rgba(255,255,255,0.04); transform: none; }
.tabbar button.active { background: var(--bg-3); color: var(--ink); }

.panel-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 22px;
}
.panel-card h3 { font-family: 'Fraunces', Georgia, serif; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 640px) {
  .form-grid-2, .form-grid-4 { grid-template-columns: 1fr; }
}

table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
th, td {
  text-align: left; padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
th {
  background: rgba(255,255,255,0.02);
  font-size: 0.74rem; color: var(--ink-mute);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255,255,255,0.02); }
td strong { color: var(--ink); }

.row-actions { display: flex; gap: 8px; justify-content: flex-end; }
.row-actions button { padding: 6px 12px; font-size: 0.8rem; box-shadow: none; }

/* ============ FOOTER ============ */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 60px;
  padding: 40px 0 60px;
  color: var(--ink-mute);
  font-size: 0.88rem;
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }

/* ============ MISC ============ */
.spinner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 40px 0; color: var(--ink-mute);
}
.spinner::before {
  content: ''; width: 18px; height: 18px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 24px;
}
.filters .chip {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.86rem; font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
}
.filters .chip:hover { color: var(--ink); border-color: var(--line-strong); }
.filters .chip.active {
  background: var(--accent); color: #1a0a05; border-color: var(--accent);
  font-weight: 700;
}

/* Mobile header */
@media (max-width: 720px) {
  .hero { padding: 80px 0 70px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .site-header nav a:not(.btn-nav) { display: none; }
  .site-header nav a:nth-last-child(-n+2) { display: inline-flex; }
}
