/* VelvetOS - Modern Desktop Experience Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark elegant theme with cyan accents */
    --bg-primary: #0d0d12;
    --bg-secondary: #16161d;
    --bg-tertiary: #1e1e28;
    --bg-glass: rgba(22, 22, 29, 0.75);
    --bg-glass-hover: rgba(30, 30, 40, 0.85);
    --accent: #00e5ff;
    --accent-dim: #00b8d4;
    --accent-glow: rgba(0, 229, 255, 0.2);
    --text-primary: #e8e8f2;
    --text-secondary: #9999b3;
    --text-muted: #66667a;
    --border: rgba(255, 255, 255, 0.08);
    --border-bright: rgba(255, 255, 255, 0.15);
    --shadow: rgba(0, 0, 0, 0.6);
    --shadow-strong: rgba(0, 0, 0, 0.8);
}

body {
    font-family: 'Sora', sans-serif;
    background: linear-gradient(135deg, #0d0d12 0%, #1a1a2e 50%, #16162e 100%);
    color: var(--text-primary);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(0, 229, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(138, 43, 226, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 150, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    animation: bgPulse 25s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.05); }
}

/* Desktop */
.desktop {
    width: 100%;
    height: calc(100vh - 50px);
    position: relative;
    padding: 24px;
    overflow: hidden;
}

.desktop-icons {
    display: grid;
    grid-template-columns: repeat(auto-fill, 90px);
    gap: 24px;
    padding: 12px;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 14px 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: transparent;
    position: relative;
}

.desktop-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: var(--bg-glass);
    opacity: 0;
    transition: opacity 0.25s;
    backdrop-filter: blur(12px);
}

.desktop-icon:hover::before {
    opacity: 1;
}

.desktop-icon:hover {
    transform: translateY(-3px);
}

.desktop-icon .icon {
    font-size: 36px;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 1;
    transition: transform 0.25s;
}

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

.desktop-icon span {
    font-size: 12px;
    text-align: center;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 1;
}

/* Taskbar */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: var(--bg-glass);
    backdrop-filter: blur(40px) saturate(180%);
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
}

.start-button {
    width: 42px;
    height: 42px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-right: auto;
    position: relative;
    overflow: hidden;
}

.start-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dim) 100%);
    opacity: 0;
    transition: opacity 0.25s;
}

.start-button:hover::before {
    opacity: 1;
}

.start-button svg {
    position: relative;
    z-index: 1;
}

.start-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-glow);
}

.start-button.active {
    background: var(--accent);
    border-color: var(--accent);
}

.taskbar-apps {
    display: flex;
    gap: 4px;
    align-items: center;
}

.taskbar-app {
    width: 42px;
    height: 42px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-primary);
    transition: all 0.2s;
    position: relative;
}

.taskbar-app:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border);
}

.taskbar-app.active {
    background: var(--bg-tertiary);
    border-color: var(--border-bright);
}

.taskbar-app.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    width: 28px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px 2px 0 0;
}

.system-tray {
    margin-left: auto;
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 13px;
    padding: 0 10px;
    color: var(--text-secondary);
}

.tray-icon {
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.tray-icon:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.tray-time {
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.tray-date {
    font-weight: 400;
    font-size: 12px;
}

/* Start Menu */
.start-menu {
    position: fixed;
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 650px;
    background: var(--bg-glass);
    backdrop-filter: blur(50px) saturate(180%);
    border: 1px solid var(--border-bright);
    border-radius: 16px;
    display: none;
    flex-direction: column;
    box-shadow: 0 25px 80px var(--shadow-strong);
    animation: menuOpen 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1001;
}

@keyframes menuOpen {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.95) translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) scale(1) translateY(0);
    }
}

.start-menu.active {
    display: flex;
}

.start-search {
    padding: 24px 24px 20px 24px;
    border-bottom: 1px solid var(--border);
}

.start-search input {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Sora', sans-serif;
    outline: none;
    transition: all 0.25s;
}

.start-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-tertiary);
}

.start-search input::placeholder {
    color: var(--text-muted);
}

.start-apps {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

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

.start-apps::-webkit-scrollbar-track {
    background: transparent;
}

.start-apps::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.start-apps::-webkit-scrollbar-thumb:hover {
    background: var(--border-bright);
}

.start-section {
    margin-bottom: 28px;
}

.start-section h3 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.app-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-item:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.app-item .icon {
    font-size: 28px;
}

.app-item span {
    font-size: 11px;
    text-align: center;
    font-weight: 400;
    color: var(--text-secondary);
}

.start-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.user-name {
    font-size: 13px;
    font-weight: 500;
}

.power-button {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
}

.power-button:hover {
    background: #ff4444;
    border-color: #ff4444;
    color: white;
}

/* Windows */
.window {
    position: absolute;
    background: var(--bg-glass);
    backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid var(--border-bright);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px var(--shadow-strong);
    display: none;
    flex-direction: column;
    animation: windowOpen 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-width: 400px;
    min-height: 300px;
}

@keyframes windowOpen {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.window.active {
    display: flex;
    z-index: 100;
}

.window.maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: calc(100vh - 50px) !important;
    border-radius: 0;
    animation: none;
}

.window.minimizing {
    animation: windowMinimize 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes windowMinimize {
    to {
        opacity: 0;
        transform: scale(0.3) translateY(100%);
    }
}

.window-titlebar {
    height: 44px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    padding: 0 18px;
    cursor: move;
    user-select: none;
}

.window-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    font-size: 13px;
    font-weight: 500;
}

.window-title .icon {
    font-size: 18px;
}

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

.window-control {
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.window-control:hover {
    background: var(--bg-tertiary);
}

.window-control.close:hover {
    background: #ff4444;
    color: white;
}

.window-content {
    flex: 1;
    overflow: auto;
    background: var(--bg-primary);
}

.window-content::-webkit-scrollbar {
    width: 10px;
}

.window-content::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

.window-content::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 5px;
}

.window-content::-webkit-scrollbar-thumb:hover {
    background: var(--border-bright);
}

/* Browser Styles */
.browser-toolbar {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    align-items: center;
}

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

.browser-nav button {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-nav button:hover:not(:disabled) {
    background: var(--bg-glass-hover);
    color: var(--accent);
}

.browser-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.browser-address-bar {
    flex: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 14px;
    transition: all 0.25s;
}

.browser-address-bar:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.browser-address-bar .lock-icon {
    color: var(--text-muted);
    font-size: 14px;
}

.browser-address-bar input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 13px;
    font-family: 'Sora', sans-serif;
    outline: none;
    padding: 10px 0;
}

.browser-address-bar input::placeholder {
    color: var(--text-muted);
}

.browser-frame {
    flex: 1;
    border: none;
    background: white;
    width: 100%;
    height: 100%;
}

/* File Explorer */
.explorer-sidebar {
    width: 220px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 16px 12px;
    overflow-y: auto;
}

.explorer-section {
    margin-bottom: 24px;
}

.explorer-section h4 {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.explorer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.explorer-item:hover {
    background: var(--bg-tertiary);
}

.explorer-item.active {
    background: var(--accent-dim);
    color: white;
}

.explorer-item .icon {
    font-size: 18px;
}

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

.explorer-toolbar {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.explorer-nav-buttons {
    display: flex;
    gap: 6px;
}

.explorer-nav-buttons button {
    width: 34px;
    height: 34px;
    border: none;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.explorer-nav-buttons button:hover:not(:disabled) {
    background: var(--bg-glass-hover);
}

.explorer-nav-buttons button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.explorer-path {
    flex: 1;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.explorer-content {
    flex: 1;
    padding: 0;
    overflow-y: auto;
}

.file-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 16px;
    padding: 24px;
}

.file-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: transparent;
    border: 1px solid transparent;
}

.file-item:hover {
    background: var(--bg-secondary);
    border-color: var(--border);
}

.file-item .icon {
    font-size: 40px;
}

.file-item span {
    font-size: 12px;
    text-align: center;
    word-break: break-word;
}

/* Calculator */
.calculator-container {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.calculator {
    width: 100%;
    max-width: 360px;
}

.calc-display {
    background: var(--bg-secondary);
    padding: 32px 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: right;
    border: 1px solid var(--border);
}

.calc-expression {
    font-size: 15px;
    color: var(--text-muted);
    height: 24px;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}

.calc-result {
    font-size: 42px;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

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

.calc-button {
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'JetBrains Mono', monospace;
}

.calc-button:hover {
    background: var(--bg-tertiary);
    transform: scale(1.05);
}

.calc-button:active {
    transform: scale(0.98);
}

.calc-button.operator {
    background: var(--accent-dim);
    border-color: var(--accent-dim);
    color: white;
}

.calc-button.operator:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.calc-button.equals {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    grid-column: span 2;
}

.calc-button.clear {
    background: #ff4444;
    border-color: #ff4444;
    color: white;
}

/* Notes App */
.notes-container {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.notes-toolbar {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 12px;
}

.notes-toolbar button {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Sora', sans-serif;
}

.notes-toolbar button:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-bright);
}

.notes-editor {
    flex: 1;
    padding: 24px;
    background: var(--bg-primary);
    border: none;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Sora', sans-serif;
    outline: none;
    resize: none;
    line-height: 1.7;
}

.notes-editor::placeholder {
    color: var(--text-muted);
}

/* Terminal */
.terminal-container {
    padding: 20px;
    font-family: 'JetBrains Mono', monospace;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.terminal-output {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.terminal-line {
    margin-bottom: 4px;
}

.terminal-prompt {
    color: var(--accent);
}

.terminal-input-line {
    display: flex;
    gap: 8px;
    align-items: center;
}

.terminal-input-line .prompt {
    color: var(--accent);
    font-weight: 600;
}

.terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 13px;
    font-family: 'JetBrains Mono', monospace;
    outline: none;
}

/* Settings */
.settings-container {
    display: flex;
    height: 100%;
}

.settings-sidebar {
    width: 240px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 20px 16px;
    overflow-y: auto;
}

.settings-item {
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.settings-item:hover {
    background: var(--bg-tertiary);
}

.settings-item.active {
    background: var(--accent);
    color: white;
}

.settings-item .icon {
    font-size: 18px;
}

.settings-panel {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.settings-panel h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.settings-panel .subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.settings-group {
    margin-bottom: 32px;
}

.settings-group h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
}

.setting-label {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.setting-label .title {
    font-size: 14px;
    font-weight: 500;
}

.setting-label .description {
    font-size: 12px;
    color: var(--text-muted);
}

.toggle {
    width: 48px;
    height: 26px;
    background: var(--bg-tertiary);
    border-radius: 13px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.toggle.on {
    background: var(--accent);
    border-color: var(--accent);
}

.toggle::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle.on::after {
    left: 24px;
}

/* Music Player */
.music-player-container {
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.album-art {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--accent-dim), var(--accent));
    border-radius: 16px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.3);
}

.track-info {
    text-align: center;
    margin-bottom: 32px;
}

.track-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
}

.track-artist {
    font-size: 15px;
    color: var(--text-secondary);
}

.progress-bar {
    width: 100%;
    max-width: 400px;
    margin-bottom: 24px;
}

.progress-track {
    width: 100%;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    margin-bottom: 8px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
    width: 30%;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.progress-time {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.player-controls {
    display: flex;
    gap: 16px;
    align-items: center;
}

.control-button {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.control-button:hover {
    background: var(--bg-tertiary);
    transform: scale(1.1);
}

.control-button.play {
    width: 64px;
    height: 64px;
    background: var(--accent);
    border-color: var(--accent);
    font-size: 28px;
}

.control-button.play:hover {
    background: var(--accent-dim);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.4);
}

/* Task Manager */
.task-manager-container {
    padding: 24px;
}

.task-table {
    width: 100%;
    border-collapse: collapse;
}

.task-table thead {
    background: var(--bg-secondary);
}

.task-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.task-table td {
    padding: 16px;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.task-table tbody tr:hover {
    background: var(--bg-secondary);
}

.task-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.task-icon {
    font-size: 18px;
}

.usage-bar {
    width: 100px;
    height: 6px;
    background: var(--bg-secondary);
    border-radius: 3px;
    overflow: hidden;
}

.usage-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
}

.end-task-btn {
    padding: 6px 14px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Sora', sans-serif;
}

.end-task-btn:hover {
    background: #ff4444;
    border-color: #ff4444;
    color: white;
}

/* Clock */
.clock-container {
    padding: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.clock-display {
    font-size: 72px;
    font-weight: 300;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 16px;
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
}

.clock-date {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.clock-timezone {
    font-size: 14px;
    color: var(--text-muted);
}

/* Responsive Design */
@media (max-width: 768px) {
    .start-menu {
        width: calc(100% - 32px);
        left: 16px;
        transform: none;
    }
    
    .app-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .window {
        width: calc(100% - 32px) !important;
        left: 16px !important;
        right: 16px !important;
    }
}