/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:            #0d1117;
  --bg2:           #161b22;
  --topbar:        rgba(13, 17, 23, 0.92);
  --taskbar:       rgba(13, 17, 23, 0.95);
  --win-bg:        #1c2128;
  --win-bar:       #2d333b;
  --win-bar-focus: #373e47;
  --win-border:    #444c56;
  --text:          #e6edf3;
  --text-dim:      #8b949e;
  --green:         #57ab5a;
  --blue:          #58a6ff;
  --yellow:        #e3b341;
  --red:           #f85149;
  --cyan:          #39c5cf;
  --purple:        #bc8cff;
  --term-bg:       #010409;
  --term-text:     #c9d1d9;
  --term-prompt:   #57ab5a;
  --term-cmd:      #79c0ff;
  --term-err:      #f85149;
  --term-info:     #58a6ff;
  --accent:        #57ab5a;
  --font-mono:     'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  --font-ui:       -apple-system, 'Segoe UI', system-ui, sans-serif;
  --radius:        8px;
  --shadow:        0 8px 32px rgba(0,0,0,0.6);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100vw; height: 100vh; overflow: hidden; }

body {
  font-family: var(--font-ui);
  background: var(--bg);
  color: var(--text);
  user-select: none;
}

/* ── Boot Screen ────────────────────────────────────────────── */
#boot-screen {
  position: fixed; inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 48px 64px;
  z-index: 9999;
  font-family: var(--font-mono);
  font-size: 13px;
  transition: opacity 0.6s ease;
}
#boot-screen.fade-out { opacity: 0; pointer-events: none; }

.boot-line {
  color: #ccc;
  line-height: 2;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}
.boot-line.show { opacity: 1; transform: translateY(0); }
.boot-line .ok   { color: #57ab5a; }
.boot-line .warn { color: #e3b341; }
.boot-line .info { color: #58a6ff; }

.boot-bar-wrap {
  width: 400px; height: 4px;
  background: #222; border-radius: 2px;
  margin-top: 20px;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s;
}
.boot-bar-wrap.show { opacity: 1; }
.boot-bar {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-radius: 2px;
  transition: width 2s ease-in-out;
}
.boot-bar.go { width: 100%; }

/* ── Desktop ────────────────────────────────────────────────── */
#desktop {
  position: fixed; inset: 0;
  display: flex; flex-direction: column;
  opacity: 0;
  transition: opacity 0.5s ease;
}
#desktop.show { opacity: 1; }

/* ── Topbar ─────────────────────────────────────────────────── */
#topbar {
  height: 32px;
  background: var(--topbar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  z-index: 8000;
  flex-shrink: 0;
}
.tb-left { display: flex; align-items: center; gap: 12px; }
.tb-center { position: absolute; left: 50%; transform: translateX(-50%); }
.tb-right { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-dim); }

#activities-btn {
  font-size: 13px; font-weight: 600;
  color: var(--text); cursor: pointer;
  padding: 2px 8px; border-radius: 4px;
  transition: background 0.2s;
}
#activities-btn:hover { background: rgba(255,255,255,0.1); }

#topbar-clock {
  font-size: 13px; font-weight: 500;
  color: var(--text); cursor: default;
}

.tb-icon {
  font-size: 14px; cursor: pointer; padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.2s;
}
.tb-icon:hover { background: rgba(255,255,255,0.1); }

/* ── Desktop Area ───────────────────────────────────────────── */
#desktop-area {
  flex: 1; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(88,166,255,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(87,171,90,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(188,140,255,0.05) 0%, transparent 50%),
    linear-gradient(160deg, #0d1117 0%, #12171f 50%, #0d1117 100%);
}

/* Grid dots wallpaper effect */
#desktop-area::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* ── Desktop Icons ──────────────────────────────────────────── */
#desktop-icons {
  position: absolute;
  top: 16px; left: 16px;
  display: flex; flex-direction: column; gap: 8px;
  z-index: 50;
}

.desktop-icon {
  display: flex; flex-direction: column; align-items: center;
  width: 90px; padding: 10px 6px; border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
  text-align: center;
}
.desktop-icon:hover { background: rgba(255,255,255,0.08); }
.desktop-icon:active { background: rgba(255,255,255,0.14); }
.desktop-icon .icon-emoji { font-size: 40px; line-height: 1; margin-bottom: 6px; }
.desktop-icon .icon-label {
  font-size: 12px; color: var(--text);
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  word-break: break-word; line-height: 1.3;
}

/* ── Hint Overlay ───────────────────────────────────────────── */
#desktop-hint {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 40;
  transition: opacity 0.5s ease;
}
#desktop-hint.hidden { opacity: 0; }

.hint-box {
  background: rgba(28, 33, 40, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 24px 36px;
  font-family: var(--font-mono);
}
.hint-title {
  color: var(--green);
  font-size: 16px; font-weight: 700;
  margin-bottom: 10px;
}
.hint-box p { color: var(--text-dim); font-size: 14px; }
.hint-box kbd {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  padding: 2px 7px; font-size: 12px;
  color: var(--text); font-family: var(--font-mono);
}
.hint-sub { margin-top: 8px; font-size: 12px; color: var(--text-dim); opacity: 0.7; }

/* ── Windows Container ──────────────────────────────────────── */
#windows-container { position: absolute; inset: 0; pointer-events: none; z-index: 100; }
#windows-container .window { pointer-events: all; }

/* ── Window Base ────────────────────────────────────────────── */
.window {
  position: absolute;
  border: 1px solid var(--win-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  overflow: hidden;
  min-width: 320px; min-height: 200px;
  resize: both;
  transition: box-shadow 0.15s, border-color 0.15s;
  background: var(--win-bg);
}
.window.focused {
  border-color: rgba(255,255,255,0.2);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255,255,255,0.05);
}
.window.maximized {
  top: 0 !important; left: 0 !important;
  width: 100% !important; height: 100% !important;
  border-radius: 0; resize: none;
}
.window.minimized { display: none; }

/* ── Window Titlebar ────────────────────────────────────────── */
.win-titlebar {
  height: 34px;
  background: var(--win-bar);
  display: flex; align-items: center;
  padding: 0 10px;
  cursor: grab; flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  gap: 8px;
}
.win-titlebar:active { cursor: grabbing; }
.window.focused .win-titlebar { background: var(--win-bar-focus); }

.win-controls { display: flex; gap: 6px; flex-shrink: 0; }

.win-btn {
  width: 12px; height: 12px;
  border-radius: 50%; border: none;
  cursor: pointer;
  font-size: 0; line-height: 12px; text-align: center;
  transition: filter 0.15s, opacity 0.15s;
  flex-shrink: 0;
}
.win-btn:hover { filter: brightness(1.3); font-size: 8px; color: rgba(0,0,0,0.6); font-weight: bold; }
.win-close  { background: #ff5f57; }
.win-min    { background: #ffbd2e; }
.win-max    { background: #28c840; }

.win-icon { font-size: 14px; flex-shrink: 0; }

.win-title {
  font-size: 13px; font-weight: 500;
  color: var(--text); flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  pointer-events: none;
}

/* ── Window Content ─────────────────────────────────────────── */
.win-content {
  flex: 1; overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--win-border) transparent;
}
.win-content::-webkit-scrollbar { width: 6px; }
.win-content::-webkit-scrollbar-track { background: transparent; }
.win-content::-webkit-scrollbar-thumb { background: var(--win-border); border-radius: 3px; }

/* ── Terminal Window ────────────────────────────────────────── */
.terminal-content {
  height: 100%;
  background: var(--term-bg);
  font-family: var(--font-mono);
  font-size: 13px;
  display: flex; flex-direction: column;
  padding: 12px;
  overflow: hidden;
}

#term-output {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
  padding-bottom: 4px;
  line-height: 1.5;
}
#term-output::-webkit-scrollbar { width: 4px; }
#term-output::-webkit-scrollbar-thumb { background: #333; border-radius: 2px; }

.term-line { white-space: pre-wrap; word-break: break-all; margin: 1px 0; }
.term-line.prompt-line { display: flex; align-items: flex-start; }
.term-prompt-text { color: var(--term-prompt); flex-shrink: 0; margin-right: 4px; }
.term-cmd-text { color: var(--term-cmd); }
.term-output-text { color: var(--term-text); }
.term-error { color: var(--red); }
.term-success { color: var(--green); }
.term-info-line { color: var(--blue); }
.term-dim { color: var(--text-dim); }
.term-yellow { color: var(--yellow); }
.term-cyan { color: var(--cyan); }
.term-purple { color: var(--purple); }
.term-bold { font-weight: 700; }

#term-input-row {
  display: flex; align-items: center; margin-top: 4px;
  flex-shrink: 0;
}
#term-prompt-display { color: var(--term-prompt); flex-shrink: 0; white-space: nowrap; }
#term-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--term-cmd); font-family: var(--font-mono); font-size: 13px;
  caret-color: var(--green); padding-left: 4px;
}

/* neofetch specific */
.neofetch-wrap { display: flex; gap: 20px; font-family: var(--font-mono); font-size: 12px; }
.neofetch-art { color: var(--blue); line-height: 1.4; flex-shrink: 0; }
.neofetch-info { line-height: 1.9; }
.nf-key { color: var(--blue); font-weight: 700; }
.nf-val { color: var(--term-text); }
.nf-sep { color: var(--text-dim); }

/* ── About Window ───────────────────────────────────────────── */
.about-content {
  padding: 24px;
  overflow-y: auto;
}
.about-header {
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px;
}
.about-photo {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--green);
  flex-shrink: 0;
}
.about-name { font-size: 20px; font-weight: 700; color: var(--text); }
.about-role { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.about-location { color: var(--text-dim); font-size: 13px; }

.about-section-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-dim);
  margin: 20px 0 10px; border-bottom: 1px solid var(--win-border);
  padding-bottom: 6px;
}
.about-text { font-size: 14px; color: var(--text); line-height: 1.7; }

.skill-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.skill-tag {
  background: rgba(88,166,255,0.12); border: 1px solid rgba(88,166,255,0.3);
  color: var(--blue); font-size: 12px; padding: 3px 10px; border-radius: 20px;
  font-family: var(--font-mono);
}
.skill-tag.green {
  background: rgba(87,171,90,0.12); border-color: rgba(87,171,90,0.3);
  color: var(--green);
}

/* ── Projects Window ────────────────────────────────────────── */
.projects-content {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
}

.projects-layout {
  display: flex; flex: 1; min-height: 0;
}

/* Left sidebar: filter buttons + project list */
.proj-sidebar {
  width: 260px; flex-shrink: 0;
  border-right: 1px solid var(--win-border);
  display: flex; flex-direction: column; overflow: hidden;
}

.proj-filters {
  padding: 10px; border-bottom: 1px solid var(--win-border);
  display: flex; gap: 6px; flex-wrap: wrap; flex-shrink: 0;
}
.proj-filter-btn {
  background: rgba(255,255,255,0.06); border: 1px solid var(--win-border);
  color: var(--text-dim); font-size: 11px; padding: 3px 10px;
  border-radius: 20px; cursor: pointer;
  transition: all 0.2s; font-family: var(--font-mono);
}
.proj-filter-btn:hover, .proj-filter-btn.active {
  background: rgba(87,171,90,0.15); border-color: var(--green); color: var(--green);
}

.proj-list { flex: 1; overflow-y: auto; }

.proj-list-item {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  border-left: 2px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.proj-list-item:hover { background: rgba(255,255,255,0.05); }
.proj-list-item.active {
  background: rgba(87,171,90,0.08); border-left-color: var(--green);
}
.proj-list-item.hidden { display: none; }

.pli-icon { font-size: 24px; flex-shrink: 0; line-height: 1; }
.pli-info { flex: 1; min-width: 0; }
.pli-title {
  font-size: 13px; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pli-sub { font-size: 11px; color: var(--text-dim); margin-top: 2px; font-family: var(--font-mono); }

/* Right detail panel */
.proj-detail-panel {
  flex: 1; overflow-y: auto; padding: 24px;
  display: flex; flex-direction: column;
}

.proj-detail-empty {
  margin: auto; text-align: center;
  color: var(--text-dim); font-size: 13px;
  font-family: var(--font-mono); line-height: 2;
  pointer-events: none;
}
.proj-detail-empty .arrow { font-size: 24px; display: block; margin-bottom: 8px; opacity: 0.4; }

#proj-detail-content h3 { color: var(--blue); font-size: 18px; margin-bottom: 12px; }
#proj-detail-content p  { color: var(--text); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }

.proj-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.proj-card-tag {
  background: rgba(88,166,255,0.12); border: 1px solid rgba(88,166,255,0.2);
  color: var(--blue); font-size: 11px; padding: 2px 8px; border-radius: 4px;
  font-family: var(--font-mono);
}
.proj-detail-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(87,171,90,0.1); border: 1px solid rgba(87,171,90,0.4);
  color: var(--green); font-size: 13px; padding: 7px 16px; border-radius: 6px;
  text-decoration: none; transition: background 0.2s; align-self: flex-start;
}
.proj-detail-btn:hover { background: rgba(87,171,90,0.2); color: var(--green); }

/* ── CV Window ──────────────────────────────────────────────── */
.cv-content { padding: 24px; overflow-y: auto; }
.cv-header { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--win-border); }
.cv-header h2 { font-size: 22px; color: var(--text); }
.cv-header p { color: var(--text-dim); font-size: 13px; margin-top: 4px; }
.cv-download-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(87,171,90,0.15); border: 1px solid var(--green);
  color: var(--green); font-size: 13px; padding: 7px 16px;
  border-radius: 6px; margin-top: 12px; cursor: pointer;
  text-decoration: none; transition: background 0.2s;
}
.cv-download-btn:hover { background: rgba(87,171,90,0.25); color: var(--green); }

.cv-section-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-dim);
  margin: 20px 0 12px; display: flex; align-items: center; gap: 8px;
}
.cv-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--win-border);
}

.timeline { position: relative; padding-left: 20px; }
.timeline::before {
  content: ''; position: absolute; left: 6px; top: 4px;
  width: 2px; bottom: 0; background: var(--win-border);
}
.tl-item { position: relative; padding: 0 0 20px 16px; }
.tl-item::before {
  content: ''; position: absolute; left: -8px; top: 4px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green); border: 2px solid var(--bg2);
}
.tl-title { font-size: 14px; font-weight: 700; color: var(--text); }
.tl-place { font-size: 13px; color: var(--blue); margin-top: 2px; }
.tl-date  { font-size: 12px; color: var(--text-dim); margin-top: 2px; font-family: var(--font-mono); }
.tl-body  { font-size: 13px; color: var(--text-dim); margin-top: 8px; line-height: 1.6; }
.tl-body ul { padding-left: 16px; }
.tl-body li { margin-bottom: 3px; }

.skills-grid-win { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; }
.skill-cat-win { background: rgba(255,255,255,0.03); border: 1px solid var(--win-border); border-radius: 6px; padding: 12px; }
.skill-cat-win h5 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 8px; }
.skill-icons-win { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-icons-win i { font-size: 28px; }

/* ── Contact Window ─────────────────────────────────────────── */
.contact-content { padding: 24px; overflow-y: auto; }
.contact-content h3 { font-size: 18px; color: var(--text); margin-bottom: 4px; }
.contact-content p.sub { color: var(--text-dim); font-size: 13px; margin-bottom: 20px; }

.cf-group { margin-bottom: 16px; }
.cf-label { display: block; font-size: 12px; color: var(--text-dim); margin-bottom: 6px; font-family: var(--font-mono); }
.cf-input, .cf-textarea {
  width: 100%; background: rgba(255,255,255,0.04);
  border: 1px solid var(--win-border); border-radius: 6px;
  color: var(--text); font-size: 13px; padding: 8px 12px;
  font-family: var(--font-ui); outline: none;
  transition: border-color 0.2s;
}
.cf-input:focus, .cf-textarea:focus { border-color: var(--green); }
.cf-textarea { height: 100px; resize: vertical; }
.cf-input.invalid, .cf-textarea.invalid { border-color: var(--red); }

.cf-btn {
  width: 100%; background: rgba(87,171,90,0.15); border: 1px solid var(--green);
  color: var(--green); font-size: 14px; padding: 10px;
  border-radius: 6px; cursor: pointer; font-family: var(--font-ui);
  transition: background 0.2s;
}
.cf-btn:hover { background: rgba(87,171,90,0.25); }

.cf-status { margin-top: 12px; padding: 10px 14px; border-radius: 6px; font-size: 13px; }
.cf-status.success { background: rgba(87,171,90,0.12); color: var(--green); border: 1px solid rgba(87,171,90,0.3); }
.cf-status.error   { background: rgba(248,81,73,0.12);  color: var(--red);   border: 1px solid rgba(248,81,73,0.3); }
.cf-status.info    { background: rgba(88,166,255,0.12); color: var(--blue);  border: 1px solid rgba(88,166,255,0.3); }

.contact-links { display: flex; gap: 12px; margin-top: 20px; }
.contact-link {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--win-border);
  color: var(--text); font-size: 13px; padding: 8px 12px; border-radius: 6px;
  text-decoration: none; transition: background 0.2s, border-color 0.2s;
}
.contact-link:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.2); color: var(--text); }

/* ── Taskbar ────────────────────────────────────────────────── */
#taskbar {
  height: 44px;
  background: var(--taskbar);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center;
  padding: 0 12px; gap: 8px;
  z-index: 8000; flex-shrink: 0;
}

#taskbar-windows { display: flex; gap: 6px; flex: 1; overflow-x: auto; }
#taskbar-windows::-webkit-scrollbar { display: none; }

.tb-win-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.06); border: 1px solid transparent;
  border-radius: 6px; padding: 4px 10px;
  color: var(--text-dim); font-size: 12px; cursor: pointer;
  white-space: nowrap; max-width: 160px;
  transition: all 0.15s;
  flex-shrink: 0;
}
.tb-win-btn:hover { background: rgba(255,255,255,0.1); color: var(--text); }
.tb-win-btn.active {
  background: rgba(87,171,90,0.12); border-color: rgba(87,171,90,0.3);
  color: var(--green);
}
.tb-win-btn.minimized-btn { opacity: 0.6; }
.tb-win-icon { font-size: 14px; flex-shrink: 0; }
.tb-win-title { overflow: hidden; text-overflow: ellipsis; max-width: 100px; }

#taskbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

#classic-btn {
  display: flex; align-items: center; gap: 6px;
  background: rgba(88,166,255,0.08); border: 1px solid rgba(88,166,255,0.3);
  color: var(--blue); font-size: 12px; padding: 5px 12px;
  border-radius: 20px; text-decoration: none; cursor: pointer;
  transition: all 0.2s; white-space: nowrap;
}
#classic-btn:hover {
  background: rgba(88,166,255,0.18); border-color: var(--blue);
  color: var(--blue); text-decoration: none;
}

/* ── Context Menu ───────────────────────────────────────────── */
#context-menu {
  position: fixed; z-index: 9000;
  background: rgba(22, 27, 34, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--win-border);
  border-radius: 8px;
  padding: 6px 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  min-width: 180px;
  display: none;
}
#context-menu.show { display: block; }

.ctx-item {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 16px; font-size: 13px;
  color: var(--text); cursor: pointer;
  transition: background 0.1s;
}
.ctx-item:hover { background: rgba(255,255,255,0.07); }
.ctx-item .ctx-icon { font-size: 14px; width: 16px; }
.ctx-sep { height: 1px; background: var(--win-border); margin: 4px 8px; }

/* ── Linux Mode Button (on classic.html) ────────────────────── */
#linux-mode-btn {
  position: fixed; bottom: 80px; right: 20px;
  background: rgba(13,17,23,0.9); color: var(--green);
  border: 1px solid var(--green); border-radius: 20px;
  padding: 8px 16px; font-family: var(--font-mono); font-size: 13px;
  text-decoration: none; z-index: 1001;
  transition: all 0.3s ease; backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
#linux-mode-btn:hover {
  background: var(--green); color: #0d1117;
  transform: scale(1.05); text-decoration: none;
}

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.window { animation: fadeInUp 0.2s ease; }

@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0; }
}
#term-input { animation: blink 1s step-end infinite; }
#term-input:focus { animation: none; }

/* ── Scrollbars (global) ────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--win-border); border-radius: 3px; }

/* ── No Terminal Warning ────────────────────────────────────── */
.no-mobile-notice {
  display: none;
  position: fixed; inset: 0; background: #000;
  font-family: var(--font-mono); color: var(--green);
  flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px; z-index: 99999;
}
.no-mobile-notice h2 { font-size: 20px; margin-bottom: 12px; }
.no-mobile-notice p  { color: var(--text-dim); font-size: 14px; line-height: 1.7; }
.no-mobile-notice a  { color: var(--blue); }

@media (max-width: 640px) {
  .no-mobile-notice { display: flex; }
}
