/* ============================================================
   Modern macOS desktop — sidpremkumar.github.io
   ============================================================ */

:root {
  --menubar-height: 30px;
  --accent: #007aff;
  --tl-red: #ff5f57;
  --tl-yellow: #febc2e;
  --tl-green: #28c840;
  --window-bg: #ffffff;
  --titlebar-bg: linear-gradient(to bottom, #f6f6f6, #ececec);
  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  font-family: var(--font-stack);
  font-size: 14px;
  color: #1d1d1f;
  /* Big Sur-ish layered gradient wallpaper */
  background: radial-gradient(
      1200px 800px at 15% 20%,
      rgba(255, 154, 158, 0.55),
      transparent 60%
    ),
    radial-gradient(
      1000px 700px at 85% 15%,
      rgba(250, 208, 100, 0.5),
      transparent 60%
    ),
    radial-gradient(
      1400px 900px at 70% 90%,
      rgba(120, 75, 209, 0.65),
      transparent 65%
    ),
    linear-gradient(155deg, #4a6cf7 0%, #7b5cf0 45%, #c65fd9 75%, #f0699b 100%);
  background-attachment: fixed;
}

::selection {
  background: rgba(0, 122, 255, 0.3);
}

/* ============================================================
   Menu bar
   ============================================================ */

#menubar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--menubar-height);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  display: flex;
  align-items: stretch;
  z-index: 9000;
  user-select: none;
  padding: 0 10px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.menu {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 11px;
  font-size: 13.5px;
  white-space: nowrap;
  border-radius: 5px;
  margin: 3px 0;
}

.menu.app-name {
  font-weight: 700;
}

.menu.apple-menu {
  padding: 0 12px;
}

.menu.apple-menu svg {
  width: 13px;
  height: 16px;
  display: block;
}

.menu.open,
.menu:active {
  background: rgba(0, 0, 0, 0.14);
}

.menu-dropdown {
  display: none;
  position: absolute;
  top: calc(var(--menubar-height) - 2px);
  left: 0;
  min-width: 220px;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  color: #1d1d1f;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.25);
  padding: 5px;
  z-index: 9001;
}

.menu.open .menu-dropdown {
  display: block;
}

.menu-item {
  padding: 4px 10px;
  font-size: 13.5px;
  white-space: nowrap;
  border-radius: 5px;
}

.menu-item:hover {
  background: var(--accent);
  color: #fff;
}

.menu-item.disabled {
  color: rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.menu-separator {
  height: 1px;
  margin: 5px 10px;
  background: rgba(0, 0, 0, 0.12);
}

#menubar-spacer {
  flex: 1;
}

#menubar-clock {
  display: flex;
  align-items: center;
  padding: 0 6px;
  font-size: 13.5px;
}

/* ============================================================
   Desktop + icons
   ============================================================ */

#desktop {
  position: fixed;
  top: var(--menubar-height);
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.desktop-icon {
  position: absolute;
  width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  user-select: none;
  z-index: 10;
  padding: 6px 2px;
  border-radius: 8px;
}

.desktop-icon .icon-img {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.desktop-icon .icon-img svg {
  width: 100%;
  height: 100%;
  display: block;
}

.desktop-icon .icon-label {
  font-size: 12.5px;
  font-weight: 500;
  text-align: center;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
  padding: 1px 6px;
  line-height: 1.25;
  border-radius: 4px;
  max-width: 100%;
}

.desktop-icon.selected .icon-img {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35)) brightness(0.75);
}

.desktop-icon.selected .icon-label {
  background: var(--accent);
  text-shadow: none;
}

/* ============================================================
   Windows
   ============================================================ */

.window {
  position: absolute;
  min-width: 280px;
  min-height: 160px;
  background: var(--window-bg);
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.18);
  display: none;
  flex-direction: column;
  z-index: 100;
  overflow: hidden;
}

.window.open {
  display: flex;
}

.window.opening {
  animation: windowZoom 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}

@keyframes windowZoom {
  from {
    transform: scale(0.6);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.title-bar {
  flex: none;
  height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  position: relative;
  user-select: none;
  background: var(--titlebar-bg);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.traffic-lights {
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 2;
}

.traffic-lights button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tl-close {
  background: var(--tl-red);
}

.tl-min {
  background: var(--tl-yellow);
}

.tl-zoom {
  background: var(--tl-green);
}

.window:not(.active) .traffic-lights button {
  background: #d5d5d5;
}

/* Symbols appear when hovering the group */
.traffic-lights button svg {
  width: 8px;
  height: 8px;
  opacity: 0;
}

.traffic-lights:hover button svg {
  opacity: 1;
}

.title-bar .window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 600;
  color: #3c3c43;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
  pointer-events: none;
}

.window:not(.active) .title-bar .window-title {
  color: rgba(60, 60, 67, 0.4);
}

.window:not(.active) .title-bar {
  background: #f6f6f6;
}

.window-pane {
  flex: 1;
  overflow: auto;
  padding: 18px 22px;
  font-size: 14px;
  line-height: 1.55;
  background: var(--window-bg);
  min-height: 0;
}

.window-pane.no-pad {
  padding: 0;
}

/* Modern slim scrollbars */
.window-pane::-webkit-scrollbar,
#output::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

.window-pane::-webkit-scrollbar-track,
#output::-webkit-scrollbar-track {
  background: transparent;
}

.window-pane::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: content-box;
}

#output::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: content-box;
}

.resize-grip {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 18px;
  height: 18px;
  z-index: 5;
  cursor: nwse-resize;
}

/* ============================================================
   Window content styling
   ============================================================ */

.window-pane h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}

.window-pane h3 {
  font-size: 15px;
  font-weight: 650;
  margin: 18px 0 4px;
}

.window-pane a {
  color: var(--accent);
  text-decoration: none;
}

.window-pane a:hover {
  text-decoration: underline;
}

.window-pane ul {
  margin: 6px 0;
  padding-left: 20px;
}

.window-pane li {
  margin-bottom: 4px;
}

.retro-img {
  border-radius: 8px;
}

.dotted-rule {
  height: 1px;
  margin: 16px 0;
  background: rgba(0, 0, 0, 0.1);
}

/* --- About window --- */
.about-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about-layout img {
  width: 120px;
  flex: none;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.about-meta {
  font-size: 13px;
  line-height: 1.8;
  color: #3c3c43;
}

.about-meta .label {
  font-weight: 650;
  color: #1d1d1f;
}

.about-links {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* --- macOS style buttons --- */
.mac-btn {
  font-family: var(--font-stack);
  font-size: 13px;
  font-weight: 500;
  background: linear-gradient(to bottom, #ffffff, #f3f3f3);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 7px;
  padding: 5px 16px;
  color: #1d1d1f;
  text-decoration: none !important;
  display: inline-block;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.mac-btn:hover {
  background: linear-gradient(to bottom, #f8f8f8, #ececec);
  text-decoration: none !important;
}

.mac-btn:active {
  background: #e2e2e2;
}

.mac-btn.default {
  background: linear-gradient(to bottom, #2f8bff, #0071e3);
  border-color: rgba(0, 0, 0, 0.1);
  color: #fff;
}

.mac-btn.default:hover {
  background: linear-gradient(to bottom, #2280f5, #0068d1);
}

/* --- Resume --- */
.doc-ruler {
  display: none;
}

.resume-job {
  display: flex;
  gap: 14px;
  margin-bottom: 4px;
  align-items: center;
}

.resume-job img {
  width: 46px;
  height: 46px;
  flex: none;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.resume-job-meta {
  font-size: 12.5px;
  color: #6e6e73;
  margin: 2px 0 4px;
}

/* --- Projects (rich cards) --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
  padding: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.project-card:hover {
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.14);
  transform: translateY(-2px);
}

.project-card-img {
  aspect-ratio: 2 / 1;
  background: #f2f2f7;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-card-img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6a7bd8, #9b59c9);
}

.project-card-img-fallback span {
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.2px;
}

.project-card-body {
  padding: 10px 13px 12px;
}

.project-card-title {
  font-size: 14.5px;
  font-weight: 650;
  color: #1d1d1f;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.project-card-desc {
  font-size: 12.5px;
  color: #3c3c43;
  margin-top: 3px;
  line-height: 1.45;
}

.project-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #6e6e73;
  margin-top: 8px;
}

.lang-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: none;
}

.project-stars {
  margin-left: 8px;
}

/* --- Projects (Finder-ish) --- */
.finder-header {
  flex: none;
  font-size: 12px;
  color: #6e6e73;
  padding: 5px 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background: #fafafa;
  text-align: center;
}

.finder-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 4px;
  padding: 16px 12px;
  align-content: flex-start;
}

.finder-icon {
  width: 106px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  user-select: none;
  padding: 8px 2px;
  border-radius: 8px;
}

.finder-icon .icon-img {
  width: 46px;
  height: 46px;
}

.finder-icon .icon-img svg {
  width: 100%;
  height: 100%;
  display: block;
}

.finder-icon .icon-label {
  font-size: 12px;
  text-align: center;
  line-height: 1.25;
  padding: 1px 6px;
  border-radius: 4px;
  color: #1d1d1f;
}

.finder-icon.selected {
  background: rgba(0, 0, 0, 0.06);
}

.finder-icon.selected .icon-label {
  background: var(--accent);
  color: #fff;
}

.project-stats {
  font-size: 12.5px;
  color: #6e6e73;
  margin: 8px 0;
}

/* --- Skills --- */
.skills-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0 22px;
}

/* ============================================================
   Browser app (Writing)
   ============================================================ */

.browser-toolbar {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: linear-gradient(to bottom, #f6f6f6, #efefef);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.browser-nav {
  display: flex;
  gap: 4px;
}

.browser-nav-btn {
  width: 26px;
  height: 24px;
  border: none;
  background: transparent;
  border-radius: 6px;
  color: #8e8e93;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.browser-nav-btn svg {
  width: 9px;
  height: 13px;
}

.browser-address {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 7px;
  padding: 4px 12px;
  font-size: 12.5px;
  color: #3c3c43;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}

.browser-lock {
  width: 9px;
  height: 11px;
  color: #8e8e93;
  flex: none;
}

.browser-page {
  max-width: 560px;
  margin: 0 auto;
}

.browser-page h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin: 6px 0 2px;
}

.browser-subtitle {
  color: #6e6e73;
  font-size: 13.5px;
  margin: 0 0 18px;
}

.post-site-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  margin: 22px 0 8px;
}

.post-site-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.post-site-domain {
  font-weight: 400;
  color: #8e8e93;
  font-size: 12px;
}

.post-card {
  display: block;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  margin-bottom: 8px;
  text-decoration: none !important;
  color: inherit;
  background: #fff;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.post-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.post-card-title {
  font-size: 14.5px;
  font-weight: 650;
  color: #1d1d1f;
}

.post-card-desc {
  font-size: 13px;
  color: #3c3c43;
  margin-top: 2px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: #8e8e93;
  margin-top: 6px;
}

.post-card-meta .post-site-dot {
  width: 8px;
  height: 8px;
}

.post-all-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin-top: 14px;
}

.post-all-link {
  display: inline-block;
  font-size: 12.5px;
  margin: 2px 0 6px;
}

/* ============================================================
   Terminal app
   ============================================================ */

#win-terminal .title-bar {
  background: linear-gradient(to bottom, #3a3a3c, #2c2c2e);
  border-bottom: 1px solid #000;
}

#win-terminal .title-bar .window-title {
  color: #d0d0d5;
}

#win-terminal:not(.active) .title-bar .window-title {
  color: rgba(208, 208, 213, 0.4);
}

#terminal-pane {
  background: rgba(24, 24, 27, 0.96);
  color: #f2f2f7;
  font-family: "SF Mono", "Menlo", "Monaco", "Courier New", monospace;
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  padding: 0;
}

#terminal {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

#output {
  flex: 1;
  overflow-y: scroll;
  padding: 0.9rem;
  min-height: 0;
}

.terminal-line {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
}

.terminal-line .font-bold {
  font-weight: bold;
}

.terminal-line img {
  max-width: 100%;
  max-height: 16rem;
  height: auto;
  margin: 0.5rem 0;
  border-radius: 8px;
}

.terminal-line a {
  color: #6ea8fe;
  text-decoration: none;
}

.terminal-line a:hover {
  text-decoration: underline;
  color: #93c5fd;
}

#input-line {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#input-line .prompt-char {
  margin-right: 0.5rem;
  color: #32d74b;
}

#terminal-input {
  background: transparent;
  border: none;
  outline: none;
  flex: 1;
  color: #f2f2f7;
  font-family: inherit;
  font-size: inherit;
  min-width: 0;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.cursor {
  animation: blink 1s infinite;
}

/* ============================================================
   Dock
   ============================================================ */

#dock {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
  z-index: 8000;
  user-select: none;
}

.dock-item {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.14s ease, margin 0.14s ease;
  transform-origin: bottom center;
}

.dock-item svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}

.dock-item:hover {
  transform: scale(1.35) translateY(-6px);
  margin: 0 8px;
}

/* Tooltip */
.dock-item::before {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(40, 40, 44, 0.9);
  color: #fff;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.dock-item:hover::before {
  opacity: 1;
}

/* Running indicator */
.dock-item::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
}

.dock-item.running::after {
  opacity: 1;
}

.dock-separator {
  width: 1px;
  align-self: stretch;
  margin: 4px 4px;
  background: rgba(0, 0, 0, 0.18);
}

/* ============================================================
   Dialog boxes
   ============================================================ */

.mac-dialog {
  position: fixed;
  left: 50%;
  top: 32%;
  transform: translate(-50%, -50%);
  min-width: 280px;
  max-width: 400px;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  padding: 22px 24px 18px;
  z-index: 9500;
  font-size: 13.5px;
  line-height: 1.5;
  text-align: center;
}

.mac-dialog .dialog-buttons {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* ============================================================
   Boot screen
   ============================================================ */

#boot-screen {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.45s ease;
}

#boot-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}

.boot-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  user-select: none;
}

/* --- The dino game, except it's a dog --- */
.boot-scene {
  position: relative;
  width: 320px;
  height: 90px;
  overflow: hidden;
}

.boot-dog {
  position: absolute;
  left: 28px;
  bottom: 10px;
  width: 66px;
  height: 42px;
}

.boot-dog.jump {
  animation: dogJump 0.9s cubic-bezier(0.3, 0, 0.4, 1);
}

@keyframes dogJump {
  0%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-50px);
  }
  65% {
    transform: translateY(-46px);
  }
}

.dog-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Run cycle: alternate the two leg frames */
.dog-frame-a {
  animation: dogRunA 0.28s steps(1) infinite;
}

.dog-frame-b {
  animation: dogRunB 0.28s steps(1) infinite;
}

@keyframes dogRunA {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes dogRunB {
  0%, 49% { opacity: 0; }
  50%, 100% { opacity: 1; }
}

/* Fire hydrants scroll right-to-left, forever */
.boot-obstacle {
  position: absolute;
  bottom: 10px;
  left: 100%;
  width: 20px;
  height: 30px;
  animation: obstacleScroll 2.4s linear infinite;
}

@keyframes obstacleScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-380px);
  }
}

.boot-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background-image: repeating-linear-gradient(
    to right,
    #8e8e93 0,
    #8e8e93 10px,
    transparent 10px,
    transparent 16px
  );
  animation: groundScroll 0.5s linear infinite;
}

@keyframes groundScroll {
  from {
    background-position-x: 0;
  }
  to {
    background-position-x: -16px;
  }
}

.boot-message {
  color: #e8e8ed;
  font-size: 14px;
  min-height: 20px;
  font-family: "SF Mono", "Menlo", monospace;
}

.boot-hint {
  color: rgba(255, 255, 255, 0.35);
  font-size: 11px;
  letter-spacing: 0.4px;
}

.boot-progress {
  width: 200px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.boot-progress-fill {
  height: 100%;
  width: 0%;
  background: #fff;
  border-radius: 3px;
  animation: bootFill 3s ease-out forwards;
}

@keyframes bootFill {
  0% {
    width: 0%;
  }
  60% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 700px) {
  .menu {
    padding: 0 8px;
    font-size: 13px;
  }

  #menubar-clock {
    font-size: 12.5px;
    white-space: nowrap;
  }

  .desktop-icon {
    width: 84px;
  }

  .desktop-icon .icon-img {
    width: 48px;
    height: 48px;
  }

  .window {
    min-width: 0;
  }

  .about-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-links {
    justify-content: center;
  }

  #dock {
    bottom: 6px;
    gap: 4px;
    padding: 6px 8px;
  }

  .dock-item {
    width: 44px;
    height: 44px;
  }
}
