:root{
  --bg:#05060a;
  --accent:#00bcd4;
  --accent-soft:rgba(0,188,212,0.12);
  --text:#f5f5f5;
  --muted:#a0a0b5;
  --taskbar:#090b11;
  --icon-size:76px;
  --shadow-soft:0 18px 35px rgba(0,0,0,0.7);

  --neon: rgba(0,255,200,0.95);
  --neon-soft: rgba(0,255,200,0.14);
}

*{box-sizing:border-box;margin:0;padding:0;}
html,body{height:100%;}

body{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:radial-gradient(circle at top left,#212b3c 0,#05060a 55%) fixed;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

/* Desktop area */
.desktop{
  flex:1;
  position:relative;
  padding:24px clamp(12px,3vw,32px) 80px;
  user-select:none;
  display:flex;
  justify-content:flex-start;
  align-items:flex-start;
}

/* Responsive icon grid */
.desktop-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(120px,1fr));
  grid-auto-rows:minmax(120px,auto);
  gap:22px 28px;
  max-width:440px;
}

.desktop-icon{
  width:130px;
  display:flex;
  flex-direction:column;
  align-items:center;
  cursor:pointer;
  text-align:center;
  border-radius:24px;
  padding:8px 8px 10px;
  transition:background .18s ease-out,transform .18s ease-out,box-shadow .18s ease-out;
}

.desktop-icon:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:4px;
}

.desktop-icon:hover{
  background:radial-gradient(circle at top,rgba(255,255,255,0.06),rgba(0,0,0,0.3));
  box-shadow:0 14px 28px rgba(0,0,0,0.75);
  transform:translateY(-3px);
}

.icon-img{
  width:var(--icon-size);
  height:var(--icon-size);
  border-radius:24px;
  background:radial-gradient(circle at 30% 20%,#ffffff33,#02030a 55%);
  box-shadow:var(--shadow-soft);
  display:flex;
  align-items:center;
  justify-content:center;
}

.icon-img img{
  width:70%;
  height:70%;
  object-fit:contain;
}

/* Icon labels */
.icon-label{
  margin-top:10px;
  padding:7px 12px;
  background:rgba(2,6,23,0.72);
  border:1px solid rgba(255,255,255,0.16);
  border-radius:12px;
  text-align:center;
  backdrop-filter:blur(8px);
  box-shadow:0 10px 22px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.06);
}

.icon-label span{
  display:block;
  color:#f8fafc;
  font-weight:700;
  font-size:14px;
  letter-spacing:.2px;
  line-height:1.2;
  text-shadow:0 2px 8px rgba(0,0,0,0.85);
}

.desktop-icon:hover .icon-label{
  background:rgba(2,6,23,0.85);
  border-color:rgba(255,255,255,0.22);
}

/* Taskbar */
.taskbar{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  height:56px;
  background:linear-gradient(to top,#05060a,#11131a);
  border-top:1px solid rgba(255,255,255,0.05);
  display:flex;
  align-items:center;
  padding:0 12px;
  z-index:50;
}

.taskbar-left,.taskbar-center,.taskbar-right{display:flex;align-items:center;}
.taskbar-left{gap:8px;min-width:130px;}
.taskbar-center{flex:1;justify-content:center;gap:14px;}
.taskbar-right{gap:18px;color:var(--muted);font-size:13px;min-width:130px;justify-content:flex-end;}

.start-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.09);
  padding:7px 14px;
  font-size:14px;
  cursor:pointer;
  background:radial-gradient(circle at top left,#00bcd4 0,#007a8a 40%,#020308 100%);
  color:#e8ffff;
  box-shadow:0 4px 10px rgba(0,0,0,0.7);
  transition:transform .15s ease-out,box-shadow .15s ease-out,filter .15s ease-out;
}
.start-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.08);
  box-shadow:0 7px 16px rgba(0,0,0,0.8);
}
.start-btn-icon{
  width:18px;height:18px;border-radius:5px;
  background:radial-gradient(circle at 30% 30%,#fff,#00e5ff 45%,#006064 100%);
  display:flex;align-items:center;justify-content:center;
  font-size:13px;
}

.taskbar-app-icon{
  width:52px;height:52px;border-radius:14px;
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.10);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease;
  text-decoration:none;
}
.taskbar-app-icon:hover{
  transform:translateY(-4px) scale(1.08);
  background:rgba(255,255,255,0.10);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.25), 0 10px 24px rgba(0,0,0,0.75);
}
.taskbar-clock{min-width:90px;text-align:right;}








/* Start Menu */
.start-menu{
  position:fixed;
  left:12px;

  /* lift it a bit more above the taskbar */
  bottom:72px;

  width:260px;

  /* responsive height so it never collides with taskbar */
  max-height:calc(100vh - 92px);
  overflow-y:auto;

  background:rgba(9,11,19,0.95);
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:var(--shadow-soft);

  /* extra padding at the bottom so last item never feels cramped */
  padding:10px 12px 18px;

  display:none;
  flex-direction:column;
  gap:10px;
  z-index:60;
  backdrop-filter:blur(18px);

  /* nicer scroll on mobile */
  -webkit-overflow-scrolling: touch;
}
.start-menu.show{display:flex;}







.start-menu-header{
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.07em;
  color:var(--muted);
  margin-bottom:4px;
}
.start-menu-item{
  padding:7px 8px;
  border-radius:10px;
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-size:14px;
  color:var(--text);
  transition:background .15s;
}
.start-menu-item:hover{background:rgba(255,255,255,0.06);}

/* Window */
.window{
  position:fixed;
  min-width:380px;
  max-width:820px;
  max-height:70vh;
  top:18%;
  left:50%;
  transform:translateX(-50%);
  background:rgba(11,14,22,0.96);
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.09);
  box-shadow:var(--shadow-soft);
  display:none;
  flex-direction:column;
  overflow:hidden;
  z-index:55;
  backdrop-filter:blur(20px);
}
.window.show{display:flex;}
.window-titlebar{
  padding:8px 12px;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:move;
  background:linear-gradient(to right,#10121d 0,#141a26 40%,#11131e 100%);
  border-bottom:1px solid rgba(255,255,255,0.05);
}
.window-controls{display:flex;gap:6px;}
.window-dot{width:10px;height:10px;border-radius:50%;}
.window-dot.red{background:#ff5f57;}
.window-dot.yellow{background:#febc2e;}
.window-dot.green{background:#28c840;}
.window-title{font-size:14px;color:var(--muted);flex:1;}
.window-body{padding:14px 16px 16px;font-size:14px;overflow-y:auto;}
.window.dragging{transition:none!important;}

/* Toast */
.toast{
  position:fixed;
  right:16px;
  bottom:70px;
  background:#111824;
  color:var(--text);
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--accent-soft);
  font-size:13px;
  box-shadow:var(--shadow-soft);
  opacity:0;
  pointer-events:none;
  transform:translateY(10px);
  transition:opacity .2s ease-out,transform .2s ease-out;
  z-index:40;
}
.toast.show{opacity:1;pointer-events:auto;transform:translateY(0);}

/* =========================================================
   SECURITY MASCOT (monitor face)
   ========================================================= */

.hacker-eyes-dock{
  position:fixed;
  left:50%;
  bottom:68px;
  transform:translateX(-50%);
  z-index:44;
  pointer-events:none;
  filter:drop-shadow(0 12px 18px rgba(0,0,0,0.55));
}

/* Pop-up icon layer (bulb/lock/shield) */
.mascot-pop{
  position:absolute;
  left:50%;
  bottom:78px;
  transform:translateX(-50%);
  width:36px;
  height:36px;
  opacity:0;
  filter:drop-shadow(0 10px 14px rgba(0,0,0,0.55));
  pointer-events:none;
}

/* Monitor bezel + screen */
.hacker-eyes{
  width:158px;
  height:72px;
  border-radius:18px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;

  /* bezel/screen look */
  background:
    radial-gradient(circle at 22% 28%, rgba(0,255,200,0.12), rgba(0,0,0,0) 58%),
    linear-gradient(to bottom, #0b1220, #05060a);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.07),
    inset 0 -14px 22px rgba(0,0,0,0.65),
    0 0 26px rgba(0,255,200,0.12);

  overflow:hidden;
  position:relative;

  /* subtle breathing glow */
  animation:mascotBreath 4.8s ease-in-out infinite;
}

/* scanlines */
.hacker-eyes::after{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(
    to bottom,
    rgba(0,255,200,0.045) 0px,
    rgba(0,255,200,0.045) 1px,
    rgba(0,0,0,0) 4px,
    rgba(0,0,0,0) 7px
  );
  opacity:.20;
  pointer-events:none;
}

/* top bezel highlight */
.hacker-eyes::before{
  content:"";
  position:absolute;
  left:10px; right:10px; top:8px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(to right, rgba(255,255,255,0.10), rgba(255,255,255,0.03), rgba(255,255,255,0.08));
  opacity:.65;
  pointer-events:none;
}

@keyframes mascotBreath{
  0%,100%{ box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), inset 0 -14px 22px rgba(0,0,0,0.65), 0 0 24px rgba(0,255,200,0.10); }
  50%{ box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08), inset 0 -14px 22px rgba(0,0,0,0.65), 0 0 34px rgba(0,255,200,0.18); }
}

/* Eyes */
.eye{
  width:28px;
  height:20px;
  border-radius:11px;
  background:
    radial-gradient(circle at 30% 35%, rgba(255,255,255,0.92), rgba(240,247,255,0.85) 45%, rgba(10,18,32,0.12) 100%);
  box-shadow:
    0 2px 9px rgba(0,0,0,0.58),
    inset 0 0 0 1px rgba(0,255,200,0.14);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  position:relative;
}

/* eyelid overlay (for expressions + blink) */
.eye::after{
  content:"";
  position:absolute;
  left:-2px; right:-2px;
  top:-2px;
  height:0%;
  background:linear-gradient(to bottom, rgba(0,0,0,0.72), rgba(0,0,0,0));
  opacity:.75;
  transition:height .18s ease;
  border-radius:12px;
}

/* pupil (robotic) */
.pupil{
  width:11px;height:11px;border-radius:50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), rgba(0,0,0,0) 40%),
    radial-gradient(circle at 50% 55%, rgba(0,255,200,0.95) 0%, rgba(0,255,200,0.35) 45%, rgba(0,0,0,0.95) 70%);
  box-shadow:0 0 12px rgba(0,255,200,0.32);
  transform:translate(0,0);
  will-change:transform;
  position:relative;
}
/* crosshair */
.pupil::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:50%;
  box-shadow:inset 0 0 0 1px rgba(0,255,200,0.20);
  opacity:.7;
}
.pupil::after{
  content:"";
  position:absolute;
  left:50%;top:50%;
  width:14px;height:14px;
  transform:translate(-50%,-50%);
  background:
    linear-gradient(to right, rgba(0,255,200,0.0), rgba(0,255,200,0.55), rgba(0,255,200,0.0)),
    linear-gradient(to bottom, rgba(0,255,200,0.0), rgba(0,255,200,0.55), rgba(0,255,200,0.0));
  opacity:.18;
  border-radius:50%;
}

/* Mouth */
.mouth{
  position:absolute;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  width:36px;
  height:12px;
  border-radius:0 0 999px 999px;
  border:2px solid rgba(0,255,200,0.55);
  border-top:0;
  opacity:.55;
  box-shadow:0 0 14px rgba(0,255,200,0.10);
  transition:transform .2s ease, opacity .2s ease, width .2s ease, height .2s ease, border-color .2s ease;
}

/* HUD label */
.hud{
  position:absolute;
  left:10px; right:10px;
  bottom:6px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:10px;
  letter-spacing:.05em;
  color:rgba(190,255,235,0.88);
  opacity:.75;
  text-shadow:0 0 10px rgba(0,255,200,0.12);
  pointer-events:none;
}
.hud-right{ opacity:.9; }

/* Blink animation (occasional) */
@keyframes blinkLid{
  0%,92%,100%{ height:0%; }
  94%{ height:70%; }
  96%{ height:0%; }
}
.hacker-eyes .eye::after{ animation: blinkLid 6.5s infinite; }

/* -------------------------
   MOODS (expressions)
   ------------------------- */

.hacker-eyes-dock[data-mood="idle"] .mouth{
  width:32px; height:10px;
  opacity:.45;
  border-color:rgba(0,255,200,0.45);
}

.hacker-eyes-dock[data-mood="happy"] .mouth{
  width:44px; height:14px;
  opacity:.75;
  border-color:rgba(0,255,200,0.70);
  transform:translateX(-50%) translateY(-1px);
}

.hacker-eyes-dock[data-mood="thinking"] .mouth{
  width:22px;
  height:10px;
  border-radius:999px;
  border-top:2px solid rgba(0,255,200,0.55);
  border-left:0;border-right:0;border-bottom:0;
  opacity:.65;
  transform:translateX(-50%) translateY(1px);
}

/* eyelids slightly down */
.hacker-eyes-dock[data-mood="thinking"] .eye::after{
  height:22%;
}

.hacker-eyes-dock[data-mood="idea"] .mouth{
  width:46px;height:14px;
  opacity:.9;
  border-color:rgba(0,255,200,0.82);
}

/* “secure” mood: mouth becomes a small confident line */
.hacker-eyes-dock[data-mood="secure"] .mouth{
  width:30px;height:0px;
  border:0;
  border-top:2px solid rgba(0,255,200,0.75);
  border-radius:999px;
  opacity:.75;
  transform:translateX(-50%) translateY(2px);
}

/* “working” mood: mouth becomes a tiny loading bar */
.hacker-eyes-dock[data-mood="working"] .mouth{
  width:48px;height:10px;
  border-radius:10px;
  border:1px solid rgba(0,255,200,0.35);
  opacity:.8;
  background:linear-gradient(90deg, rgba(0,255,200,0.0), rgba(0,255,200,0.35), rgba(0,255,200,0.0));
  animation:mouthLoad 1.2s linear infinite;
}
@keyframes mouthLoad{
  0%{ background-position:0% 50%; }
  100%{ background-position:220% 50%; }
}

/* curious mood */
.hacker-eyes-dock[data-mood="curious"] .mouth{
  width:18px;height:18px;
  border-radius:50%;
  border:2px solid rgba(0,255,200,0.60);
  opacity:.75;
  transform:translateX(-50%) translateY(2px);
}

/* -------------------------
   POP ICONS (CSS-drawn)
   data-pop: none | bulb | lock | shield
   ------------------------- */

.hacker-eyes-dock[data-pop="none"] .mascot-pop{ opacity:0; transform:translateX(-50%) translateY(6px) scale(.92); }

.hacker-eyes-dock[data-pop="bulb"] .mascot-pop,
.hacker-eyes-dock[data-pop="lock"] .mascot-pop,
.hacker-eyes-dock[data-pop="shield"] .mascot-pop{
  opacity:1;
  transform:translateX(-50%) translateY(0) scale(1);
  animation:popFloat .9s ease-out both;
}
@keyframes popFloat{
  0%{ transform:translateX(-50%) translateY(10px) scale(.85); opacity:0; }
  45%{ transform:translateX(-50%) translateY(-2px) scale(1.02); opacity:1; }
  100%{ transform:translateX(-50%) translateY(0) scale(1); opacity:1; }
}

/* Base bubble */
.mascot-pop::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:12px;
  background:linear-gradient(to bottom, rgba(11,18,32,0.95), rgba(5,6,10,0.92));
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 12px 18px rgba(0,0,0,0.55),
    0 0 26px rgba(0,255,200,0.10);
}
.mascot-pop::after{ content:""; position:absolute; inset:0; }

/* BULB */
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:16px; height:16px;
  transform:translate(-50%,-60%);
  border-radius:50%;
  background:radial-gradient(circle at 35% 35%, rgba(255,255,255,0.75), rgba(0,255,200,0.85) 55%, rgba(0,0,0,0.0) 72%);
  box-shadow:0 0 16px rgba(0,255,200,0.25);
}
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop{
  --stem: rgba(0,255,200,0.7);
}
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop i{ display:none; }
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop::marker{ content:""; }
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop span{ display:none; }
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop b{ display:none; }
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop em{ display:none; }
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop strong{ display:none; }
/* bulb base */
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop .bulb-base{ display:none; }
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop::before{
  border-radius:12px;
}
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop{
  /* little base rectangle via background */
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 62%, rgba(0,255,200,0.0) 62%) ;
}
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop::after{
  /* already bulb glass */
}
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop::before{
  /* keep bubble */
}
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop{
  /* draw bulb base using extra pseudo on inner via box-shadow trick */
}
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop{
  /* base drawn as a shadowy bar */
}
.hacker-eyes-dock[data-pop="bulb"] .mascot-pop::before{
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 12px 18px rgba(0,0,0,0.55),
    0 0 26px rgba(0,255,200,0.10);
}

/* LOCK */
.hacker-eyes-dock[data-pop="lock"] .mascot-pop::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:18px; height:14px;
  transform:translate(-50%,-30%);
  border-radius:4px;
  background:linear-gradient(to bottom, rgba(0,255,200,0.80), rgba(0,255,200,0.30));
  box-shadow:0 0 14px rgba(0,255,200,0.18);
}
.hacker-eyes-dock[data-pop="lock"] .mascot-pop{
  /* shackle */
}
.hacker-eyes-dock[data-pop="lock"] .mascot-pop::before{
  /* bubble */
}
.hacker-eyes-dock[data-pop="lock"] .mascot-pop{
  /* shackle via outline in background */
}
.hacker-eyes-dock[data-pop="lock"] .mascot-pop{
  background: none;
}
.hacker-eyes-dock[data-pop="lock"] .mascot-pop::before{
  /* keep bubble + shackle overlay */
}
.hacker-eyes-dock[data-pop="lock"] .mascot-pop{
  /* shackle drawn with extra shadow element */
}
.hacker-eyes-dock[data-pop="lock"] .mascot-pop{
  /* use an inner shackle via filter and box-shadow using pseudo-element */
}
.hacker-eyes-dock[data-pop="lock"] .mascot-pop::marker{ content:""; }
/* shackle: another pseudo using outline trick */
.hacker-eyes-dock[data-pop="lock"] .mascot-pop{
  position:absolute;
}
.hacker-eyes-dock[data-pop="lock"] .mascot-pop{
  /* add shackle using background on the element itself */
  background:
    radial-gradient(circle at 50% 34%, rgba(0,255,200,0.0) 45%, rgba(0,255,200,0.75) 46%, rgba(0,255,200,0.75) 58%, rgba(0,255,200,0.0) 59%);
}

/* SHIELD */
.hacker-eyes-dock[data-pop="shield"] .mascot-pop::after{
  content:"";
  position:absolute;
  left:50%; top:50%;
  width:18px; height:20px;
  transform:translate(-50%,-48%);
  background:linear-gradient(to bottom, rgba(0,255,200,0.82), rgba(0,255,200,0.22));
  clip-path:polygon(50% 0%, 88% 18%, 88% 58%, 50% 100%, 12% 58%, 12% 18%);
  box-shadow:0 0 16px rgba(0,255,200,0.18);
}

/* =========================================================
   RIG (right) — unchanged from your working layout
   ========================================================= */

.hacker-rig{
  position:fixed;
  right:clamp(10px,4vw,70px);
  bottom:64px;
  width:240px;
  height:170px;
  z-index:45;
  pointer-events:none;
  filter:drop-shadow(0 18px 24px rgba(0,0,0,0.70));
}

/* Layering: cable behind laptop+server */
.hacker-rig .hacker-cable{ z-index:1; }
.hacker-rig .hacker-laptop{ z-index:3; }
.hacker-rig .hacker-server{ z-index:4; }

.hacker-rig .hacker-laptop{
  position:absolute;
  left:48%;
  bottom:-10px;
  transform:translateX(-50%);
  width:150px;
  height:96px;
  filter:drop-shadow(0 10px 18px rgba(0,0,0,.55));
}

.laptop-screen{
  position:absolute;
  left:50%;
  bottom:30px;
  transform:translateX(-50%);
  width:118px;
  height:70px;
  border-radius:10px;
  background:linear-gradient(to bottom,#05070c,#0b1220);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.07), 0 0 18px rgba(0,255,200,0.12);
  overflow:hidden;
}
.laptop-screen::before{
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(
    to bottom,
    rgba(0,255,200,0.06) 0px,
    rgba(0,255,200,0.06) 1px,
    rgba(0,0,0,0) 4px,
    rgba(0,0,0,0) 7px
  );
  opacity:.22;
  pointer-events:none;
}
.screen-glow{
  position:absolute;
  inset:-20px;
  background:radial-gradient(circle at 50% 55%, rgba(0,255,200,0.18), rgba(0,0,0,0) 60%);
  pointer-events:none;
}

.terminal-lines{
  position:absolute;
  left:10px;top:10px;right:10px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-size:8.5px;
  line-height:1.25;
  color:rgba(190,255,235,0.9);
  text-shadow:0 0 10px rgba(0,255,200,0.18);
  animation:termScroll 3.8s linear infinite;
}
.terminal-lines span{
  display:block;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  opacity:.95;
}
@keyframes termScroll{0%{transform:translateY(0);}100%{transform:translateY(-10px);}}

.cursor{
  position:absolute;
  left:12px;
  bottom:10px;
  width:6px;
  height:10px;
  background:rgba(0,255,200,0.85);
  border-radius:2px;
  box-shadow:0 0 12px rgba(0,255,200,0.25);
  animation:blink .9s steps(2,end) infinite;
}
@keyframes blink{50%{opacity:0;}}

.laptop-base{
  position:absolute;
  left:50%;
  bottom:12px;
  transform:translateX(-50%);
  width:142px;
  height:18px;
  border-radius:10px;
  background:linear-gradient(to bottom,#141a25,#07080c);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.06), 0 8px 14px rgba(0,0,0,.55);
}
.laptop-base::after{
  content:"";
  position:absolute;
  left:12px;right:12px;top:4px;
  height:6px;border-radius:6px;
  background:linear-gradient(to right, rgba(0,255,200,0.12), rgba(255,255,255,0.05), rgba(0,255,200,0.10));
  opacity:.65;
}

.hacker-rig .hacker-server{
  position:absolute;
  right:-18px;
  bottom:24px;
  width:44px;
  height:78px;
  border-radius:10px;
  background:linear-gradient(to bottom,#1a2130,#07080c);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.06), 0 10px 18px rgba(0,0,0,.55);
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:10px 8px;
  opacity:.95;
}
.rack-unit{
  flex:1;
  border-radius:7px;
  background:linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(0,0,0,0.25));
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.05);
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:4px;
  padding-right:4px;
}
.led{
  width:6px;height:6px;border-radius:50%;
  background:rgba(0,255,200,0.30);
  box-shadow:0 0 10px rgba(0,255,200,0.12);
  display:inline-block;
}
.rack-unit:nth-child(1) .led:nth-child(1){animation:ledBlink 1.1s infinite;}
.rack-unit:nth-child(1) .led:nth-child(2){animation:ledBlink 1.6s infinite;}
.rack-unit:nth-child(1) .led:nth-child(3){animation:ledBlink 2.2s infinite;}
.rack-unit:nth-child(2) .led:nth-child(1){animation:ledBlink 1.4s infinite;}
.rack-unit:nth-child(2) .led:nth-child(2){animation:ledBlink 1.9s infinite;}
.rack-unit:nth-child(2) .led:nth-child(3){animation:ledBlink 2.6s infinite;}
.rack-unit:nth-child(3) .led:nth-child(1){animation:ledBlink 1.2s infinite;}
.rack-unit:nth-child(3) .led:nth-child(2){animation:ledBlink 1.7s infinite;}
.rack-unit:nth-child(3) .led:nth-child(3){animation:ledBlink 2.4s infinite;}
@keyframes ledBlink{
  0%,70%{opacity:.35;}
  75%{opacity:1;background:rgba(0,255,200,0.95);box-shadow:0 0 14px rgba(0,255,200,0.35);}
  100%{opacity:.35;}
}

.hacker-rig .hacker-cable{
  position:absolute;
  left:56%;
  top:112px;
  width:98px;
  height:4px;
  border-radius:999px;
  transform:rotate(-6deg);
  opacity:.78;
  background:linear-gradient(90deg,
    rgba(0,255,200,0.0),
    rgba(0,255,200,0.18),
    rgba(0,255,200,0.35),
    rgba(0,255,200,0.12),
    rgba(0,255,200,0.0)
  );
  box-shadow:0 0 10px rgba(0,255,200,0.08), 0 0 18px rgba(0,255,200,0.06);
}
.hacker-rig .hacker-cable::after{
  content:"";
  position:absolute;
  top:50%;
  left:-20%;
  width:26px;
  height:6px;
  border-radius:999px;
  transform:translateY(-50%);
  background:radial-gradient(circle at 30% 50%, rgba(255,255,255,0.55), rgba(0,255,200,0.65) 55%, rgba(0,255,200,0.0) 75%);
  animation:dataPulse 1.6s linear infinite;
  opacity:.50;
}
@keyframes dataPulse{
  0%{left:-22%;opacity:0;}
  12%{opacity:.6;}
  50%{opacity:.9;}
  85%{opacity:.55;}
  100%{left:102%;opacity:0;}
}

/* Responsive */
@media (max-width:768px){
  .desktop{padding:16px 10px 72px 10px;justify-content:center;}
  .desktop-grid{
    max-width:none;width:100%;
    grid-template-columns:repeat(auto-fit,minmax(110px,1fr));
    justify-items:center;
    gap:18px 16px;
  }
  .window{min-width:92%;left:50%;transform:translateX(-50%);}

  .hacker-rig{right:10px;bottom:62px;width:190px;height:150px;}
  .hacker-rig .hacker-server{display:none;}
  .hacker-rig .hacker-cable{display:none;}

  .hacker-eyes{width:150px;height:68px;}
}
@media (max-width:420px){
  .hacker-eyes-dock{bottom:70px;}
  .hacker-eyes{width:140px;height:64px;}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .terminal-lines,.cursor,.led,.hacker-rig .hacker-cable::after,.hacker-eyes{animation:none!important;}
}











/* Icon-only launch button (Web Projects) */
.launch-icon {
  margin-left: 10px;
  color: #7c7cff;
  font-size: 0.9rem;
  text-decoration: none;
  vertical-align: middle;
  opacity: 0.75;
  transition:
    opacity 0.15s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

/* Hover = subtle intent */
.launch-icon:hover {
  opacity: 1;
  color: #5eead4;
  transform: translateX(3px);
}

/* Keyboard accessibility */
.launch-icon:focus-visible {
  outline: 2px solid #5eead4;
  outline-offset: 3px;
  border-radius: 6px;
}




/* ===== App Window Readability ===== */
#windowBody {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  color: #e6e9f0;
}

/* Headings */
#windowBody h2 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

#windowBody h3 {
  font-size: 1.05rem;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  color: #9db7ff;
}

/* Lists */
#windowBody ul {
  margin-left: 1rem;
  padding-left: 0.6rem;
}

#windowBody li {
  margin-bottom: 0.7rem;
}

/* Optional helper classes */
.app-intro {
  opacity: 0.9;
  margin-bottom: 1.2rem;
}

.spaced-list li {
  margin-bottom: 1rem;
}



@media (max-width: 600px) {
  #windowBody {
    font-size: 1rem;
  }

  #windowBody h2 {
    font-size: 1.25rem;
  }
}






/* ===== Contact Cards ===== */
.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 1rem;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #e6e9f0;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.04),
    rgba(0,0,0,0.35)
  );

  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.04),
    0 10px 22px rgba(0,0,0,0.55);

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.contact-card:hover {
  transform: translateY(-2px);
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.07),
    rgba(0,0,0,0.45)
  );
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    0 14px 30px rgba(0,0,0,0.75);
}

.contact-icon {
  font-size: 1.4rem;
  opacity: 0.9;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9db7ff;
}

.contact-value {
  font-size: 0.95rem;
  word-break: break-all;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .contact-card {
    padding: 14px;
  }
  .contact-value {
    font-size: 0.9rem;
  }
}








/* ============================
   Notes (cards layout)
   ============================ */
.app-intro{
  margin: 0 0 14px;
  color: rgba(229,234,245,0.86);
  line-height: 1.45;
}

.notes-cards{
  display: grid;
  gap: 12px;
}

.note-card{
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 16px;
  text-decoration: none;
  color: rgba(244,246,255,0.95);
  background: radial-gradient(1200px 200px at 10% 0%, rgba(120,140,255,0.16), transparent 60%),
              linear-gradient(180deg, rgba(20,24,35,0.72), rgba(10,12,18,0.64));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.note-card:hover{
  transform: translateY(-2px);
  border-color: rgba(155,170,255,0.22);
  box-shadow: 0 18px 48px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.06);
}

.note-icon{
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(120,140,255,0.12);
  border: 1px solid rgba(155,170,255,0.20);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
  font-size: 18px;
}

.note-meta{
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note-title-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.note-title{
  font-weight: 800;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.note-open{
  opacity: 0.72;
  font-size: 14px;
}

.note-desc{
  font-size: 0.92rem;
  color: rgba(228,232,245,0.86);
  line-height: 1.35;
}

.note-tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.note-tag{
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(155,170,255,0.18);
  background: rgba(155,170,255,0.10);
  color: rgba(210,220,255,0.92);
}

.note-card--disabled{
  cursor: default;
  opacity: 0.78;
}

.note-card--disabled:hover{
  transform: none;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}

@media (max-width: 560px){
  .note-card{
    align-items: flex-start;
  }
  .note-icon{
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
  }
  .note-title{
    white-space: normal;
  }
}









