/* =============================================
   QQQ — PORTFOLIO
   Design tokens
   ============================================= */
:root {
  --void:        #05060b;
  --panel:       #0b0e18;
  --panel-2:     #10131f;
  --glass:       rgba(255, 255, 255, 0.045);
  --glass-brd:   rgba(255, 255, 255, 0.09);
  --violet:      #7c6cf6;
  --violet-soft: #a99bff;
  --cyan:        #43e6d0;
  --amber:       #ffb454;
  --text-hi:     #eef0fb;
  --text-mid:    #b3b8d1;
  --text-low:    #6d7290;
  --font-disp:   'Space Grotesk', sans-serif;
  --font-body:   'Inter', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
  --radius:      16px;
  --ease:        cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--void);
  color: var(--text-hi);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--violet); color: #05060b; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: #1c2033; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--violet); }

/* =============================================
   BACKGROUND LAYERS
   ============================================= */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
}
.bg-aurora {
  position: fixed;
  inset: -20%;
  z-index: -2;
  background:
    radial-gradient(45% 35% at 18% 12%, rgba(124,108,246,0.22), transparent 70%),
    radial-gradient(40% 32% at 85% 22%, rgba(67,230,208,0.14), transparent 70%),
    radial-gradient(50% 40% at 50% 95%, rgba(124,108,246,0.14), transparent 70%);
  filter: blur(40px);
  animation: auroraDrift 22s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes auroraDrift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.06); }
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: center;
  padding: 18px 24px;
  transition: padding .3s var(--ease);
}
.nav-inner {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(8, 10, 18, 0.55);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--violet), var(--cyan));
  color: #05060b;
  font-weight: 700;
  font-size: 0.85rem;
}
.cursor-blink { animation: blink 1.1s steps(1) infinite; color: var(--violet-soft); }
@keyframes blink { 50% { opacity: 0; } }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-link {
  font-size: 0.88rem;
  color: var(--text-mid);
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--cyan);
  transition: width .25s var(--ease);
}
.nav-link:hover { color: var(--text-hi); }
.nav-link:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--text-hi);
  border-radius: 2px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
  position: relative;
}
.hero-content { max-width: 700px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  padding: 6px 14px;
  border: 1px solid var(--glass-brd);
  border-radius: 999px;
  background: var(--glass);
  margin: 0 0 28px;
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.35; } }

.hero-title { margin: 0 0 22px; line-height: 1; }
.hero-name {
  display: block;
  font-family: var(--font-disp);
  font-weight: 700;
  font-size: clamp(3.4rem, 11vw, 7.2rem);
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #ffffff 20%, var(--text-mid) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-role {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: var(--violet-soft);
}
.hero-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto 38px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  border: 1px solid transparent;
}
.btn-primary {
  background: linear-gradient(135deg, var(--violet), #5a48e0);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(124,108,246,0.65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -6px rgba(124,108,246,0.8); }
.btn-ghost {
  background: var(--glass);
  border-color: var(--glass-brd);
  color: var(--text-hi);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); transform: translateY(-2px); }

.scroll-cue {
  position: absolute;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-low);
}
.scroll-line { width: 1px; height: 34px; background: rgba(255,255,255,0.12); position: relative; overflow: hidden; }
.scroll-line i { position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--cyan); animation: scrollDown 1.8s ease-in-out infinite; }
@keyframes scrollDown { 50% { top: 0%; } 100% { top: 100%; } }

/* =============================================
   SECTION SHELL
   ============================================= */
.section { padding: 110px 24px; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.015) 15%, rgba(255,255,255,0.015) 85%, transparent); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 10px;
}
.section-title {
  font-family: var(--font-disp);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.section-sub { color: var(--text-mid); font-size: 1rem; margin: 0; line-height: 1.6; }

/* =============================================
   GLOBE
   ============================================= */
.globe-wrap {
  position: relative;
  max-width: 620px;
  height: 480px;
  margin: 0 auto;
}
#globe-canvas { width: 100%; height: 100%; cursor: grab; touch-action: none; }
#globe-canvas:active { cursor: grabbing; }
.globe-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.globe-pill {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(10,12,22,0.72);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(6px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-hi);
  white-space: nowrap;
  transition: opacity .1s linear;
  will-change: transform, opacity;
}
.globe-hint {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-low);
  letter-spacing: 0.05em;
}

/* =============================================
   CODE EDITOR
   ============================================= */
.editor {
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0a0c14;
  border: 1px solid var(--glass-brd);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.7);
}
.editor-titlebar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 14px;
  background: #0e111c;
  border-bottom: 1px solid var(--glass-brd);
}
.editor-dots { display: flex; gap: 7px; padding-left: 4px; }
.editor-dots span { width: 11px; height: 11px; border-radius: 50%; }
.editor-dots span:nth-child(1) { background: #ff5f56; }
.editor-dots span:nth-child(2) { background: #ffbd2e; }
.editor-dots span:nth-child(3) { background: #27c93f; }
.editor-tabs { display: flex; gap: 2px; overflow-x: auto; }
.editor-tab {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 6px 14px;
  color: var(--text-low);
  border-radius: 7px 7px 0 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.editor-tab.active { color: var(--text-hi); background: rgba(255,255,255,0.06); }
.editor-tab:hover { color: var(--text-hi); }

.editor-body {
  display: flex;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.65;
  min-height: 300px;
  max-height: 380px;
  overflow: auto;
}
.editor-gutter {
  padding: 16px 12px;
  text-align: right;
  color: #3b3f52;
  user-select: none;
  border-right: 1px solid var(--glass-brd);
}
.editor-gutter div { padding: 0 4px; }
.editor-code {
  margin: 0;
  padding: 16px 20px;
  flex: 1;
  white-space: pre;
  color: #cbd2f0;
}
.tok-kw   { color: #c792ea; }
.tok-str  { color: #ecc48d; }
.tok-fn   { color: #82aaff; }
.tok-com  { color: #616a8f; font-style: italic; }
.tok-num  { color: #f78c6c; }
.tok-type { color: #43e6d0; }
.tok-var  { color: #eef0fb; }
.editor-caret {
  display: inline-block;
  width: 7px; height: 1.1em;
  background: var(--cyan);
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}

.editor-terminal {
  border-top: 1px solid var(--glass-brd);
  background: #07080f;
}
.term-titlebar {
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text-low);
  border-bottom: 1px solid var(--glass-brd);
}
.term-body {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  padding: 12px 16px;
  min-height: 64px;
  color: #8bd3ff;
}
.term-line { margin: 2px 0; }
.term-line .term-prompt { color: var(--cyan); margin-right: 6px; }

/* =============================================
   PROJECTS
   ============================================= */
.project-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.project-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124,108,246,0.4);
}
.project-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(320px circle at var(--mx,50%) var(--my,0%), rgba(124,108,246,0.14), transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.project-card:hover::before { opacity: 1; }
.project-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.project-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(67,230,208,0.12);
  color: var(--cyan);
  border: 1px solid rgba(67,230,208,0.28);
}
.project-title {
  font-family: var(--font-disp);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 8px;
}
.project-desc {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.55;
  margin: 0 0 18px;
}
.project-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.stack-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(255,255,255,0.05);
  color: var(--text-mid);
  border: 1px solid var(--glass-brd);
}
.project-links { display: flex; gap: 10px; }
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-hi);
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--glass-brd);
  transition: background .2s, border-color .2s;
}
.project-link:hover { background: rgba(255,255,255,0.07); border-color: var(--violet); }

/* =============================================
   CONTACT
   ============================================= */
.contact-card {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  text-align: center;
  overflow: hidden;
  transition: transform .3s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(88,101,242,0.25), transparent 65%);
  animation: auroraDrift 10s ease-in-out infinite alternate;
  pointer-events: none;
}
.contact-icon {
  position: relative;
  width: 62px; height: 62px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: rgba(88,101,242,0.14);
  color: #7c8cff;
}
.contact-label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-low);
  margin: 0 0 4px;
}
.contact-handle {
  position: relative;
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-hi);
  margin: 0 0 22px;
}
.contact-copy {
  position: relative;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--glass-brd);
  background: rgba(255,255,255,0.04);
  color: var(--text-hi);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.contact-copy:hover { background: linear-gradient(135deg, var(--violet), #5a48e0); border-color: transparent; }
.contact-copy.copied { background: rgba(67,230,208,0.16); border-color: var(--cyan); color: var(--cyan); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  text-align: center;
  padding: 40px 24px 60px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-low);
}

/* =============================================
   TOAST
   ============================================= */
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0e111c;
  border: 1px solid var(--glass-brd);
  color: var(--text-hi);
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 900;
  font-family: var(--font-body);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* =============================================
   EASTER EGGS
   ============================================= */
.devmode-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(67,230,208,0.14);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
  z-index: 400;
}
.devmode-badge.show { opacity: 1; transform: translateY(0); }

.pixel-duck {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0.5;
  transition: opacity .2s, transform .2s;
  z-index: 400;
}
.pixel-duck:hover { opacity: 1; transform: scale(1.15) rotate(-6deg); }
.pixel-duck.walk { animation: duckWalk 3.6s linear; }
@keyframes duckWalk {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(-60vw) scaleX(-1); }
  51%  { transform: translateX(-60vw) scaleX(-1); }
  100% { transform: translateX(0) scaleX(1); }
}

.hterm {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 320px;
  background: rgba(8,10,18,0.92);
  border: 1px solid var(--glass-brd);
  border-radius: 12px;
  backdrop-filter: blur(14px);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  z-index: 600;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
  display: none;
  flex-direction: column;
}
.hterm.open { display: flex; }
.hterm-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  color: var(--text-low);
  border-bottom: 1px solid var(--glass-brd);
}
.hterm-bar button {
  background: none; border: none; color: var(--text-low);
  cursor: pointer; font-size: 1rem; line-height: 1;
}
.hterm-body { padding: 10px 12px; max-height: 180px; overflow-y: auto; color: var(--cyan); }
.hterm-body div { margin: 3px 0; color: var(--text-mid); }
.hterm-body .out-accent { color: var(--cyan); }
.hterm-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid var(--glass-brd);
}
.hterm-prompt { color: var(--violet-soft); }
.hterm-input-row input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-hi);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.shooting-star {
  position: fixed;
  width: 2px; height: 2px;
  background: #fff;
  border-radius: 50%;
  z-index: -1;
  box-shadow: 0 0 6px 1px #fff, -60px 0 10px 1px rgba(255,255,255,0.4);
  pointer-events: none;
}

.matrix-rain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s;
}
.matrix-rain.show { opacity: 1; }

/* =============================================
   FOCUS / MOTION
   ============================================= */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 70px; right: 18px;
    flex-direction: column;
    gap: 4px;
    background: rgba(8,10,18,0.95);
    border: 1px solid var(--glass-brd);
    border-radius: 14px;
    padding: 12px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .globe-wrap { height: 380px; }
  .editor-body { max-height: 300px; }
  .hterm { width: calc(100vw - 40px); right: 20px; }
}


/* =============================================
   ADMIN CONSOLE — F2 to open (untouched, carried over)
   ============================================= */
   ADMIN CONSOLE — F2 to open
   ============================================= */
/* =============================================
   ADMIN CONSOLE — v5 redesign
   Bigger, nicer, animated, tabbed
   ============================================= */

/* ════════════════════════════════════════════════════════
   ADMIN CONSOLE — femboy edition 💗
   hot pink · lavender · white · soft glow
   ════════════════════════════════════════════════════════ */

#admin-console {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 0, 18, 0.92);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
#admin-console.adm-open {
  opacity: 1;
  pointer-events: all;
}

.adm-inner {
  width: min(1100px, 97vw);
  height: min(720px, 93vh);
  background: #0d0715;
  border: 1px solid rgba(255, 100, 200, 0.22);
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(255, 100, 200, 0.07),
    0 0 80px rgba(255, 80, 180, 0.18),
    0 0 40px rgba(200, 100, 255, 0.1) inset,
    0 48px 120px rgba(0,0,0,0.95);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: 'Space Grotesk', 'Share Tech Mono', monospace;
  font-size: 12.5px;
  transform: scale(0.93) translateY(24px);
  transition: transform 0.3s cubic-bezier(0.34, 1.46, 0.64, 1);
  position: relative;
}
#admin-console.adm-open .adm-inner {
  transform: scale(1) translateY(0);
}

/* ── Scanline + noise overlay ── */
.adm-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(0,0,0,0.06) 3px,
      rgba(0,0,0,0.06) 4px
    );
  pointer-events: none;
  z-index: 0;
  border-radius: 18px;
}
/* subtle pink corner glow */
.adm-inner::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,80,180,0.09) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* ── Title bar ── */
.adm-titlebar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.1rem;
  height: 46px;
  background: linear-gradient(180deg, #120820 0%, #0d0715 100%);
  border-bottom: 1px solid rgba(255, 100, 200, 0.12);
  flex-shrink: 0;
  gap: 1rem;
}
.adm-titlebar-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.adm-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}
.adm-dot:hover { filter: brightness(1.4); transform: scale(1.15); }
.adm-dot-red    { background: #ff5f8a; box-shadow: 0 0 8px rgba(255,95,138,0.7); }
.adm-dot-yellow { background: #f5a0d0; box-shadow: 0 0 8px rgba(245,160,208,0.6); }
.adm-dot-green  { background: #c084fc; box-shadow: 0 0 8px rgba(192,132,252,0.6); }
.adm-title {
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.72rem;
  color: rgba(255, 150, 220, 0.55);
  letter-spacing: 0.1em;
  margin-left: 0.4rem;
}

/* ── Tabs ── */
.adm-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.adm-tab {
  background: none;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.2);
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 1.1rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s;
}
.adm-tab:hover {
  color: rgba(255, 180, 235, 0.7);
  border-color: rgba(255, 100, 200, 0.15);
}
.adm-tab.active {
  color: #ff64c8;
  background: rgba(255, 100, 200, 0.1);
  border-color: rgba(255, 100, 200, 0.28);
  text-shadow: 0 0 12px rgba(255, 100, 200, 0.6);
}

.adm-titlebar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.adm-status-badge {
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 2px 10px;
  border-radius: 20px;
  background: rgba(192, 132, 252, 0.12);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.25);
  text-shadow: 0 0 8px rgba(192, 132, 252, 0.6);
}
.adm-status-badge.locked {
  background: rgba(255, 100, 200, 0.1);
  color: #ff80cc;
  border-color: rgba(255, 100, 200, 0.2);
  text-shadow: 0 0 8px rgba(255, 100, 200, 0.5);
}

/* ── Body ── */
.adm-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ── Sidebar ── */
.adm-sidebar {
  width: 178px;
  flex-shrink: 0;
  background: #0a0512;
  border-right: 1px solid rgba(255, 100, 200, 0.08);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 0.6rem 0;
  scrollbar-width: none;
}
.adm-sidebar::-webkit-scrollbar { display: none; }

.adm-sidebar-section {
  padding: 0.5rem 0.85rem 0.25rem;
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(255, 100, 200, 0.35);
  text-transform: uppercase;
}
.adm-sidebar-cmd {
  display: block;
  width: 100%;
  background: none;
  border: none;
  border-left: 2px solid transparent;
  text-align: left;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.7rem;
  color: rgba(255, 200, 240, 0.3);
  padding: 0.3rem 0.85rem;
  cursor: pointer;
  transition: all 0.12s;
  letter-spacing: 0.02em;
}
.adm-sidebar-cmd:hover {
  color: #ffccee;
  background: rgba(255, 100, 200, 0.07);
  border-left-color: rgba(255, 100, 200, 0.4);
}
.adm-sidebar-cmd.live { color: rgba(192, 132, 252, 0.65); }
.adm-sidebar-cmd.live:hover {
  color: #c084fc;
  background: rgba(192, 132, 252, 0.08);
  border-left-color: rgba(192, 132, 252, 0.5);
  text-shadow: 0 0 8px rgba(192, 132, 252, 0.5);
}
.adm-sidebar-cmd.danger { color: rgba(255, 100, 150, 0.35); }
.adm-sidebar-cmd.danger:hover {
  color: #ff6496;
  background: rgba(255, 100, 150, 0.07);
  border-left-color: rgba(255, 100, 150, 0.45);
}
.adm-sidebar-cmd.active {
  color: #ff64c8;
  background: rgba(255, 100, 200, 0.1);
  border-left-color: #ff64c8;
  text-shadow: 0 0 10px rgba(255, 100, 200, 0.5);
}
.adm-sidebar-divider {
  height: 1px;
  background: rgba(255, 100, 200, 0.07);
  margin: 0.4rem 0.5rem;
}

/* ── Main ── */
.adm-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Stats bar ── */
.adm-statsbar {
  display: flex;
  border-bottom: 1px solid rgba(255, 100, 200, 0.09);
  flex-shrink: 0;
  background: #0a0512;
}
.adm-stat-pill {
  flex: 1;
  padding: 0.5rem 0.5rem;
  border-right: 1px solid rgba(255, 100, 200, 0.06);
  text-align: center;
  transition: background 0.2s;
}
.adm-stat-pill:last-child { border-right: none; }
.adm-stat-pill:hover { background: rgba(255, 100, 200, 0.04); }
.adm-stat-num {
  display: block;
  font-size: 1.05rem;
  font-family: 'Pixelify Sans', monospace;
  color: #ff64c8;
  line-height: 1;
  margin-bottom: 3px;
  text-shadow: 0 0 16px rgba(255, 100, 200, 0.55);
}
.adm-stat-num.green  { color: #c084fc; text-shadow: 0 0 14px rgba(192,132,252,0.55); }
.adm-stat-num.yellow { color: #f5a0d0; text-shadow: 0 0 14px rgba(245,160,208,0.5); }
.adm-stat-num.red    { color: #ff6496; text-shadow: 0 0 14px rgba(255,100,150,0.5); }
.adm-stat-lbl {
  display: block;
  font-family: 'Pixelify Sans', monospace;
  font-size: 0.5rem;
  color: rgba(255, 200, 240, 0.2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Output ── */
.adm-output {
  flex: 1;
  overflow-y: auto;
  padding: 0.8rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.06rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 100, 200, 0.15) transparent;
}
.adm-output::-webkit-scrollbar { width: 3px; }
.adm-output::-webkit-scrollbar-thumb {
  background: rgba(255, 100, 200, 0.2);
  border-radius: 2px;
}

/* ── Lines ── */
.adm-line {
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: 'Space Grotesk', monospace;
}
.adm-sep {
  color: rgba(255, 100, 200, 0.12);
  letter-spacing: 0.01em;
  text-shadow: none;
}

/* ── Colors ── */
.adm-green  { color: #c084fc; }
.adm-blue   { color: #ff9de2; }
.adm-yellow { color: #f5a0d0; }
.adm-red    { color: #ff6496; }
.adm-white  { color: #fff0f8; }
.adm-dim    { color: rgba(255, 200, 240, 0.2); }
.adm-purple { color: #e879f9; }
.adm-cyan   { color: #f0abfc; }

.adm-prompt-echo {
  color: #ff64c8;
  text-shadow: 0 0 8px rgba(255, 100, 200, 0.5);
  font-family: 'Pixelify Sans', monospace;
}
.adm-cmd-echo { color: #fff0f8; }

/* ── Loading pulse ── */
.adm-loading {
  color: #ff64c8;
  animation: adm-pulse 0.7s ease infinite alternate;
}
@keyframes adm-pulse { from { opacity: 0.3; } to { opacity: 1; } }

/* ── Input line ── */
.adm-inputline {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1.1rem;
  border-top: 1px solid rgba(255, 100, 200, 0.1);
  background: linear-gradient(180deg, #0a0512 0%, #080410 100%);
  flex-shrink: 0;
}
.adm-prompt {
  color: #ff64c8;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: 'Pixelify Sans', monospace;
  font-size: 13px;
  text-shadow: 0 0 10px rgba(255, 100, 200, 0.65);
}
.adm-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff0f8;
  font-family: 'Space Grotesk', 'Share Tech Mono', monospace;
  font-size: 12.5px;
  caret-color: #ff64c8;
}
.adm-input::placeholder {
  color: rgba(255, 180, 230, 0.15);
  font-style: italic;
}

/* ── Visitor card ── */
.adm-visitor-card {
  background: rgba(255, 100, 200, 0.03);
  border: 1px solid rgba(255, 100, 200, 0.09);
  border-radius: 7px;
  padding: 0.5rem 0.75rem;
  margin: 0.2rem 0;
  transition: border-color 0.15s, background 0.15s;
}
.adm-visitor-card:hover {
  border-color: rgba(255, 100, 200, 0.2);
  background: rgba(255, 100, 200, 0.06);
}

/* ── Progress bar ── */
.adm-progress-wrap {
  margin: 0.4rem 0;
  background: rgba(255, 100, 200, 0.05);
  border: 1px solid rgba(255, 100, 200, 0.1);
  border-radius: 3px;
  overflow: hidden;
  height: 3px;
}
.adm-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff64c8, #c084fc, #ff64c8);
  background-size: 200% 100%;
  width: 0%;
  transition: width 0.25s ease;
  box-shadow: 0 0 10px rgba(255, 100, 200, 0.8);
  animation: adm-shimmer 1.5s linear infinite;
}
@keyframes adm-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
