:root {
  --rs-primary: #3b82f6;
  --rs-primary-dark: #1d4ed8;
  --rs-dark: #090d16;
  --rs-surface: #ffffff;
  --rs-border: #e2e8f0;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: #334155;
  background-color: #f8fafc;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

/* Glassmorphic Navbar */
.navbar-glass {
  background: rgba(9, 13, 22, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Hero Header Gradient */
.hero-header {
  background: linear-gradient(135deg, #090d16 0%, #1e293b 100%);
  position: relative;
  overflow: hidden;
}

.hero-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.theme-card {
  border: 1px solid var(--rs-border);
  transition: border-color 0.25s ease;
  will-change: transform, box-shadow;
}

.theme-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.preview-thumbnail {
  height: 220px;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.preview-thumbnail .hover-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(9, 13, 22, 0.88);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
}

.search-wrap-box {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.07);
}

.search-wrap-box:focus-within {
  background: #ffffff;
  border-color: var(--rs-primary);
}

.search-wrap-box input::placeholder {
  color: #94a3b8;
}

.filter-sticky {
  position: sticky;
  top: 100px;
}

.list-group-item-action {
  font-weight: 500;
  color: #475569;
  transition: all 0.2s ease;
}

.list-group-item-action:hover {
  background-color: #f1f5f9;
  color: var(--rs-dark);
}

.list-group-item-action.active {
  background-color: var(--rs-primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Modal Styling */
.modal-content {
  border: none;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

input#theme-search {
  color:rgba(9, 13, 22, 0.85);
}