/* ==============================================
   SpaceAi – Project Dashboard (index.css)
   - Dark AI "galaxy" aesthetic
   - Preloader with SAI orb and title
   - Sticky filters (but header is NOT sticky)
   - Visual project cards with category accents
   - Desktop-only (mobile is blocked)
   ============================================== */

:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-alt: #02071c;
  --surface: rgba(15, 23, 42, 0.96);
  --surface-soft: rgba(15, 23, 42, 0.9);
  --surface-alt: rgba(17, 24, 39, 0.98);

  --border-subtle: rgba(148, 163, 184, 0.3);
  --border-strong: rgba(148, 163, 184, 0.7);

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;

  --accent: #6366f1;
  --accent-soft: rgba(99, 102, 241, 0.2);
  --accent-strong: #4f46e5;

  --danger: #f97373;
  --success: #22c55e;

  --shadow-soft: 0 24px 70px rgba(15, 23, 42, 0.9);

  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-pill: 999px;

  --transition-fast: 150ms ease-out;
  --transition-med: 220ms ease-out;

  --sticky-header-offset: 0;
  /* Filters still sticky, but closer to top now */
  --sticky-filters-offset: 0.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  background: radial-gradient(circle at top, #1d2440 0, #020617 45%, #000 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, #6366f1, #22c55e, #f97316);
  transform-origin: left;
  transform: scaleX(0);
  z-index: 60;
  pointer-events: none;
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: radial-gradient(circle at top, #1f2937 0, #020617 60%, #020617 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: opacity 400ms ease-out, transform 400ms ease-out, visibility 400ms ease-out;
}

.preloader--hidden {
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
}

.preloader-inner {
  max-width: 520px;
  width: 100%;
  padding: 1.8rem 1.7rem 1.6rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(129, 140, 248, 0.9);
  background:
    radial-gradient(circle at top left, rgba(129, 140, 248, 0.35), transparent 60%),
    rgba(15, 23, 42, 0.98);
  box-shadow:
    0 0 60px rgba(79, 70, 229, 0.6),
    0 28px 80px rgba(15, 23, 42, 0.9);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.3rem;
  align-items: center;
}

.preloader-orb {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f9fafb;
  background: radial-gradient(circle at 25% 20%, #60a5fa 0, #3b82f6 30%, #6366f1 65%, #7c3aed 100%);
  box-shadow:
    0 0 30px rgba(96, 165, 250, 0.7),
    0 0 60px rgba(79, 70, 229, 0.8);
  animation: orbFloat 3.4s ease-in-out infinite alternate;
}

.preloader-text-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.preloader-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c7d2fe;
}

.preloader-title {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preloader-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.preloader-spinner {
  grid-column: 1 / -1;
  margin-top: 0.8rem;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 3px solid rgba(248, 250, 252, 0.16);
  border-top-color: #f9fafb;
  animation: spin 0.75s linear infinite;
}

/* Background orbits */
.bg-orbits {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(56, 189, 248, 0.16) 0, transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(167, 139, 250, 0.18) 0, transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(52, 211, 153, 0.14) 0, transparent 60%);
  opacity: 0.7;
  filter: blur(0.5px);
  pointer-events: none;
  z-index: 0;
}

/* App shell */
.app {
  position: relative;
  z-index: 1;
  max-width: 1320px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.4rem;
}

/* Top shell – NO LONGER STICKY */
.top-shell {
  position: relative;
  z-index: 10;
  padding: 1.5rem 1.6rem 1.1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background:
    linear-gradient(
      to bottom,
      rgba(15, 23, 42, 0.98),
      rgba(15, 23, 42, 0.94),
      rgba(15, 23, 42, 0.85)
    );
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.top-bar {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  align-items: flex-start;
}

.brand-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: #f9fafb;
  background: radial-gradient(circle at 25% 20%, #60a5fa 0, #3b82f6 30%, #6366f1 65%, #7c3aed 100%);
  box-shadow:
    0 0 30px rgba(96, 165, 250, 0.7),
    0 0 60px rgba(79, 70, 229, 0.8);
  flex-shrink: 0;
}

.brand-logo-text {
  transform: translateY(1px);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.6), transparent),
    rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(129, 140, 248, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e0e7ff;
}

.brand-title {
  margin: 0;
  font-size: 1.25rem;
}

.brand-subtitle {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.user-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.user-label {
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-pill);
  padding: 0.15rem 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pill--accent {
  border-color: rgba(96, 165, 250, 0.9);
  color: #dbeafe;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0.16), rgba(129, 140, 248, 0.28));
}

/* Buttons */
.btn {
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.82rem;
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  background: rgba(31, 41, 55, 0.98);
  color: var(--text-main);
  transition:
    background var(--transition-med),
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    opacity var(--transition-fast);
}

.btn-sm {
  padding: 0.45rem 1.05rem;
  font-size: 0.78rem;
}

.btn-xs {
  padding: 0.32rem 0.8rem;
  font-size: 0.72rem;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: rgba(129, 140, 248, 1);
  color: #f9fafb;
  box-shadow: 0 14px 35px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.96);
  border-color: rgba(55, 65, 81, 0.98);
  color: var(--text-muted);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(55, 65, 81, 0.9);
  color: var(--text-soft);
}

.btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.75);
}

.btn-ghost:hover:not(:disabled) {
  background: rgba(15, 23, 42, 0.96);
}

.btn:disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}

/* Loading state for buttons */
.btn[data-loading="true"] {
  position: relative;
  color: transparent;
}

.btn[data-loading="true"]::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(248, 250, 252, 0.4);
  border-top-color: #f9fafb;
  animation: spin 600ms linear infinite;
}

/* Top disclaimer */
.top-disclaimer {
  margin-top: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(17, 24, 39, 0.98);
  border: 1px solid rgba(55, 65, 81, 0.95);
  font-size: 0.82rem;
  color: var(--text-soft);
}

/* Filters (still sticky) */
.filters-card {
  position: sticky;
  top: var(--sticky-filters-offset);
  z-index: 15;
  margin-top: 1.6rem;
  padding: 1.1rem 1.2rem 1rem;
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.16), transparent 60%),
    var(--surface-alt);
  border: 1px solid rgba(55, 65, 81, 0.95);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
}

.filters-header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.filters-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.filters-subtitle {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.filters-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.field-group label {
  font-size: 0.8rem;
  color: #d1d5db;
}

.field-group input,
.field-group select {
  border-radius: 0.9rem;
  border: 1px solid rgba(55, 65, 81, 0.96);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.55rem 0.82rem;
  font-size: 0.85rem;
  color: var(--text-main);
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.field-group input::placeholder {
  color: var(--text-soft);
}

.field-group input:focus,
.field-group select:focus {
  border-color: rgba(129, 140, 248, 1);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.6);
  transform: translateY(-1px);
}

.filters-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

/* Categories & project cards */
.categories-main {
  margin-top: 2.1rem;
}

.categories-container {
  display: flex;
  flex-direction: column;
  gap: 2.1rem;
}

.category-block {
  padding: 1.1rem 1.2rem 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(31, 41, 55, 0.98);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.9);
}

.category-header {
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  align-items: baseline;
  margin-bottom: 0.9rem;
}

.category-title {
  margin: 0;
  font-size: 1rem;
}

.category-meta {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* Project card base */
.project-card {
  position: relative;
  padding: 0.95rem 0.95rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(55, 65, 81, 0.95);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.98));
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.85);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.project-card::before {
  content: "";
  position: absolute;
  inset-inline: -40%;
  top: -12%;
  height: 40%;
  opacity: 0.42;
  background: linear-gradient(
    90deg,
    transparent 0,
    rgba(129, 140, 248, 0.45) 20%,
    rgba(56, 189, 248, 0.2) 40%,
    transparent 70%
  );
  filter: blur(10px);
  transform: translateX(-30%);
  transition: transform 600ms ease-out;
}

.project-card:hover::before {
  transform: translateX(20%);
}

.project-card:hover {
  transform: translateY(-3px);
  border-color: rgba(129, 140, 248, 0.9);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.95);
}

/* Category themed edges */
.project-card--coding {
  border-top: 2px solid rgba(59, 130, 246, 0.9);
}

.project-card--maths {
  border-top: 2px solid rgba(45, 212, 191, 0.9);
}

.project-card--physics {
  border-top: 2px solid rgba(251, 191, 36, 0.9);
}

.project-card--data {
  border-top: 2px solid rgba(129, 140, 248, 0.9);
}

.project-card--chemistry {
  border-top: 2px solid rgba(52, 211, 153, 0.9);
}

.project-card--game {
  border-top: 2px solid rgba(244, 114, 182, 0.9);
}

.project-card--va {
  border-top: 2px solid rgba(56, 189, 248, 0.9);
}

.project-card--writing {
  border-top: 2px solid rgba(251, 113, 133, 0.9);
}

.project-card--rating {
  border-top: 2px solid rgba(96, 165, 250, 0.9);
}

.project-card--audio {
  border-top: 2px solid rgba(56, 189, 248, 0.9);
}

.project-card--video {
  border-top: 2px solid rgba(192, 132, 252, 0.9);
}

/* Project header */
.project-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.project-id-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.project-id-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
}

.project-id-code {
  font-size: 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
    monospace;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px dashed rgba(75, 85, 99, 0.9);
}

.project-title {
  margin: 0;
  font-size: 0.9rem;
}

.project-brief {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* Brief list of what taskers do */
.project-tasks {
  margin: 0.25rem 0 0.15rem;
  padding-left: 1.1rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.project-tasks li {
  margin: 0.12rem 0;
}

/* Meta pills */
.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.74rem;
}

.tag-pill {
  border-radius: var(--radius-pill);
  padding: 0.18rem 0.6rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  background: rgba(15, 23, 42, 0.98);
  color: var(--text-soft);
}

.tag-pill--category {
  border-color: rgba(129, 140, 248, 0.9);
  color: #e0e7ff;
}

.tag-pill--rate {
  border-color: rgba(52, 211, 153, 0.9);
  color: #bbf7d0;
}

.tag-pill--duration {
  border-color: rgba(96, 165, 250, 0.9);
  color: #bfdbfe;
}

/* Stats row */
.project-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  font-size: 0.75rem;
}

.project-stats dt {
  margin: 0;
  color: var(--text-soft);
}

.project-stats dd {
  margin: 0.1rem 0 0;
  font-weight: 500;
}

/* Live row: needed → active → onboarded/offboarded */
.project-live {
  margin-top: 0.2rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.75rem;
}

.project-live__label {
  color: var(--text-soft);
}

.project-live__value {
  color: #bbf7d0;
}

/* Details block */
.project-details {
  margin-top: 0.35rem;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(55, 65, 81, 0.9);
  font-size: 0.76rem;
  color: var(--text-soft);
  display: none;
}

.project-details.is-visible {
  display: block;
}

/* Card footer */
.project-card__footer {
  margin-top: 0.4rem;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Footer note */
.footer-note {
  margin: 2rem 0 1.4rem;
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* QA */
.qa-intro {
  margin-top: 1.6rem;
  padding: 1.4rem 1.3rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(55, 65, 81, 0.95);
  background: rgba(15, 23, 42, 0.97);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.9);
}

.qa-intro h2 {
  margin: 0 0 0.8rem;
  font-size: 0.98rem;
}

.qa-list {
  margin: 0;
  padding: 0;
}

.qa-item {
  margin-bottom: 0.8rem;
}

.qa-item dt {
  font-size: 0.84rem;
  font-weight: 600;
}

.qa-item dd {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.qa-note {
  margin: 0.7rem 0 0;
  font-size: 0.78rem;
  color: var(--text-soft);
}

/* Support footer */
.support-footer {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.support-footer a {
  color: #c4b5fd;
  text-decoration: none;
}

.support-footer a:hover {
  text-decoration: underline;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.98));
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 70;
}

.modal-backdrop.is-visible {
  display: flex;
}

.modal {
  position: relative;
  max-width: 480px;
  width: 100%;
  border-radius: 1.6rem;
  background: radial-gradient(circle at top left, rgba(129, 140, 248, 0.4), transparent 60%),
    rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(129, 140, 248, 0.9);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.9);
  padding: 1.4rem 1.4rem 1.2rem;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.modal-title {
  margin: 0;
  font-size: 1rem;
}

.modal-close {
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.95);
  background: rgba(15, 23, 42, 0.98);
  color: var(--text-soft);
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

.modal-close:hover {
  background: rgba(31, 41, 55, 0.98);
  border-color: rgba(148, 163, 184, 0.9);
  transform: translateY(-1px);
}

.modal-body {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.modal-body p {
  margin: 0 0 0.6rem;
}

.project-name {
  font-weight: 600;
  color: var(--text-main);
}

.modal-field {
  margin-top: 0.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.modal-field label {
  font-size: 0.8rem;
  color: var(--text-main);
}

.modal-field input {
  border-radius: 0.9rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  background: rgba(15, 23, 42, 0.96);
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  color: var(--text-main);
  outline: none;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.modal-field input::placeholder {
  color: var(--text-soft);
}

.modal-field input:focus {
  border-color: rgba(129, 140, 248, 1);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.6);
  transform: translateY(-1px);
}

.modal-error {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: var(--danger);
}

.modal-actions {
  margin-top: 0.9rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.modal-footer {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.modal-footer a {
  color: #c4b5fd;
  text-decoration: none;
}

.modal-footer a:hover {
  text-decoration: underline;
}

/* Mobile blocker */
.mobile-blocker {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.96), #020617);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.8rem;
  z-index: 90;
}

.mobile-blocker__content {
  max-width: 420px;
  width: 100%;
  padding: 1.4rem 1.4rem 1.2rem;
  border-radius: 1.5rem;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(129, 140, 248, 0.9);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.9);
  text-align: left;
}

.mobile-blocker__content h2 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.mobile-blocker__content p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* Animations */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}


/* Responsive tweaks for desktop/larger tablets */
@media (max-width: 1180px) {
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .filters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-summary {
    align-items: flex-start;
  }
}

@media (min-width: 961px) and (max-width: 1100px) {
  :root {
    --sticky-filters-offset: 1.25rem;
  }
}
