/* ==========================================================================
   JAY-OS CORE STYLE SHEET
   ========================================================================== */

/* 1. THEME VARIABLES */
:root {
  /* Default Theme: Cyberpunk */
  --bg-color: #0b0c10;
  --desktop-bg: #030408;
  --win-bg: rgba(15, 17, 26, 0.95);
  --win-header-bg: linear-gradient(90deg, #ff2d7a, #00f0ff);
  --win-header-text: #ffffff;
  --text-color: #c5c6c7;
  --text-accent: #00f0ff;
  --text-success: #39ff14;
  --border-color: #ff2d7a;
  --border-radius: 6px;
  --font-family: 'Share Tech Mono', monospace;
  --font-header: 'Press Start 2P', monospace;
  --font-body: 'Outfit', sans-serif;
  
  --taskbar-bg: #0f111a;
  --taskbar-border: #00f0ff;
  --btn-bg: #ff2d7a;
  --btn-text: #ffffff;
  --shadow: 0 0 15px rgba(255, 45, 122, 0.4);
  --glow-color: #ff2d7a;
}

/* CLASSIC 95 THEME */
.theme-classic95 {
  --bg-color: #008080; /* Teal desktop */
  --desktop-bg: #008080;
  --win-bg: #c0c0c0;
  --win-header-bg: linear-gradient(90deg, #000080, #1084d0);
  --win-header-text: #ffffff;
  --text-color: #000000;
  --text-accent: #000080;
  --text-success: #008000;
  --border-color: #dfdfdf;
  --border-radius: 0px;
  --font-family: 'Share Tech Mono', monospace;
  --font-header: 'Press Start 2P', monospace;
  --font-body: 'Share Tech Mono', monospace;
  
  --taskbar-bg: #c0c0c0;
  --taskbar-border: #808080;
  --btn-bg: #c0c0c0;
  --btn-text: #000000;
  --shadow: none;
  --glow-color: transparent;
}

/* GLASSMORPHISM THEME */
.theme-glass {
  --bg-color: #1a1e29;
  --desktop-bg: radial-gradient(circle, #232a3b 0%, #0d1017 100%);
  --win-bg: rgba(20, 24, 35, 0.6);
  --win-header-bg: rgba(255, 255, 255, 0.08);
  --win-header-text: #ffffff;
  --text-color: #e2e8f0;
  --text-accent: #93c5fd;
  --text-success: #86efac;
  --border-color: rgba(255, 255, 255, 0.15);
  --border-radius: 12px;
  --font-family: 'Outfit', sans-serif;
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --taskbar-bg: rgba(13, 16, 23, 0.4);
  --taskbar-border: rgba(255, 255, 255, 0.1);
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-text: #ffffff;
  --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --glow-color: rgba(255, 255, 255, 0.1);
}

/* MATRIX THEME */
.theme-matrix {
  --bg-color: #000000;
  --desktop-bg: #000000;
  --win-bg: rgba(0, 0, 0, 0.9);
  --win-header-bg: #000000;
  --win-header-text: #00ff00;
  --text-color: #00ff00;
  --text-accent: #00ff00;
  --text-success: #00ff00;
  --border-color: #00ff00;
  --border-radius: 2px;
  --font-family: 'Share Tech Mono', monospace;
  --font-header: 'Share Tech Mono', monospace;
  --font-body: 'Share Tech Mono', monospace;
  
  --taskbar-bg: #000000;
  --taskbar-border: #00ff00;
  --btn-bg: #000000;
  --btn-text: #00ff00;
  --shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  --glow-color: #00ff00;
}

/* 2. BASE RESET & BODY STYLES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  image-rendering: pixelated;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  font-size: 14px;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  user-select: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  color: var(--text-accent);
  margin-bottom: 8px;
}

/* 3. CRT SCREEN FILTERS & SCANLINES */
.crt-lines {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.crt-curve {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
}

.crt-enabled .crt-lines,
.crt-enabled .crt-curve {
  opacity: 1;
}

/* 4. BOOT LOADER */
.boot-container {
  background-color: #000000;
  color: #39ff14;
  font-family: 'Share Tech Mono', monospace;
  padding: 40px;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  overflow-y: auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.boot-text-area {
  max-width: 800px;
  width: 100%;
}

.boot-line {
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 6px;
  white-space: pre-wrap;
}

.boot-progress-container {
  border: 2px solid #39ff14;
  height: 25px;
  width: 100%;
  margin-top: 30px;
  padding: 2px;
  background: #000;
}

.boot-progress-bar {
  height: 100%;
  width: 0%;
  background-color: #39ff14;
  transition: width 0.1s linear;
}

.boot-skip-btn {
  background: transparent;
  border: 1px solid #39ff14;
  color: #39ff14;
  font-family: 'Share Tech Mono', monospace;
  padding: 5px 12px;
  margin-top: 30px;
  cursor: pointer;
  transition: all 0.2s;
}

.boot-skip-btn:hover {
  background-color: #39ff14;
  color: #000;
}

/* 5. DESKTOP & CANVAS */
.desktop-container {
  position: relative;
  height: 100vh;
  width: 100vw;
  background: var(--desktop-bg);
  overflow: hidden;
  z-index: 1;
}

#starfield {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* 6. TOP BAR */
.desktop-topbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: rgba(13, 16, 23, 0.85);
  border-bottom: 1px solid var(--taskbar-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 99;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.pulse-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-success);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--text-success);
  box-shadow: 0 0 8px var(--text-success);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 12px var(--text-success); }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.topbar-link {
  text-decoration: none;
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.topbar-link:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 8px var(--border-color);
}

.os-name {
  font-family: var(--font-header);
  font-size: 10px;
  color: var(--text-accent);
}

/* 7. DESKTOP ICONS GRID */
.desktop-icons {
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 55px;
  width: 140px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-end;
  gap: 12px;
  z-index: 10;
}

.desktop-icon-item {
  width: 100px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  padding: 5px;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background 0.1s;
}

.desktop-icon-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.desktop-icon-item.selected {
  background: rgba(0, 240, 255, 0.2) !important;
  border: 1px solid var(--text-accent) !important;
}

.icon-wrapper {
  font-size: 24px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 8px;
  margin-bottom: 4px;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* Color codes for app icons */
.terminal-icon { background: #1a1c23; border: 1px solid #33ff33; color: #33ff33; }
.chat-icon { background: #0077b6; }
.files-icon { background: #e9c46a; color: #4a3c31; }
.projects-icon { background: #e76f51; }
.logs-icon { background: #2a9d8f; }
.about-icon { background: #a2d2ff; color: #1d3557; }
.skills-icon { background: #e63946; }
.radar-icon { background: #457b9d; }
.awards-icon { background: #ffb703; color: #3d3000; }
.cert-icon { background: #8338ec; }
.resume-icon { background: #d62828; }
.code-icon { background: #264653; }
.display-icon { background: #606c38; }
.tetris-icon { background: #f72585; }
.snake-icon { background: #4cc9f0; }
.timeline-icon { background: #7209b7; }

.icon-label {
  font-size: 11px;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9), 0 0 5px rgba(0, 0, 0, 0.8);
  font-weight: 500;
  max-width: 90px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 8. DRAGGABLE WINDOW SYSTEM */
.windows-container {
  position: absolute;
  top: 40px;
  left: 0;
  right: 0;
  bottom: 45px;
  z-index: 5;
  pointer-events: none; /* Let clicks pass to desktop if no window */
}

.window {
  position: absolute;
  background: var(--win-bg);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  z-index: 10;
  pointer-events: auto; /* Active clicking on window */
  overflow: hidden;
}

.theme-classic95 .window {
  border: 2px solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  box-shadow: none;
}

.theme-glass .window {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.window.active-focus {
  z-index: 80 !important;
  border-color: var(--text-accent);
}

.window.hidden {
  display: none !important;
}

.window.minimized {
  display: none !important;
}

.window.maximized {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* WINDOW HEADER */
.window-header {
  background: var(--win-header-bg);
  color: var(--win-header-text);
  padding: 6px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  font-family: var(--font-header);
  font-size: 10px;
  font-weight: bold;
  height: 32px;
}

.theme-classic95 .window-header {
  padding: 3px 6px;
  font-size: 10px;
}

.window-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.window-controls {
  display: flex;
  gap: 5px;
}

.win-btn {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--border-color);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: var(--font-header);
  font-size: 8px;
  cursor: pointer;
  border-radius: 3px;
  outline: none;
}

.theme-classic95 .win-btn {
  background: #c0c0c0;
  color: #000;
  border: 1px solid;
  border-color: #fff #555 #555 #fff;
  border-radius: 0;
  width: 16px;
  height: 16px;
  font-size: 7px;
}

.win-btn:hover {
  filter: brightness(1.2);
}

/* WINDOW BODY */
.window-body {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
  position: relative;
}

/* 9. APPLICATION SPECIFIC BODY WRAPPERS */

/* TERMINAL APP */
.terminal-body {
  background-color: #000000;
  color: #39ff14;
  font-family: 'Share Tech Mono', monospace;
  display: flex;
  flex-direction: column;
}

.terminal-output {
  flex: 1;
  overflow-y: auto;
  font-size: 14px;
}

.terminal-line {
  margin-bottom: 4px;
  line-height: 1.4;
  word-break: break-all;
}

.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
}

.terminal-prompt {
  color: #00f0ff;
  white-space: nowrap;
}

#terminal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #39ff14;
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
}

/* J-CHAT APP */
.chat-body {
  padding: 0;
  display: flex;
  background-color: #070911;
}

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

.chat-sidebar {
  width: 110px;
  background-color: #0c0e1a;
  border-right: 1px solid var(--border-color);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-title {
  font-size: 9px;
  font-family: var(--font-header);
  color: var(--text-accent);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 4px;
  margin-bottom: 5px;
}

.buddy {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  cursor: pointer;
}

.buddy.active {
  font-weight: bold;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.status-dot.online { background-color: var(--text-success); box-shadow: 0 0 5px var(--text-success); }
.status-dot.offline { background-color: #555555; }
.status-dot.away { background-color: #ffb703; }

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-header-info {
  font-size: 11px;
  padding: 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bubble {
  max-width: 85%;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
}

.chat-bubble.bot {
  align-self: flex-start;
  background-color: #16222f;
  color: #e2e8f0;
  border-bottom-left-radius: 1px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.chat-bubble.user {
  align-self: flex-end;
  background-color: var(--glow-color);
  color: #fff;
  border-bottom-right-radius: 1px;
}

.bubble-sender {
  font-size: 9px;
  font-weight: bold;
  color: var(--text-accent);
  margin-bottom: 3px;
}

.chat-bubble.user .bubble-sender {
  color: #ffff00;
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 8px;
}

.chat-opt-btn {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--text-accent);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  text-align: left;
  transition: all 0.2s;
}

.chat-opt-btn:hover {
  background: var(--text-accent);
  color: #000;
}

.chat-input-area {
  display: flex;
  padding: 8px;
  border-top: 1px solid var(--border-color);
  background-color: #090c15;
}

.chat-input-area input {
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 6px 10px;
  color: #fff;
  outline: none;
  font-size: 13px;
}

.chat-input-area input:focus {
  border-color: var(--text-accent);
}

.chat-send-btn {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: none;
  width: 32px;
  height: 32px;
  margin-left: 8px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.chat-send-btn:hover {
  filter: brightness(1.2);
}

/* FILES EXPLORER APP */
.files-body {
  background-color: #10121a;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.files-top-nav {
  padding: 6px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background-color: #0c0d14;
  display: flex;
  align-items: center;
  gap: 12px;
}

.files-nav-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
}

.files-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.files-address {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: var(--text-accent);
  background: rgba(0,0,0,0.4);
  padding: 2px 10px;
  border-radius: 4px;
  flex: 1;
}

.files-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  grid-auto-rows: 80px;
  gap: 15px;
  padding: 20px;
  overflow-y: auto;
}

.file-grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.file-grid-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.15);
}

.file-grid-item i {
  font-size: 28px;
  margin-bottom: 5px;
}

.file-grid-item .fa-folder { color: #f4a261; }
.file-grid-item .fa-file-alt { color: #8ecae6; }
.file-grid-item .fa-file-pdf { color: #e63946; }

.file-grid-name {
  font-size: 11px;
  color: #fff;
  max-width: 75px;
  word-wrap: break-word;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* NOTEPAD APP */
.notepad-body {
  padding: 0;
  background: #ffffff;
}

#notepad-text {
  width: 100%;
  height: 100%;
  background: #ffffe0; /* Classic note paper yellow */
  color: #000;
  font-family: 'Share Tech Mono', monospace;
  font-size: 14px;
  padding: 15px;
  border: none;
  resize: none;
  outline: none;
  line-height: 1.4;
}

/* PROJECTS APP */
.projects-body {
  background-color: #090b11;
}

.projects-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.project-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 15px;
  transition: all 0.3s;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--text-accent);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.project-card h4 {
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 5px;
}

.project-desc {
  font-size: 13px;
  color: var(--text-color);
  margin-bottom: 10px;
  line-height: 1.4;
}

.tech-stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tech-badge {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--text-accent);
  font-size: 10px;
  font-family: var(--font-header);
  padding: 2px 6px;
  border-radius: 3px;
}

.project-links-row {
  display: flex;
  gap: 12px;
}

.project-link {
  text-decoration: none;
  font-size: 11px;
  font-family: var(--font-header);
  padding: 4px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s;
}

.project-link.github {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.project-link.github:hover {
  background: #fff;
  color: #000;
}

.project-link.live {
  background: var(--btn-bg);
  border: 1px solid var(--border-color);
  color: #fff;
}

.project-link.live:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 5px var(--glow-color);
}

/* SYSTEM LOGS APP */
.logs-body {
  background-color: #0a0b10;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.log-stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px 12px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 9px;
  font-family: var(--font-header);
  color: var(--text-color);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 18px;
  font-weight: bold;
}

.git-chart-section {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 4px;
}

.section-title {
  font-size: 11px;
  font-family: var(--font-header);
  color: var(--text-accent);
  margin-bottom: 8px;
}

.git-chart-wrapper {
  overflow-x: auto;
  text-align: center;
  padding: 5px 0;
}

.git-chart-wrapper img {
  max-width: 100%;
  height: auto;
  filter: saturate(1.2);
}

.logs-console {
  flex: 1;
  background: #000;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 10px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}

.logs-output {
  flex: 1;
  overflow-y: auto;
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  color: #39ff14;
  line-height: 1.4;
  max-height: 100px;
}

/* ABOUT ME APP */
.about-flex {
  display: flex;
  gap: 20px;
  height: 100%;
}

.about-left {
  width: 180px;
  border-right: 1px solid rgba(255,255,255,0.1);
  padding-right: 20px;
  text-align: center;
}

.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--border-color);
  box-shadow: 0 0 10px var(--glow-color);
  margin-bottom: 12px;
}

.about-name {
  font-family: var(--font-header);
  font-size: 12px;
  color: #fff;
  margin-bottom: 4px;
}

.about-subtitle {
  font-size: 11px;
  color: var(--text-accent);
  margin-bottom: 12px;
}

.about-contact-list {
  text-align: left;
  font-size: 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.about-contact-list i {
  color: var(--text-accent);
  width: 14px;
}

.about-right {
  flex: 1;
  overflow-y: auto;
}

.about-right h3 {
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 4px;
  margin-top: 15px;
  margin-bottom: 8px;
}

.about-right h3:first-of-type {
  margin-top: 0;
}

.about-right p {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 10px;
}

.styled-list {
  list-style: none;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.styled-list li {
  position: relative;
  padding-left: 14px;
}

.styled-list li::before {
  content: "▶";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--text-accent);
  font-size: 8px;
}

/* SKILLS APP */
.skills-body {
  background-color: #0b0c10;
}

.skills-sections {
  display: flex;
  gap: 20px;
}

.skills-column {
  flex: 1;
}

.skills-column h3 {
  font-size: 13px;
  font-family: var(--font-header);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.skill-meter-wrap {
  margin-bottom: 12px;
}

.meter-name {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.meter-bar {
  height: 12px;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1px;
}

.meter-fill {
  height: 100%;
  background-color: var(--glow-color);
  box-shadow: 0 0 6px var(--glow-color);
}

.fill-95 { width: 95%; }
.fill-90 { width: 90%; }
.fill-85 { width: 85%; }
.fill-80 { width: 80%; }
.fill-75 { width: 75%; }
.fill-70 { width: 70%; }

.skills-languages-box {
  margin-top: 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 10px;
  border-radius: 4px;
  font-size: 12px;
}

/* SKILLS RADAR APP */
.radar-body {
  background-color: #05060c;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

#skills-radar-canvas {
  background: transparent;
  max-width: 100%;
  height: auto;
}

.radar-bars-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 15px;
}

.radar-stat-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}

.radar-bar-label {
  width: 75px;
  font-family: var(--font-header);
  font-size: 9px;
}

.radar-bar-fill-bg {
  flex: 1;
  height: 14px;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 1px;
}

.radar-bar-fill-inner {
  height: 100%;
  background-color: #39ff14;
  box-shadow: 0 0 8px #39ff14;
}

.radar-bar-pct {
  width: 35px;
  text-align: right;
  font-weight: bold;
}

/* AWARDS APP */
.awards-body {
  background-color: #07090e;
}

.awards-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.award-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.award-card:hover {
  border-color: var(--text-accent);
}

.award-icon {
  font-size: 24px;
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-gold { color: #ffd700; text-shadow: 0 0 6px #ffd700; }
.text-purple { color: #b5179e; text-shadow: 0 0 6px #b5179e; }
.text-neon { color: #00f0ff; text-shadow: 0 0 6px #00f0ff; }
.text-blue { color: #4361ee; text-shadow: 0 0 6px #4361ee; }

.award-info h4 {
  font-size: 13px;
  font-family: var(--font-header);
  color: #fff;
  margin-bottom: 2px;
}

.award-info p {
  font-size: 12px;
  color: var(--text-color);
}

/* CERTIFICATES APP */
.certs-body {
  background-color: #08090e;
}

.certs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cert-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.cert-item:hover {
  border-color: var(--border-color);
}

.cert-details {
  flex: 1;
}

.cert-details h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 3px;
}

.cert-meta {
  font-size: 11px;
  color: var(--text-color);
  margin-bottom: 2px;
}

.cert-action {
  white-space: nowrap;
}

.cert-view-btn {
  background: rgba(131, 56, 236, 0.2);
  border: 1px solid #8338ec;
  color: #fff;
  padding: 6px 12px;
  font-family: var(--font-header);
  font-size: 9px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.cert-view-btn:hover {
  background: #8338ec;
  box-shadow: 0 0 8px #8338ec;
}

/* CERTIFICATE VIEWER MODAL BODY */
.cert-viewer-body {
  background: #0d1117;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-simulation-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* RESUME APP */
.resume-body {
  background-color: #525659; /* PDF reader grey */
  padding: 20px;
}

.resume-header-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 15px;
}

.resume-print-btn {
  background: var(--btn-bg);
  color: #fff;
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-header);
  font-size: 10px;
  cursor: pointer;
}

.resume-print-btn:hover {
  filter: brightness(1.2);
}

.resume-sheet {
  background: #ffffff;
  color: #000000;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-family: Arial, sans-serif;
  line-height: 1.4;
}

.resume-sheet-header h1 {
  font-family: Arial, sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #000;
  margin-bottom: 4px;
}

.resume-tagline {
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: bold;
  color: #555;
  margin-bottom: 12px;
}

.resume-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  font-size: 11px;
}

.resume-divider {
  border: none;
  border-top: 2px solid #000;
  margin: 15px 0;
}

.resume-section {
  margin-bottom: 18px;
}

.resume-section h3 {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  border-bottom: 1px solid #ccc;
  padding-bottom: 3px;
  margin-bottom: 8px;
  color: #000;
}

.resume-section p {
  font-size: 12px;
  margin-bottom: 4px;
}

.resume-section ul {
  padding-left: 20px;
  font-size: 11px;
  margin-bottom: 8px;
}

/* CODE IDE APP */
.code-body {
  padding: 0;
  display: flex;
  background-color: #1e1e1e;
}

.ide-sidebar {
  width: 140px;
  background-color: #252526;
  border-right: 1px solid #3c3c3c;
  padding: 10px 0;
}

.ide-file {
  padding: 6px 12px;
  font-size: 12px;
  cursor: pointer;
  color: #858585;
}

.ide-file:hover {
  background-color: #2a2d2e;
  color: #e1e1e1;
}

.ide-file.active {
  background-color: #37373d;
  color: #ffffff;
  border-left: 2px solid var(--text-accent);
}

.ide-file i {
  margin-right: 6px;
}

.ide-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ide-header-bar {
  background-color: #2d2d2d;
  padding: 6px 15px;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #3c3c3c;
}

.ide-code-area {
  flex: 1;
  overflow: auto;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 12px;
  color: #d4d4d4;
  padding: 15px;
  line-height: 1.5;
  white-space: pre;
}

/* Text color helper classes for syntax highlighting */
.token-keyword { color: #569cd6; }
.token-string { color: #ce9178; }
.token-comment { color: #6a9955; font-style: italic; }
.token-function { color: #dcdcaa; }
.token-number { color: #b5cea8; }

/* DISPLAY SETTINGS APP */
.display-body {
  background-color: #0b0c10;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.display-section-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 12px;
  border-radius: 4px;
}

.display-section-box h4 {
  font-size: 11px;
  font-family: var(--font-header);
  color: var(--text-accent);
  margin-bottom: 8px;
}

.theme-buttons-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.theme-select-btn {
  border: 1px solid transparent;
  padding: 8px 4px;
  font-size: 10px;
  font-weight: bold;
  cursor: pointer;
  text-align: center;
  border-radius: 4px;
  transition: all 0.2s;
}

.theme-btn-95 { background-color: #c0c0c0; color: #000; border-color: #888; }
.theme-btn-cyber { background-color: #ff2d7a; color: #fff; }
.theme-btn-glass { background-color: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }
.theme-btn-matrix { background-color: #000; color: #00ff00; border-color: #00ff00; }

.theme-select-btn.active {
  outline: 2px solid var(--text-accent);
  box-shadow: 0 0 8px var(--text-accent);
}

.checkbox-row {
  font-size: 13px;
}

.retro-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.retro-checkbox input {
  display: none;
}

.chk-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-color);
  background: rgba(0,0,0,0.3);
  display: inline-block;
  position: relative;
  border-radius: 3px;
}

.retro-checkbox input:checked + .chk-box::after {
  content: "✔";
  color: var(--text-accent);
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 12px;
}

.range-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

#starfield-speed-slider {
  flex: 1;
  accent-color: var(--border-color);
  cursor: pointer;
}

#starfield-speed-val {
  font-family: var(--font-header);
  font-size: 8px;
  width: 65px;
}

/* TETRIS & SNAKE GAME APPS */
.tetris-body, .snake-body {
  background-color: #080911;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-container {
  display: flex;
  gap: 20px;
  align-items: center;
}

#tetris-canvas, #snake-canvas {
  background-color: #000;
  border: 2px solid var(--border-color);
  box-shadow: 0 0 10px var(--glow-color);
}

.game-info-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 140px;
}

.info-box {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 8px;
  border-radius: 4px;
  text-align: center;
}

.info-title {
  font-family: var(--font-header);
  font-size: 8px;
  color: var(--text-color);
  margin-bottom: 4px;
}

.info-value {
  font-family: var(--font-header);
  font-size: 12px;
  color: var(--text-accent);
}

.game-controls-legend {
  font-size: 11px;
  color: var(--text-color);
  line-height: 1.4;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 8px;
}

.retro-btn {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-header);
  font-size: 8px;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}

.retro-btn:hover {
  filter: brightness(1.2);
  box-shadow: 0 0 5px var(--glow-color);
}

/* TIMELINE APP */
.timeline-body {
  background-color: #07090e;
}

.timeline-container {
  position: relative;
  padding-left: 30px;
  margin: 10px 0;
}

.timeline-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 10px;
  width: 2px;
  background-color: var(--border-color);
  box-shadow: 0 0 5px var(--glow-color);
}

.timeline-card {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 12px 15px;
  margin-bottom: 20px;
}

.timeline-card:hover {
  border-color: var(--text-accent);
}

.timeline-dot {
  position: absolute;
  left: -25px;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-accent);
  box-shadow: 0 0 8px var(--text-accent);
}

.timeline-card h4 {
  font-size: 14px;
  color: #fff;
  margin-bottom: 2px;
}

.timeline-date {
  font-family: var(--font-header);
  font-size: 8px;
  color: var(--text-accent);
  margin-bottom: 6px;
}

.timeline-card p {
  font-size: 12px;
  color: var(--text-color);
}

/* 10. START MENU (BOTTOM TASKBAR ELEMENT) */
.start-menu {
  position: absolute;
  bottom: 42px;
  left: 2px;
  width: 240px;
  background: var(--win-bg);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow);
  display: flex;
  z-index: 1000;
  border-radius: var(--border-radius);
}

.theme-classic95 .start-menu {
  border-color: #fff #555 #555 #fff;
  box-shadow: none;
}

.start-menu.hidden {
  display: none !important;
}

.start-menu-sidebar {
  width: 32px;
  background: linear-gradient(180deg, var(--glow-color), #000);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 15px;
}

.sidebar-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-header);
  font-size: 11px;
  color: #fff;
  letter-spacing: 2px;
}

.start-menu-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 4px;
  background-color: var(--win-bg);
}

.start-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 4px;
}

.start-menu-item:hover {
  background-color: var(--btn-bg);
  color: var(--btn-text);
}

.start-menu-item i {
  width: 16px;
  text-align: center;
}

.start-menu-hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 4px 0;
}

.start-submenu-arrow {
  margin-left: auto;
  font-size: 10px;
}

/* SUBMENU FLYOUTS */
.start-submenu {
  position: absolute;
  left: 100%;
  bottom: -4px;
  width: 200px;
  background: var(--win-bg);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow);
  display: none;
  flex-direction: column;
  padding: 4px;
  border-radius: var(--border-radius);
  z-index: 1001;
}

.start-menu-item.parent:hover .start-submenu {
  display: flex;
}

.submenu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  font-size: 11px;
  cursor: pointer;
}

.submenu-item:hover {
  background-color: var(--btn-bg);
  color: var(--btn-text);
}

/* 11. TASKBAR */
.desktop-taskbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 42px;
  background: var(--taskbar-bg);
  border-top: 2px solid var(--taskbar-border);
  display: flex;
  align-items: center;
  padding: 0 8px;
  z-index: 999;
}

.start-button {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--border-color);
  height: 28px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-header);
  font-size: 9px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  outline: none;
  box-shadow: 0 0 5px var(--glow-color);
}

.theme-classic95 .start-button {
  background: #c0c0c0;
  color: #000;
  border-color: #fff #555 #555 #fff;
  border-radius: 0;
  box-shadow: none;
}

.start-button:hover {
  filter: brightness(1.2);
}

.start-icon-orb {
  font-size: 12px;
}

.taskbar-tabs {
  flex: 1;
  display: flex;
  gap: 6px;
  margin-left: 10px;
  overflow-x: auto;
  height: 28px;
}

.taskbar-tab-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  cursor: pointer;
  border-radius: 4px;
  max-width: 130px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.taskbar-tab-item:hover {
  background: rgba(255,255,255,0.1);
}

.taskbar-tab-item.active {
  background: var(--btn-bg);
  border-color: var(--border-color);
  font-weight: bold;
  box-shadow: 0 0 5px var(--glow-color);
}

.theme-classic95 .taskbar-tab-item {
  border-color: #fff #555 #555 #fff;
  background: #c0c0c0;
  color: #000;
  border-radius: 0;
}

.theme-classic95 .taskbar-tab-item.active {
  border-color: #555 #fff #fff #555;
  background: #dcdcdc;
  box-shadow: none;
}

/* SYSTEM TRAY */
.system-tray {
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 1px solid rgba(255,255,255,0.1);
  padding-left: 12px;
  height: 28px;
}

.theme-classic95 .system-tray {
  border: 1px solid;
  border-color: #808080 #fff #fff #808080;
  padding: 0 8px;
}

.tray-btn {
  background: transparent;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 12px;
}

.tray-btn:hover {
  color: var(--text-accent);
}

.tray-location {
  font-size: 11px;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 4px;
}

.tray-time {
  font-family: 'Share Tech Mono', monospace;
  font-size: 12px;
  color: #ffffff;
  min-width: 75px;
  text-align: right;
}

/* 12. DIALOG BOX STYLING */
.dialog-box {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  background: var(--win-bg);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow);
  z-index: 10000;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
}

.dialog-box.hidden {
  display: none !important;
}

.dialog-header {
  background: var(--win-header-bg);
  color: var(--win-header-text);
  padding: 6px 10px;
  font-family: var(--font-header);
  font-size: 9px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-close {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.dialog-body {
  padding: 15px;
  text-align: center;
}

.dialog-body h3 {
  font-size: 13px;
  font-family: var(--font-header);
  margin-bottom: 10px;
}

.dialog-body p {
  font-size: 12px;
  margin-bottom: 15px;
}

.dialog-ok-btn {
  padding: 4px 20px;
}

/* 13. PRINT STYLING (For Resume PDF printing) */
@media print {
  body *, .crt-lines, .crt-curve, .desktop-topbar, .desktop-icons, .desktop-taskbar, .window-header, .no-print {
    display: none !important;
  }
  
  body, html {
    background: #fff !important;
    color: #000 !important;
    overflow: visible !important;
    height: auto !important;
  }
  
  .windows-container {
    position: static !important;
    pointer-events: auto !important;
  }
  
  #win-resume, .resume-body {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: auto !important;
    border: none !important;
    background: #fff !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  
  .resume-sheet {
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
  }
}

/* Helper general classes */
.text-green { color: #39ff14 !important; }
.text-dim { color: rgba(255,255,255,0.4) !important; }
.text-link { color: var(--text-accent); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.blinking { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.retro-hr { border: none; border-top: 1px solid rgba(255,255,255,0.15); margin: 10px 0; }
