/* ═══════════════════════════════════════════════════════════
   SOUNDS LIST — MINIMAL & CLEAN STYLESHEET
   Sleek mobile-first design, crystal clear typography,
   zero clutter, rich black-to-royal-blue aesthetic.
═══════════════════════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

:root {
  /* ── Colors ── */
  --bg-black:        #000000;
  --bg-deep:         #000517;
  --bg-royal:        #000e38;

  --surface-1:       rgba(255, 255, 255, 0.035);
  --surface-2:       rgba(255, 255, 255, 0.065);
  --surface-hover:   rgba(255, 255, 255, 0.1);

  --border:          rgba(255, 255, 255, 0.08);
  --border-focus:    rgba(96, 165, 250, 0.5);

  --accent:          #3b82f6;
  --accent-bright:   #60a5fa;
  --accent-glow:     rgba(59, 130, 246, 0.25);

  --text-1:          #ffffff;
  --text-2:          #cbd5e1;
  --text-3:          #818cf8;
  --text-muted:      #94a3b8;

  --badge-new:       linear-gradient(135deg, #f59e0b, #ef4444);
  --badge-hot:       #ef4444;
  --badge-sale:      #22c55e;
  --badge-note:      #facc15;

  --radius-sm:       6px;
  --radius-md:       10px;
  --radius-lg:       14px;
  --radius-full:     9999px;

  --trans:           0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow:      0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  font-size: 15px;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--bg-black);
  color: var(--text-1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.45;
  overflow-x: hidden;
  position: relative;
}

/* Background gradient */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 110% 70% at 50% 115%, rgba(0, 45, 210, 0.4) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 20% 100%, rgba(0, 20, 150, 0.3) 0%, transparent 60%),
    linear-gradient(180deg, #000000 0%, #000416 45%, #00092c 100%);
  z-index: 0;
  pointer-events: none;
}

#app {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ═══════════════════════════════════════════════════════════
   SCREENS & CLEAN TRANSITIONS
═══════════════════════════════════════════════════════════ */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
  overflow-anchor: none;
}

.screen {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  display: none;
  opacity: 0;
  pointer-events: none;
  overflow-anchor: none;
  transition: opacity var(--trans-slow), transform var(--trans-slow);
}

.screen.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

/* Platform landing screen is pinned to viewport - zero scroll shifts */
#platform-screen {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100%;
  overflow: hidden;
}

#platform-screen.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

#platform-screen.exit-left {
  display: flex;
  opacity: 0;
  transform: translateX(-30px);
  pointer-events: none;
}

#catalogue-screen {
  z-index: 1;
  transform: translateX(30px);
  flex-direction: column;
}

#catalogue-screen.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 3;
}

#catalogue-screen.exit-right {
  display: flex;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   LANDING / PLATFORM SELECTOR
═══════════════════════════════════════════════════════════ */
.platform-hero {
  text-align: center;
  max-width: 520px;
  width: 100%;
}

.logo-wrap {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-link {
  display: inline-block;
  border-radius: 22px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
}

.logo-link:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
}

.logo-link:active {
  transform: scale(0.96);
}

.logo-img {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8), 0 4px 20px rgba(59, 130, 246, 0.18);
}

.logo-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 0 30px rgba(59, 130, 246, 0.45);
}

.logo-sub {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.4;
}

.platform-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.platform-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1rem 1.75rem;
  cursor: pointer;
  text-align: center;
  transition: all var(--trans);
  color: var(--text-1);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.platform-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.25);
  background: var(--surface-2);
}

.platform-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
}

.platform-card-icon svg {
  filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.5));
  transition: transform var(--trans);
}

.platform-card:hover .platform-card-icon svg {
  transform: scale(1.08);
  filter: drop-shadow(0 0 24px rgba(59, 130, 246, 0.8));
}

.platform-card-label {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}

.platform-card-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   COMPACT TOPBAR
═══════════════════════════════════════════════════════════ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 4, 18, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1rem;
  height: 48px;
}

.back-btn {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  padding: 0.32rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--trans);
}

.back-btn:hover {
  color: #fff;
  background: var(--surface-2);
  border-color: var(--border-focus);
}

.home-svg {
  color: var(--accent-bright);
  flex-shrink: 0;
}

.nav-center {
  flex: 1;
  text-align: center;
}

.nav-brand {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
}

.platform-indicator-pill {
  width: 32px;
  height: 32px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  transition: all var(--trans);
}

.platform-indicator-pill svg {
  display: block;
}

/* ═══════════════════════════════════════════════════════════
   SLIM STICKY CONTROLS (SEARCH + CATEGORY TABS)
═══════════════════════════════════════════════════════════ */
.sticky-controls {
  position: sticky;
  top: 48px;
  z-index: 95;
  background: rgba(0, 3, 14, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.search-bar-wrap {
  width: 100%;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-lens {
  position: absolute;
  left: 0.85rem;
  font-size: 0.95rem;
  color: var(--accent-bright);
  pointer-events: none;
}

.clean-search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: #fff;
  padding: 0.55rem 2.4rem 0.55rem 2.4rem;
  font-size: 0.9rem;
  outline: none;
  transition: all var(--trans);
}

.clean-search-input::placeholder {
  color: var(--text-muted);
}

.clean-search-input:focus {
  border-color: var(--accent-bright);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 0 20px rgba(59, 130, 246, 0.2);
}

.search-clear-btn {
  position: absolute;
  right: 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  color: var(--text-2);
  font-size: 1.1rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: clearBtnIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition: all var(--trans);
}

.search-clear-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #fff;
  transform: scale(1.1);
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS & MICRO-INTERACTIONS
═══════════════════════════════════════════════════════════ */
@keyframes sectionFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tabPop {
  0% { transform: scale(0.94); }
  60% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

@keyframes clearBtnIn {
  from { opacity: 0; transform: scale(0.6) rotate(-90deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(59, 130, 246, 0.35); }
  50% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.6); }
}

/* Category Tabs (All 4 in a single row - zero horizontal scrolling) */
.category-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  width: 100%;
}

.cat-tab {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-2);
  padding: 0.42rem 0.15rem;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  width: 100%;
  user-select: none;
}

.cat-tab span:first-child {
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.cat-tab:hover {
  color: #fff;
  background: var(--surface-2);
  transform: translateY(-1px);
}

.cat-tab:hover span:first-child {
  transform: scale(1.1);
}

.cat-tab:active {
  transform: scale(0.95);
}

.cat-tab.active {
  background: var(--accent);
  border-color: var(--accent-bright);
  color: #fff;
  animation: tabPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 14px rgba(59, 130, 246, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   MAIN LIST LAYOUT & ANIMATIONS
═══════════════════════════════════════════════════════════ */
.catalogue-main {
  padding: 1.25rem 1rem 3.5rem;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  flex: 1;
  min-height: 85vh;
  overflow-anchor: none;
}

/* Section Header & Entry */
.section {
  margin-bottom: 2rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-bright);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.section-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--surface-1);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════
   FEATURED SPOTLIGHT DEAL BANNER
═══════════════════════════════════════════════════════════ */
.spotlight-wrap {
  margin-bottom: 1.5rem;
}

.spotlight-card {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(3, 7, 18, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.12);
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.spotlight-card:hover {
  border-color: rgba(96, 165, 250, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(59, 130, 246, 0.25);
}

.spotlight-card.in-cart {
  border-color: var(--accent-bright);
  box-shadow: 0 0 0 1px var(--accent-bright), 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.35);
}

.spotlight-top-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.spotlight-badge-pill {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.spotlight-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.spotlight-left {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  flex: 1;
}

.spotlight-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.spotlight-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.spotlight-desc {
  font-size: 0.84rem;
  color: var(--text-2);
  line-height: 1.4;
}

.spotlight-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.15rem;
}

.spotlight-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.spotlight-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--accent-bright);
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

.spotlight-add-btn {
  background: var(--accent-bright);
  color: #fff;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transition: all var(--trans);
  white-space: nowrap;
}

.spotlight-add-btn:hover {
  background: #2563eb;
  transform: scale(1.04);
}

.spotlight-add-btn.in-cart {
  background: #10b981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   BUNDLE CARDS (ANIMATED HOVER & TOUCH)
═══════════════════════════════════════════════════════════ */
.bundles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.bundle-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bundle-card:hover {
  border-color: var(--border-focus);
  background: var(--surface-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(59, 130, 246, 0.2);
}

.bundle-card:active {
  transform: scale(0.98);
}

.bundle-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.bundle-card-top-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.bundle-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.bundle-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-bright);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
  text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.bundle-includes {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.4;
}

.bundle-note-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  margin-left: 0.35rem;
  opacity: 0.9;
  vertical-align: baseline;
}

/* ═══════════════════════════════════════════════════════════
   PLUGIN ITEMS (SUBTLE HOVER ELEVATION)
═══════════════════════════════════════════════════════════ */
.plugins-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.35rem;
}

.plugin-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.8rem;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.plugin-card:hover {
  border-color: rgba(96, 165, 250, 0.45);
  background: var(--surface-2);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 15px rgba(59, 130, 246, 0.15);
}

.plugin-card:active {
  transform: scale(0.98);
}

.plugin-name {
  font-size: 0.86rem;
  color: var(--text-2);
  font-weight: 500;
  word-break: break-word;
  transition: color 0.15s ease;
}

.plugin-card:hover .plugin-name {
  color: #fff;
}

.plugin-badges-wrap {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   BADGES (NEW, HOT, SALE)
═══════════════════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.12rem 0.35rem;
  border-radius: 3px;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-new {
  background: var(--badge-new);
  color: #fff;
}

.badge-hot {
  background: var(--badge-hot);
  color: #fff;
}

.badge-sale {
  background: var(--badge-sale);
  color: #fff;
}

.badge-best-seller,
.badge-bestseller,
.badge-best_seller {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #000;
  font-weight: 900;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.45);
}

.plugin-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
  flex: 1;
}

.plugin-note-tag {
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.25;
  font-weight: 450;
  opacity: 0.9;
  word-break: break-word;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.12rem;
}

.info-svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--text-muted);
  opacity: 0.8;
}

.bundle-note .info-svg {
  width: 13px;
  height: 13px;
  color: var(--text-2);
  opacity: 0.9;
}

/* ═══════════════════════════════════════════════════════════
   CART SELECTION INDICATORS & ACTIVE CARDS
═══════════════════════════════════════════════════════════ */
.cart-check-indicator {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
  transition: all var(--trans);
  flex-shrink: 0;
  margin-left: 0.25rem;
}

.plugin-card:hover .cart-check-indicator,
.bundle-card:hover .cart-check-indicator {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.5);
  color: var(--accent-bright);
  transform: scale(1.08);
}

.plugin-card.in-cart,
.bundle-card.in-cart {
  border-color: rgba(59, 130, 246, 0.8) !important;
  background: rgba(59, 130, 246, 0.1) !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
}

.cart-check-indicator.in-cart {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL SEARCH RESULTS GROUPS
═══════════════════════════════════════════════════════════ */
.search-category-group {
  margin-bottom: 2rem;
}

.search-category-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
}

.search-cat-icon {
  font-size: 1.1rem;
}

.search-cat-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

.search-cat-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-bright);
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  margin-left: auto;
}

/* ═══════════════════════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════════════════════ */
.highlight {
  background: transparent;
  color: inherit;
}

.empty-state {
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--text-muted);
}

.search-empty-state {
  max-width: 520px;
  margin: 1.5rem auto;
  padding: 2.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(3, 7, 18, 0.95));
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.search-empty-icon {
  font-size: 2.2rem;
  margin-bottom: 0.15rem;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.6));
}

.search-empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.search-empty-title strong {
  color: var(--accent-bright);
}

.search-empty-desc {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.5;
  max-width: 440px;
  margin-bottom: 0.65rem;
}

.search-empty-desc strong {
  color: #fff;
}

.search-empty-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  max-width: 320px;
}

.dm-request-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(253, 29, 29, 0.35);
  transition: all var(--trans);
}

.dm-request-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(253, 29, 29, 0.5);
  filter: brightness(1.08);
}

.empty-clear-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--trans);
}

.empty-clear-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.empty-state h3 {
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.empty-state p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.empty-btn {
  background: var(--surface-2);
  border: 1px solid var(--border-focus);
  color: var(--accent-bright);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════
   FLOATING ACTIONS (SEARCH & SCROLL TO TOP)
═══════════════════════════════════════════════════════════ */
.floating-actions {
  position: fixed;
  bottom: 5.5rem;
  right: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 99;
}

.floating-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 8, 30, 0.88);
  border: 1px solid var(--border-focus);
  color: var(--accent-bright);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(59, 130, 246, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-btn:hover {
  transform: scale(1.08);
  background: rgba(59, 130, 246, 0.25);
  border-color: var(--accent-bright);
}

.floating-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════════
   ORDER BUILDER / CART FLOATING BAR
═══════════════════════════════════════════════════════════ */
.order-cart-bar {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 1000;
  width: calc(100% - 2rem);
  max-width: 620px;
  background: rgba(3, 7, 18, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.45);
  border-radius: var(--radius-lg);
  padding: 0.65rem 1rem;
  backdrop-filter: blur(24px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 35px rgba(59, 130, 246, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.order-cart-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cart-upsell-banner {
  font-size: 0.76rem;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.5rem;
  text-align: center;
  line-height: 1.35;
  animation: fadeInUpsell 0.25s ease-out;
}

.cart-upsell-banner strong {
  color: #fff;
  font-weight: 700;
}

@keyframes fadeInUpsell {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.cart-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.cart-badge-icon {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  border-radius: 8px;
  padding: 0.3rem;
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.cart-count-line {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.cart-total-line {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.cart-orig-strike {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.75;
}

.cart-promo-total {
  font-size: 1.15rem;
  font-weight: 900;
  color: #60a5fa;
  text-shadow: 0 0 12px rgba(96, 165, 250, 0.6);
}

.cart-savings-pill {
  font-size: 0.65rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.spotlight-deal-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(59, 130, 246, 0.5));
}

.spotlight-deal-tag {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.spotlight-deal-qty {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-2);
}

.spotlight-hint {
  font-size: 0.68rem;
  color: var(--accent-bright);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.cart-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans);
  white-space: nowrap;
}

.cart-btn-clear {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  padding: 0.45rem 0.55rem;
}

.cart-btn-clear:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.cart-btn-copy {
  background: var(--surface-2);
  border: 1px solid var(--border-focus);
  color: #fff;
}

.cart-btn-copy:hover {
  background: var(--surface-3);
  border-color: var(--accent-bright);
}

.cart-btn-copy.copied {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.cart-btn-order {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
  border: 1px solid rgba(253, 29, 29, 0.4);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 0 16px rgba(253, 29, 29, 0.4);
}

.cart-btn-order:hover {
  filter: brightness(1.12);
  transform: scale(1.03);
  box-shadow: 0 0 22px rgba(253, 29, 29, 0.6);
}

.cart-btn-order.sent {
  background: linear-gradient(135deg, #059669, #10b981);
  border-color: #10b981;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.6);
}

.cart-btn-svg {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .platform-cards {
    grid-template-columns: 1fr;
  }

  .logo-title {
    font-size: 2.1rem;
  }

  .plugins-grid {
    grid-template-columns: 1fr;
  }

  .catalogue-main {
    padding: 1rem 0.75rem 6rem;
  }

  .sticky-controls {
    padding: 0.4rem 0.75rem;
  }

  .spotlight-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .spotlight-right {
    width: 100%;
    justify-content: space-between;
  }

  .order-cart-bar {
    width: calc(100% - 1rem);
    bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
  }

  .cart-bar-inner {
    gap: 0.4rem;
  }

  .cart-btn {
    padding: 0.4rem 0.65rem;
    font-size: 0.75rem;
  }

  .floating-actions {
    bottom: 6.5rem;
    right: 0.85rem;
  }
}
