:root {
    --bg-base: #0d0d10;
    --bg-elevated: #131318;
    --bg-surface: #18181f;
    --bg-hover: #1e1e28;
    --bg-active: #232330;
    --border: #252535;
    --border-subtle: #1c1c28;
    --text-primary: #f0f0f5;
    --text-secondary: #8888a8;
    --text-tertiary: #555570;
    --accent-purple: #7c6cff;
    --accent-purple-dim: rgba(124, 108, 255, 0.12);
    --accent-purple-glow: rgba(124, 108, 255, 0.25);
    --accent-green: #3ecf8e;
    --accent-green-dim: rgba(62, 207, 142, 0.12);
    --accent-amber: #f5a623;
    --accent-amber-dim: rgba(245, 166, 35, 0.12);
    --accent-rose: #ff6b8a;
    --accent-rose-dim: rgba(255, 107, 138, 0.12);
    --accent-blue: #4fb3f6;
    --accent-blue-dim: rgba(79, 179, 246, 0.12);
    --sidebar-w: 220px;
    --radius: 10px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --font: 'DM Sans', sans-serif;
    --mono: 'DM Mono', monospace;
}

/* ═══════════════════════════════════════════════
   GLOBAL SMOOTHNESS
   ═══════════════════════════════════════════════ */
html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Stagger fade-in for list items */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.task-item:nth-child(1) {
    animation-delay: 0ms;
}

.task-item:nth-child(2) {
    animation-delay: 30ms;
}

.task-item:nth-child(3) {
    animation-delay: 60ms;
}

.task-item:nth-child(4) {
    animation-delay: 90ms;
}

.task-item:nth-child(5) {
    animation-delay: 120ms;
}

.task-item:nth-child(6) {
    animation-delay: 150ms;
}

.task-item:nth-child(7) {
    animation-delay: 180ms;
}

.task-item:nth-child(8) {
    animation-delay: 210ms;
}

.habit-item:nth-child(1) {
    animation-delay: 0ms;
}

.habit-item:nth-child(2) {
    animation-delay: 40ms;
}

.habit-item:nth-child(3) {
    animation-delay: 80ms;
}

.habit-item:nth-child(4) {
    animation-delay: 120ms;
}

.habit-item:nth-child(5) {
    animation-delay: 160ms;
}

body {
    font-family: var(--font);
    font-size: 14px;
    background: var(--bg-base);
    color: var(--text-primary);
    display: flex;
    height: 100vh;
    overflow: hidden;
    line-height: 1.5;
    transition: background-color 0.3s ease;
}

