/* ============================================================
   dj donnyv — Mix Archive page additions
   Loaded alongside the main style.css, not a replacement for it —
   .archive-item elements also carry the .link-card class, so they
   already get the full glitch-bar hover treatment for free. This
   file only adds what's actually new: the toolbar, sort toggle,
   and the green accent color for this page.
   ============================================================ */

.archive-title {
  font-size: clamp(1.8rem, 8vw, 2.8rem) !important;
}

.archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.archive-back {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.archive-back:hover { color: var(--cyan); }

.sort-toggle {
  display: flex;
  gap: 6px;
}

.sort-btn {
  font-family: 'Orbitron', monospace;
  font-size: 10px;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.sort-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.2); }
.sort-btn.active {
  color: var(--green);
  border-color: rgba(0,255,136,0.4);
  background: rgba(0,255,136,0.06);
}

.archive-list {
  gap: 12px;
}

/* Green accent for every download row — matches the Archive card's
   color back on the homepage, so it reads as the same section. */
.archive-item .link-icon { color: var(--green); }
.archive-item:hover {
  border-color: rgba(0,255,136,0.4);
  box-shadow: 0 4px 24px rgba(0,255,136,0.15);
  background: rgba(0,255,136,0.05);
}
.archive-item .link-arrow { transition: transform 0.2s, color 0.2s; }
.archive-item:hover .link-arrow { color: var(--green); transform: translateY(3px); }

.archive-item .glitch-bar,
.archive-item .glitch-bar::before,
.archive-item .glitch-bar::after,
.archive-item .glitch-bar-2,
.archive-item .glitch-bar-2::before,
.archive-item .glitch-bar-2::after,
.archive-item .glitch-bar-3,
.archive-item .glitch-bar-3::before,
.archive-item .glitch-bar-3::after {
  background: linear-gradient(90deg, transparent 0%, rgba(0,255,136,0.5) 20%, rgba(140,255,210,1) 50%, rgba(0,255,136,0.5) 80%, transparent 100%);
  box-shadow: 0 0 8px rgba(0,255,136,0.9), 0 0 2px #fff;
}

.archive-number {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 11px;
}

.archive-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-muted);
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  letter-spacing: 1px;
}

@media (max-width: 480px) {
  .archive-toolbar { flex-direction: column; align-items: flex-start; }
}
