@keyframes slide-up-fade {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.reveal {
  opacity: 0;
  animation: slide-up-fade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
}
.reveal:nth-child(1), .reveal.delay-1 {
  animation-delay: 0.1s;
}
.reveal:nth-child(2), .reveal.delay-2 {
  animation-delay: 0.2s;
}
.reveal:nth-child(3), .reveal.delay-3 {
  animation-delay: 0.3s;
}
.reveal:nth-child(4), .reveal.delay-4 {
  animation-delay: 0.4s;
}
.reveal:nth-child(5), .reveal.delay-5 {
  animation-delay: 0.5s;
}
.reveal:nth-child(6), .reveal.delay-6 {
  animation-delay: 0.6s;
}
.reveal:nth-child(7), .reveal.delay-7 {
  animation-delay: 0.7s;
}
.reveal:nth-child(8), .reveal.delay-8 {
  animation-delay: 0.8s;
}
.reveal:nth-child(9), .reveal.delay-9 {
  animation-delay: 0.9s;
}
.reveal:nth-child(10), .reveal.delay-10 {
  animation-delay: 1s;
}
.reveal:nth-child(11), .reveal.delay-11 {
  animation-delay: 1.1s;
}
.reveal:nth-child(12), .reveal.delay-12 {
  animation-delay: 1.2s;
}
.reveal:nth-child(13), .reveal.delay-13 {
  animation-delay: 1.3s;
}
.reveal:nth-child(14), .reveal.delay-14 {
  animation-delay: 1.4s;
}
.reveal:nth-child(15), .reveal.delay-15 {
  animation-delay: 1.5s;
}
.reveal:nth-child(16), .reveal.delay-16 {
  animation-delay: 1.6s;
}
.reveal:nth-child(17), .reveal.delay-17 {
  animation-delay: 1.7s;
}
.reveal:nth-child(18), .reveal.delay-18 {
  animation-delay: 1.8s;
}
.reveal:nth-child(19), .reveal.delay-19 {
  animation-delay: 1.9s;
}
.reveal:nth-child(20), .reveal.delay-20 {
  animation-delay: 2s;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}
.shimmer-text {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.4) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes glitch-skew {
  0% {
    transform: skew(0deg);
  }
  20% {
    transform: skew(-0.5deg);
  }
  40% {
    transform: skew(0.5deg);
  }
  60% {
    transform: skew(-0.2deg);
  }
  80% {
    transform: skew(0.2deg);
  }
  100% {
    transform: skew(0deg);
  }
}
@keyframes glitch-anim-1 {
  0% {
    clip-path: inset(20% 0 80% 0);
  }
  20% {
    clip-path: inset(60% 0 10% 0);
  }
  40% {
    clip-path: inset(40% 0 50% 0);
  }
  60% {
    clip-path: inset(80% 0 5% 0);
  }
  80% {
    clip-path: inset(10% 0 70% 0);
  }
  100% {
    clip-path: inset(30% 0 20% 0);
  }
}
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes scanline-move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100%;
  }
}
@keyframes border-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes rotate-3d {
  0% {
    transform: rotate3d(1, 1, 1, 0deg);
  }
  100% {
    transform: rotate3d(1, 1, 1, 360deg);
  }
}
* {
  box-sizing: border-box;
}

:root {
  --bg0: #050812;
  --bg1: #070a12;
  --ink: #eaf0ff;
  --muted: #a8b6e8;
  --stroke: rgba(255, 255, 255, 0.1);
  --stroke2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.05);
  --glass2: rgba(10, 18, 40, 0.55);
  --shadow: rgba(0, 0, 0, 0.55);
  --accent: #7c5cff;
  --accent2: #32d3ff;
  --accent3: #44d7b6;
  --danger: #ff4d6d;
  --border: rgba(255, 255, 255, 0.1);
  --text: #eaf0ff;
  --radius: 22px;
  --radius2: 18px;
}

[data-theme=cyber] {
  --accent: #ff00ff;
  --accent2: #f0ff00;
  --accent3: #00ff00;
  --bg0: #0a000a;
  --bg1: #1a001a;
  --glass2: rgba(40, 0, 40, 0.6);
  --muted: #ff77ff;
}

[data-theme=clean] {
  --accent: #ffffff;
  --accent2: #a8b6e8;
  --accent3: #44d7b6;
  --bg0: #050505;
  --bg1: #111111;
  --glass2: rgba(20, 20, 25, 0.8);
  --muted: #888;
}

html {
  background-color: #050812;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: #eaf0ff;
  background: radial-gradient(1200px 900px at 30% 10%, rgba(124, 92, 255, 0.14), transparent 55%), radial-gradient(900px 700px at 80% 20%, rgba(50, 211, 255, 0.12), transparent 55%), radial-gradient(900px 900px at 50% 100%, rgba(68, 215, 182, 0.08), transparent 60%), linear-gradient(180deg, #050812, #070a12);
  background-attachment: fixed;
  background-color: #050812;
  min-height: 100%;
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(50, 211, 255, 0.5);
  border: 0;
  border-radius: 4px;
}

.mono {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}

.muted {
  color: rgba(168, 182, 232, 0.75);
}

.text-accent {
  color: #7c5cff;
}

.text-accent2 {
  color: #32d3ff;
}

.text-accent3 {
  color: #44d7b6;
}

.text-xs {
  font-size: 11px;
}

.text-sm {
  font-size: 13px;
}

.text-base {
  font-size: 15px;
}

.text-lg {
  font-size: 18px;
}

.text-xl {
  font-size: 24px;
}

.text-2xl {
  font-size: 32px;
}

.text-3xl {
  font-size: 48px;
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 1.5rem 0;
  width: 100%;
}

a {
  color: #32d3ff;
  transition: color 0.2s ease;
}
a:hover {
  color: rgb(101, 221.9463414634, 255);
}

.wrap {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 20px 78px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 100vh;
}

#stars {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.85;
}

.aurora {
  position: fixed;
  inset: -20%;
  z-index: 1;
  background: radial-gradient(900px 600px at 15% 20%, rgba(124, 92, 255, 0.28), transparent 60%), radial-gradient(900px 600px at 85% 25%, rgba(50, 211, 255, 0.22), transparent 60%), radial-gradient(900px 700px at 55% 90%, rgba(68, 215, 182, 0.14), transparent 62%);
  filter: blur(40px) saturate(120%);
  animation: floaty 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.1;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12) 0px, transparent 2px, transparent 6px);
  background-size: 100% 8px;
  mix-blend-mode: overlay;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(1200px 800px at 50% 20%, transparent 60%, rgba(0, 0, 0, 0.55) 100%);
}

@keyframes floaty {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1.02);
  }
  100% {
    transform: translate3d(2%, 1%, 0) scale(1.06);
  }
}
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 0;
  pointer-events: none; /* Let clicks pass through gaps */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ... existing styles ... */
.user-info {
  display: flex;
  gap: 6px;
  align-items: center;
}

.user-commands {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* 
   The "Islands" Approach 
   Each group gets its own subtle glass background
*/
/* 1. Brand Island */
.brand-group {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: rgba(7, 10, 18, 0.6);
  backdrop-filter: blur(12px);
  padding: 8px 16px 8px 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s ease;
}
.brand-group:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.orb-mini {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: conic-gradient(from 0deg, #7c5cff, #32d3ff, #44d7b6, #7c5cff);
  box-shadow: 0 0 10px rgba(124, 92, 255, 0.3);
}

.brand-text {
  display: flex;
  gap: 8px;
  align-items: baseline;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}

.brand-name {
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: -0.5px;
}

.page-name {
  font-size: 10px;
  color: #a8b6e8;
  text-transform: uppercase;
}

/* 2. Nav Island */
.nav-group {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(7, 10, 18, 0.6);
  backdrop-filter: blur(12px);
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
@media (max-width: 800px) {
  .nav-group {
    display: none; /* For this design, let's keep it simple or it gets crowded */
  }
}

.nav-item {
  text-decoration: none;
  color: #a8b6e8;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.nav-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.nav-item.active {
  color: #000;
  background: #32d3ff;
  box-shadow: 0 0 15px rgba(50, 211, 255, 0.4);
  font-weight: 700;
}

/* 3. Utility Island */
.util-group {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(7, 10, 18, 0.6);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #44d7b6;
  box-shadow: 0 0 0 2px rgba(68, 215, 182, 0.2);
  animation: pulse 2s infinite;
}

.divider-vert {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.icon-btn {
  background: none;
  border: none;
  color: #a8b6e8;
  cursor: pointer;
  padding: 0;
  font-size: 14px;
}
.icon-btn:hover {
  color: #fff;
}

.card {
  position: relative;
  border-radius: 22px;
  background: var(--glass2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}
.card.hero {
  padding: 26px;
}
@media (min-width: 860px) {
  .card.hero {
    padding: 32px;
  }
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}
.card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), 0 0 30px rgba(124, 92, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}
.card:hover::after {
  opacity: 1;
}

.hero__grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(800px 400px at 50% 0%, black 20%, transparent 80%);
}

.gridGlow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(124, 92, 255, 0.15), transparent 70%);
  filter: blur(60px);
  animation: glow 10s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    transform: translate3d(-1%, -1%, 0);
    opacity: 0.45;
  }
  to {
    transform: translate3d(1%, 1%, 0);
    opacity: 0.7;
  }
}
.nav-link {
  text-decoration: none;
  color: #a8b6e8;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}
.nav-link.active {
  background: #7c5cff;
  color: #fff;
  border-color: #7c5cff;
  box-shadow: 0 4px 15px rgba(124, 92, 255, 0.3);
}

.calmBtn {
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(234, 240, 255, 0.92);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}
.calmBtn::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a8b6e8;
  transition: background 0.2s ease;
}
.calmBtn[aria-pressed=true]::before {
  background: #32d3ff;
  box-shadow: 0 0 10px #32d3ff;
}
.calmBtn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

[data-tooltip] {
  position: relative;
  cursor: help;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 6px 10px;
  background: rgba(7, 10, 18, 0.95);
  border: 1px solid #7c5cff;
  color: #fff;
  font-size: 11px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  white-space: nowrap;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 90%;
  max-width: 500px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  position: relative;
  border-radius: 22px;
  background: var(--glass2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header h3 {
  margin: 0;
  font-size: 18px;
}

.close-modal {
  background: none;
  border: none;
  color: #a8b6e8;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.close-modal:hover {
  color: #fff;
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
}

#serviceList {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
}
.service-status-dot.status-active {
  background: #44d7b6;
  box-shadow: 0 0 8px #44d7b6;
}
.service-status-dot.status-inactive {
  background: #ff4d6d;
}

.palette-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 15vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.palette-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.palette-overlay.active .palette-content {
  transform: scale(1);
}

.palette-content {
  width: 90%;
  max-width: 640px;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: scale(0.95);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.palette-input-wrapper {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#paletteInput {
  width: 100%;
  background: transparent;
  border: none;
  padding: 8px 4px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 500;
  outline: none;
}
#paletteInput::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

#paletteResults {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
}
#paletteResults::-webkit-scrollbar {
  width: 6px;
}
#paletteResults::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.palette-category {
  padding: 12px 12px 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(168, 182, 232, 0.5);
  pointer-events: none;
}

.palette-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  margin-bottom: 2px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
  color: rgba(255, 255, 255, 0.8);
  border-left: 2px solid transparent;
}
.palette-item .item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.palette-item .item-icon {
  font-size: 16px;
  opacity: 0.7;
  width: 20px;
  text-align: center;
}
.palette-item .item-text {
  font-size: 14px;
  font-weight: 500;
}
.palette-item .item-shortcut {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  font-family: monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}
.palette-item:hover, .palette-item.selected {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-left-color: #7c5cff;
}
.palette-item:hover .item-icon, .palette-item.selected .item-icon {
  opacity: 1;
  color: #7c5cff;
}
.palette-item:hover .item-shortcut, .palette-item.selected .item-shortcut {
  color: rgba(255, 255, 255, 0.6);
}

.palette-footer {
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  gap: 16px;
}
.palette-footer .footer-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(168, 182, 232, 0.6);
}
.palette-footer .footer-hint kbd {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 5px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 10px;
  color: #fff;
}

.toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 300px;
  max-width: 450px;
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(120%);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-radius: 24px 0 0 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.toast::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 0 0 24px 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.toast.active {
  transform: translateX(0);
}
.toast::before, .toast::after {
  width: 15px;
  height: 15px;
}
.toast .toast-icon {
  font-size: 20px;
  flex-shrink: 0;
}
.toast .toast-content {
  flex: 1;
}
.toast .toast-content .toast-title {
  display: block;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  margin-bottom: 2px;
}
.toast .toast-content .toast-msg {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.toast.toast-success {
  border-color: rgba(68, 215, 182, 0.3);
}
.toast.toast-success .toast-icon {
  color: #44d7b6;
}
.toast.toast-success .toast-title {
  color: #44d7b6;
}
.toast.toast-success::before, .toast.toast-success::after {
  border-color: rgba(68, 215, 182, 0.5);
}
.toast.toast-error {
  border-color: rgba(255, 77, 109, 0.3);
}
.toast.toast-error .toast-icon {
  color: #ff4d6d;
}
.toast.toast-error .toast-title {
  color: #ff4d6d;
}
.toast.toast-error::before, .toast.toast-error::after {
  border-color: rgba(255, 77, 109, 0.5);
}
.toast.toast-info {
  border-color: rgba(50, 211, 255, 0.3);
}
.toast.toast-info .toast-icon {
  color: #32d3ff;
}
.toast.toast-info .toast-title {
  color: #32d3ff;
}
.toast.toast-info::before, .toast.toast-info::after {
  border-color: rgba(50, 211, 255, 0.5);
}

/* Riced Dashboard Styles */
.hero {
  position: relative;
  overflow: hidden;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.03) 1px, transparent 1px), linear-gradient(0deg, rgba(124, 92, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  z-index: -1;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #7c5cff, transparent);
  animation: scanline-move 4s linear infinite;
  opacity: 0.5;
}

.hero__headline h2 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: linear-gradient(135deg, #fff 0%, #a8b6e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  opacity: 0;
  animation: slide-up-fade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.1s;
}
.hero__headline h2::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -1px 0 #ff4d6d;
  top: 0;
  color: #fff;
  background: transparent;
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
  animation: glitch-anim-1 3s infinite linear alternate-reverse;
  opacity: 0.7;
  z-index: -1;
}

.hero__headline p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(168, 182, 232, 0.8);
  max-width: 65ch;
  border-left: 2px solid #7c5cff;
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

/* Stats with Neon Glow */
.hero__stats {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
@media (min-width: 860px) {
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.stat:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(124, 92, 255, 0.3);
  box-shadow: 0 10px 30px -10px rgba(124, 92, 255, 0.15);
}
.stat:hover .stat__value {
  text-shadow: 0 0 15px rgba(124, 92, 255, 0.6);
}

.stat__label {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a8b6e8;
  margin-bottom: 10px;
  opacity: 0.8;
}

.stat__value {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  transition: text-shadow 0.3s ease;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}

/* Animated Gauges */
.health-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.gauge-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
  position: relative;
}
.gauge-box::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(50, 211, 255, 0.5), transparent);
}

.gauge-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #32d3ff;
  margin-bottom: 10px;
  display: block;
  font-weight: 600;
}

.gauge-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.gauge-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c5cff, #32d3ff);
  box-shadow: 0 0 15px rgba(124, 92, 255, 0.5);
  transition: width 1s ease-out;
}

.gauge-val {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  color: #fff;
  float: right;
  margin-top: 6px;
  opacity: 0.9;
}

/* 3D Floating Chips */
.hero__chips {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 3rem;
}
@media (min-width: 860px) {
  .hero__chips {
    grid-template-columns: repeat(3, 1fr);
  }
}

.chip {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  perspective: 1000px;
}
.chip:hover {
  transform: translateY(-8px) rotateX(5deg);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(68, 215, 182, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 25px rgba(68, 215, 182, 0.15);
}
.chip:hover .chip__icon {
  transform: scale(1.1) rotate(15deg);
  background: #44d7b6;
  color: #000;
  box-shadow: 0 0 20px rgba(68, 215, 182, 0.6);
}

.chip__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(68, 215, 182, 0.1);
  border: 1px solid rgba(68, 215, 182, 0.2);
  border-radius: 14px;
  color: #44d7b6;
  font-size: 20px;
  transition: all 0.4s ease;
}

.chip__meta {
  display: flex;
  flex-direction: column;
}

.chip__name {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.chip__desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Content Grid with Decoration */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.grid .card {
  background: rgba(5, 5, 10, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: 24px;
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.grid .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-top: 2px solid rgba(124, 92, 255, 0.3);
  border-left: 2px solid rgba(124, 92, 255, 0.3);
  border-radius: 20px 0 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.grid .card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid rgba(124, 92, 255, 0.3);
  border-right: 2px solid rgba(124, 92, 255, 0.3);
  border-radius: 0 0 20px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.grid .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  border-color: rgba(124, 92, 255, 0.2);
}
.grid .card:hover::before, .grid .card:hover::after {
  opacity: 1;
}
.grid h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -0.02em;
}
.grid h3::before {
  content: ">";
  color: #7c5cff;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 15px;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 8px;
  margin-bottom: auto;
}
.activity-feed::-webkit-scrollbar {
  width: 4px;
}
.activity-feed::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}

.activity-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: baseline;
}
.activity-item .time {
  font-size: 11px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  color: #7c5cff;
  opacity: 0.8;
}
.activity-item .type {
  font-size: 11px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  color: #a8b6e8;
  opacity: 0.6;
}
.activity-item p {
  grid-column: 1/-1;
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.5;
}

.hero__fineprint {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-align: right;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.project-card {
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  padding: 0 !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: float 6s ease-in-out infinite;
}
.project-card:nth-child(1) {
  animation-delay: 0.2s;
}
.project-card:nth-child(2) {
  animation-delay: 0.4s;
}
.project-card:nth-child(3) {
  animation-delay: 0.6s;
}
.project-card:nth-child(4) {
  animation-delay: 0.8s;
}
.project-card:nth-child(5) {
  animation-delay: 1s;
}
.project-card:nth-child(6) {
  animation-delay: 1.2s;
}
.project-card:nth-child(7) {
  animation-delay: 1.4s;
}
.project-card:nth-child(8) {
  animation-delay: 1.6s;
}
.project-card:nth-child(9) {
  animation-delay: 1.8s;
}
.project-card:nth-child(10) {
  animation-delay: 2s;
}
.project-card:nth-child(11) {
  animation-delay: 2.2s;
}
.project-card:nth-child(12) {
  animation-delay: 2.4s;
}
.project-card:nth-child(13) {
  animation-delay: 2.6s;
}
.project-card:nth-child(14) {
  animation-delay: 2.8s;
}
.project-card:nth-child(15) {
  animation-delay: 3s;
}
.project-card:nth-child(16) {
  animation-delay: 3.2s;
}
.project-card:nth-child(17) {
  animation-delay: 3.4s;
}
.project-card:nth-child(18) {
  animation-delay: 3.6s;
}
.project-card:nth-child(19) {
  animation-delay: 3.8s;
}
.project-card:nth-child(20) {
  animation-delay: 4s;
}
.project-card:hover {
  border-color: rgba(50, 211, 255, 0.3);
}
.project-card:hover .project-icon-box {
  background: #32d3ff;
  color: #000;
}

.project-header {
  padding: 30px 30px 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.project-icon-box {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(124, 92, 255, 0.2);
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #32d3ff;
  transition: all 0.3s ease;
}

.project-meta-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-meta-row {
  display: flex;
  gap: 6px;
}

.updated-date {
  font-size: 10px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  color: #a8b6e8;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.project-body {
  padding: 0 30px 20px;
  flex: 1;
}
.project-body h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}
.project-body p {
  font-size: 15px;
  color: rgba(168, 182, 232, 0.8);
  line-height: 1.7;
}

.project-footer {
  padding: 20px 30px 30px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.btn-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  width: 100%;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  font-size: 10px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #a8b6e8;
  padding: 5px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  text-transform: uppercase;
}
.tag:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.tag.active-tag {
  background: #32d3ff;
  color: #000;
  border-color: #32d3ff;
  box-shadow: 0 0 15px rgba(50, 211, 255, 0.4);
}

/* Archive Controls */
.archive-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.search-box {
  flex: 1;
  min-width: 300px;
}
.search-box input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px 24px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.search-box input:focus {
  border-color: #7c5cff;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.2);
}

.filter-chips {
  display: flex;
  gap: 10px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a8b6e8;
  padding: 10px 20px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}
.filter-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-2px);
}
.filter-btn.active {
  background: #7c5cff;
  border-color: #7c5cff;
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 92, 255, 0.3);
}

/* Project Detail Modal */
.detail-card {
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid #32d3ff;
  border-left: 2px solid #32d3ff;
  border-radius: 24px 0 0 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.detail-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid #32d3ff;
  border-right: 2px solid #32d3ff;
  border-radius: 0 0 24px 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.detail-card {
  width: 90%;
  max-width: 700px;
  padding: 3rem !important;
  box-shadow: 0 50px 150px rgba(0, 0, 0, 0.9);
}

.detail-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.detail-header .project-icon-box {
  width: 80px;
  height: 80px;
  font-size: 32px;
  border-radius: 20px;
}
.detail-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  letter-spacing: -1px;
}

.manifest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.manifest-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.manifest-item .label {
  font-size: 10px;
  color: #a8b6e8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.manifest-item .value {
  font-size: 16px;
  font-weight: 700;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}

.detail-notes {
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-bottom: 2.5rem;
}
.detail-notes h4 {
  margin-bottom: 1rem;
}
.detail-notes p {
  line-height: 1.8;
}

.artifacts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.artifacts-header .search-box {
  flex: 1;
  min-width: 300px;
}
.artifacts-header .search-box input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 14px 20px;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.artifacts-header .search-box input:focus {
  border-color: #7c5cff;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.2);
}

.view-toggles {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.view-btn {
  background: none;
  border: none;
  color: #a8b6e8;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.view-btn .icon {
  font-size: 18px;
}
.view-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}
.view-btn.active {
  background: #7c5cff;
  color: #000;
  box-shadow: 0 0 15px rgba(124, 92, 255, 0.3);
}

/* Base Display */
.artifacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 2rem;
  overflow: visible !important;
}

/* Card View (Default) */
.artifact-card {
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.artifact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-radius: 24px 0 0 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.artifact-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 0 0 24px 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.artifact-card {
  display: flex;
  flex-direction: column;
  padding: 2.5rem !important;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: float 6s ease-in-out infinite;
  overflow: visible !important;
}
.artifact-card .artifact-icon {
  font-size: 3.5rem;
  opacity: 0.6;
  margin-bottom: 1rem;
  transition: all 0.4s ease;
}
.artifact-card .artifact-info h3 {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  margin: 0.5rem 0;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.artifact-card .artifact-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.artifact-card .artifact-actions {
  margin-top: 2rem;
}
.artifact-card .artifact-actions .nav-link {
  width: 100%;
  text-align: center;
}
.artifact-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(124, 92, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 92, 255, 0.1);
}
.artifact-card:hover .artifact-icon {
  transform: scale(1.1) translateY(-5px);
  filter: drop-shadow(0 0 15px rgba(124, 92, 255, 0.5));
  opacity: 1;
}

/* List View Modifier */
.view-list {
  grid-template-columns: 1fr;
  gap: 12px;
}
.view-list .artifact-card {
  flex-direction: row;
  align-items: center;
  padding: 1rem 2rem !important;
  gap: 2rem;
  animation: none;
}
.view-list .artifact-card::before, .view-list .artifact-card::after {
  display: none;
}
.view-list .artifact-card .artifact-icon {
  font-size: 1.8rem;
  margin-bottom: 0;
  width: 40px;
  text-align: center;
}
.view-list .artifact-card .artifact-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.view-list .artifact-card .artifact-info h3 {
  font-size: 1.1rem;
  margin: 0;
  min-width: 250px;
}
.view-list .artifact-card .artifact-info .artifact-meta-top {
  margin-bottom: 0;
  gap: 1rem;
}
.view-list .artifact-card .artifact-info p {
  margin: 0;
  white-space: nowrap;
}
.view-list .artifact-card .artifact-actions {
  margin-top: 0;
}
.view-list .artifact-card .artifact-actions .nav-link {
  padding: 8px 20px;
}
.view-list .artifact-card:hover {
  transform: translateX(10px);
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 6rem;
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.empty-state .empty-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.3;
}
.empty-state p {
  font-size: 1.2rem;
  color: #a8b6e8;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}

.term-container {
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.term-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid #32d3ff;
  border-left: 2px solid #32d3ff;
  border-radius: 24px 0 0 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.term-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid #32d3ff;
  border-right: 2px solid #32d3ff;
  border-radius: 0 0 24px 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.term-container {
  background: rgba(5, 8, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 40px;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  height: 65vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 50px 150px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}

.term-output {
  flex: 1;
  overflow-y: auto;
  color: #32d3ff;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  padding-right: 15px;
  position: relative;
}
.term-output::-webkit-scrollbar {
  width: 6px;
}
.term-output::-webkit-scrollbar-thumb {
  background: rgba(50, 211, 255, 0.2);
  border-radius: 10px;
}
.term-output::-webkit-scrollbar-thumb:hover {
  background: rgba(50, 211, 255, 0.4);
}

.term-line {
  white-space: pre-wrap;
  margin-bottom: 8px;
  opacity: 0.9;
}
.term-line.boot-text {
  color: #44d7b6;
  opacity: 0;
  animation: boot-entry 0.5s forwards;
  font-weight: 700;
}
.term-line.term-error {
  color: #ff4d6d;
  font-weight: 700;
}

@keyframes boot-entry {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 0.7;
    transform: translateX(0);
  }
}
.term-input-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(0, 0, 0, 0.4);
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
}
.term-input-row:focus-within {
  border-color: rgba(50, 211, 255, 0.3);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 30px rgba(50, 211, 255, 0.1);
  transform: translateY(-1px);
}

.term-prompt {
  color: #32d3ff;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  opacity: 0.8;
}

#termInput {
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  flex: 1;
  outline: none;
  caret-color: #32d3ff;
}
#termInput::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.blueprint-container {
  padding: 4rem 3rem;
  background: rgba(5, 8, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(30px);
}
.blueprint-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(50, 211, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(50, 211, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.4;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 30%, transparent 95%);
  animation: grid-drift 60s linear infinite;
}
.blueprint-container::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(50, 211, 255, 0.03), transparent);
  animation: blueprint-sweep 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes grid-drift {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 1000px 1000px;
  }
}
@keyframes blueprint-sweep {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}
.blueprint-stage {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  padding: 3rem 0;
  align-items: center;
  position: relative;
  z-index: 2;
}

.bp-layer {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  padding: 2.5rem;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
}
.bp-layer::before {
  content: attr(data-label);
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  font-size: 0.65rem;
  color: #32d3ff;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  opacity: 0.4;
  writing-mode: vertical-rl;
  text-shadow: 0 0 10px rgba(50, 211, 255, 0.3);
}

.node-group {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.node {
  background: rgba(15, 20, 35, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 280px;
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}
.node::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.node:hover {
  border-color: rgba(50, 211, 255, 0.4);
  background: rgba(15, 20, 35, 0.9);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(50, 211, 255, 0.1);
}
.node:hover::before {
  opacity: 1;
}
.node:hover .node-icon {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 15px rgba(50, 211, 255, 0.6));
}
.node:hover .node-title {
  color: #32d3ff;
}
.node.primary {
  border-top: 2px solid #7c5cff;
}
.node.accent {
  border-top: 2px solid #32d3ff;
}
.node.storage {
  border-top: 2px solid #44d7b6;
}

.node-icon {
  font-size: 2rem;
  transition: all 0.4s ease;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
}

.node-content {
  display: flex;
  flex-direction: column;
}

.node-title {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  letter-spacing: -0.5px;
}

.node-desc {
  font-size: 0.75rem;
  color: rgba(168, 182, 232, 0.7);
  margin-top: 4px;
}

.bp-connector {
  width: 1px;
  height: 5rem;
  background: rgba(255, 255, 255, 0.05);
  position: relative;
}
.bp-connector::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #32d3ff, transparent);
  transform: translateX(-50%);
  animation: flow-down 3s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  filter: blur(1px);
  box-shadow: 0 0 15px #32d3ff;
}

@keyframes flow-down {
  0% {
    top: -50%;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}
.vault-controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.vault-controls::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-radius: 24px 0 0 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.vault-controls::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 0 0 24px 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}

.vault-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vault-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.vault-table-container {
  margin-top: 2rem;
  overflow-x: auto;
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  border-radius: 20px;
  position: relative;
}
.vault-table-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #32d3ff, transparent);
  opacity: 0.2;
  animation: scanline-move 6s linear infinite;
  pointer-events: none;
}
.vault-table-container table {
  width: 100%;
  border-collapse: collapse;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  font-size: 0.9rem;
}

tr {
  transition: background 0.2s ease, transform 0.2s ease;
}
tr:hover td {
  background: rgba(50, 211, 255, 0.03);
  color: #fff;
}

.error-banner {
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  border-color: #ff4d6d;
  margin: 1.5rem 0;
  padding: 1.2rem;
  color: #ff4d6d;
  font-family: monospace;
  font-size: 0.9rem;
  background: rgba(255, 77, 109, 0.05);
}
.error-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid #ff4d6d;
  border-left: 2px solid #ff4d6d;
  border-radius: 24px 0 0 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.error-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid #ff4d6d;
  border-right: 2px solid #ff4d6d;
  border-radius: 0 0 24px 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}

.status-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 8px;
  width: fit-content;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}
.status-tag.status-active {
  background: rgba(68, 215, 182, 0.15);
  color: #44d7b6;
  border: 1px solid rgba(68, 215, 182, 0.3);
}
.status-tag.status-inactive {
  background: rgba(255, 77, 109, 0.15);
  color: #ff4d6d;
  border: 1px solid rgba(255, 77, 109, 0.3);
}

.type-tag {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}
.type-tag.type-lab {
  color: #32d3ff;
  background: rgba(50, 211, 255, 0.05);
  border-color: rgba(50, 211, 255, 0.3);
}
.type-tag.type-professional {
  color: #44d7b6;
  background: rgba(68, 215, 182, 0.05);
  border-color: rgba(68, 215, 182, 0.3);
}

.action-group {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}
.action-group a, .action-group button {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}
.action-group a.text-accent2:hover, .action-group button.text-accent2:hover {
  color: #fff;
  text-shadow: 0 0 10px #32d3ff;
}
.action-group a.text-danger:hover, .action-group button.text-danger:hover {
  color: #fff;
  text-shadow: 0 0 10px #ff4d6d;
}

/* Vault Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
}
.modal-overlay.active {
  display: flex;
}
.modal-overlay .card {
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.modal-overlay .card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-radius: 24px 0 0 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.modal-overlay .card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 0 0 24px 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.modal-overlay .card {
  width: 90%;
  max-width: 550px;
  padding: 3rem;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.8);
}
.modal-overlay .card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
}

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.form-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.form-input:focus {
  outline: none;
  border-color: #7c5cff;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 15px rgba(124, 92, 255, 0.2);
}

.file-input {
  display: block;
  margin-bottom: 2rem;
  color: #a8b6e8;
  font-family: monospace;
  width: 100%;
  padding: 2rem;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}
.file-input:hover {
  border-color: #32d3ff;
  background: rgba(50, 211, 255, 0.02);
  color: #fff;
}

.upload-dropzone {
  margin-top: 1rem;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}
.upload-dropzone:hover, .upload-dropzone.dragover {
  border-color: #32d3ff;
  background: rgba(50, 211, 255, 0.05);
  transform: scale(1.01);
}
.upload-dropzone .dropzone-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px rgba(50, 211, 255, 0.3));
}

.upload-file-list {
  margin-top: 1.5rem;
  max-height: 150px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.upload-file-list::-webkit-scrollbar {
  width: 4px;
}
.upload-file-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
}
.upload-file-list .file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}
.upload-file-list .file-item .file-name {
  color: #fff;
}
.upload-file-list .file-item .file-size {
  color: #a8b6e8;
}

.upload-progress-container {
  margin-top: 2rem;
}
.upload-progress-container .progress-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #7c5cff;
}
.upload-progress-container .progress-bar-wrap {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}
.upload-progress-container .progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #7c5cff, #32d3ff);
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 15px rgba(124, 92, 255, 0.5);
}

.modal-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* Bulk Bar */
.bulk-bar {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(15, 20, 35, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(124, 92, 255, 0.3);
  padding: 12px 24px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 500;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(124, 92, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.bulk-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid #7c5cff;
  border-left: 2px solid #7c5cff;
  border-radius: 24px 0 0 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.bulk-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid #7c5cff;
  border-right: 2px solid #7c5cff;
  border-radius: 0 0 24px 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.bulk-bar::before, .bulk-bar::after {
  border-radius: 999px;
  width: 40px;
  height: 100%;
  border-width: 1px;
}
.bulk-bar.active {
  transform: translateX(-50%) translateY(0);
}

.bulk-info {
  color: #fff;
  white-space: nowrap;
}
.bulk-info span {
  color: #7c5cff;
  font-weight: 800;
}

.bulk-actions {
  display: flex;
  gap: 12px;
}

.bulk-btn {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
}
.bulk-btn.download {
  background: rgba(50, 211, 255, 0.1);
  color: #32d3ff;
  border-color: rgba(50, 211, 255, 0.3);
}
.bulk-btn.download:hover {
  background: #32d3ff;
  color: #000;
  box-shadow: 0 0 15px rgba(50, 211, 255, 0.4);
}
.bulk-btn.public {
  background: rgba(68, 215, 182, 0.1);
  color: #44d7b6;
  border-color: rgba(68, 215, 182, 0.3);
}
.bulk-btn.public:hover {
  background: #44d7b6;
  color: #000;
  box-shadow: 0 0 15px rgba(68, 215, 182, 0.4);
}
.bulk-btn.private {
  background: rgba(168, 182, 232, 0.1);
  color: #a8b6e8;
  border-color: rgba(168, 182, 232, 0.3);
}
.bulk-btn.private:hover {
  background: #a8b6e8;
  color: #000;
  box-shadow: 0 0 15px rgba(168, 182, 232, 0.4);
}
.bulk-btn.delete {
  background: rgba(255, 77, 109, 0.1);
  color: #ff4d6d;
  border-color: rgba(255, 77, 109, 0.3);
}
.bulk-btn.delete:hover {
  background: #ff4d6d;
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 77, 109, 0.4);
}

.login-container {
  max-width: 420px;
  margin: 6rem auto;
  padding: 3rem;
  background: rgba(10, 15, 30, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.login-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid rgba(124, 92, 255, 0.4);
  border-left: 2px solid rgba(124, 92, 255, 0.4);
  border-radius: 24px 0 0 0;
}
.login-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid rgba(124, 92, 255, 0.4);
  border-right: 2px solid rgba(124, 92, 255, 0.4);
  border-radius: 0 0 24px 0;
}

.login-form {
  position: relative;
  z-index: 2;
}
.login-form .form-group {
  margin-bottom: 2rem;
}
.login-form .form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #32d3ff;
  text-shadow: 0 0 10px rgba(50, 211, 255, 0.3);
}
.login-form .form-group input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  color: #fff;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  outline: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.login-form .form-group input:focus {
  border-color: #7c5cff;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(124, 92, 255, 0.2);
  transform: translateY(-1px);
}
.login-form .login-btn {
  width: 100%;
  margin-top: 1rem;
  padding: 16px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #7c5cff 0%, #32d3ff 100%);
  color: #000;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.login-form .login-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(124, 92, 255, 0.4);
  filter: brightness(1.1);
}
.login-form .login-btn:active {
  transform: translateY(0);
}

.error-msg {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  font-size: 0.8rem;
  color: #ff4d6d;
  background: rgba(255, 77, 109, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.2);
  padding: 12px;
  border-radius: 10px;
  margin-top: 1.5rem;
  text-align: center;
  animation: shake 0.4s ease-in-out;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.profile-container {
  max-width: 900px;
  margin: 4rem auto;
  padding: 4rem;
  background: var(--bg1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}
.profile-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
  border-radius: 24px 0 0 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}
.profile-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-bottom: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  border-radius: 0 0 24px 0;
  pointer-events: none;
  transition: all 0.3s ease;
  opacity: 0.4;
}

.profile-header {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 2;
}
.profile-header h3 {
  margin: 0 0 0.5rem;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #fff;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.profile-title-group {
  display: flex;
  flex-direction: column;
}

.profile-meta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.profile-orb {
  width: 80px;
  height: 80px;
  animation: orbRotate 12s linear infinite, float 6s ease-in-out infinite;
}

.profile-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
@media (max-width: 800px) {
  .profile-layout-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.profile-form {
  position: relative;
  z-index: 2;
}
.profile-form h4 {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #7c5cff;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.profile-form h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.3), transparent);
}
.profile-form .form-group {
  margin-bottom: 1.8rem;
}
.profile-form .form-group label {
  display: block;
  margin-bottom: 0.8rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  font-size: 0.7rem;
  color: rgba(168, 182, 232, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
.profile-form .form-group input, .profile-form .form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 14px 18px;
  font-family: "JetBrains Mono", monospace;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.profile-form .form-group input:focus, .profile-form .form-group textarea:focus {
  border-color: #7c5cff;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 25px rgba(124, 92, 255, 0.15), inset 0 0 10px rgba(124, 92, 255, 0.05);
  outline: none;
  transform: translateY(-1px);
}
.profile-form .form-group textarea {
  resize: vertical;
  line-height: 1.6;
  font-size: 0.9rem;
}
.profile-form .form-actions {
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  margin-top: 2rem;
}
.profile-form .form-actions .nav-link {
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.contact-container {
  max-width: 650px;
  margin: 0 auto;
  position: relative;
  border-radius: 22px;
  background: var(--glass2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(24px);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 2.5rem;
}

.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}
.contact-header .contact-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 600px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.contact-form .form-group label {
  display: block;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-form .form-group input, .contact-form .form-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  border-radius: 6px;
  transition: border-color 0.2s;
}
.contact-form .form-group input:focus, .contact-form .form-group textarea:focus {
  border-color: #7c5cff;
  outline: none;
  background: rgba(0, 0, 0, 0.4);
}
.contact-form .form-group textarea {
  resize: vertical;
}

.captcha-group .captcha-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(124, 92, 255, 0.05);
  padding: 1rem;
  border-radius: 6px;
  border: 1px dashed rgba(124, 92, 255, 0.2);
}
.captcha-group .captcha-box .captcha-question {
  font-size: 1.1rem;
  color: #32d3ff;
  font-weight: bold;
}
.captcha-group .captcha-box .captcha-input {
  width: 80px;
  text-align: center;
  font-size: 1.1rem;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}
.form-actions button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.alert-box {
  padding: 1rem;
  margin-bottom: 2rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-variant-ligatures: none;
  font-size: 0.85rem;
  border-left: 3px solid;
  background: rgba(0, 0, 0, 0.3);
}
.alert-box.alert-success {
  border-color: #44d7b6;
  color: #44d7b6;
}
.alert-box.alert-error {
  border-color: #ff4d6d;
  color: #ff4d6d;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.reveal:nth-child(1) {
  animation-delay: 0.1s;
}
.reveal:nth-child(2) {
  animation-delay: 0.2s;
}
.reveal:nth-child(3) {
  animation-delay: 0.3s;
}
.reveal:nth-child(4) {
  animation-delay: 0.4s;
}
.reveal:nth-child(5) {
  animation-delay: 0.5s;
}
.reveal:nth-child(6) {
  animation-delay: 0.6s;
}
.reveal:nth-child(7) {
  animation-delay: 0.7s;
}
.reveal:nth-child(8) {
  animation-delay: 0.8s;
}
.reveal:nth-child(9) {
  animation-delay: 0.9s;
}
.reveal:nth-child(10) {
  animation-delay: 1s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Status Pill */
.status__pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  font-weight: 700;
  font-size: 12px;
}

.status__meta {
  color: #a8b6e8;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #44d7b6;
  box-shadow: 0 0 0 6px rgba(68, 215, 182, 0.12);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(68, 215, 182, 0.1);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 0 10px rgba(68, 215, 182, 0.05);
  }
}
/* Orb */
.orb, .profile-orb {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  position: relative;
  background: conic-gradient(from 0deg, #7c5cff, #32d3ff, #44d7b6, #7c5cff);
  box-shadow: 0 22px 90px rgba(124, 92, 255, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transform: translateZ(0);
  overflow: hidden;
  animation: orbRotate 12s linear infinite;
  transition: transform 0.1s ease-out;
}

@keyframes orbRotate {
  from {
    filter: hue-rotate(0deg);
  }
  to {
    filter: hue-rotate(360deg);
  }
}
.orb__inner {
  position: absolute;
  inset: 2px;
  border-radius: 16px;
  background: radial-gradient(18px 18px at 25% 30%, rgba(255, 255, 255, 0.28), transparent 55%), radial-gradient(40px 40px at 70% 75%, rgba(0, 0, 0, 0.3), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.08));
  backdrop-filter: blur(6px);
}

.orb__spec {
  position: absolute;
  inset: -60%;
  background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
  transform: rotate(10deg);
  animation: sheen 3.4s ease-in-out infinite;
  opacity: 0.9;
}

@keyframes sheen {
  0% {
    transform: translateX(-30%) rotate(10deg);
    opacity: 0;
  }
  35% {
    opacity: 0.65;
  }
  60% {
    opacity: 0.25;
  }
  100% {
    transform: translateX(30%) rotate(10deg);
    opacity: 0;
  }
}
/* Glitch */
.glitch-text {
  position: relative;
  display: inline-block;
}
.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}
.glitch-text:hover::before {
  left: 2px;
  text-shadow: -2px 0 #ff4d6d;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glitch-text:hover::after {
  left: -2px;
  text-shadow: -2px 0 #32d3ff;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% {
    clip: rect(31px, 9999px, 94px, 0);
  }
  100% {
    clip: rect(22px, 9999px, 34px, 0);
  }
}
@keyframes glitch-anim2 {
  0% {
    clip: rect(65px, 9999px, 100px, 0);
  }
  100% {
    clip: rect(40px, 9999px, 10px, 0);
  }
}
/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__left .mono {
  font-size: 13px;
  letter-spacing: -0.2px;
}
.footer__left .muted {
  font-size: 12px;
}

.footer__right {
  color: rgba(168, 182, 232, 0.5);
  font-size: 11px;
}

/* Calm Mode */
body.calm .scanlines {
  opacity: 0.04;
}
body.calm .aurora {
  filter: blur(55px) saturate(105%);
  animation: none;
  opacity: 0.55;
}
body.calm #stars {
  opacity: 0.35;
}
body.calm .pulse {
  animation: none;
  box-shadow: 0 0 0 4px rgba(68, 215, 182, 0.08);
}
body.calm * {
  transition-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
}

/* Easter glitch bloom */
body.easter .aurora {
  filter: blur(35px) saturate(160%);
  opacity: 0.95;
}
body.easter .scanlines {
  opacity: 0.18;
}
body.easter .card {
  border-color: rgba(124, 92, 255, 0.35);
}
