/* ============================================
   DESIGN SYSTEM - GOLD PREMIUM
   Variables, Colors, Fonts, Shadows
   ============================================ */

:root {
    /* Background Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: rgba(20, 20, 20, 0.8);
    --bg-tertiary: rgba(30, 30, 30, 0.6);
    --bg-card: rgba(25, 25, 25, 0.7);
    --bg-card-hover: rgba(35, 35, 35, 0.8);
    --bg-elevated: rgba(40, 40, 40, 0.9);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-bg-hover: rgba(35, 35, 35, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);
    --glass-blur: 20px;

    /* Primary Colors (Citrus Orange) */
    --primary-color: #FF9A1F;
    --primary-dark: #F28C0C;
    --primary-light: #FFB347;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;

    /* Gold Palette */
    --gold-300: #FFD700;
    --gold-dim: rgba(255, 215, 0, 0.08);
    --gold-glow: rgba(255, 215, 0, 0.08);
    --gold-light: #FFA500;

    /* Accent Colors */
    --accent-gold: #FFD700;
    --accent-green: #00D26A;
    --accent-blue: #00A3FF;
    --accent-orange: #FF8C00;
    --accent-red: #FF4757;
    --accent-purple: #9B59B6;

    /* Todo Colors */
    --todo-accent: #FF9A1F;
    --todo-accent-rgb: 255, 154, 31;
    --todo-done: #3CD2A5;
    --todo-done-rgb: 60, 210, 165;
    --todo-high: #ef4444;
    --todo-medium: #f59e0b;
    --todo-low: #10b981;

    /* ============================================
       TAG COLOR SYSTEM - Premium Palette V2
       Distinct colors for each category
       ============================================ */
    --tag-finance: #1E3A5F;
    --tag-business: #166534;
    --tag-technology: #6366F1;
    --tag-education: #0284C7;
    --tag-productivity: #059669;
    --tag-marketing: #E11D48;
    --tag-health: #0D9488;
    --tag-lifestyle: #DB2777;
    --tag-entertainment: #D97706;
    --tag-science: #0891B2;
    --tag-news: #DC2626;
    --tag-personal-development: #65A30D;
    --tag-spirituality: #7C3AED;
    --tag-sports: #047857;
    --tag-creativity: #C026D3;
    --tag-gaming: #5B21B6;
    --tag-politics: #B91C1C;
    --tag-history: #92400E;
    --tag-general: #475569;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    --gradient-gold-soft: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.05));
    --gradient-premium: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-gold: rgba(255, 215, 0, 0.2);
    --border-radius: 16px;
    --border-radius-sm: 10px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.03);
    --shadow-gold-strong: 0 0 25px rgba(255, 215, 0, 0.05);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.05);

    /* Transitions - optimized for snappy feel */
    --transition-fast: 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --sidebar-width: 260px;
    --sidebar-width-collapsed: 72px;
    --topbar-height: 72px;

    /* Card Dimensions */
    --card-width: 340px;
    --card-min-height: 392px;

    /* ============================================
       RESPONSIVE BREAKPOINTS (Desktop Only)
       ============================================ */
    /*
     * Breakpoints reference:
     * - Small laptop:    1024px - 1279px  (sidebar collapsed)
     * - Laptop:          1280px - 1439px  (sidebar normal)
     * - Desktop:         1440px - 1919px  (optimal)
     * - Large desktop:   1920px+          (expanded)
     */
}

/* ============================================
   RESET & BASE
   ============================================ */

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

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   ANIMATIONS
   ============================================ */

/* Base fade in (used for various UI elements) */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Skeleton loading */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* View transition - fade in (fast, subtle) */
@keyframes viewSlideIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* View transition - fade out (instant) */
@keyframes viewSlideOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Card filter animation - subtle fade in */
@keyframes cardFilterIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
