/* ═══════════════════════════════════════════════════════════
   PORTFOLIO DESKTOP — Style Sheet
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties (Light Theme Default) ── */
:root {
  --bg: #F2F2F7;
  --bg-gradient: linear-gradient(135deg, #F2F2F7 0%, #E8E8F0 50%, #DCDCE6 100%);
  --surface: rgba(255, 255, 255, 0.72);
  --surface-hover: rgba(255, 255, 255, 0.88);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-hover: rgba(255, 255, 255, 0.6);
  --text-primary: #1D1D1F;
  --text-secondary: #86868B;
  --text-tertiary: #C7C7CC;
  --accent: #6C5CE7;
  --accent-end: #00DDFF;
  --accent-gradient: linear-gradient(135deg, #6C5CE7, #00DDFF);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.16);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --taskbar-bg: rgba(255, 255, 255, 0.55);
  --taskbar-border: rgba(255, 255, 255, 0.8);
  --icon-color: var(--text-primary);
  --window-shadow: var(--shadow-lg);
  --start-menu-bg: rgba(255, 255, 255, 0.65);
  --scrollbar-bg: rgba(0,0,0,0.05);
  --scrollbar-thumb: rgba(0,0,0,0.15);
  --overlay-bg: rgba(0,0,0,0.25);
  --login-bg: #F2F2F7;
}

/* ── Dark Theme Override ── */
[data-theme="dark"] {
  --bg: #0A0A0F;
  --bg-gradient: linear-gradient(135deg, #0A0A0F 0%, #12121A 50%, #0D0D14 100%);
  --surface: rgba(30, 30, 42, 0.7);
  --surface-hover: rgba(40, 40, 55, 0.8);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(255, 255, 255, 0.12);
  --text-primary: #F0F0F5;
  --text-secondary: #919EA4;
  --text-tertiary: #5A6570;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.3);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.4);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.5);
  --taskbar-bg: rgba(18, 18, 26, 0.55);
  --taskbar-border: rgba(255, 255, 255, 0.04);
  --window-shadow: 0 20px 60px rgba(0,0,0,0.5);
  --start-menu-bg: rgba(18, 18, 26, 0.65);
  --scrollbar-bg: rgba(255,255,255,0.05);
  --scrollbar-thumb: rgba(255,255,255,0.12);
  --overlay-bg: rgba(0,0,0,0.5);
  --login-bg: #0A0A0F;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



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

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-tertiary); }

/* ═══════════════════════════════════════════════════════════
   LOGIN SCREEN
   ═══════════════════════════════════════════════════════════ */
#login-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--login-bg);
  transition: opacity 0.6s ease;
}

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

#login-screen.fade-out .login-card {
  animation: login-zoom-out 0.5s ease-in-out forwards;
}

@keyframes login-zoom-out {
  0%   { opacity: 1; transform: scale(1); }
  50%  { opacity: 0.7; transform: scale(1.08); }
  100% { opacity: 0; transform: scale(1.15); }
}

.login-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 80px 72px 64px;
  background: var(--surface);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 680px;
  animation: login-in 0.5s ease-out;
}

@keyframes login-in {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-icon {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  box-shadow: 0 8px 30px rgba(108, 92, 231, 0.25);
  margin-bottom: 4px;
}

.login-user {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.login-field {
  position: relative;
  width: 100%;
}

.login-input {
  width: 100%;
  padding: 28px 32px 20px;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 28px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.login-input:focus {
  border-color: var(--accent);
}

.login-input[readonly] {
  cursor: default;
  opacity: 0.8;
}

.login-label {
  position: absolute;
  top: -16px;
  left: 24px;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  padding: 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-btn {
  width: 100%;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: var(--accent-gradient);
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
  border: none;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(108, 92, 231, 0.3);
}

.login-btn:active {
  transform: scale(0.98);
}

.login-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════
   DESKTOP
   ═══════════════════════════════════════════════════════════ */
#desktop {
  position: fixed;
  inset: 0;
  top: 0;
  bottom: 96px;
  background: var(--bg-gradient);
  transition: background 0.4s ease;
}

/* Desktop Icons */
.desktop-icons {
  display: flex;
  justify-content: space-between;
  height: calc(100vh - 96px);
  padding: 24px 16px;
}

.desktop-icons-col {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 4px;
  height: 100%;
}

.desktop-icons-right {
  flex-wrap: nowrap;
}

.desktop-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 28px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  width: 200px;
  user-select: none;
  flex-shrink: 0;
}

.desktop-icon:hover {
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.desktop-icon-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform 0.2s ease;
}

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

.desktop-icon-label {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  text-align: center;
  pointer-events: none;
}

.desktop-icon-label small {
  display: block;
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-top: 1px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.desktop-icon:hover .desktop-icon-label small {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════
   TASKBAR
   ═══════════════════════════════════════════════════════════ */
#taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 96px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  background: var(--taskbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--taskbar-border);
  z-index: 99000;
  transition: background 0.4s ease, border-color 0.4s ease;
}

.start-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 24px;
  font-weight: 500;
  transition: all 0.15s ease;
  color: var(--text-primary);
}

.start-btn svg {
  width: 24px;
  height: 24px;
}

.start-btn:hover {
  background: var(--surface);
}

.start-btn:active {
  transform: scale(0.95);
}

.taskbar-center {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 4px;
}

.taskbar-center::-webkit-scrollbar { display: none; }

/* Minimized Window Tab */
.taskbar-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-size: 24px;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  max-width: 200px;
  min-width: 0;
  overflow: hidden;
  color: var(--text-primary);
}

.taskbar-tab-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.taskbar-tab:hover {
  background: var(--surface-hover);
  border-color: var(--glass-border-hover);
}

.taskbar-tab.active {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--surface));
}

/* System Tray */
.system-tray {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 100%;
}

.tray-btn {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  color: var(--text-secondary);
}

.tray-btn svg {
  width: 24px;
  height: 24px;
}

#lang-label {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.tray-btn:hover {
  background: var(--surface);
  color: var(--text-primary);
}

.tray-btn:active {
  transform: scale(0.9);
}

.tray-clock {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
  padding: 0 16px;
  min-width: 96px;
  user-select: none;
}

#clock-time {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

#clock-date {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

/* ═══════════════════════════════════════════════════════════
   START MENU
   ═══════════════════════════════════════════════════════════ */
#start-menu {
  position: fixed;
  bottom: 112px;
  left: 16px;
  width: 640px;
  background: var(--start-menu-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  z-index: 99100;
  overflow: hidden;
  transform-origin: bottom left;
  animation: menu-open 0.2s ease-out;
}

@keyframes menu-open {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.start-menu-header {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 40px 40px 32px;
  border-bottom: 1px solid var(--glass-border);
}

.start-menu-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.start-menu-user {
  display: flex;
  flex-direction: column;
}

.start-menu-name {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
}

.start-menu-title {
  font-size: 24px;
  color: var(--text-secondary);
  margin-top: 1px;
}

.start-menu-nav {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.start-menu-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  font-size: 28px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-primary);
}

.start-menu-item:hover {
  background: var(--surface);
}

.start-menu-item:active {
  transform: scale(0.98);
}

.start-menu-item-icon {
  font-size: 18px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.start-menu-footer {
  display: flex;
  padding: 16px;
  gap: 8px;
  border-top: 1px solid var(--glass-border);
}

.start-menu-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.15s ease;
}

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

.start-menu-btn:active {
  transform: scale(0.97);
}

/* ═══════════════════════════════════════════════════════════
   WINDOWS
   ═══════════════════════════════════════════════════════════ */
.window {
  position: fixed;
  width: 1280px;
  height: 960px;
  min-width: 720px;
  min-height: 560px;
  max-width: 90vw;
  max-height: 85vh;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--window-shadow);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  animation: window-open 0.25s ease-out;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.window:focus-within {
  box-shadow: var(--shadow-xl);
  border-color: var(--glass-border-hover);
}

@keyframes window-open {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes window-close {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.92);
  }
}

.window.minimized {
  display: none;
}

.window.maximized {
  width: calc(100vw - 16px) !important;
  height: calc(100vh - 104px) !important;
  top: 4px !important;
  left: 8px !important;
  border-radius: var(--radius-md);
  max-width: none !important;
  max-height: none !important;
  min-width: unset !important;
  min-height: unset !important;
}

/* Window Header */
.window-header {
  display: flex;
  align-items: center;
  padding: 0 24px;
  height: 84px;
  flex-shrink: 0;
  cursor: grab;
  user-select: none;
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.15s ease;
}

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

.window-header-icon {
  font-size: 32px;
  margin-right: 16px;
  flex-shrink: 0;
}

.window-header-title {
  flex: 1;
  font-size: 26px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.window-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.15s ease;
  color: transparent;
  position: relative;
}

.window-btn:hover {
  color: rgba(0,0,0,0.5);
}

.window-btn-close {
  background: #FF5F57;
}

.window-btn-minimize {
  background: #FEBC2E;
}

.window-btn-maximize {
  background: #28C840;
}

.window-btn-close:hover { filter: brightness(0.9); }
.window-btn-minimize:hover { filter: brightness(0.9); }
.window-btn-maximize:hover { filter: brightness(0.9); }

/* Window Content */
.window-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 48px;
  font-size: 28px;
  line-height: 1.6;
  color: var(--text-primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Resize Handles */
.window-resize-handle {
  position: absolute;
  z-index: 5;
}

.window-resize-handle.n  { top: -6px;   left: 16px;  right: 16px;  height: 12px; cursor: n-resize; }
.window-resize-handle.s  { bottom: -6px; left: 16px;  right: 16px;  height: 12px; cursor: s-resize; }
.window-resize-handle.w  { left: -6px;   top: 16px;   bottom: 16px; width: 12px; cursor: w-resize; }
.window-resize-handle.e  { right: -6px;  top: 16px;   bottom: 16px; width: 12px; cursor: e-resize; }
.window-resize-handle.nw { top: -6px;    left: -6px;  width: 24px;  height: 24px; cursor: nw-resize; }
.window-resize-handle.ne { top: -6px;    right: -6px; width: 24px;  height: 24px; cursor: ne-resize; }
.window-resize-handle.sw { bottom: -6px; left: -6px;  width: 24px;  height: 24px; cursor: sw-resize; }
.window-resize-handle.se { bottom: -6px; right: -6px; width: 24px;  height: 24px; cursor: se-resize; }

/* ═══════════════════════════════════════════════════════════
   WINDOW CONTENT STYLES
   ═══════════════════════════════════════════════════════════ */

/* Section Titles */
.content-title {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 4px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-subtitle {
  font-size: 26px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.content-body {
  color: var(--text-primary);
  line-height: 1.7;
}

/* Skills — Contact-style list */
.skills-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 32px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
}

.skill-row:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.skill-row-icon {
  font-size: 36px;
  width: 56px;
  text-align: center;
  flex-shrink: 0;
}

.skill-row-info {
  flex: 1;
  min-width: 0;
}

.skill-row-name {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 6px;
}

.skill-row-stars {
  font-size: 26px;
  letter-spacing: 2px;
  line-height: 1;
}

.skill-row-stars .star.full {
  color: #F5A623;
}

.skill-row-stars .star.empty {
  color: var(--text-tertiary);
}

/* Experience Timeline */
.timeline {
  position: relative;
  padding-left: 56px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 20px;   /* Start below first dot center */
  bottom: 0;
  width: 4px;
  background: var(--glass-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -50px;  /* Aligned with line center (16px + 2px = 18px; 56px - 50px + 12px = 18px) */
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-date {
  font-size: 24px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 2px;
}

.timeline-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-company {
  font-size: 26px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.timeline-points {
  font-size: 26px;
  color: var(--text-primary);
  line-height: 1.6;
  opacity: 0.8;
  margin: 0;
  padding-left: 24px;
  list-style: none;
}

.timeline-points li {
  position: relative;
  padding-left: 8px;
  margin-bottom: 4px;
}

/* Projects — Contact-style list */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-row {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
  cursor: pointer;
}

.project-row:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.project-row-icon {
  font-size: 44px;
  width: 72px;
  text-align: center;
  flex-shrink: 0;
}

.project-row-info {
  flex: 1;
  min-width: 0;
}

.project-row-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 4px;
}

.project-row-desc {
  font-size: 22px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.project-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.project-row-tag {
  font-size: 18px;
  font-weight: 500;
  padding: 4px 14px;
  border-radius: 8px;
  background: var(--accent-gradient);
  color: #fff;
  opacity: 0.85;
}

.project-row-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 22px;
  color: var(--accent);
  text-decoration: none;
  word-break: break-all;
  transition: opacity 0.2s;
}

.project-row-link:hover {
  opacity: 0.7;
}

/* Contact */
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 36px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.contact-link:hover {
  border-color: var(--accent);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.contact-link-icon {
  font-size: 44px;
  width: 72px;
  text-align: center;
  flex-shrink: 0;
}

.contact-link-label {
  font-size: 28px;
  font-weight: 500;
}

.contact-link-value {
  font-size: 26px;
  color: var(--text-secondary);
}

/* About */
.about-section {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.about-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.about-text {
  flex: 1;
}

.about-greeting {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-role {
  font-size: 26px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}

.about-bio {
  font-size: 28px;
  line-height: 1.7;
  color: var(--text-primary);
  opacity: 0.85;
}

.about-location {
  font-size: 24px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* ═══════════════════════════════════════════════════════════
   INTERESTS
   ═══════════════════════════════════════════════════════════ */
.interest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.interest-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
}

.interest-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.interest-card-icon {
  font-size: 36px;
  line-height: 1;
}

.interest-card-name {
  font-size: 24px;
  font-weight: 600;
}

.interest-card-desc {
  font-size: 20px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   GALLERY EXPLORER
   ═══════════════════════════════════════════════════════ */
.gallery-explorer {
  display: flex;
  height: 100%;
  gap: 0;
}

.gallery-sidebar {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 8px;
  border-right: 1px solid var(--glass-border);
}

.gallery-folder {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 24px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--text-primary);
}

.gallery-folder:hover {
  background: var(--surface);
}

.gallery-folder.active {
  background: var(--surface);
  color: var(--accent);
  font-weight: 600;
}

.gallery-main {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

.gallery-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.gallery-cat-grid.hidden {
  display: none;
}

.gallery-item {
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  transition: all 0.2s ease;
  position: relative;
}

.gallery-item-placeholder {
  position: absolute;
  inset: 0;
  background: var(--scrollbar-bg);
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { opacity: 0.4; }
  50% { opacity: 0.7; }
  100% { opacity: 0.4; }
}

.gallery-item img {
  position: relative;
  z-index: 1;
}

.gallery-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

/* Photo Viewer */
.photo-viewer-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.photo-viewer-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(0,0,0,0.05);
  border-radius: var(--radius-sm);
}

.photo-viewer-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.photo-viewer-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 16px 0;
}

.pv-btn {
  font-size: 32px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.15s ease;
}

.pv-btn:hover:not(:disabled) {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

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

.pv-counter {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════
   MUSIC PLAYER — Mini Bar
   ═══════════════════════════════════════════════════════════ */
.mp-minibar {
  position: fixed;
  bottom: 112px;
  right: 32px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 28px 16px 20px;
  border-radius: 20px;
  animation: player-in 0.3s ease-out;
  min-width: 560px;
  max-width: 800px;
  transition: background 0.3s ease;
}

.mp-minibar:hover {
  background: var(--taskbar-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

@keyframes player-in {
  from { opacity: 0; transform: translateY(12px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mp-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--glass-border);
}

.mp-info {
  flex: 1;
  min-width: 0;
  line-height: 1.6;
}

.mp-track {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-bar {
  width: 96px;
  height: 6px;
  background: var(--scrollbar-bg);
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.mp-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.mp-actions {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.mp-act-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.mp-act-btn:hover {
  background: var(--surface);
  color: var(--text-primary);
}

.mp-act-btn:active {
  transform: scale(0.9);
}

.mp-act-play {
  color: var(--accent);
  font-size: 26px;
}

.mp-act-play:hover {
  color: var(--accent);
}

.mp-vol-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.mp-vol-btn {
  font-size: 22px;
  width: 48px;
  height: 48px;
}

.mp-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 88px;
  height: 6px;
  background: var(--scrollbar-bg);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.mp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.mp-slider::-webkit-slider-thumb:hover {
  transform: scale(1.4);
}

/* ── Responsive ── */
@media (max-width: 600px) {
  .mp-minibar {
    right: 8px;
    left: 8px;
    bottom: 52px;
    min-width: unset;
    max-width: unset;
    gap: 6px;
    padding: 6px 8px;
  }
  .mp-bar { width: 32px; }
  .mp-slider { width: 32px; }
  .mp-vol-btn { display: none; }
}
#overlay {
  position: fixed;
  inset: 0;
  bottom: 96px;
  z-index: 99050;
  background: var(--overlay-bg);
  animation: overlay-in 0.15s ease;
}

@keyframes overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .desktop-icons {
    padding: 80px 8px 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 4px;
    height: auto;
  }

  .desktop-icons-col {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    height: auto;
  }

  .desktop-icons-right {
    flex-direction: row;
  }

  .desktop-icon {
    flex: 0 0 72px;
    padding: 8px 6px;
    gap: 4px;
    width: auto;
  }

  .desktop-icon-icon {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .desktop-icon-label {
    font-size: 10px;
  }

  .desktop-icon-label small {
    display: none;
  }

  .window {
    width: calc(100vw - 16px) !important;
    height: calc(100vh - 64px) !important;
    top: 8px !important;
    left: 8px !important;
    border-radius: var(--radius-md);
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 64px);
  }

  .window-content {
    padding: 24px;
    font-size: 22px;
  }

  #start-menu {
    left: 4px;
    right: 4px;
    width: auto;
  }

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

  .about-avatar {
    width: 120px;
    height: 120px;
    font-size: 48px;
  }

  .about-greeting { font-size: 24px; }
  .about-role { font-size: 20px; }
  .about-location { font-size: 18px; }
  .about-bio { font-size: 20px; }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .content-title { font-size: 26px; }
  .content-subtitle { font-size: 20px; }

  .skill-row { padding: 16px 20px; gap: 16px; }
  .skill-row-icon { font-size: 28px; width: 40px; }
  .skill-row-name { font-size: 20px; }
  .skill-row-stars { font-size: 22px; }

  .timeline { padding-left: 36px; }
  .timeline-date { font-size: 18px; }
  .timeline-title { font-size: 22px; }
  .timeline-company { font-size: 20px; }
  .timeline-points { font-size: 20px; padding-left: 20px; }

  .project-row { padding: 16px 20px; gap: 16px; }
  .project-row-icon { font-size: 28px; width: 40px; }
  .project-row-title { font-size: 22px; }
  .project-row-desc { font-size: 20px; }
  .project-row-tag { font-size: 16px; }
  .project-row-link { font-size: 18px; }

  .contact-link { padding: 16px; }
  .contact-link-icon { font-size: 28px; }
  .contact-link-label { font-size: 20px; }
  .contact-link-value { font-size: 22px; }

  .gallery-explorer { flex-direction: column; }
  .gallery-sidebar {
    width: 100%;
    flex-direction: row;
    gap: 8px;
    padding: 8px;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }
  .gallery-folder { padding: 10px 16px; font-size: 20px; }
  .gallery-cat-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  .photo-viewer { width: calc(100vw - 16px) !important; height: calc(100vh - 128px) !important; left: 8px !important; top: 56px !important; }
  .pv-btn { font-size: 28px; width: 44px; height: 44px; }
  .pv-counter { font-size: 20px; }

  .mp-minibar { bottom: 72px; right: 8px; }
}

@media (max-width: 480px) {
  .desktop-icon { flex: 0 0 60px; padding: 6px 4px; }
  .desktop-icon-icon { width: 28px; height: 28px; font-size: 20px; }
  .desktop-icon-label { font-size: 9px; }

  .window-content { padding: 16px; font-size: 20px; }

  .tray-btn { width: 32px; height: 32px; }
  .tray-clock { font-size: 11px; padding: 0 4px; min-width: 40px; }
  #lang-label { font-size: 11px; }

  .about-avatar { width: 80px; height: 80px; font-size: 32px; }
  .about-greeting { font-size: 20px; }
  .about-role { font-size: 18px; }
  .about-bio { font-size: 18px; }

  .gallery-cat-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE UI — Phone OS Interface
   ═══════════════════════════════════════════════════════════ */

/* ── Mobile-only: hide desktop, show mobile ── */
@media (max-width: 768px) {
  #login-screen,
  #desktop,
  #taskbar,
  #start-menu,
  #overlay,
  #music-player {
    display: none !important;
  }
  #mobile-ui {
    display: block !important;
  }
}

@media (min-width: 769px) {
  #mobile-ui {
    display: none !important;
  }
}

/* ── Base Mobile Layout ── */
#mobile-ui {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  user-select: none;
}

/* ═══ LOCK SCREEN ═══ */
#mobile-lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  z-index: 10;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

#mobile-lock.unlocked {
  transform: translateY(-100%);
}

#mlock-time {
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
  margin-bottom: 4px;
}

#mlock-date {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 60px;
}

.mlock-handle-area {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: grab;
  touch-action: none;
}

.mlock-bar {
  width: 140px;
  height: 6px;
  border-radius: 3px;
  background: var(--text-tertiary);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.mlock-handle-area:active .mlock-bar {
  opacity: 0.8;
}

.mlock-hint {
  font-size: 14px;
  color: var(--text-secondary);
  opacity: 0.7;
  transition: opacity 0.3s;
}

/* ═══ STATUS BAR ═══ */
#mobile-status {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 5;
  pointer-events: auto;
  touch-action: none;
}

#mstatus-time {
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.mstatus-icons svg {
  display: block;
  color: var(--text-primary);
}

/* ═══ HOME SCREEN ═══ */
#mobile-home {
  position: absolute;
  inset: 44px 0 130px; /* end above music widget + dock */
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 0;
  -webkit-overflow-scrolling: touch;
}

/* App Grid — 2 columns × 4 rows */
#mhome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 100%;
  max-width: 340px;
  padding: 16px 16px 8px;
}

.mhome-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 8px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.mhome-app:active {
  background: var(--surface);
  transform: scale(0.95);
}

.mhome-app-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.mhome-app:active .mhome-app-icon {
  transform: scale(0.92);
}

.mhome-app-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.2;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Music Widget (above dock) ── */
#mhome-music {
  position: absolute;
  bottom: 68px;
  left: 8px;
  right: 8px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

#mhome-music.hidden {
  display: none;
}

.mw-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--glass-border);
}

.mw-info {
  flex: 1;
  min-width: 0;
}

.mw-track {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mw-bar {
  width: 60px;
  height: 4px;
  background: var(--scrollbar-bg);
  border-radius: 2px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.mw-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.mw-actions {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.mw-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  transition: all 0.15s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.mw-btn:active {
  background: var(--surface-hover);
  transform: scale(0.9);
}

.mw-play-btn {
  color: var(--accent);
  font-size: 16px;
}
/* ═══ BOTTOM DOCK ═══ */
/* Hide dock when lock screen is visible */
#mobile-lock:not(.unlocked) ~ #mobile-dock {
  display: none !important;
}

#mobile-dock {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 20px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--glass-border);
  z-index: 20; /* above app view */
  transition: background 0.4s ease, border-color 0.4s ease;
}

.mdock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  color: var(--text-secondary);
}

.mdock-btn:active {
  transform: scale(0.85);
  color: var(--accent);
}

.mdock-left {
  justify-self: start;
}

.mdock-center {
  justify-self: center;
  width: 48px;
  height: 48px;
  color: var(--text-primary);
}

.mdock-right {
  justify-self: end;
}

/* ═══ APP VIEW ═══ */
#mobile-app {
  position: absolute;
  inset: 0 0 64px 0; /* end above dock */
  z-index: 15;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  animation: mapp-in 0.3s ease-out;
}

@keyframes mapp-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes mapp-out {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

#mobile-app.closing {
  animation: mapp-out 0.25s ease-in forwards;
}

#mapp-header {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 8px 0 4px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--glass-border);
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

#mapp-back {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--accent);
  transition: all 0.15s ease;
  flex-shrink: 0;
}

#mapp-back:active {
  background: var(--surface-hover);
}

#mapp-title {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 44px; /* balance back button */
}

.mapp-header-spacer {
  width: 44px;
  flex-shrink: 0;
}

#mapp-content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 16px 32px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
}

/* ═══ CONTROL CENTER ═══ */
#mcontrol-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: rgba(0,0,0,0.3);
  animation: mctrl-overlay-in 0.25s ease-out;
}

@keyframes mctrl-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

#mcontrol {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 25;
  background: var(--surface);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--glass-border);
  border-radius: 0 0 24px 24px;
  box-shadow: var(--shadow-xl);
  padding: 60px 20px 20px;
  animation: mctrl-in 0.3s ease-out;
}

@keyframes mctrl-in {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

#mcontrol.closing {
  animation: mctrl-out 0.25s ease-in forwards;
}

@keyframes mctrl-out {
  from { transform: translateY(0); }
  to { transform: translateY(-100%); }
}

.mcontrol-section {
  margin-bottom: 16px;
}

.mcontrol-handle {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.mcontrol-bar {
  width: 48px;
  height: 5px;
  border-radius: 3px;
  background: var(--text-tertiary);
  opacity: 0.4;
}

.mcontrol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mcontrol-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  border-radius: 14px;
  background: var(--surface-hover);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.mcontrol-btn:active {
  transform: scale(0.95);
  background: var(--surface);
}

.mcontrol-btn-icon {
  font-size: 26px;
  line-height: 1;
}

.mcontrol-btn-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Control Center Music */
.mcontrol-music {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--surface-hover);
  border: 1px solid var(--glass-border);
}

.mw-thumb-sm {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid var(--glass-border);
}

.mcw-info {
  flex: 1;
  min-width: 0;
}

.mcw-track {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mcw-actions {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.mcw-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mcw-btn:active {
  background: var(--surface);
  transform: scale(0.9);
}

.mcw-play-btn {
  color: var(--accent);
  font-size: 16px;
}

/* Control Center Actions */
.mcontrol-actions {
  display: flex;
  gap: 12px;
}

.mcontrol-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: var(--surface-hover);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  transition: all 0.15s ease;
}

.mcontrol-action-btn:active {
  transform: scale(0.97);
  background: var(--surface);
}

.mcontrol-action-btn svg {
  flex-shrink: 0;
}

/* ═══ MOBILE WINDOW CONTENT ADAPTATIONS ═══ */
#mobile-ui .content-title {
  font-size: 22px;
  margin-bottom: 2px;
}

#mobile-ui .content-subtitle {
  font-size: 14px;
  margin-bottom: 20px;
}

#mobile-ui .skill-row {
  padding: 12px 16px;
  gap: 12px;
}

#mobile-ui .skill-row-icon {
  font-size: 22px;
  width: 32px;
}

#mobile-ui .skill-row-name {
  font-size: 14px;
  margin-bottom: 3px;
}

#mobile-ui .skill-row-stars {
  font-size: 15px;
}

#mobile-ui .timeline {
  padding-left: 28px;
}

#mobile-ui .timeline::before {
  left: 8px;
}

#mobile-ui .timeline-dot {
  left: -22px;
  width: 14px;
  height: 14px;
}

#mobile-ui .timeline-date {
  font-size: 12px;
}

#mobile-ui .timeline-title {
  font-size: 16px;
}

#mobile-ui .timeline-company {
  font-size: 14px;
}

#mobile-ui .timeline-points {
  font-size: 14px;
  padding-left: 16px;
}

#mobile-ui .project-row {
  padding: 12px 16px;
  gap: 12px;
}

#mobile-ui .project-row-icon {
  font-size: 24px;
  width: 36px;
}

#mobile-ui .project-row-title {
  font-size: 14px;
  margin-bottom: 2px;
}

#mobile-ui .project-row-desc {
  font-size: 13px;
  margin-bottom: 6px;
}

#mobile-ui .project-row-tag {
  font-size: 11px;
  padding: 2px 10px;
}

#mobile-ui .project-row-link {
  font-size: 13px;
}

#mobile-ui .contact-link {
  padding: 12px 16px;
  gap: 12px;
}

#mobile-ui .contact-link-icon {
  font-size: 24px;
  width: 36px;
}

#mobile-ui .contact-link-label {
  font-size: 14px;
}

#mobile-ui .contact-link-value {
  font-size: 14px;
}

#mobile-ui .about-section {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

#mobile-ui .about-avatar {
  width: 80px;
  height: 80px;
  font-size: 32px;
}

#mobile-ui .about-greeting {
  font-size: 20px;
}

#mobile-ui .about-role {
  font-size: 16px;
  margin-bottom: 6px;
}

#mobile-ui .about-location {
  font-size: 14px;
  margin-bottom: 8px;
}

#mobile-ui .about-bio {
  font-size: 14px;
  line-height: 1.6;
}

#mobile-ui .interest-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#mobile-ui .interest-card {
  padding: 14px;
  gap: 4px;
}

#mobile-ui .interest-card-icon {
  font-size: 24px;
}

#mobile-ui .interest-card-name {
  font-size: 13px;
}

#mobile-ui .interest-card-desc {
  font-size: 12px;
}

#mobile-ui .gallery-explorer {
  flex-direction: column;
}

#mobile-ui .gallery-sidebar {
  width: 100%;
  flex-direction: row;
  gap: 6px;
  padding: 8px;
  border-right: none;
  border-bottom: 1px solid var(--glass-border);
}

#mobile-ui .gallery-folder {
  padding: 8px 12px;
  font-size: 14px;
}

#mobile-ui .gallery-cat-grid {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#mobile-ui .photo-viewer-content {
  height: 100%;
}

#mobile-ui .pv-btn {
  font-size: 22px;
  width: 40px;
  height: 40px;
}

#mobile-ui .pv-counter {
  font-size: 14px;
}

#mobile-ui .education-section .timeline-date {
  font-size: 12px;
}

#mobile-ui .timeline-item {
  padding-bottom: 24px;
}

#mobile-ui .education-section .timeline-item {
  padding-bottom: 24px;
}
