:root {
  --desktop-font: 'Segoe UI', Tahoma, sans-serif;
  --pixel-font: 'Press Start 2P', monospace;
  --window-bg: #f0f4ff;
  --window-border: #7aa4d8;
  --window-shadow: rgba(0, 0, 0, 0.35);
  --taskbar-height: 56px;
  --taskbar-bg-top: #2470c1;
  --taskbar-bg-bottom: #144a8c;
  --taskbar-border: #0c2f5f;
  --start-menu-width: 480px;
  --start-menu-bg: #f2f6ff;
  --start-menu-blue: #0a65c2;
  color-scheme: light;
}

* {
  box-sizing: border-box;
  user-select: none;
}

body {
  margin: 0;
  font-family: var(--desktop-font);
  background-color: #000;
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.screen {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #003d6e 0%, #005a9e 30%, #0078d7 100%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 1000;
}

.screen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><circle cx="1600" cy="200" r="800" fill="rgba(255,255,255,0.03)"/><circle cx="400" cy="800" r="600" fill="rgba(255,255,255,0.02)"/></svg>') no-repeat center;
  background-size: cover;
  pointer-events: none;
}

.screen--active {
  opacity: 1;
  pointer-events: auto;
}

.login-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 48px 48px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.login-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.6);
  object-fit: cover;
  background: linear-gradient(135deg, #0078d7, #005a9e);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.login-username {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  margin-top: 8px;
}

.login-button {
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(180deg, #4cc2ff 0%, #0078d7 50%, #005a9e 100%);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.login-button:hover {
  background: linear-gradient(180deg, #6dd0ff 0%, #1a8ae8 50%, #006bb3 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 6px 16px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.login-button:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.login-hint {
  margin-top: 24px;
  font-family: var(--pixel-font);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.08em;
  text-align: center;
}

.welcome-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  color: #ffffff;
  font-size: 32px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.welcome-spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.3);
  border-top-color: rgba(255, 255, 255, 0.95);
  border-right-color: rgba(255, 255, 255, 0.7);
  animation: spin 1.2s linear infinite;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#desktop {
  position: fixed;
  inset: 0;
  overflow: hidden;
}

.wallpaper {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
}

.desktop-icons {
  position: absolute;
  top: 24px;
  left: 24px;
  bottom: var(--taskbar-height);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 18px 24px;
  width: calc(100% - 48px);
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 120px;
  cursor: pointer;
  padding: 12px 8px;
  border-radius: 8px;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.desktop-icon:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.desktop-icon img {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
  transition: transform 0.15s ease;
}

.desktop-icon:hover img {
  transform: scale(1.05);
}

.desktop-icon span {
  color: #ffffff;
  font-size: 13px;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  font-weight: 500;
}

.desktop-icon:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.desktop-icon:active {
  transform: scale(0.98);
}

.windows-layer {
  position: absolute;
  inset: 0;
  padding-bottom: var(--taskbar-height);
  pointer-events: none;
}

.window {
  position: absolute;
  top: 160px;
  left: 160px;
  min-width: 320px;
  min-height: 260px;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - var(--taskbar-height) - 20px);
  background: var(--window-bg);
  border-radius: 8px;
  box-shadow: 0 16px 32px var(--window-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border: 2px solid var(--window-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: window-in 0.35s ease;
  pointer-events: auto;
}

.window.maximized {
  border-radius: 0;
  box-shadow: 0 8px 16px var(--window-shadow);
}

@keyframes window-in {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.window.minimized {
  display: none;
}

.window-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  height: 44px;
  background: linear-gradient(180deg, #3a80d7 0%, #1553a5 100%);
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  cursor: grab;
  flex-shrink: 0;
}

.window-header:active {
  cursor: grabbing;
}

.window-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  overflow: hidden;
}

.window-title img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.window-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.window-controls button {
  width: 21px;
  height: 21px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.25);
  position: relative;
  transition: all 0.2s ease;
}

.window-controls button:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.window-controls button:active {
  transform: scale(0.95);
}

.window-controls button[data-action="close"] {
  background: linear-gradient(180deg, #f56a6a, #b52020);
}

.window-controls button[data-action="close"]:hover {
  background: linear-gradient(180deg, #ff8080, #d63030);
}

.window-controls button[data-action="close"]::before,
.window-controls button[data-action="close"]::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 2.5px;
  background: #fff;
  transform-origin: center;
  pointer-events: none;
}

.window-controls button[data-action="close"]::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.window-controls button[data-action="close"]::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.window-controls button[data-action="minimize"]::before {
  content: '';
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 6px;
  height: 2.5px;
  background: #0a2f67;
  pointer-events: none;
}

.window-controls button[data-action="maximize"]::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2.5px solid #0a2f67;
  border-radius: 2px;
  pointer-events: none;
}

.window-body {
  flex: 1;
  padding: 16px 18px 18px;
  overflow-y: auto;
  overflow-x: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(240, 244, 255, 0.95));
  color: #1a1d25;
  font-size: 15px;
  line-height: 1.6;
  scrollbar-width: thin;
  scrollbar-color: #7aa4d8 #e8f0ff;
}

/* Extra top padding in Contact app so tooltips of first row are visible */
.window[data-section="contact"] .window-body {
  padding-top: 28px;
}

.window-body::-webkit-scrollbar {
  width: 12px;
}

.window-body::-webkit-scrollbar-track {
  background: #e8f0ff;
  border-left: 1px solid #b8d4e8;
}

.window-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7aa4d8, #5a8ac0);
  border-radius: 6px;
  border: 2px solid #e8f0ff;
}

.window-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #5a8ac0, #3a6aa0);
}

.window-body h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #0a4a92;
  padding-bottom: 6px;
  border-bottom: 2px solid #d0e0ff;
}

.window-body h4 {
  margin: 18px 0 8px;
  font-size: 16px;
  color: #0a3b76;
}

.window-body ul,
.window-body ol {
  padding-left: 20px;
  margin: 8px 0 16px;
}

/* Contact grid inside Contact app */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(10, 70, 140, 0.06);
  border: 1px solid rgba(10, 70, 140, 0.15);
  text-decoration: none;
  color: #0a3b76;
}

.contact-card:hover {
  background: rgba(10, 70, 140, 0.12);
}

.contact-card img {
  width: 22px;
  height: 22px;
}

/* Chips for highlights */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e8f0ff, #d7e6ff);
  border: 1px solid #b8d4e8;
  color: #0a3b76;
  font-weight: 600;
}

.chip-emoji {
  font-size: 16px;
}

/* Interests grid */
.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.interest-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(10, 70, 140, 0.06);
  border: 1px solid rgba(10, 70, 140, 0.15);
}

.interest-tile:hover {
  background: rgba(10, 70, 140, 0.12);
}

.tile-emoji {
  font-size: 22px;
}

.tile-label {
  font-weight: 600;
  color: #0a3b76;
}

/* Tooltips */
.has-tooltip {
  position: relative;
}

.has-tooltip[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(100% + 8px);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1001;
}

.has-tooltip[data-tooltip]:hover::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 100%;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(0, 0, 0, 0.8);
  z-index: 1001;
}

.window-body li {
  margin-bottom: 6px;
}

.window-body section {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(122, 164, 216, 0.2);
}

.window-body section:last-child {
  border-bottom: none;
}

.window-body a {
  color: #0a4a92;
  text-decoration: none;
  transition: color 0.2s ease;
}

.window-body a:hover {
  color: #0078d7;
  text-decoration: underline;
}

.window-resizer {
  position: absolute;
  width: 12px;
  height: 12px;
  right: 2px;
  bottom: 2px;
  cursor: nwse-resize;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 40%, rgba(12, 66, 128, 0.45) 40%, rgba(12, 66, 128, 0.45) 100%);
}

.taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--taskbar-height);
  background: linear-gradient(180deg, var(--taskbar-bg-top), var(--taskbar-bg-bottom));
  border-top: 2px solid var(--taskbar-border);
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 12px;
  color: #fff;
}

.start-button {
  width: 120px;
  height: 42px;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0))
    , linear-gradient(180deg, #6dc96f 0%, #2e873b 100%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.6), inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.start-button:hover {
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0))
    , linear-gradient(180deg, #7dd97f 0%, #3a9745 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.start-button:active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.start-button img {
  width: 100%;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.taskbar-items {
  flex: 1;
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.taskbar-item {
  min-width: 140px;
  max-width: 200px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(20, 60, 120, 0.4));
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  overflow: hidden;
}

.taskbar-item:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(20, 60, 120, 0.5));
}

.taskbar-item.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.45), rgba(20, 60, 120, 0.65));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.taskbar-item span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.taskbar-item img {
  width: 22px;
  height: 22px;
}

.taskbar-tray {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tray-icons {
  display: flex;
  gap: 8px;
  font-size: 18px;
}

.tray-clock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.3);
  color: #e7f1ff;
  font-size: 14px;
  line-height: 1.2;
}

.context-menu {
  position: absolute;
  min-width: 180px;
  padding: 6px 0;
  background: rgba(245, 247, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 990;
}

.context-menu button {
  padding: 8px 16px;
  text-align: left;
  font-size: 14px;
  color: #0a3b76;
}

.context-menu button:hover {
  background: rgba(10, 75, 150, 0.2);
}

.start-menu {
  position: absolute;
  bottom: var(--taskbar-height);
  left: 12px;
  width: var(--start-menu-width);
  max-height: calc(100vh - var(--taskbar-height) - 24px);
  background: linear-gradient(90deg, rgba(5, 40, 90, 0.95) 0%, rgba(5, 40, 90, 0.8) 22%, rgba(250, 251, 255, 0.98) 22%, rgba(250, 251, 255, 0.98) 100%);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-bottom: none;
  display: flex;
  overflow: hidden;
}

.start-menu__left {
  width: 56%;
  padding: 18px;
  color: #fff;
  background: linear-gradient(180deg, rgba(16, 74, 146, 0.95), rgba(8, 48, 100, 0.95));
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.5) rgba(0, 0, 0, 0.2);
}

.start-menu__left::-webkit-scrollbar {
  width: 8px;
}

.start-menu__left::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.start-menu__left::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
}

.start-menu__left::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.7);
}

.start-menu__left h2 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.start-menu__left ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.start-menu__left li button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: transparent;
  transition: background 0.15s ease;
}

.start-menu__left li button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.start-menu__left img {
  width: 28px;
  height: 28px;
}

.start-menu__extras {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.start-extra {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  transition: all 0.2s ease;
}

.start-extra:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.start-extra img {
  width: 40px;
  height: 40px;
}

.start-menu__right {
  flex: 1;
  padding: 18px 20px;
  background: var(--start-menu-bg);
  color: #0d2b56;
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-between;
}

.start-menu__right h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--start-menu-blue);
}

.start-menu__right ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.start-menu__right li a {
  color: #0d2b56;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.start-menu__right li a:hover {
  text-decoration: underline;
}

.start-contact img {
  width: 18px;
  height: 18px;
}

.start-menu__power button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f26b6b, #ba1f1f);
  color: #fff;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.start-menu__power img {
  width: 28px;
  height: 28px;
}

.calendar-popup {
  position: absolute;
  right: 12px;
  bottom: var(--taskbar-height);
  width: 280px;
  padding: 18px;
  border-radius: 12px 12px 0 0;
  background: rgba(245, 249, 255, 0.95);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(14, 70, 140, 0.35);
}

.calendar-popup header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.calendar-popup header img {
  width: 36px;
  height: 36px;
}

.calendar-date {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: #0a3b76;
}

.calendar-time {
  margin: 2px 0 0;
  color: #10335c;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  font-size: 13px;
}

.calendar-grid span {
  display: block;
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
}

.calendar-grid span.calendar-day-name {
  font-weight: 600;
  color: #0d2b56;
}

.calendar-grid span.calendar-day {
  background: rgba(13, 43, 86, 0.08);
  color: #0d2b56;
}

.calendar-grid span.calendar-day.today {
  background: #0a65c2;
  color: #fff;
  font-weight: 700;
}

@media (max-width: 900px) {
  .desktop-icons {
    gap: 12px 18px;
  }

  .desktop-icon {
    width: 100px;
  }

  .window {
    min-width: 280px;
  }

  .start-menu {
    width: calc(100% - 24px);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .taskbar {
    flex-wrap: wrap;
    height: auto;
    padding: 8px;
    gap: 8px;
  }

  .taskbar-items {
    order: 3;
    width: 100%;
  }

  .start-button {
    order: 1;
  }

  .taskbar-tray {
    order: 2;
    margin-left: auto;
  }
}

/* Demo Projects Banner */
.demo-projects-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3a80d7 0%, #020303 100%);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(10, 66, 128, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.demo-projects-banner:hover {
  transform: translateY(-2px);
  
  box-shadow: 0 8px 24px rgba(10, 66, 128, 0.25);
}

.demo-projects-banner a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.demo-projects-banner .banner-icon {
  font-size: 1.4em;
  background: rgba(255, 255, 255, 0.2);
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Project Sections with Images */
.project-section {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(122, 164, 216, 0.25);
}

.project-section:last-child {
  border-bottom: none;
}

.project-swiper-container {
  margin: 16px 0 18px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10, 66, 128, 0.15);
  border: 2px solid #b8d4e8;
  background: #fff;
}

.project-swiper {
  width: 100%;
  height: auto;
  min-height: 280px;
  max-height: 400px;
  background: #f8fafc;
}

.project-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.project-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  display: block;
}

/* Windows 7 styled Swiper navigation */
.project-swiper .swiper-button-next,
.project-swiper .swiper-button-prev {
  width: 36px;
  height: 36px;
  background: linear-gradient(180deg, #f0f4ff, #d7e6ff);
  border: 1px solid #7aa4d8;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: all 0.2s ease;
}

.project-swiper .swiper-button-next:hover,
.project-swiper .swiper-button-prev:hover {
  background: linear-gradient(180deg, #ffffff, #e8f0ff);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: scale(1.05);
}

.project-swiper .swiper-button-next:active,
.project-swiper .swiper-button-prev:active {
  background: linear-gradient(180deg, #d7e6ff, #c8dcf0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  transform: scale(0.95);
}

.project-swiper .swiper-button-next::after,
.project-swiper .swiper-button-prev::after {
  font-size: 16px;
  font-weight: 900;
  color: #0a4a92;
}

/* Pagination dots - Windows 7 style */
.project-swiper .swiper-pagination {
  bottom: 12px;
}

.project-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(122, 164, 216, 0.5);
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: all 0.3s ease;
}

.project-swiper .swiper-pagination-bullet-active {
  background: #3a80d7;
  width: 12px;
  height: 12px;
  border-color: #fff;
  box-shadow: 0 2px 6px rgba(58, 128, 215, 0.5);
}

/* Project links styling */
.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(180deg, #f0f4ff, #e0eaff);
  border: 1px solid #7aa4d8;
  border-radius: 6px;
  color: #0a4a92;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.2s ease;
}

.project-link:hover {
  background: linear-gradient(180deg, #ffffff, #f0f4ff);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
  color: #0078d7;
}

.project-link:active {
  background: linear-gradient(180deg, #d7e6ff, #c8dcf0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}

/* Responsive adjustments for project images */
@media (max-width: 640px) {
  .project-swiper {
    min-height: 200px;
    max-height: 300px;
  }
  
  .project-swiper .swiper-slide img {
    max-height: 300px;
  }
  
  .project-swiper .swiper-button-next,
  .project-swiper .swiper-button-prev {
    width: 30px;
    height: 30px;
  }
  
  .project-swiper .swiper-button-next::after,
  .project-swiper .swiper-button-prev::after {
    font-size: 14px;
  }
}