/* ============================================================
   FACEHUGGING.CO — Biomechanical Alien Stylesheet
   Inspired by H.R. Giger & the Xenomorph design language
   ============================================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Exo+2:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --bg-void:        #050a05;
  --bg-deep:        #080f08;
  --bg-mid:         #0c160c;
  --bg-surface:     #111a11;
  --bg-elevated:    #162116;
  --bg-card:        #1a281a;

  --acid-green:     #00ff88;
  --acid-bright:    #39ff14;
  --acid-dim:       #00cc66;
  --acid-muted:     #1a4a2a;
  --acid-glow:      rgba(0, 255, 136, 0.12);
  --acid-glow-mid:  rgba(0, 255, 136, 0.06);

  --carapace-1:     #2a3d2a;
  --carapace-2:     #3a5a3a;
  --carapace-3:     #4a7a4a;

  --text-primary:   #c8e8c8;
  --text-secondary: #7aaa7a;
  --text-muted:     #3a5a3a;
  --text-dim:       #254025;

  --border-color:   rgba(74, 122, 74, 0.25);
  --border-bright:  rgba(0, 255, 136, 0.35);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --font-mono: 'Share Tech Mono', 'Courier New', monospace;
  --font-body: 'Exo 2', system-ui, sans-serif;
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background: var(--bg-void);
}

body {
  font-family: var(--font-body);
  background: var(--bg-void);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Biomechanical background texture overlay */
.bio-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(ellipse at 20% 20%, rgba(0,255,136,0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0,255,136,0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(0,100,40,0.06) 0%, transparent 70%);
  background-attachment: fixed;
}

body > * { position: relative; z-index: 1; }

a { color: var(--acid-green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--acid-bright); }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--carapace-2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--carapace-3); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 10, 5, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 20px rgba(0, 255, 136, 0.05);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  color: var(--text-primary) !important;
}
.logo:hover { color: var(--acid-green) !important; }

.logo-icon { font-size: 1.6rem; filter: drop-shadow(0 0 6px var(--acid-green)); }

.logo-text {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.logo-dot { color: var(--acid-green); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  flex: 1;
}

.nav-link {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary) !important;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.nav-link:hover, .nav-link.active {
  color: var(--acid-green) !important;
  background: var(--acid-glow);
  border-color: var(--border-bright);
}

.nav-right { margin-left: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none !important;
  border: 1px solid transparent;
  letter-spacing: 0.03em;
}

.btn-primary {
  background: linear-gradient(135deg, #006633, #00cc66);
  color: #001a0d !important;
  border-color: var(--acid-dim);
  box-shadow: 0 0 12px rgba(0,255,136,0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #00aa55, #39ff14);
  box-shadow: 0 0 20px rgba(0,255,136,0.45);
  color: #001a0d !important;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--acid-green) !important;
  border-color: var(--border-bright);
}
.btn-ghost:hover {
  background: var(--acid-glow);
  box-shadow: 0 0 12px rgba(0,255,136,0.15);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animated tentacles */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tentacle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,255,136,0.06);
  animation: pulse-ring 8s ease-in-out infinite;
}

.t1 { width: 600px; height: 600px; top: -200px; left: -150px; animation-delay: 0s; border-color: rgba(0,255,136,0.04); }
.t2 { width: 400px; height: 400px; top: -100px; right: -100px; animation-delay: 2s; border-color: rgba(0,200,100,0.05); }
.t3 { width: 300px; height: 300px; bottom: -50px; left: 20%; animation-delay: 4s; }
.t4 { width: 500px; height: 200px; bottom: -100px; right: 10%; animation-delay: 1s; border-radius: 60%; border-color: rgba(0,255,136,0.03); }
.t5 { width: 200px; height: 500px; top: 0; left: 40%; animation-delay: 6s; border-color: rgba(0,255,136,0.03); }

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

.hero-content {
  position: relative;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-icon {
  width: 140px;
  height: 140px;
  filter: drop-shadow(0 0 20px rgba(0,255,136,0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

.facehugger-svg {
  width: 100%;
  height: 100%;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.glow-text {
  color: var(--acid-green);
  text-shadow: 0 0 20px rgba(0,255,136,0.6), 0 0 40px rgba(0,255,136,0.3);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* Search */
.hero-search {
  display: flex;
  width: 100%;
  max-width: 540px;
  gap: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-bright);
  background: var(--bg-surface);
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0,255,136,0.08), inset 0 1px 0 rgba(255,255,255,0.03);
  transition: box-shadow var(--transition);
}
.hero-search:focus-within {
  box-shadow: 0 0 30px rgba(0,255,136,0.18);
  border-color: var(--acid-green);
}

.search-box {
  flex: 1;
  padding: 0.85rem 1.2rem;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
}
.search-box::placeholder { color: var(--text-muted); }

.search-btn {
  padding: 0.85rem 1.1rem;
  background: linear-gradient(135deg, #006633, #00aa55);
  border: none;
  cursor: pointer;
  color: #001a0d;
  display: flex;
  align-items: center;
  transition: background var(--transition);
}
.search-btn:hover { background: linear-gradient(135deg, #00aa55, #39ff14); }

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tag {
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.78rem;
  background: var(--acid-glow-mid);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  cursor: default;
  transition: all var(--transition);
}
.tag:hover {
  border-color: var(--acid-green);
  color: var(--acid-green);
  background: var(--acid-glow);
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: var(--acid-green);
  text-shadow: 0 0 10px rgba(0,255,136,0.4);
  font-weight: 400;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 4rem 1.5rem; }
.section-alt { background: var(--bg-surface); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }

.section-inner { max-width: 1280px; margin: 0 auto; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ============================================================
   CARD GRID
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.model-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none !important;
  display: block;
  color: inherit;
}

.model-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--acid-muted), transparent);
  transition: background var(--transition);
}

.model-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-elevated);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,255,136,0.1), 0 2px 8px rgba(0,0,0,0.4);
}

.model-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--acid-green), transparent);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.card-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-meta {
  min-width: 0;
  flex: 1;
}

.card-id {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  background: var(--acid-glow-mid);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  white-space: nowrap;
}

.card-tag.task-tag {
  background: rgba(0,255,136,0.08);
  border-color: rgba(0,255,136,0.2);
  color: var(--acid-dim);
}

.card-stats {
  display: flex;
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: auto;
}

.card-stat {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.card-stat svg { opacity: 0.7; }

/* ============================================================
   LOADING / SPINNER
   ============================================================ */
.loading-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.xenomorph-spinner {
  width: 44px;
  height: 44px;
  border: 2px solid var(--carapace-1);
  border-top-color: var(--acid-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 12px rgba(0,255,136,0.3);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   FEATURES GRID
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.feature-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 8px 30px rgba(0,255,136,0.08);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 8px rgba(0,255,136,0.3));
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.feature-card p {
  font-size: 0.87rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 3rem 1.5rem 1.5rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-brand {
  flex: 1;
  min-width: 220px;
}

.footer-brand .logo-text {
  font-size: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 280px;
}

.footer-parody {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.75rem;
  max-width: 320px;
  line-height: 1.5;
}
.footer-parody a { color: var(--acid-muted); }
.footer-parody a:hover { color: var(--acid-green); }

.footer-links {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.footer-col a {
  font-size: 0.87rem;
  color: var(--text-secondary) !important;
}
.footer-col a:hover { color: var(--acid-green) !important; }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-minimal { padding: 1rem 1.5rem; }
.footer-minimal .footer-bottom { border: none; padding: 0; }

/* ============================================================
   BROWSE PAGES (models.html / datasets.html)
   ============================================================ */
.page-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.page-header {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 2rem;
}

.page-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.browse-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 75px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.filter-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.filter-title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.filter-item:hover {
  color: var(--acid-green);
  background: var(--acid-glow-mid);
}

.filter-item input[type="radio"],
.filter-item input[type="checkbox"] {
  accent-color: var(--acid-green);
  width: 14px;
  height: 14px;
}

.filter-select {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.87rem;
  cursor: pointer;
  outline: none;
  transition: border-color var(--transition);
}
.filter-select:focus { border-color: var(--acid-green); }
.filter-select option { background: var(--bg-deep); }

/* Browse main */
.browse-main { min-width: 0; }

.browse-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.browse-search {
  flex: 1;
  min-width: 200px;
}

.search-inline {
  width: 100%;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition);
}
.search-inline:focus { border-color: var(--acid-green); box-shadow: 0 0 10px rgba(0,255,136,0.1); }
.search-inline::placeholder { color: var(--text-muted); }

.result-count {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: var(--font-mono);
}

/* Model list (row layout) */
.model-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.model-row {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all var(--transition);
  text-decoration: none !important;
  color: inherit !important;
  position: relative;
  overflow: hidden;
}

.model-row::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--carapace-2);
  transition: background var(--transition);
}

.model-row:hover {
  border-color: var(--border-bright);
  background: var(--bg-elevated);
  box-shadow: 0 4px 20px rgba(0,255,136,0.08);
}

.model-row:hover::after {
  background: var(--acid-green);
  box-shadow: 0 0 8px rgba(0,255,136,0.5);
}

.row-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  overflow: hidden;
}

.row-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.row-info { flex: 1; min-width: 0; }

.row-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  font-family: var(--font-mono);
}

.row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.row-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 0.1rem 0.4rem;
  border-radius: 2px;
  background: var(--acid-glow-mid);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.row-tag.primary-tag {
  background: rgba(0,255,136,0.07);
  border-color: rgba(0,255,136,0.2);
  color: var(--acid-dim);
}

.row-stats {
  display: flex;
  gap: 1.25rem;
  flex-shrink: 0;
  align-items: center;
}

.row-stat {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
  font-family: var(--font-mono);
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.page-btn {
  padding: 0.45rem 0.9rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover, .page-btn.active {
  background: var(--acid-glow);
  border-color: var(--border-bright);
  color: var(--acid-green);
  box-shadow: 0 0 8px rgba(0,255,136,0.2);
}

.page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ============================================================
   UTILITY & RESPONSIVE
   ============================================================ */
.error-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.error-state .error-icon { font-size: 3rem; margin-bottom: 1rem; opacity: 0.5; }
.error-state p { font-size: 0.9rem; }

@media (max-width: 900px) {
  .browse-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 3rem 1rem 2.5rem; }
  .stats-inner { gap: 1rem; }
  .stat-divider { display: none; }
  .row-stats { display: none; }
  .footer-inner { gap: 2rem; }
  .footer-links { gap: 2rem; }
}
