/* ==============================
   HX-STORE — Cyberpunk CSS
   ============================== */

:root {
  --bg: #07070f;
  --bg2: #0d0d1a;
  --bg3: #111125;
  --card: #12122a;
  --card2: #16163a;
  --border: rgba(123, 47, 255, 0.25);
  --border-hover: rgba(123, 47, 255, 0.7);
  --primary: #7b2fff;
  --primary-dark: #5b1fd0;
  --primary-light: #9b5fff;
  --cyan: #00d4ff;
  --cyan-dark: #00a8cc;
  --pink: #ff006e;
  --text: #e0e0f0;
  --text-dim: #8888aa;
  --text-bright: #ffffff;
  --success: #00e676;
  --warning: #ffb300;
  --danger: #ff3d3d;
  --glow-purple: 0 0 20px rgba(123, 47, 255, 0.4);
  --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.4);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* CANVAS PARTICLES */
#particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: rgba(7, 7, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 2px;
}
.logo-hx { color: var(--primary); }
.logo-store { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-dim);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--text-bright); }

.nav-discord {
  background: #5865F2 !important;
  color: white !important;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.85rem !important;
  transition: background var(--transition) !important;
  display: flex; align-items: center; gap: 6px;
}
.nav-discord:hover { background: #4752c4 !important; }

.nav-admin {
  color: var(--text-dim) !important;
  font-size: 1rem !important;
  transition: color var(--transition) !important;
}
.nav-admin:hover { color: var(--primary) !important; }

.burger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.3rem;
}

/* ==============================
   HERO
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%,
      rgba(123, 47, 255, 0.12) 0%,
      transparent 70%);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle,
    rgba(123, 47, 255, 0.08) 0%,
    transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-sub {
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  font-family: 'Orbitron', sans-serif;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text-bright);
  margin-bottom: 20px;
  text-shadow: 0 0 60px rgba(123, 47, 255, 0.5);
}
.hero-title span { color: var(--cyan); }

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat span {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.stat small { color: var(--text-dim); font-size: 0.85rem; }

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  box-shadow: 0 4px 20px rgba(123, 47, 255, 0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 4px 30px rgba(123, 47, 255, 0.55);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--glow-purple);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}
.btn-cyan:hover {
  box-shadow: 0 4px 30px rgba(0, 212, 255, 0.5);
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(135deg, var(--danger), #cc0000);
  color: white;
}
.btn-danger:hover {
  box-shadow: 0 4px 20px rgba(255, 61, 61, 0.4);
  transform: translateY(-1px);
}

.btn-sm { padding: 8px 18px; font-size: 0.72rem; }
.btn-full { width: 100%; justify-content: center; }

/* ==============================
   SECTIONS
   ============================== */
.section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.section-header h2 span { color: var(--cyan); }
.section-header p { color: var(--text-dim); font-size: 1.05rem; }

/* ==============================
   FILTER BAR
   ============================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text-dim);
  padding: 8px 20px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(123, 47, 255, 0.1);
}

.search-wrap {
  position: relative;
  flex: 1;
  max-width: 300px;
}
.search-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 0.9rem;
}
.search-wrap input {
  width: 100%;
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 10px 14px 10px 38px;
  border-radius: 99px;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition);
}
.search-wrap input:focus { border-color: var(--primary); }
.search-wrap input::placeholder { color: var(--text-dim); }

/* ==============================
   SCRIPT CARDS
   ============================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.script-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}
.script-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--glow-purple);
  transform: translateY(-4px);
}

.card-img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: var(--card2);
}
.card-img-placeholder {
  width: 100%;
  height: 170px;
  background: linear-gradient(135deg, var(--card2), var(--bg3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.4;
}

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  padding: 3px 10px;
  border-radius: 99px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-free {
  background: rgba(0, 230, 118, 0.15);
  color: var(--success);
  border: 1px solid rgba(0, 230, 118, 0.3);
}
.badge-paid {
  background: rgba(255, 179, 0, 0.15);
  color: var(--warning);
  border: 1px solid rgba(255, 179, 0, 0.3);
}
.badge-cat {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-bright);
  line-height: 1.3;
}

.card-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.card-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}
.price-free { color: var(--success); }
.price-paid { color: var(--warning); }

.card-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  display: flex; align-items: center; gap: 6px;
  transition: all var(--transition);
}
.card-btn:hover {
  box-shadow: var(--glow-purple);
  transform: translateY(-1px);
}
.card-btn.free-btn {
  background: linear-gradient(135deg, var(--success), #00b85a);
}
.card-btn.free-btn:hover {
  box-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-dim);
}
.empty-state i { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }

/* ==============================
   MODAL
   ============================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg2);
  border: 1.5px solid var(--border-hover);
  border-radius: var(--radius);
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--glow-purple), 0 24px 80px rgba(0, 0, 0, 0.6);
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  width: 36px; height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}
.modal-close:hover { color: var(--danger); border-color: var(--danger); }

.modal-content { padding: 32px; }
.modal-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.modal-img-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--card2), var(--bg3));
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.3;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.modal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.modal-desc {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 20px;
  white-space: pre-wrap;
}
.modal-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.modal-meta-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.modal-meta-item i { color: var(--primary); }
.modal-tags {
  display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px;
}
.tag {
  background: rgba(123, 47, 255, 0.12);
  border: 1px solid rgba(123, 47, 255, 0.25);
  color: var(--primary-light);
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.78rem;
}
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==============================
   ABOUT
   ============================== */
.about { background: var(--bg2); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 16px;
}
.about-text h2 span { color: var(--cyan); }
.about-text p {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: all var(--transition);
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--glow-purple);
}
.feature-card i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 10px;
}
.feature-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: var(--text-bright);
  margin-bottom: 6px;
}
.feature-card p { font-size: 0.85rem; color: var(--text-dim); }

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-brand .logo-hx,
.footer-brand .logo-store {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 6px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--primary); }

.footer-social { display: flex; gap: 12px; align-items: flex-start; }
.social-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--text-dim);
  transition: all var(--transition);
}
.social-btn:hover { color: white; transform: translateY(-2px); }
.social-btn.discord:hover { background: #5865F2; border-color: #5865F2; }
.social-btn.github:hover { background: #333; border-color: #666; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.82rem; }

/* ==============================
   TOAST
   ============================== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--card2);
  border: 1px solid var(--primary);
  color: var(--text-bright);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: var(--glow-purple);
  max-width: 320px;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.success { border-color: var(--success); box-shadow: 0 0 20px rgba(0, 230, 118, 0.3); }
.toast.error { border-color: var(--danger); box-shadow: 0 0 20px rgba(255, 61, 61, 0.3); }

/* ==============================
   RESPONSIVE
   ============================== */
/* ==============================
   FILTER BAR EXTENDED
   ============================== */
.filter-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-count {
  background: rgba(123, 47, 255, 0.2);
  color: var(--primary-light);
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 99px;
  font-family: 'Orbitron', sans-serif;
  margin-left: 4px;
}

.sort-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.sort-wrap i {
  position: absolute;
  left: 12px;
  color: var(--text-dim);
  font-size: 0.85rem;
  pointer-events: none;
}
.sort-wrap select {
  background: var(--card);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 10px 14px 10px 34px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
  min-width: 170px;
}
.sort-wrap select:focus { border-color: var(--primary); }
.sort-wrap select option { background: var(--bg2); }

.result-info {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 20px;
  min-height: 18px;
  transition: opacity 0.2s;
}
.result-info span { color: var(--primary-light); font-weight: 600; }

/* ==============================
   SKELETON LOADING
   ============================== */
@keyframes skeleton-shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}

.skeleton-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  pointer-events: none;
}

.skeleton-img {
  width: 100%;
  height: 170px;
  background: linear-gradient(90deg, var(--card2) 25%, var(--bg3) 50%, var(--card2) 75%);
  background-size: 800px 100%;
  animation: skeleton-shimmer 1.4s infinite linear;
}

.skeleton-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; }

.skeleton-line {
  border-radius: 4px;
  background: linear-gradient(90deg, var(--card2) 25%, var(--bg3) 50%, var(--card2) 75%);
  background-size: 800px 100%;
  animation: skeleton-shimmer 1.4s infinite linear;
}
.skeleton-line.short { height: 12px; width: 40%; }
.skeleton-line.medium { height: 14px; width: 70%; }
.skeleton-line.long   { height: 12px; width: 90%; }
.skeleton-line.thin   { height: 10px; width: 55%; }

/* ==============================
   CARD ENTRANCE ANIMATION
   ============================== */
@keyframes card-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.script-card {
  opacity: 0;
  animation: none;
}
.script-card.visible {
  animation: card-fade-up 0.4s ease forwards;
}

/* ==============================
   BACK TO TOP BUTTON
   ============================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  box-shadow: var(--glow-purple);
  opacity: 0;
  transform: scale(0.7) translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  box-shadow: 0 0 30px rgba(123, 47, 255, 0.6);
  transform: scale(1.1);
}

/* ==============================
   MOBILE NAV OVERLAY
   ============================== */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 98;
  backdrop-filter: blur(4px);
}
.nav-overlay.open { display: block; }

/* Mobile nav - CSS-class based */
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: 64px;
  right: 0;
  width: 240px;
  bottom: 0;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  padding: 20px 16px;
  gap: 8px;
  z-index: 99;
  animation: slide-in-right 0.25s ease;
}
@keyframes slide-in-right {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
.nav-links.open a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  border: 1px solid transparent;
}
.nav-links.open a:hover {
  background: rgba(123,47,255,0.1);
  border-color: var(--border);
}

/* ==============================
   NAVBAR ACTIVE LINK
   ============================== */
.nav-links a.nav-active {
  color: var(--primary) !important;
}

/* ==============================
   HERO STATS PULSE
   ============================== */
@keyframes stat-pulse {
  0%, 100% { text-shadow: 0 0 10px rgba(123,47,255,0.4); }
  50%       { text-shadow: 0 0 24px rgba(123,47,255,0.8); }
}
.stat span { animation: stat-pulse 3s ease-in-out infinite; }

/* ==============================
   SEARCH HIGHLIGHT
   ============================== */
.search-highlight {
  background: rgba(123,47,255,0.3);
  color: var(--text-bright);
  border-radius: 2px;
  padding: 0 2px;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: block; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-features { grid-template-columns: 1fr 1fr; }

  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-right { flex-direction: column; align-items: stretch; }
  .sort-wrap select { min-width: unset; width: 100%; }
  .search-wrap { max-width: 100%; }

  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; }
  .back-to-top { bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .cards-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}
