/* ============================================================
   AXION STUDIOS — Marketplace UI
   Dense, flat, marketplace-first. No neon, no floating orbs.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #0a0c10;
  --bg-alt:      #0d1016;
  --panel:       #11151c;
  --panel-2:     #161b24;
  --panel-3:     #1c2230;
  --line:        #222936;
  --line-2:      #2d3646;

  --text:        #e2e7f0;
  --muted:       #8d97a9;
  --dim:         #616b7d;

  --accent:      #7c5cff;
  --accent-2:    #a78bfa;
  --accent-soft: rgba(124, 92, 255, .12);
  --gold:        #f0b429;
  --gold-soft:   rgba(240, 180, 41, .12);
  --green:       #37d67a;
  --green-soft:  rgba(55, 214, 122, .1);
  --red:         #ef5350;
  --red-soft:    rgba(239, 83, 80, .1);

  --radius:      8px;
  --radius-lg:   12px;
  --shadow:      0 1px 2px rgba(0,0,0,.4);
  --shadow-lg:   0 12px 32px rgba(0,0,0,.45);
  --max:         1280px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: #fff; line-height: 1.25; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.05rem; }
h4 { font-size: .95rem; }

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

img { display: block; max-width: 100%; }

code, pre, .mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }

::selection { background: rgba(124,92,255,.35); color: #fff; }

/* ── Scrollbar ─────────────────────────────────────────────── */
* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid var(--bg); }

/* ── Top utility bar ───────────────────────────────────────── */
.topbar {
  background: linear-gradient(90deg, #06080c 0%, #090d14 50%, #06080c 100%);
  border-bottom: 1px solid rgba(124,92,255,.1);
  font-size: .75rem;
  color: var(--dim);
  position: relative;
  z-index: 91;
}
.topbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(124,92,255,.04) 50%, transparent 100%);
  pointer-events: none;
}
.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.topbar a { color: var(--dim); transition: color .18s ease; }
.topbar a:hover { color: var(--accent-2); }
.topbar .spacer { flex: 1; }
.topbar .pill {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted);
}
.topbar .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px rgba(55,214,122,.6);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(55,214,122,.6); }
  50%       { box-shadow: 0 0 12px rgba(55,214,122,.9); }
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(10, 12, 18, .88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow:
    0 1px 0 rgba(124,92,255,.08),
    0 4px 24px rgba(0,0,0,.35);
}
/* Subtle accent gradient sweep across the bottom of the header */
.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(124,92,255,.5) 30%,
    rgba(167,139,250,.6) 50%,
    rgba(124,92,255,.5) 70%,
    transparent 100%);
  pointer-events: none;
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; transition: opacity .2s ease; }
.brand:hover { color: inherit; opacity: .88; }
.brand-mark {
  width: 32px; height: 32px; flex-shrink: 0;
  border-radius: 8px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(124,92,255,.25), 0 2px 8px rgba(0,0,0,.4);
  transition: box-shadow .2s ease;
}
.brand:hover .brand-mark {
  box-shadow: 0 0 0 1px rgba(124,92,255,.5), 0 0 16px rgba(124,92,255,.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .14em;
  background: linear-gradient(135deg, #fff 30%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-text em {
  font-style: normal;
  font-size: .56rem;
  letter-spacing: .34em;
  color: var(--dim);
  margin-top: 5px;
}

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border: 0; background: none; cursor: pointer;
  border-radius: 6px;
  color: var(--muted);
  font: inherit; font-size: .84rem; font-weight: 500;
  white-space: nowrap;
}
.nav-links a, .nav-links button { transition: background .2s cubic-bezier(.25,.8,.25,1), color .2s cubic-bezier(.25,.8,.25,1); }
.nav-links a:hover, .nav-links button:hover { background: var(--panel-2); color: var(--text); }
.nav-links a.active { color: #fff; background: var(--panel-2); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: -12px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 460px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  z-index: 100;
}
.nav-item.open .nav-menu { display: grid; }
.nav-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: .82rem;
}
.nav-menu a { transition: background .18s ease, color .18s ease; }
.nav-menu a:hover { background: var(--panel-2); color: #fff; }
.nav-menu .ico {
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: .95rem;
}
.nav-menu .nm { display: flex; flex-direction: column; line-height: 1.3; }
.nav-menu .nm small { color: var(--dim); font-size: .7rem; }

.nav-search { position: relative; flex: 1; max-width: 380px; margin-left: auto; }
.nav-search input {
  width: 100%;
  height: 38px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  color: var(--text);
  font: inherit; font-size: .82rem;
  padding: 0 42px 0 34px;
  outline: none;
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav-search input::placeholder { color: var(--dim); }
.nav-search input:focus {
  border-color: rgba(124,92,255,.5);
  background: rgba(124,92,255,.06);
  box-shadow: 0 0 0 3px rgba(124,92,255,.12), inset 0 1px 2px rgba(0,0,0,.2);
}
.nav-search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--dim); pointer-events: none; transition: color .2s ease; }
.nav-search input:focus ~ svg { color: var(--accent-2); }
.nav-search button {
  position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 0; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), #9b6eff);
  color: #fff; cursor: pointer;
  box-shadow: 0 2px 8px rgba(124,92,255,.4);
  transition: transform .18s cubic-bezier(.25,.8,.25,1), box-shadow .18s ease, filter .18s ease;
  will-change: transform;
}
.nav-search button:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 14px rgba(124,92,255,.55);
  filter: brightness(1.1);
}

.nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.user-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 10px 4px 4px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px;
  color: var(--text);
  font: inherit; font-size: .82rem; font-weight: 500;
  cursor: pointer;
  max-width: 190px;
  backdrop-filter: blur(8px);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .15s ease;
  will-change: transform;
}
.user-btn:hover {
  border-color: rgba(124,92,255,.35);
  background: rgba(124,92,255,.08);
  box-shadow: 0 2px 12px rgba(124,92,255,.2);
  transform: translateY(-1px);
}
.user-btn .name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-wrap { position: relative; }
.user-menu {
  display: none;
  position: absolute; right: 0; top: calc(100% + 8px);
  width: 230px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  z-index: 120;
}
.user-menu.open { display: block; }
.user-menu-head {
  padding: 10px 10px 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.user-menu-head strong { display: block; font-size: .86rem; color: #fff; }
.user-menu-head span { display: block; font-size: .72rem; color: var(--dim); overflow: hidden; text-overflow: ellipsis; }
.user-menu a, .user-menu button {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0; background: none; border-radius: 6px;
  color: var(--muted); font: inherit; font-size: .82rem; text-align: left; cursor: pointer;
}
.user-menu a, .user-menu button { transition: background .18s ease, color .18s ease; }
.user-menu a:hover, .user-menu button:hover { background: var(--panel-2); color: #fff; }
.user-menu .sep { height: 1px; background: var(--line); margin: 6px 4px; }
.user-menu .danger { color: var(--red); }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 36px; height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-search { max-width: 240px; }
  .brand-text { display: none; }
}
@media (max-width: 860px) {
  .nav-links, .nav-search { display: none; }
  .nav-toggle { display: grid; }
  .nav-inner { height: 56px; gap: 10px; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--panel);
    border-bottom: 1px solid var(--line);
    padding: 10px;
    gap: 2px;
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open .nav-menu {
    position: static;
    min-width: 0;
    width: 100%;
    box-shadow: none;
    grid-template-columns: 1fr;
    border: 0;
    background: var(--bg-alt);
    margin-top: 4px;
  }
  .nav-links.open a.active::after { display: none; }
}

/* ── Layout ────────────────────────────────────────────────── */
.page-wrap { position: relative; z-index: 1; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section-sm { padding: 32px 0; }
.section-tight { padding: 36px 0 0; }

.layout-sidebar {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
@media (max-width: 900px) {
  .layout-sidebar { grid-template-columns: 1fr; }
}

/* ── Breadcrumbs ───────────────────────────────────────────── */
.crumbs {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .76rem; color: var(--dim);
  padding: 14px 0;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: #333c4c; }

/* ── Section headers ───────────────────────────────────────── */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.sec-label {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 4px;
}
.sec-title { font-size: 1.35rem; }
.sec-title .accent { color: var(--accent-2); }
.sec-sub { font-size: .84rem; color: var(--muted); margin-top: 4px; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 15px;
  border-radius: 6px;
  border: 1px solid transparent;
  font: inherit; font-size: .82rem; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s cubic-bezier(.25,.8,.25,1), border-color .2s cubic-bezier(.25,.8,.25,1), color .2s cubic-bezier(.25,.8,.25,1), box-shadow .2s cubic-bezier(.25,.8,.25,1), transform .15s cubic-bezier(.25,.8,.25,1);
  text-decoration: none;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: #6b4bf0; border-color: #6b4bf0; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(124,92,255,.35); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-outline:hover { background: var(--panel-2); color: #fff; border-color: #3b4557; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.08); }
.btn-gold { background: var(--gold); color: #1a1300; border-color: var(--gold); }
.btn-gold:hover { background: #ffc94a; border-color: #ffc94a; color: #1a1300; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(240,180,41,.3); }
.btn-danger { background: var(--red-soft); color: #ff8b89; border-color: rgba(239,83,80,.35); }
.btn-danger:hover { background: rgba(239,83,80,.2); color: #ffb3b1; }
.btn-sm { padding: 5px 10px; font-size: .76rem; }
.btn-lg { padding: 12px 22px; font-size: .9rem; }
.btn-block { width: 100%; }

/* ── Panels / cards ────────────────────────────────────────── */
.card, .panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.panel-flush { padding: 0; overflow: hidden; }
.card-hover { transition: border-color .2s cubic-bezier(.25,.8,.25,1), transform .2s cubic-bezier(.25,.8,.25,1), box-shadow .2s cubic-bezier(.25,.8,.25,1); }
.card-hover:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.panel-head h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.panel-body { padding: 16px; }
.panel-foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  font-size: .78rem;
  color: var(--muted);
}

/* ── Badges ────────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-premium { background: var(--gold-soft); color: var(--gold); border-color: rgba(240,180,41,.3); }
.badge-free    { background: var(--accent-soft); color: var(--accent-2); border-color: rgba(124,92,255,.3); }
.badge-new     { background: var(--green-soft); color: var(--green); border-color: rgba(55,214,122,.3); }
.badge-neutral { background: var(--panel-3); color: var(--muted); border-color: var(--line-2); }
.badge-danger  { background: var(--red-soft); color: #ff8b89; border-color: rgba(239,83,80,.3); }
.badge-verified { background: rgba(59,130,246,.12); color: #7cb0ff; border-color: rgba(59,130,246,.3); }

/* ── Avatars ───────────────────────────────────────────────── */
.avatar {
  width: 36px; height: 36px;
  border-radius: 6px;
  background: var(--panel-3);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 56px; height: 56px; font-size: 1.5rem; border-radius: 8px; }
.avatar-xl { width: 104px; height: 104px; font-size: 2.6rem; border-radius: 10px; }
.avatar-sm { width: 26px; height: 26px; font-size: .8rem; border-radius: 5px; }

/* ── Announce bar ──────────────────────────────────────────── */
.announce-bar {
  background: #0e1118;
  border-bottom: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.announce-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.announce-icon { color: var(--accent-2); font-size: .8rem; flex-shrink: 0; }
.announce-bar strong { color: #fff; font-size: .78rem; white-space: nowrap; }
.announce-sep { color: var(--line-2); }
.announce-bar span:not(.announce-icon):not(.announce-sep) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.announce-link {
  margin-left: auto;
  color: var(--accent-2);
  font-size: .76rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.announce-link { transition: color .18s ease; }
.announce-link:hover { color: #c4b5fd; }
.announce-close {
  background: none; border: 0; color: var(--dim); cursor: pointer;
  font-size: .9rem; padding: 2px 4px; flex-shrink: 0;
  line-height: 1;
}
.announce-close { transition: color .18s ease; }
.announce-close:hover { color: var(--text); }

/* ── Hero2 (new marketplace layout) ───────────────────────── */
.hero2 {
  background: var(--bg);
  overflow: hidden;
  position: relative;
}

.hero2-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-height: 420px;
  position: relative;
}

/* Left column */
.hero2-left {
  padding: 48px 40px 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero2-eyebrow {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}

.hero2-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 14px;
}

.hero2-accent {
  background: linear-gradient(90deg, #7c5cff, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero2-sub {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 24px;
}

/* Search bar */
.hero2-search {
  display: flex;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  overflow: hidden;
  max-width: 580px;
  height: 46px;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hero2-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.hero2-search-icon {
  padding: 0 10px 0 14px;
  color: var(--dim);
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.hero2-search input {
  flex: 1;
  height: 100%;
  background: none;
  border: 0;
  color: var(--text);
  font: inherit; font-size: .86rem;
  outline: none;
  min-width: 0;
}
.hero2-search input::placeholder { color: var(--dim); }
.hero2-sep {
  width: 1px; height: 24px;
  background: var(--line-2);
  flex-shrink: 0;
  margin: 0 2px;
}
.hero2-search select {
  height: 100%;
  background: none;
  border: 0;
  color: var(--muted);
  font: inherit; font-size: .78rem;
  outline: none;
  padding: 0 28px 0 10px;
  appearance: none;
  cursor: pointer;
  min-width: 110px;
  flex-shrink: 0;
}
.hero2-search select option { background: var(--panel); color: var(--text); }
.hero2-select-arrow {
  position: absolute;
  right: 112px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dim);
  pointer-events: none;
  display: flex;
  align-items: center;
}
.hero2-btn {
  height: 100%;
  border-radius: 0 7px 7px 0;
  padding: 0 20px;
  flex-shrink: 0;
  font-size: .84rem;
  font-weight: 700;
  letter-spacing: .02em;
}

/* Popular searches */
.hero2-popular {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.hero2-pop-label {
  font-size: .72rem;
  color: var(--dim);
}
.hero2-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .72rem;
  font-weight: 500;
  transition: border-color .12s, color .12s;
}
.hero2-tag { transition: border-color .18s ease, color .18s ease, background .18s ease; }
.hero2-tag:hover { border-color: var(--accent); color: var(--accent-2); background: var(--accent-soft); }

/* Stats row */
.hero2-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.hero2-stat-block {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.hero2-stat-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
}
.hero2-stat-num-sm {
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
}
.hero2-stat-lbl {
  font-size: .68rem;
  color: var(--dim);
  margin-top: 2px;
}
.avatar-stack {
  display: flex;
  margin-right: 6px;
}
.avatar-stack .avatar {
  margin-right: -8px;
  border: 2px solid var(--bg);
}
.avatar-stack .avatar:last-child { margin-right: 0; }
.hero2-stat-avatars {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero2-stat-community {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

/* Watermark */
.hero2-watermark {
  margin-top: auto;
  padding-top: 20px;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #2a3042;
  font-weight: 600;
}

/* Right column: image */
.hero2-right {
  position: relative;
  overflow: hidden;
}
.hero2-img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero2-castle {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero2-img-fade-left {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 35%);
  pointer-events: none;
}
.hero2-img-fade-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 50%);
  pointer-events: none;
}

/* Category strip at bottom of hero */
.hero2-cats-strip {
  border-top: 1px solid var(--line);
  background: rgba(10, 12, 16, .7);
  backdrop-filter: blur(4px);
}
.hero2-cats-row {
  display: flex;
  overflow-x: auto;
  gap: 2px;
  padding: 2px 0;
  scrollbar-width: none;
}
.hero2-cats-row::-webkit-scrollbar { display: none; }

.hero-cat-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 20px;
  min-width: 120px;
  flex: 1;
  border-right: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  transition: background .2s cubic-bezier(.25,.8,.25,1), color .2s cubic-bezier(.25,.8,.25,1), transform .2s cubic-bezier(.25,.8,.25,1), box-shadow .2s cubic-bezier(.25,.8,.25,1);
  white-space: nowrap;
}
.hero-cat-tile:last-child { border-right: 0; }
.hero-cat-tile:hover { background: var(--panel); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.hero-cat-icon {
  font-size: 1.3rem;
  display: block;
  color: var(--accent-2);
  font-style: normal;
  line-height: 1;
}
.hero-cat-label {
  font-size: .78rem;
  font-weight: 600;
  color: #fff;
  display: block;
}
.hero-cat-count {
  font-size: .64rem;
  color: var(--dim);
  display: block;
}

/* Browse bar */
.browse-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.browse-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.browse-diamond { color: var(--accent-2); flex-shrink: 0; }
.browse-txt { font-size: .82rem; color: var(--text); flex: 1; min-width: 200px; }
.browse-muted { color: var(--muted); }
.browse-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Nav get-started button */
.nav-getstarted {
  position: relative;
  font-size: .78rem;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-left: 4px;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #7c5cff 0%, #9b6eff 50%, #c084fc 100%) !important;
  border-color: transparent !important;
  color: #fff !important;
  box-shadow: 0 2px 12px rgba(124,92,255,.45), 0 1px 2px rgba(0,0,0,.3) !important;
  overflow: hidden;
  transition: transform .2s cubic-bezier(.25,.8,.25,1), box-shadow .2s ease, filter .2s ease !important;
  will-change: transform;
}
/* shimmer sweep */
.nav-getstarted::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%);
  transform: translateX(-100%);
  transition: transform .6s ease;
}
.nav-getstarted:hover::before { transform: translateX(100%); }
.nav-getstarted::after {
  content: '↗';
  font-size: .75rem;
  opacity: .9;
}
.nav-getstarted:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 22px rgba(124,92,255,.6), 0 2px 4px rgba(0,0,0,.3) !important;
  filter: brightness(1.08);
}

/* sec-label-demo sits next to section label */
.sec-label-demo { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; }

/* ── Hero / homepage (old, kept for compat) ────────────────── */
.hero {
  background:
    linear-gradient(180deg, rgba(124,92,255,.08), transparent 70%),
    linear-gradient(180deg, #0e1118, var(--bg));
  border-bottom: 1px solid var(--line);
  padding: 44px 0 36px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: center;
}

.hero-banner {
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: border-color .15s;
}
.hero-banner { transition: border-color .2s ease, box-shadow .2s ease; }
.hero-banner:hover { border-color: var(--line-2); box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.hero-banner img { width: 100%; height: auto; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 24px; } }

@media (max-width: 900px) {
  #home-split, .split-panel { grid-template-columns: 1fr !important; }
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -.03em;
  max-width: 620px;
}
.hero h1 .accent { color: var(--accent-2); }
.hero p.lead {
  color: var(--muted);
  font-size: .95rem;
  max-width: 560px;
  margin-top: 12px;
}
.hero-search {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  max-width: 560px;
}
.hero-search input {
  flex: 1;
  height: 42px;
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: 7px;
  color: var(--text);
  font: inherit; font-size: .86rem;
  padding: 0 14px;
  outline: none;
}
.hero-search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: .74rem;
  font-weight: 500;
}
.chip { transition: border-color .18s ease, color .18s ease, background .18s ease; }
.chip:hover { border-color: var(--line-2); color: #fff; background: var(--panel-2); }

.hero-side {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-side .row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
}
.hero-side .row:last-child { border-bottom: 0; }
.hero-side .row span { color: var(--muted); }
.hero-side .row strong { font-family: 'IBM Plex Mono', monospace; font-size: .84rem; color: #fff; }

/* ── Stat strip ────────────────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  overflow: hidden;
}
.stat-strip > div {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
}
.stat-strip > div:last-child { border-right: 0; }
.stat-strip .k { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.stat-strip .v { font-family: 'IBM Plex Mono', monospace; font-size: 1.35rem; font-weight: 600; color: #fff; margin-top: 3px; }
@media (max-width: 700px) {
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip > div:nth-child(2) { border-right: 0; }
  .stat-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ── Resource cards ────────────────────────────────────────── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 16px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .2s cubic-bezier(.25,.8,.25,1), transform .2s cubic-bezier(.25,.8,.25,1), box-shadow .2s cubic-bezier(.25,.8,.25,1);
}
.resource-card:hover { border-color: #39445a; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.rc-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1a2130, #12161f);
  display: grid;
  place-items: center;
  font-size: 2.4rem;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.rc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rc-thumb .price {
  position: absolute; top: 8px; right: 8px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .03em;
  background: var(--gold);
  color: #1a1300;
}
.rc-thumb .price.free { background: var(--panel); color: var(--accent-2); border: 1px solid var(--line-2); }
.rc-thumb .lock {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(8,10,14,.55);
  font-size: 1.5rem;
}
.rc-body { padding: 12px 14px 13px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.rc-cat {
  font-size: .64rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--dim);
}
.rc-title {
  font-size: .88rem; font-weight: 600; color: #fff;
  line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.rc-desc {
  font-size: .76rem; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.rc-author {
  display: flex; align-items: center; gap: 6px;
  font-size: .74rem; color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.rc-author .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-size: .7rem; color: var(--dim);
  font-family: 'IBM Plex Mono', monospace;
}
.rc-meta .left { display: flex; align-items: center; gap: 10px; }
.rc-meta .left span { display: inline-flex; align-items: center; gap: 4px; }

.stars { display: inline-flex; align-items: center; gap: 1px; color: var(--gold); font-size: .72rem; letter-spacing: .5px; }
.stars .empty { color: #39414f; }
.rating-row { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; color: var(--dim); }

/* ── Sidebar / filters ─────────────────────────────────────── */
.sidebar { position: sticky; top: 76px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 900px) { .sidebar { position: static; } }

.filter-group { border-bottom: 1px solid var(--line); padding: 14px 16px; }
.filter-group:last-child { border-bottom: 0; }
.filter-group h4 {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .12em;
  color: var(--dim); margin-bottom: 9px; font-weight: 700;
}
.filter-list { display: flex; flex-direction: column; gap: 1px; }
.filter-list a, .filter-list button {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px;
  border: 0; background: none; border-radius: 5px;
  color: var(--muted); font: inherit; font-size: .8rem;
  text-align: left; cursor: pointer;
  width: 100%;
}
.filter-list a:hover, .filter-list button:hover { background: var(--panel-2); color: #fff; }
.filter-list a.active, .filter-list button.active { background: var(--accent-soft); color: #fff; }
.filter-list .count { margin-left: auto; font-family: 'IBM Plex Mono', monospace; font-size: .7rem; color: var(--dim); }
.filter-list .ico { width: 18px; text-align: center; }

.check-row {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 0;
  font-size: .8rem; color: var(--muted);
  cursor: pointer;
}
.check-row input { accent-color: var(--accent); width: 14px; height: 14px; }

/* ── Toolbar ───────────────────────────────────────────────── */
.toolbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 11px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.toolbar .result-count { font-size: .78rem; color: var(--muted); }
.toolbar .result-count strong { color: #fff; font-family: 'IBM Plex Mono', monospace; }
.toolbar .spacer { flex: 1; }
.toolbar .inline-search {
  flex: 1; min-width: 180px; max-width: 300px;
  height: 32px; padding: 0 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text); font: inherit; font-size: .8rem;
  outline: none;
}
.toolbar .inline-search:focus { border-color: var(--accent); }

.select {
  height: 32px;
  padding: 0 30px 0 10px;
  background: var(--bg-alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%238d97a9' d='M5 7L1 3h8z'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text); font: inherit; font-size: .78rem;
  appearance: none;
  cursor: pointer;
  outline: none;
}
.select:focus { border-color: var(--accent); }
.select option { background: var(--panel); }

/* ── Tabs ──────────────────────────────────────────────────── */
.tabs {
  display: flex; gap: 2px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
  overflow-x: auto;
}
.tab {
  padding: 10px 14px;
  border: 0; background: none;
  color: var(--muted); font: inherit; font-size: .84rem; font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.tab { transition: color .18s ease, border-color .18s ease; }
.tab:hover { color: #fff; }
.tab.active { color: #fff; border-bottom-color: var(--accent); }

/* ── Forms ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label {
  display: block;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 6px;
}
.form-label .opt { text-transform: none; letter-spacing: 0; color: var(--dim); font-weight: 400; }
.input, .form-input, .form-select, .form-textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font: inherit; font-size: .84rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-input::placeholder, .form-textarea::placeholder { color: #4d5666; }
.form-input:disabled { opacity: .6; }
.form-textarea { min-height: 96px; resize: vertical; }
.form-hint { font-size: .72rem; color: var(--dim); margin-top: 5px; }
.form-error { font-size: .75rem; color: #ff8b89; margin-top: 5px; }
.form-ok { font-size: .75rem; color: var(--green); margin-top: 5px; }
.input-row { display: flex; gap: 8px; }
.input-row .form-input { flex: 1; }
.field-flag { display: inline-flex; align-items: center; gap: 5px; }
.field-flag.ok { color: var(--green); }
.field-flag.bad { color: #ff8b89; }

/* ── Data tables ───────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.data-table th {
  text-align: left;
  padding: 9px 12px;
  font-size: .68rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--dim); font-weight: 700;
  background: var(--panel-2);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  vertical-align: middle;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr td { transition: background .18s ease; }
.data-table tbody tr:hover td { background: rgba(255,255,255,.025); }
.data-table .strong { color: #fff; font-weight: 600; }

/* ── Profile ───────────────────────────────────────────────── */
.profile-head {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.profile-cover {
  height: 128px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 10px, transparent 10px 20px),
    linear-gradient(120deg, #1b1430, #161b24 60%);
  border-bottom: 1px solid var(--line);
}
.profile-head-body {
  padding: 0 20px 18px;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.profile-head-body .avatar-xl { margin-top: -48px; border: 3px solid var(--panel); }
.profile-id { flex: 1; min-width: 180px; padding-bottom: 4px; }
.profile-id h1 { font-size: 1.3rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-id .handle { font-size: .8rem; color: var(--dim); font-family: 'IBM Plex Mono', monospace; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}
.stat-tile {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.stat-tile .k { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.stat-tile .v { font-family: 'IBM Plex Mono', monospace; font-size: 1.2rem; font-weight: 600; color: #fff; margin-top: 3px; }

.progress { height: 6px; background: var(--panel-3); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .4s ease; }

.emoji-picker { display: flex; flex-wrap: wrap; gap: 6px; }
.emoji-btn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
}
.emoji-btn { transition: border-color .18s ease, background .18s ease, transform .15s ease; }
.emoji-btn:hover { border-color: var(--line-2); background: var(--panel-2); transform: scale(1.08); }
.emoji-btn.selected { border-color: var(--accent); background: var(--accent-soft); }

/* ── Resource detail ───────────────────────────────────────── */
.rd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}
@media (max-width: 900px) { .rd-grid { grid-template-columns: 1fr; } }

.rd-cover {
  aspect-ratio: 16/8;
  background: linear-gradient(135deg, #1a2130, #12161f);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  font-size: 4rem;
  overflow: hidden;
  margin-bottom: 18px;
}
.rd-cover img { width: 100%; height: 100%; object-fit: cover; }
.rd-title-row { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.rd-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .76rem; color: var(--dim);
  margin-bottom: 18px;
}
.rd-meta span { display: inline-flex; align-items: center; gap: 5px; }
.rd-actions .price-box {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 14px;
}
.price-box .price {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 1.8rem; font-weight: 600; color: #fff;
}
.price-box .price small { font-size: .75rem; color: var(--muted); font-family: 'Inter', sans-serif; }
.price-box .note { font-size: .74rem; color: var(--dim); margin-top: 5px; }

.author-box { display: flex; align-items: center; gap: 10px; }
.author-box .info { min-width: 0; }
.author-box .info strong { display: block; font-size: .85rem; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.author-box .info span { font-size: .72rem; color: var(--dim); }

.detail-list { display: flex; flex-direction: column; }
.detail-list .row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
}
.detail-list .row:last-child { border-bottom: 0; }
.detail-list .row .k { color: var(--dim); }
.detail-list .row .v { color: var(--text); font-family: 'IBM Plex Mono', monospace; font-size: .78rem; }

.prose { color: #b9c2d1; font-size: .88rem; line-height: 1.7; }
.prose p + p { margin-top: 12px; }
.prose ul { margin: 10px 0 0 18px; }
.prose li { margin-bottom: 5px; }
.prose pre {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  font-size: .78rem;
  white-space: pre-wrap;
  color: #b9c2d1;
}

.review {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.review:last-child { border-bottom: 0; }
.review-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.review-head .who { font-size: .82rem; font-weight: 600; color: #fff; }
.review-head .when { font-size: .72rem; color: var(--dim); margin-left: auto; }
.review p { font-size: .82rem; color: var(--muted); }

/* ── Star input ────────────────────────────────────────────── */
.star-input { display: inline-flex; gap: 2px; }
.star-input button {
  background: none; border: 0; cursor: pointer;
  font-size: 1.2rem; line-height: 1;
  color: #39414f;
  padding: 0 1px;
}
.star-input button.on { color: var(--gold); }

/* ── Forum ─────────────────────────────────────────────────── */
.thread-row {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease;
}
.thread-row:last-child { border-bottom: 0; }
.thread-row:hover { background: rgba(255,255,255,.025); }
.thread-row .main { flex: 1; min-width: 0; }
.thread-row .ttl { font-size: .86rem; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-row .by { font-size: .72rem; color: var(--dim); margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; }
.thread-row .nums { display: flex; gap: 16px; font-family: 'IBM Plex Mono', monospace; font-size: .74rem; color: var(--dim); }
.thread-row .nums b { color: var(--muted); font-weight: 500; }

.post-body { font-size: .88rem; color: #b9c2d1; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.reply {
  display: flex; gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.reply + .reply { margin-top: 8px; }
.reply .main { flex: 1; min-width: 0; }
.reply .head { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.reply .head strong { font-size: .8rem; color: #fff; }
.reply .head span { font-size: .7rem; color: var(--dim); }
.reply p { font-size: .82rem; color: var(--muted); white-space: pre-wrap; word-break: break-word; }

/* ── Leaderboard ───────────────────────────────────────────── */
.lb-row {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.lb-row:last-child { border-bottom: 0; }
.lb-row { transition: background .2s ease; }
.lb-row:hover { background: rgba(255,255,255,.025); }
.lb-rank {
  width: 30px; flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: .85rem; color: var(--dim); text-align: right;
}
.lb-row.top1 .lb-rank { color: var(--gold); }
.lb-row.top2 .lb-rank { color: #c9d2df; }
.lb-row.top3 .lb-rank { color: #d08b52; }
.lb-name { flex: 1; min-width: 0; }
.lb-name .n { font-size: .84rem; font-weight: 600; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-name .l { font-size: .7rem; color: var(--dim); }
.lb-val { font-family: 'IBM Plex Mono', monospace; font-size: .8rem; color: var(--muted); }

/* ── Pricing ───────────────────────────────────────────────── */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  align-items: start;
}
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  position: relative;
}
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(124,92,255,.4); }
.plan .tag {
  position: absolute; top: -1px; right: 16px;
  background: var(--accent); color: #fff;
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 0 0 5px 5px;
}
.plan .pname { font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-2); font-weight: 700; }
.plan .pprice { font-family: 'IBM Plex Mono', monospace; font-size: 2rem; font-weight: 600; color: #fff; margin: 8px 0 2px; }
.plan .pprice small { font-size: .76rem; color: var(--muted); font-family: 'Inter', sans-serif; }
.plan ul { list-style: none; margin: 16px 0 20px; display: flex; flex-direction: column; gap: 8px; }
.plan li { display: flex; gap: 8px; font-size: .8rem; color: var(--muted); }
.plan li .no { color: var(--dim); }
.plan li .yes { color: var(--green); }

/* ── Dropzone ──────────────────────────────────────────────── */
.dropzone {
  border: 1px dashed var(--line-2);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-alt);
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
}
.dropzone:hover, .dropzone.drag-over { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 4px rgba(124,92,255,.08); }
.dropzone .dz-title { font-size: .86rem; font-weight: 600; color: var(--text); margin-top: 8px; }
.dropzone .dz-sub { font-size: .74rem; color: var(--dim); margin-top: 3px; }

/* ── Auth pages ────────────────────────────────────────────── */
.auth-wrap {
  min-height: calc(100vh - 94px);
  display: grid;
  place-items: center;
  padding: 40px 20px;
}
.auth-card {
  width: 100%; max-width: 400px;
}
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-head .brand { justify-content: center; margin-bottom: 18px; }
.auth-head h1 { font-size: 1.35rem; margin-bottom: 4px; }
.auth-head p { font-size: .82rem; color: var(--muted); }
.auth-sep {
  display: flex; align-items: center; gap: 12px;
  margin: 16px 0;
  font-size: .72rem; color: var(--dim);
}
.auth-sep::before, .auth-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.oauth-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; height: 40px;
  border-radius: 6px;
  font: inherit; font-size: .84rem; font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line-2);
}
.oauth-btn + .oauth-btn { margin-top: 8px; }
.oauth-discord { background: #5865F2; border-color: #5865F2; color: #fff; }
.oauth-discord { transition: background .2s ease, transform .15s ease, box-shadow .2s ease; }
.oauth-discord:hover { background: #4752c4; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(71,82,196,.4); }
.oauth-google { background: #fff; border-color: #d7dbe4; color: #202124; }
.oauth-google { transition: background .2s ease, transform .15s ease, box-shadow .2s ease; }
.oauth-google:hover { background: #f1f3f7; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.auth-foot { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 16px; }

/* ── Toasts ────────────────────────────────────────────────── */
#toast-container {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: flex-start; gap: 9px;
  min-width: 260px; max-width: 360px;
  padding: 11px 14px;
  background: var(--panel-2);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  border-radius: 6px;
  font-size: .8rem;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toastIn .22s cubic-bezier(.34,1.56,.64,1);
}
.toast.success { border-left-color: var(--green); }
.toast.error { border-left-color: var(--red); }
.toast.info { border-left-color: var(--accent); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }

/* ── Download history ─────────────────────────────────────── */
.dl-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.dl-row:last-child { border-bottom: 0; }
.dl-row { transition: background .2s ease; }
.dl-row:hover { background: rgba(255,255,255,.025); }
.dl-thumb {
  width: 56px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  font-size: 1.1rem;
}
.dl-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dl-main { flex: 1; min-width: 0; }
.dl-title {
  display: block;
  font-size: .85rem; font-weight: 600; color: #fff;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.dl-title { transition: color .18s ease; }
.dl-title:hover { color: var(--accent-2); }
.dl-meta {
  display: flex; gap: 6px; flex-wrap: wrap;
  font-size: .72rem; color: var(--dim);
  margin-top: 2px;
}
@media (max-width: 620px) {
  .dl-thumb { display: none; }
  .dl-btn { flex-shrink: 0; }
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: #080a0e;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 20px 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { font-size: .8rem; color: var(--muted); max-width: 320px; }
.footer-brand .badges { display: flex; gap: 6px; margin-top: 14px; flex-wrap: wrap; }

.footer-col h4 {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 12px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: .8rem; color: var(--muted); }
.footer-col a { transition: color .18s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
  font-size: .74rem; color: var(--dim);
}
.footer-bottom .mono { font-size: .72rem; }

/* ── Utility ───────────────────────────────────────────────── */
.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;
}
.mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; } .mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-1 { margin-bottom: 4px; } .mb-2 { margin-bottom: 8px; } .mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.text-muted { color: var(--muted); }
.text-dim { color: var(--dim); }
.text-sm { font-size: .82rem; }
.text-xs { font-size: .74rem; }
.text-center { text-align: center; }
.mono { font-family: 'IBM Plex Mono', monospace; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 4px; } .gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }
.empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  font-size: .86rem;
}
.empty .big { font-size: 1.8rem; margin-bottom: 8px; opacity: .7; }

/* ── Spinner ───────────────────────────────────────────────── */
.spinner {
  width: 26px; height: 26px;
  border: 2px solid var(--line-2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .65s linear infinite;
  margin: 36px auto;
}
.spinner.inline { display: inline-block; margin: 0; vertical-align: -6px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Pagination ────────────────────────────────────────────── */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.pagination button {
  min-width: 32px; height: 32px;
  padding: 0 8px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  font: inherit; font-size: .78rem;
  cursor: pointer;
}
.pagination button { transition: background .18s ease, border-color .18s ease, color .18s ease; }
.pagination button:hover { border-color: var(--line-2); color: #fff; background: var(--panel-2); }
.pagination button.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.pagination button:disabled { opacity: .4; cursor: default; }

/* ── Hero2 responsive ──────────────────────────────────────── */
@media (max-width: 1100px) {
  .hero2-left { padding: 40px 28px 28px 0; }
  .hero2-title { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
}
@media (max-width: 860px) {
  .hero2-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero2-right {
    height: 240px;
    position: relative;
  }
  .hero2-img-wrap { position: absolute; inset: 0; }
  .hero2-left {
    padding: 32px 0 24px;
    order: -1;
  }
  .hero2-select-arrow { right: 92px; }
  .hero2-search select { min-width: 80px; }
  .hero-cat-tile { min-width: 100px; padding: 14px 12px; }
  #home-split, .split-panel { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .hero2-title { font-size: 1.8rem; }
  .hero2-search { max-width: 100%; }
  .hero2-sep, .hero2-search select, .hero2-select-arrow { display: none; }
  .hero2-btn { border-radius: 0 7px 7px 0; }
  .hero2-stats { gap: 16px; }
  .hero2-stat-num { font-size: 1.1rem; }
}

/* ============================================================
   v9 — SVG icon system + UI polish
   ============================================================ */

/* ── SVG icon wrapper ──────────────────────────────────────── */
.svg-icon svg { width: 100%; height: 100%; display: block; }
.hero-cat-icon svg,
.cat-tile-icon svg,
.nav-menu .ico svg { width: 100%; height: 100%; display: block; }

/* ── Announce bar: pulse dot replaces ✦ ───────────────────── */
.announce-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(167,139,250,.6);
  animation: announce-pulse 2s ease-in-out infinite;
}
@keyframes announce-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(167,139,250,.6); }
  60%  { box-shadow: 0 0 0 5px rgba(167,139,250,0); }
  100% { box-shadow: 0 0 0 0 rgba(167,139,250,0); }
}

/* ── Hero category strip — SVG icons ──────────────────────── */
.hero-cat-icon {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
  flex-shrink: 0;
}
/* override old font-size rule */
.hero-cat-icon { font-size: unset; font-style: unset; line-height: unset; }

/* ── Category tiles grid (shop by category) ────────────────── */
.category-tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.cat-tile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text);
}
.cat-tile:hover { color: #fff; transform: translateY(-1px); }
.cat-tile-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-2);
  background: var(--accent-soft);
  border-radius: 8px;
  border: 1px solid rgba(124,92,255,.2);
  transition: background .2s cubic-bezier(.25,.8,.25,1), color .2s cubic-bezier(.25,.8,.25,1), transform .2s cubic-bezier(.25,.8,.25,1);
}
.cat-tile:hover .cat-tile-icon {
  background: rgba(124,92,255,.2);
}
.cat-tile-body {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cat-tile-label {
  font-size: .84rem;
  font-weight: 600;
  color: #fff;
}
.cat-tile-meta {
  font-size: .72rem;
  color: var(--dim);
}
.cat-tile-arrow {
  color: var(--dim);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s cubic-bezier(.25,.8,.25,1), transform .2s cubic-bezier(.25,.8,.25,1);
}
.cat-tile:hover .cat-tile-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── Nav Browse menu — SVG icon size ───────────────────────── */
.nav-menu .ico {
  /* keep existing size/background from original CSS */
  color: var(--accent-2);
}
.nav-menu .ico svg { width: 16px; height: 16px; }

/* ── Resource card thumb — SVG placeholder ─────────────────── */
.rc-thumb-icon {
  display: flex;
  width: 44px; height: 44px;
  color: var(--dim);
}
.rc-thumb-icon svg { width: 100%; height: 100%; }

/* ── Stars: use SVG ────────────────────────────────────────── */
.stars span svg { width: .72rem; height: .72rem; display: inline-block; vertical-align: middle; }
.stars span.empty svg { opacity: .25; }

/* ── Avatar placeholder (no emoji fallback) ────────────────── */
.avatar-placeholder {
  background: var(--panel-3);
  border: 1px solid var(--line);
}

/* ── Browse bar sparkle ────────────────────────────────────── */
.browse-diamond {
  display: flex; align-items: center;
}

/* ── Hero stat section improvements ───────────────────────── */
.hero2-stats { gap: 20px; }
.hero2-stat-block { gap: 1px; }

/* ── Thread row: pinned icon alignment ─────────────────────── */
.thread-row .ttl svg { vertical-align: middle; }

/* ── Responsive adjustments ────────────────────────────────── */
@media (max-width: 700px) {
  .category-tiles-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 480px) {
  .category-tiles-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Smoothness: will-change hints for GPU compositing ── */
.btn, .rp-card, .resource-card, .card-hover,
.hero-cat-tile, .cat-tile, .rp-cat-btn,
.oauth-discord, .oauth-google { will-change: transform; }

/* ── Focus visible — keyboard nav gets clear ring, mouse nav stays clean ── */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* ── Smooth scroll on the whole page ── */
html { scroll-behavior: smooth; }

/* ── Hover states that were missing transitions ── */
.crumbs a { transition: color .18s ease; }
.stat-strip .v { transition: color .18s ease; }
.badge { transition: background .18s ease, color .18s ease; }
.nav-search input { transition: border-color .2s ease, box-shadow .2s ease; }
.form-input, .form-select, .form-textarea {
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.plan { transition: border-color .2s ease, box-shadow .2s ease, transform .2s cubic-bezier(.25,.8,.25,1); }
.plan:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.35); }

/* ============================================================
   POLISH PASS — search fix + smoothness
   ============================================================ */

/* Kill native browser search cancel/decoration buttons globally */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}
input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
}

/* Nav search button — fix hover transform origin */
.nav-search button {
  transition: transform .18s cubic-bezier(.25,.8,.25,1), box-shadow .18s ease, filter .18s ease, background .18s ease;
}
.nav-search button:hover {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 4px 18px rgba(124,92,255,.6);
  filter: brightness(1.12);
}

/* Nav search input focus — tighter, more intentional */
.nav-search input:focus {
  border-color: rgba(124,92,255,.55);
  background: rgba(124,92,255,.07);
  box-shadow: 0 0 0 3px rgba(124,92,255,.13), inset 0 1px 2px rgba(0,0,0,.2);
}

/* Resource cards — accent glow on hover, warmer lift */
.rp-card {
  transition: border-color .22s ease, transform .22s cubic-bezier(.25,.8,.25,1), box-shadow .22s ease, background .22s ease;
}
.rp-card:hover {
  border-color: rgba(124,92,255,.32);
  background: var(--panel-2);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0,0,0,.5), 0 0 0 1px rgba(124,92,255,.1);
}

/* Thumbnail placeholder — richer dark gradient */
.rp-thumb {
  background: linear-gradient(135deg, #12161f 0%, #0d1018 100%);
}

/* Category chips — tighter active glow */
.rp-cat-btn {
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.rp-cat-btn.active {
  box-shadow: 0 0 0 1px rgba(124,92,255,.28), 0 2px 8px rgba(124,92,255,.15);
}

/* rp-search focus — matching nav quality */
.rp-search:focus {
  border-color: var(--accent);
  background: rgba(124,92,255,.04);
  box-shadow: 0 0 0 3px rgba(124,92,255,.13), inset 0 1px 3px rgba(0,0,0,.2);
}

/* Footer card border — softer */
.rp-footer {
  border-top-color: rgba(255,255,255,.05);
}

/* Pagination buttons — accent glow on active */
.rp-pag button {
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .15s ease, box-shadow .18s ease;
}
.rp-pag button:hover {
  transform: translateY(-1px);
}
.rp-pag button.active {
  box-shadow: 0 0 0 1px var(--accent), 0 2px 10px rgba(124,92,255,.3);
}

/* Filter pills — consistent transition */
.rp-filter-pill {
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .15s ease;
}
.rp-filter-pill:hover {
  transform: translateY(-1px);
}
.rp-filter-pill.active {
  box-shadow: 0 0 0 1px rgba(124,92,255,.28);
}

/* General resource-card hover — accent tint */
.resource-card:hover {
  border-color: rgba(124,92,255,.28);
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(0,0,0,.45);
}

/* Buttons — slightly snappier feel */
.btn {
  transition:
    background .18s cubic-bezier(.25,.8,.25,1),
    border-color .18s cubic-bezier(.25,.8,.25,1),
    color .18s cubic-bezier(.25,.8,.25,1),
    box-shadow .18s cubic-bezier(.25,.8,.25,1),
    transform .14s cubic-bezier(.25,.8,.25,1);
}

/* User button — slightly warmer hover */
.user-btn:hover {
  border-color: rgba(124,92,255,.4);
  background: rgba(124,92,255,.09);
  box-shadow: 0 2px 14px rgba(124,92,255,.22);
}

/* Hero tag pills — snappy */
.hero2-tag {
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

/* Cat tiles — tighter lift */
.cat-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
}
.cat-tile-icon {
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.cat-tile:hover .cat-tile-icon {
  background: rgba(124,92,255,.22);
  box-shadow: 0 0 0 1px rgba(124,92,255,.2);
}

/* Hero cat tiles */
.hero-cat-tile {
  transition: background .18s ease, color .18s ease, transform .18s cubic-bezier(.25,.8,.25,1), box-shadow .18s ease;
}

/* Scrollbar — slightly more visible thumb */
*::-webkit-scrollbar-thumb {
  background: var(--line-2);
  border-radius: 8px;
  border: 2px solid var(--bg);
}
*::-webkit-scrollbar-thumb:hover {
  background: #3d4c63;
}
