@font-face {
  font-family: "Kenney Future Narrow";
  src: url("./assets/kenney/ui-pack/Font/Kenney Future Narrow.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  --desktop-1: #0a1628;
  --desktop-2: #060d18;
  --wallpaper-hi: rgba(90, 140, 220, 0.12);
  --wallpaper-lo: rgba(253, 214, 110, 0.04);
  --panel: rgba(255, 255, 255, 0.08);
  --panel-2: rgba(255, 255, 255, 0.04);
  --chrome: rgba(255, 255, 255, 0.12);
  --chrome-hi: rgba(255, 255, 255, 0.2);
  --chrome-lo: rgba(255, 255, 255, 0.06);
  --chrome-dark: rgba(0, 0, 0, 0.3);
  --accent: #fdd66e;
  --accent-hi: #ffe49a;
  --text: #e8e4dc;
  --muted: rgba(255, 255, 255, 0.5);
  --menubar-h: 30px;
  --dock-safe-space: 88px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --display-font: 'Lora', Georgia, serif;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(20px) saturate(180%);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: url('./assets/macOS/wallpaper-dark.webp') center/cover no-repeat fixed, linear-gradient(135deg, #0f172a, #020617);
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.1), transparent 60%);
  opacity: 0.8;
}

.app-shell {
  height: 100%;
}

.desktop {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  padding: calc(var(--menubar-h) + 18px) 24px var(--dock-safe-space);
}

.desktop__workarea {
  position: relative;
  width: 100%;
  min-height: calc(100dvh - var(--menubar-h) - var(--dock-safe-space) - 18px);
}

.mac-menubar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 20, 28, 0.45);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  font-size: 13px;
  font-weight: 500;
}

.mac-menubar__left,
.mac-menubar__right {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.mac-menubar__brand {
  display: grid;
  place-items: center;
  font-size: 15px;
}

.mac-menubar__title {
  font-weight: 600;
  font-size: 13px;
}

.mac-menubar__button,
.mac-menubar__spotlight {
  min-height: 24px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.mac-menubar__button {
  padding: 0 8px;
}

.mac-menubar__spotlight {
  display: grid;
  place-items: center;
  width: 26px;
  padding: 0;
}

.mac-menubar__button:hover,
.mac-menubar__spotlight:hover {
  background: rgba(255, 255, 255, 0.15);
}

.mac-dock-container {
  position: fixed;
  right: 0;
  bottom: 12px;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.mac-dock {
  display: flex;
  align-items: flex-end;
  max-width: 95vw;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(25, 25, 35, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  pointer-events: auto;
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
}

.mac-dock__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  transform-origin: bottom center;
  transition: transform 0.1s ease-out;
}

.mac-dock__icon-wrapper {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mac-dock__icon-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.mac-dock__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--dock-icon-color, #0a84ff);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mac-dock__tooltip {
  position: absolute;
  top: -44px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: rgba(20, 20, 28, 0.82);
  color: #f8fafc;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.mac-dock__item:hover .mac-dock__tooltip {
  opacity: 1;
  transform: translateY(0);
}

.mac-dock__indicator {
  position: absolute;
  bottom: -5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.9);
}

.mac-dock__item.is-open .mac-dock__indicator {
  opacity: 1;
}

.mac-dock__separator {
  width: 1px;
  height: 44px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.18);
}

.mac-dock__item.is-open .mac-dock__indicator {
  opacity: 1;
}

.desktop-footer {
  position: absolute;
  bottom: var(--dock-safe-space);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
  pointer-events: auto;
  text-align: center;
}
.launcher {
  position: relative;
  z-index: 40;
  width: 100%;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(25, 25, 35, 0.6);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.launcher__hero {
  display: flex;
  align-items: center;
  gap: 14px;
}

.launcher__icon-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd60a, #ff9f0a);
  color: #000;
  box-shadow: 0 4px 14px rgba(255, 214, 10, 0.35);
}

.launcher__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.launcher__subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}

.launcher__form {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.launcher__field {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 4px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  position: relative;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.launcher__field:focus-within {
  border-color: #0a84ff;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.25);
}

.launcher__input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.launcher__input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.launcher__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 130px;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: #0a84ff;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 132, 255, 0.35);
  transition: background-color 0.15s ease;
}

.launcher__submit:hover {
  background-color: #0071e3;
}

.launcher__examples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.launcher__chip {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.launcher__chip:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.launcher__footnote {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.launcher__divider {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: 280px;
  min-height: 180px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(21, 29, 53, 0.66);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.window.is-active {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15), 0 22px 56px rgba(0, 0, 0, 0.42);
}

.window.is-minimized {
  pointer-events: none;
  opacity: 0;
  transform: scale(0.94) translateY(24px);
}

.compiler-progress__bar {
  width: 100%;
  height: 12px;
  margin-top: 4px;
  overflow: hidden;
  border: 2px solid #111;
  border-radius: 4px;
  background: #fff;
}

.window.is-dragging {
  transition: none;
}

.window--generated {
  border-color: color-mix(in srgb, var(--generated-accent, var(--accent)) 55%, white);
}

.mac-titlebar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.mac-titlebar:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -3px;
}

.mac-titlebar:active {
  cursor: grabbing;
}

.mac-titlebar__dots {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mac-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0.5px solid rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 0, 0, 0.65);
}

.mac-dot__icon {
  opacity: 0;
  transition: opacity 0.12s ease;
}

.mac-titlebar__dots:hover .mac-dot__icon {
  opacity: 1;
}

.mac-dot--close {
  background: #ff5f57;
}

.mac-dot--minimize {
  background: #febc2e;
}

.mac-dot--zoom {
  background: #28c840;
}

.mac-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.mac-titlebar__title {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 7px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.mac-titlebar__title span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window__body {
  flex: 1;
  padding: 16px;
  overflow: auto;
  background: rgba(20, 20, 28, 0.75);
  color: rgba(255, 255, 255, 0.92);
}

.window--generated .window__body {
  background: rgba(18, 18, 26, 0.82);
}

.panel,
.stack,
.timeline {
  display: grid;
  gap: 14px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent, #0a84ff);
}

.headline {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2.1rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 500;
}

.chip--dim {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
}

.chip--generated {
  background: rgba(10, 132, 255, 0.15);
  border-color: rgba(10, 132, 255, 0.35);
  color: #64d2ff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat-card,
.project-card,
.timeline-item,
.contact-link {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.project-card--interactive:hover,
.contact-link:hover,
.timeline-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.stat-card {
  padding: 12px;
}

.stat-card__label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.stat-card__value {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.project-card,
.timeline-item {
  padding: 14px 16px;
}

.project-card__header h2 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.project-card p,
.timeline-item p,
.panel p {
  margin: 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
}

.timeline-item__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.timeline-item__meta strong {
  font-size: 15px;
  color: #fff;
}

.timeline-item__meta span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font: inherit;
  font-size: 13px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: none;
  border-color: #0a84ff;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.25);
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.button--ghost,
.contact-link {
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: #0a84ff;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(10, 132, 255, 0.35);
  transition: background-color 0.15s ease, transform 0.1s ease;
}

.button:hover {
  background-color: #0071e3;
}

.button--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.contact-link {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  color: inherit;
  text-decoration: none;
}

.contact-link span {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.contact-link strong {
  font-size: 13px;
  color: #fff;
}

.resume-list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.generated-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.generated-card,
.generated-notes {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px;
}

.generated-card__title,
.generated-notes__header {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}

.generated-card__title {
  margin-bottom: 6px;
}

.generated-card p,
.generated-notes p {
  margin: 0 0 8px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.generated-card ul,
.generated-notes ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.generated-notes {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.generated-notes__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.generated-panel {
  display: grid;
  gap: 12px;
}

.generated-panel__header {
  display: grid;
  gap: 6px;
}



@media (max-width: 899px) {
  body {
    overflow: auto;
  }

  .desktop {
    min-height: 100dvh;
    padding: calc(var(--menubar-h) + 12px) 12px 96px;
  }

  .desktop__workarea {
    display: grid;
    min-height: 0;
    gap: 12px;
    align-content: start;
  }

  .window {
    position: relative;
    left: auto !important;
    top: auto !important;
    width: 100% !important;
    min-height: 240px;
    height: auto !important;
  }

  .window.is-minimized {
    display: none;
  }

  .window[data-window-kind="forge"] .launcher {
    padding: 12px !important;
  }

  .mac-titlebar {
    min-height: 44px;
  }

  .mac-dot {
    width: 18px;
    height: 18px;
  }

  .mac-dock-container {
    right: 8px;
    bottom: 8px;
    left: 8px;
    justify-content: stretch;
  }

  .mac-dock {
    width: 100%;
    justify-content: flex-start;
  }

  .mac-dock__item {
    flex-basis: 52px;
    min-height: 60px;
  }

  .mac-dock__item:hover {
    transform: none;
  }

  .mac-menubar__button {
    display: none;
  }

  .mac-menubar__time {
    max-width: 148px;
  }

  .stats-grid,
  .generated-grid {
    grid-template-columns: 1fr;
  }

  .launcher__hero,
  .launcher__form {
    flex-direction: column;
    align-items: stretch;
  }

  .launcher__submit {
    min-height: 44px;
    justify-content: center;
  }

  .desktop-footer {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 18px auto 0;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .window,
  .mac-dock__item,
  .desktop-footer__logo-link,
  .desktop-footer__logo-img {
    animation: none !important;
    transition: none !important;
  }

  .mac-dock__item:hover {
    transform: none;
  }
}

/* INTERACTIVE GENERATED APPS STYLING */

/* INTERACTIVE APPS STYLING — macOS Dark Mode */

/* Calculator App */
.calc-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 8px;
  gap: 10px;
}

.calc-app__display {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  font-size: 32px;
  font-weight: 300;
  text-align: right;
  padding: 12px 16px;
  min-height: 64px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.02em;
}

.calc-app__keypad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  flex: 1;
}

.calc-key {
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.12s ease, transform 0.1s ease;
}

.calc-key:hover {
  background: rgba(255, 255, 255, 0.18);
}

.calc-key:active {
  transform: scale(0.96);
}

.calc-key--op {
  background: #ff9f0a;
  color: #ffffff;
  font-size: 18px;
}

.calc-key--op:hover {
  background: #f09200;
}

.calc-key--clear,
.calc-key--back {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.calc-key--equals {
  background: #ff9f0a;
  color: #ffffff;
}

.calc-app__info {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* Notes App */
.notes-app {
  display: flex;
  height: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 24, 0.85);
  overflow: hidden;
}

.notes-app__sidebar {
  width: 160px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.notes-app__new-btn {
  margin: 8px;
  height: 30px;
  font-size: 12px;
}

.notes-app__list {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notes-app__sidebar-item {
  width: 100%;
  border: 0;
  border-radius: 6px;
  background: transparent;
  padding: 8px 10px;
  text-align: left;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: background-color 0.12s ease;
}

.notes-app__sidebar-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.notes-app__sidebar-item.is-active {
  background: #ffd60a;
  color: #000000;
  font-weight: 600;
}

.notes-app__editor {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: transparent;
}

.notes-app__title-input {
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  padding: 6px 0;
  margin-bottom: 10px;
  outline: none;
}

.notes-app__textarea {
  flex: 1;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  resize: none;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.6;
  outline: none;
}

.notes-app__actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 8px;
}

/* Todo App */
.todo-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}

.todo-app__form {
  display: flex;
  gap: 8px;
}

.todo-app__input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 13px;
}

.todo-app__list {
  flex: 1;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  list-style: none;
  margin: 0;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.todo-app__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.12s ease;
}

.todo-app__item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.todo-app__item.is-completed .todo-app__text {
  text-decoration: line-through;
  color: rgba(255, 255, 255, 0.4);
}

.todo-app__text {
  flex: 1;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.todo-app__delete {
  border: 0;
  background: transparent;
  color: rgba(255, 95, 87, 0.8);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
}

.todo-app__delete:hover {
  color: #ff5f57;
  background: rgba(255, 95, 87, 0.15);
}

.todo-app__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

.todo-app__filters {
  display: flex;
  gap: 4px;
}

.todo-app__filter-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 3px 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  cursor: pointer;
}

.todo-app__filter-btn.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Timer App */
.timer-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 18px;
}

.timer-app__clock {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", monospace;
  font-size: 52px;
  font-weight: 200;
  letter-spacing: -0.02em;
  color: #64d2ff;
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 32px;
  border-radius: 16px;
  border: 1px solid rgba(100, 210, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), inset 0 0 12px rgba(100, 210, 255, 0.1);
}

.timer-app__progress-bar {
  width: 85%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.timer-app__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0a84ff, #64d2ff);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.timer-app__controls {
  display: flex;
  gap: 12px;
}

.timer-app__btn {
  min-width: 90px;
}

.timer-app__presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.timer-app__preset-btn.is-active {
  background: #0a84ff;
  color: #ffffff;
  border-color: #0a84ff;
}

/* Dashboard App */
.dash-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 12px;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.dash-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.dash-controls,
.dash-chart {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.dash-controls h3,
.dash-chart h3 {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}

.dash-controls__field {
  margin-bottom: 10px;
}

.dash-controls__field label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.dash-select {
  height: 32px;
  font: inherit;
  font-size: 12px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  padding: 0 8px;
}

.dash-controls__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.dash-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.dash-chart__bars {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 10px 8px;
  min-height: 100px;
}

.dash-chart__bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
  width: 22px;
}

.dash-chart__bar-fill {
  background: linear-gradient(0deg, #0a84ff, #64d2ff);
  width: 100%;
  border-radius: 4px 4px 0 0;
  transition: height 0.3s ease;
}

.dash-chart__bar-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  margin-top: 6px;
}

.dash-logs-wrapper {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
}

.dash-logs-header {
  color: #30d158;
  font-family: monospace;
  font-size: 11px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4px;
  margin-bottom: 6px;
}

.dash-logs__list {
  height: 90px;
  overflow-y: auto;
  font-family: monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Chat App */
.chat-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 10px;
}

.chat-app__history {
  flex: 1;
  overflow-y: auto;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
}

.chat-app__msg {
  display: flex;
  width: 100%;
}

.chat-app__msg--incoming {
  justify-content: flex-start;
}

.chat-app__msg--outgoing {
  justify-content: flex-end;
}

.chat-app__msg-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-line;
}

.chat-app__msg--incoming .chat-app__msg-bubble {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-bottom-left-radius: 4px;
}

.chat-app__msg--outgoing .chat-app__msg-bubble {
  background: #0a84ff;
  color: #ffffff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(10, 132, 255, 0.3);
}

.chat-app__form {
  display: flex;
  gap: 8px;
}

.chat-app__input {
  flex: 1;
  padding: 8px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  font-size: 13px;
}

.chat-app__typing-indicator {
  display: flex;
  gap: 5px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  align-self: flex-start;
  min-width: 52px;
  justify-content: center;
}

.chat-app__typing-indicator span {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: typing 1s infinite alternate;
}

.chat-app__typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-app__typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

/* Browser App */
.browser-app {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.browser-app__chrome {
  display: flex;
  gap: 8px;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

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

.browser-app__nav-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  font-size: 12px;
  border-radius: 6px;
}

.browser-app__address {
  flex: 1;
  padding: 6px 12px;
  font-size: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.browser-app__content {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
  min-height: 150px;
}

/* System Settings Theme Card Grid */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.theme-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.theme-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.theme-card.is-active-theme {
  border-color: #0a84ff;
  background: rgba(10, 132, 255, 0.15);
}

.theme-card__preview {
  display: flex;
  gap: 6px;
}

.theme-card__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.theme-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.theme-card__name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.theme-card__status {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.theme-card.is-active-theme .theme-card__status {
  color: #64d2ff;
  font-weight: 600;
}

.browser-app__status {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 6px;
  background: var(--panel);
  padding: 2px 4px;
  border-top: 1px dashed var(--chrome-lo);
}

.browser-app__status-sep {
  color: var(--chrome-lo);
}

/* Simulated Web Pages */
.web-page {
  padding: 16px;
  font-family: var(--font);
  color: #333;
}

.web-page__lead {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 16px;
}

.web-page__card {
  border: 1px solid #ccc;
  background: #fdfdfd;
  padding: 12px;
  margin-bottom: 12px;
}

.web-page__card h3 {
  margin: 0 0 8px;
  font-size: 13px;
}

.web-page__card ul {
  margin: 0;
  padding-left: 18px;
}

.web-page__card li {
  margin-bottom: 6px;
  font-size: 12px;
}

/* Google Page */
.web-page--google {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 30px;
}

.web-page__google-logo {
  font-size: 36px;
  margin-bottom: 16px;
  font-weight: bold;
}

.web-page__google-logo span:nth-child(1) { color: #4285F4; }
.web-page__google-logo span:nth-child(2) { color: #EA4335; }
.web-page__google-logo span:nth-child(3) { color: #FBBC05; }
.web-page__google-logo span:nth-child(4) { color: #4285F4; }
.web-page__google-logo span:nth-child(5) { color: #34A853; }
.web-page__google-logo span:nth-child(6) { color: #EA4335; }

.web-page__google-search {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.web-page__google-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 16px;
  border: 1px solid #ccc;
  outline: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.web-page__google-btns {
  display: flex;
  gap: 8px;
}

.web-page__google-results {
  width: 90%;
  border-top: 1px solid #eee;
  padding-top: 16px;
  text-align: left;
}

.web-page__google-results h3 {
  font-size: 13px;
  margin-bottom: 12px;
}

.web-page__google-result {
  margin-bottom: 16px;
}

.web-page__google-result h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.web-page__google-result h4 a {
  color: #1a0dab;
  text-decoration: none;
}

.web-page__google-result h4 a:hover {
  text-decoration: underline;
}

.web-page__google-result p {
  font-size: 12px;
  color: #4d5156;
}

/* GitHub Page */
.web-page--github {
  text-align: left;
}

.web-page__github-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.web-page__github-avatar {
  width: 48px;
  height: 48px;
  background: #24292f;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: bold;
}

.web-page__github-header h2 {
  margin: 0;
  font-size: 16px;
}

.web-page__github-header p {
  margin: 2px 0 0;
  font-size: 12px;
  color: #57606a;
}

.web-page__github-stats {
  font-size: 12px;
  color: #57606a;
  margin: 10px 0 16px;
}

.web-page__github-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.web-page__github-repo {
  border: 1px solid #d0d7de;
  border-radius: 6px;
  padding: 10px;
}

.web-page__github-repo h4 {
  margin: 0 0 6px;
  font-size: 13px;
}

.web-page__github-repo h4 a {
  color: #0969da;
  text-decoration: none;
}

.web-page__github-repo p {
  font-size: 11px;
  color: #57606a;
  margin: 0 0 8px;
}

.web-page__github-repo-meta {
  display: flex;
  gap: 12px;
  font-size: 10px;
  color: #57606a;
}

.web-page__github-lang {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* LinkedIn Page */
.web-page--linkedin {
  text-align: left;
  background: #f3f2f0;
  min-height: 100%;
}

.web-page__linkedin-banner {
  height: 60px;
  background: #a0b4b7;
}

.web-page__linkedin-profile {
  background: #fff;
  border: 1px solid #d0d7de;
  border-top: 0;
  padding: 12px;
  position: relative;
  margin-bottom: 12px;
}

.web-page__linkedin-avatar {
  width: 64px;
  height: 64px;
  background: #0077b5;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: bold;
  border: 3px solid #fff;
  position: absolute;
  top: -32px;
  left: 12px;
}

.web-page__linkedin-profile h2 {
  margin: 32px 0 2px;
  font-size: 18px;
}

.web-page__linkedin-title {
  margin: 0;
  font-size: 13px;
  color: #000;
}

.web-page__linkedin-loc {
  margin: 4px 0 8px;
  font-size: 11px;
  color: #57606a;
}

.web-page__linkedin-profile .button {
  height: 26px;
  font-size: 11px;
  padding: 0 10px;
}

.web-page__linkedin-section {
  background: #fff;
  border: 1px solid #d0d7de;
  padding: 12px;
  margin-bottom: 12px;
}

.web-page__linkedin-section h3 {
  margin: 0 0 8px;
  font-size: 14px;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}

.web-page__linkedin-section p {
  font-size: 12px;
  line-height: 1.4;
}

.web-page__linkedin-exp {
  margin-bottom: 12px;
}

.web-page__linkedin-exp h4 {
  margin: 0 0 2px;
  font-size: 13px;
}

.web-page__linkedin-exp h5 {
  margin: 0 0 2px;
  font-size: 12px;
  color: #57606a;
}

.web-page__linkedin-period {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 4px;
}

/* Sandbox IFrame web page */
.web-page--iframe-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.web-page__iframe-alert {
  background: #fff3cd;
  border-bottom: 1px solid #ffeeba;
  color: #856404;
  padding: 8px 12px;
  font-size: 11px;
  line-height: 1.3;
}

.web-page__iframe {
  flex: 1;
  border: 0;
  width: 100%;
  height: 100%;
}

/* PIXEL ART ICONS INTEGRATION */
.pixel-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  mask-image: var(--icon-url);
  -webkit-mask-image: var(--icon-url);
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  flex-shrink: 0;
}

/* Sizing Modifiers */
.pixel-icon--xs {
  width: 14px;
  height: 14px;
}
.pixel-icon--sm {
  width: 18px;
  height: 18px;
}
.pixel-icon--md {
  width: 24px;
  height: 24px;
}
.pixel-icon--lg {
  width: 32px;
  height: 32px;
}
.pixel-icon--xl {
  width: 48px;
  height: 48px;
}

/* Fallback icons styling for single chars / emojis */
.icon-fallback {
  font-family: var(--font);
  font-weight: bold;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Context Specific Alignments and Colors */
.launcher__icon-pixel {
  width: 56px;
  height: 56px;
  color: var(--accent);
}

.launcher__submit-icon {
  width: 18px;
  height: 18px;
  color: #fff;
  margin-right: 6px;
}

/* Launcher Auto-Suggestions Dropdown */
.launcher__suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fdfcf7;
  border: 3px solid #111;
  border-radius: 6px;
  max-height: 220px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 4px 4px 0px rgba(0,0,0,0.25);
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.launcher__suggestion-item {
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
}

.launcher__suggestion-item:hover,
.launcher__suggestion-item:focus-visible {
  background: var(--accent);
  color: #fff;
  outline: none;
}

.launcher__suggestion-item:hover .pixel-icon,
.launcher__suggestion-item:focus-visible .pixel-icon {
  color: #fff;
}

/* RETRO UTILITY CLASSES FOR HYPERSPEED GENERATED APPS */
.retro-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #fdfcf7;
  border: 2px solid #111;
  border-radius: 6px;
  padding: 12px;
  box-shadow: inset 1px 1px 0px #fff, 2px 2px 0px rgba(0,0,0,0.1);
}

.retro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  width: 100%;
}

.retro-card {
  background: #f5eed3;
  border: 2px solid #111;
  border-radius: 6px;
  padding: 10px;
  box-shadow: 2px 2px 0px rgba(0,0,0,0.1);
  color: #111;
}

.retro-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 12px;
  border: 2px solid #111;
  border-radius: 4px;
  background: #ffd166;
  color: #111;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 2px 2px 0px #111;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  text-decoration: none;
}

.retro-btn:hover {
  background: #ffdf93;
}

.retro-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px #111;
}

.retro-btn--ghost {
  background: #eae3cc;
}
.retro-btn--ghost:hover {
  background: #f4edd4;
}

.retro-input {
  width: 100%;
  padding: 6px 10px;
  border: 2px solid #111;
  border-radius: 4px;
  background: #ffffff;
  color: #111;
  font: inherit;
  box-shadow: inset 2px 2px 0px rgba(0,0,0,0.1);
}

.retro-input:focus {
  outline: none;
  border-color: var(--accent);
}

.retro-terminal {
  background: #111;
  border: 2px solid #111;
  border-radius: 6px;
  padding: 8px 12px;
  font-family: monospace;
  font-size: 11px;
  color: #39ff14; /* Matrix Green */
  overflow-y: auto;
  box-shadow: inset 2px 2px 4px rgba(0,0,0,0.8);
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 120px;
}

.retro-log-line {
  margin: 0;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ==========================================
   THEME STYLING OVERRIDES
   ========================================== */

/* 1. Classic Windows 95 Theme */
body.theme-classic {
  --desktop-1: #008080; /* Teal background */
  --desktop-2: #008080;
  --wallpaper-hi: transparent;
  --wallpaper-lo: transparent;
  --panel: #d4d0c8;
  --panel-2: #dfdfdf;
  --chrome: #d4d0c8;
  --chrome-hi: #ffffff;
  --chrome-lo: #808080;
  --chrome-dark: #000000;
  --accent: #000080; /* Navy Active Titlebar */
  --accent-hi: #1084d0;
  --text: #000000;
  --muted: #404040;
  --shadow: 4px 4px 0px rgba(0, 0, 0, 0.5);
}
body.theme-classic .window {
  border-radius: 0;
  border-width: 2px;
  box-shadow: 
    inset 1px 1px 0px #fff,
    inset -1px -1px 0px #808080,
    4px 4px 0px rgba(0,0,0,0.5);
}
body.theme-classic .mac-titlebar {
  border-bottom: 2px solid #d4d0c8;
  border-radius: 0;
}
body.theme-classic .mac-dot {
  border-radius: 0;
}

/* 2. Synthwave Cyberpunk Theme */
body.theme-cyberpunk {
  --desktop-1: #0d0115;
  --desktop-2: #220538;
  --wallpaper-hi: rgba(255, 0, 128, 0.25);
  --wallpaper-lo: rgba(0, 240, 255, 0.15);
  --panel: #140520;
  --panel-2: #240a35;
  --chrome: #ff007f;
  --chrome-hi: #ff54b0;
  --chrome-lo: #9c004d;
  --chrome-dark: #000000;
  --accent: #ff007f;
  --accent-hi: #00ffff;
  --text: #00ffff;
  --muted: #a67bb5;
  --shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}
body.theme-cyberpunk::before {
  opacity: 0.65;
  background:
    linear-gradient(to bottom, rgba(255, 0, 128, 0.05), transparent 12%),
    repeating-linear-gradient(
      to bottom,
      rgba(0, 240, 255, 0.05) 0,
      rgba(0, 240, 255, 0.05) 1px,
      transparent 1px,
      transparent 3px
    );
}
body.theme-cyberpunk .window {
  border: 2px solid #ff007f;
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.4), inset 0 0 5px rgba(255, 0, 128, 0.3);
}
body.theme-cyberpunk .window.is-active {
  border: 2px solid #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), inset 0 0 8px rgba(0, 255, 255, 0.3);
}
body.theme-cyberpunk .mac-titlebar {
  border-bottom: 2px solid #ff007f;
}
body.theme-cyberpunk .window.is-active .mac-titlebar {
  border-bottom: 2px solid #00ffff;
}
body.theme-cyberpunk .mac-dot {
  border-color: #ff007f;
  background: #140520;
  color: #ff007f;
}
body.theme-cyberpunk .mac-dot:hover {
  background: #ff007f;
  color: #000;
}
body.theme-cyberpunk .button, 
body.theme-cyberpunk .launcher__submit {
  border: 1px solid #ff007f;
  background: #ff007f;
  color: #000;
  text-shadow: none;
  box-shadow: 0 0 10px rgba(255, 0, 128, 0.4);
}
body.theme-cyberpunk .button:hover {
  background: #00ffff;
  border-color: #00ffff;
  color: #000;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

/* 3. Glassmorphic Glow Theme */
body.theme-glassmorphic {
  background: radial-gradient(circle at 10% 20%, #7f00ff 0%, transparent 45%),
              radial-gradient(circle at 90% 10%, #ff007f 0%, transparent 45%),
              radial-gradient(circle at 50% 80%, #00ffff 0%, transparent 45%),
              linear-gradient(135deg, #181124, #0b0712) !important;
  background-size: 200% 200%;
  animation: moveGradient 20s ease infinite;
  --panel: rgba(255, 255, 255, 0.12);
  --panel-2: rgba(255, 255, 255, 0.06);
  --chrome: rgba(255, 255, 255, 0.18);
  --chrome-hi: rgba(255, 255, 255, 0.4);
  --chrome-lo: rgba(255, 255, 255, 0.08);
  --chrome-dark: rgba(255, 255, 255, 0.15);
  --accent: rgba(127, 0, 255, 0.45);
  --accent-hi: rgba(255, 0, 127, 0.45);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.65);
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
@keyframes moveGradient {
  0% { background-position: 0% 50% }
  50% { background-position: 100% 50% }
  100% { background-position: 0% 50% }
}
body.theme-glassmorphic .window {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
}
body.theme-glassmorphic .window.is-active {
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 8px 32px 0 rgba(127, 0, 255, 0.25) !important;
}
body.theme-glassmorphic .mac-titlebar {
  background: rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(18px) !important;
}
body.theme-glassmorphic .window.is-active .mac-titlebar {
  background: linear-gradient(90deg, rgba(127, 0, 255, 0.45), rgba(255, 0, 127, 0.45)) !important;
}
body.theme-glassmorphic .window__body {
  background: transparent !important;
}
body.theme-glassmorphic .mac-dot {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 6px !important;
}
body.theme-glassmorphic .mac-dot:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}
body.theme-glassmorphic .launcher {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;
}
body.theme-glassmorphic .button, 
body.theme-glassmorphic .launcher__submit {
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  border-radius: 8px !important;
  text-shadow: none !important;
  box-shadow: none !important;
}
body.theme-glassmorphic .button:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}
body.theme-glassmorphic .button--ghost {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* 4. Matrix Terminal Theme */
body.theme-matrix {
  --desktop-1: #000000;
  --desktop-2: #020b02;
  --wallpaper-hi: transparent;
  --wallpaper-lo: transparent;
  --panel: #050d04;
  --panel-2: #091707;
  --chrome: #0a2007;
  --chrome-hi: #1eff00;
  --chrome-lo: #041203;
  --chrome-dark: #000000;
  --accent: #0b2f07;
  --accent-hi: #1eff00;
  --text: #1eff00;
  --muted: #4e8a45;
  --shadow: 0 0 10px rgba(30, 255, 0, 0.35);
  --font: "Courier New", Courier, monospace;
  --display-font: "Courier New", Courier, monospace;
}
body.theme-matrix::before {
  opacity: 0.8;
  background:
    linear-gradient(to bottom, rgba(30, 255, 0, 0.03), transparent 12%),
    repeating-linear-gradient(
      to bottom,
      rgba(30, 255, 0, 0.04) 0,
      rgba(30, 255, 0, 0.04) 1px,
      transparent 1px,
      transparent 3px
    );
}
body.theme-matrix * {
  font-family: var(--font) !important;
  text-shadow: 0 0 4px rgba(30, 255, 0, 0.4);
}
body.theme-matrix .window {
  border: 1px solid #1eff00 !important;
  border-radius: 0 !important;
  box-shadow: 0 0 12px rgba(30, 255, 0, 0.3) !important;
}
body.theme-matrix .window.is-active {
  border: 1px solid #1eff00 !important;
  box-shadow: 0 0 18px rgba(30, 255, 0, 0.6), 0 0 0 1px #1eff00 !important;
}
body.theme-matrix .mac-titlebar {
  border-bottom: 1px solid #1eff00 !important;
  border-radius: 0 !important;
}
body.theme-matrix .mac-dot {
  border: 1px solid #1eff00 !important;
  border-radius: 0 !important;
  background: #000 !important;
  color: #1eff00 !important;
  box-shadow: none !important;
}
body.theme-matrix .mac-dot:hover {
  background: #1eff00 !important;
  color: #000 !important;
}
body.theme-matrix .button,
body.theme-matrix .launcher__submit {
  border: 1px solid #1eff00 !important;
  background: #000 !important;
  color: #1eff00 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body.theme-matrix .button:hover {
  background: #1eff00 !important;
  color: #000 !important;
}

.window[data-window-kind="forge"] .window__body {
  padding: 0;
}

.window[data-window-kind="forge"] .launcher {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.theme-dark .window {
  background: rgba(25, 25, 25, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45) !important;
}

/* Theme card grid style settings */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}
.theme-card {
  border: 1px solid var(--chrome-dark);
  border-top-color: var(--chrome-hi);
  border-left-color: var(--chrome-hi);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 1px 1px 0 var(--chrome-hi), inset -1px -1px 0 rgba(0, 0, 0, 0.12);
  padding: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.theme-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.theme-card.is-active-theme {
  border-top-color: var(--chrome-dark) !important;
  border-left-color: var(--chrome-dark) !important;
  border-right-color: var(--chrome-hi) !important;
  border-bottom-color: var(--chrome-hi) !important;
  background: rgba(0, 0, 0, 0.08) !important;
  box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.15) !important;
  transform: none !important;
}
.theme-card__preview {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px dashed var(--chrome-dark);
  border-radius: 4px;
}
.theme-card__dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #000;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}
.theme-card__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.theme-card__name {
  font-size: 13px;
  text-align: center;
}
.theme-card__status {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.theme-card.is-active-theme .theme-card__status {
  color: var(--accent) !important;
  font-weight: bold;
}

.desktop-footer__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.desktop-footer__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease;
}

.desktop-footer__logo-link:hover {
  transform: scale(1.15);
}

.desktop-footer__logo-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.95;
  transition: opacity 0.15s ease;
}

.desktop-footer__logo-link:hover .desktop-footer__logo-img {
  opacity: 1;
}

.desktop-footer__copyright {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.35);
  font-family: var(--font);
  letter-spacing: 0.02em;
}
