[data-theme="pinyin"] {
    --primary: #6366f1;
    --primary-dark: #4338ca;
    --primary-light: #a5b4fc;
    --gradient-start: #6366f1;
    --gradient-end: #8b5cf6;
    --shadow-glow: 0 4px 24px rgba(99,102,241,0.12);
    --home-primary: #6366f1;
    --home-primary-dark: #4338ca;
    --home-primary-light: #a5b4fc;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #f0f4ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #faf5ff;
    --home-bg-gradient-2: #f5f3ff;
    --home-bg-gradient-3: #ede9fe;
    --home-active-bg: linear-gradient(179deg, #faf5ff 0%, #f5f3ff 44%, #ede9fe 100%);
    --home-gradient-primary: linear-gradient(90deg, #6366f1, #8b5cf6);
    --home-gradient-hero: linear-gradient(135deg, #6366f1, #8b5cf6);
    --home-shadow-primary: 0 4px 12px rgba(99,102,241,0.2);
}

[data-theme="audio"] {
    --primary: #f97316;
    --primary-dark: #c2410c;
    --primary-light: #fdba74;
    --gradient-start: #f97316;
    --gradient-end: #ef4444;
    --shadow-glow: 0 4px 24px rgba(249,115,22,0.12);
    --home-primary: #f97316;
    --home-primary-dark: #c2410c;
    --home-primary-light: #fdba74;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #fff7ed;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #fff7ed;
    --home-bg-gradient-2: #ffedd5;
    --home-bg-gradient-3: #fed7aa;
    --home-active-bg: linear-gradient(179deg, #fff7ed 0%, #ffedd5 44%, #fed7aa 100%);
    --home-gradient-primary: linear-gradient(90deg, #f97316, #ef4444);
    --home-gradient-hero: linear-gradient(135deg, #f97316, #ef4444);
    --home-shadow-primary: 0 4px 12px rgba(249,115,22,0.2);
}

[data-theme="video"] {
    --primary: #a855f7;
    --primary-dark: #7e22ce;
    --primary-light: #d8b4fe;
    --gradient-start: #a855f7;
    --gradient-end: #ec4899;
    --shadow-glow: 0 4px 24px rgba(168,85,247,0.12);
    --home-primary: #a855f7;
    --home-primary-dark: #7e22ce;
    --home-primary-light: #d8b4fe;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #faf5ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #faf5ff;
    --home-bg-gradient-2: #f5f3ff;
    --home-bg-gradient-3: #ede9fe;
    --home-active-bg: linear-gradient(179deg, #faf5ff 0%, #f5f3ff 44%, #ede9fe 100%);
    --home-gradient-primary: linear-gradient(90deg, #a855f7, #ec4899);
    --home-gradient-hero: linear-gradient(135deg, #a855f7, #ec4899);
    --home-shadow-primary: 0 4px 12px rgba(168,85,247,0.2);
}

[data-theme="timer"] {
    --primary: #10b981;
    --primary-dark: #047857;
    --primary-light: #6ee7b7;
    --gradient-start: #10b981;
    --gradient-end: #06b6d4;
    --shadow-glow: 0 4px 24px rgba(16,185,129,0.12);
    --bg-dark: #011a14;
    --bg-dark-card: rgba(6, 78, 59, 0.6);
    --bg-dark-surface: #022c22;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #f0fdf4;
    --text-on-dark-muted: #d1fae5;
    --text-on-dark-dim: #a7f3d0;
    --border-dark: rgba(16, 185, 129, 0.15);
    --glass-bg: rgba(6, 78, 59, 0.5);
    --glass-border: rgba(16, 185, 129, 0.12);
    --heading-glow: 0 0 40px rgba(16, 185, 129, 0.1);
    --home-primary: #10b981;
    --home-primary-dark: #047857;
    --home-primary-light: #6ee7b7;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #ecfdf5;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #ecfdf5;
    --home-bg-gradient-2: #d1fae5;
    --home-bg-gradient-3: #a7f3d0;
    --home-active-bg: linear-gradient(179deg, #ecfdf5 0%, #d1fae5 44%, #a7f3d0 100%);
    --home-gradient-primary: linear-gradient(90deg, #10b981, #06b6d4);
    --home-gradient-hero: linear-gradient(135deg, #10b981, #06b6d4);
    --home-shadow-primary: 0 4px 12px rgba(16,185,129,0.2);
}

[data-theme="cad"] {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #93c5fd;
    --gradient-start: #3b82f6;
    --gradient-end: #1e40af;
    --shadow-glow: 0 4px 24px rgba(59,130,246,0.12);
    --bg-dark: #0c1929;
    --bg-dark-card: rgba(30, 58, 95, 0.6);
    --bg-dark-surface: #0a1628;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #e0f2fe;
    --text-on-dark-muted: #bae6fd;
    --text-on-dark-dim: #7dd3fc;
    --border-dark: rgba(59, 130, 246, 0.15);
    --glass-bg: rgba(30, 58, 95, 0.5);
    --glass-border: rgba(59, 130, 246, 0.12);
    --heading-glow: 0 0 40px rgba(59, 130, 246, 0.1);
    --home-primary: #3b82f6;
    --home-primary-dark: #1d4ed8;
    --home-primary-light: #93c5fd;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #eff6ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #eff6ff;
    --home-bg-gradient-2: #dbeafe;
    --home-bg-gradient-3: #bfdbfe;
    --home-active-bg: linear-gradient(179deg, #eff6ff 0%, #dbeafe 44%, #bfdbfe 100%);
    --home-gradient-primary: linear-gradient(90deg, #3b82f6, #1e40af);
    --home-gradient-hero: linear-gradient(135deg, #3b82f6, #1e40af);
    --home-shadow-primary: 0 4px 12px rgba(59,130,246,0.2);
}

[data-theme="metadata"] {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #a5b4fc;
    --gradient-start: #4f46e5;
    --gradient-end: #7c3aed;
    --shadow-glow: 0 4px 24px rgba(79,70,229,0.12);
    --bg-dark: #0f0a2e;
    --bg-dark-card: rgba(49, 46, 129, 0.6);
    --bg-dark-surface: #1e1b4b;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #eef2ff;
    --text-on-dark-muted: #c7d2fe;
    --text-on-dark-dim: #a5b4fc;
    --border-dark: rgba(79, 70, 229, 0.15);
    --glass-bg: rgba(49, 46, 129, 0.5);
    --glass-border: rgba(79, 70, 229, 0.12);
    --heading-glow: 0 0 40px rgba(79, 70, 229, 0.1);
    --home-primary: #4f46e5;
    --home-primary-dark: #3730a3;
    --home-primary-light: #a5b4fc;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #eef2ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #eef2ff;
    --home-bg-gradient-2: #e0e7ff;
    --home-bg-gradient-3: #c7d2fe;
    --home-active-bg: linear-gradient(179deg, #eef2ff 0%, #e0e7ff 44%, #c7d2fe 100%);
    --home-gradient-primary: linear-gradient(90deg, #4f46e5, #7c3aed);
    --home-gradient-hero: linear-gradient(135deg, #4f46e5, #7c3aed);
    --home-shadow-primary: 0 4px 12px rgba(79,70,229,0.2);
}

[data-theme="compress"] {
    --primary: #f59e0b;
    --primary-dark: #b45309;
    --primary-light: #fcd34d;
    --gradient-start: #f59e0b;
    --gradient-end: #ef4444;
    --shadow-glow: 0 4px 24px rgba(245,158,11,0.12);
    --bg-dark: #1c0a00;
    --bg-dark-card: rgba(120, 53, 15, 0.6);
    --bg-dark-surface: #451a03;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #fffbeb;
    --text-on-dark-muted: #fef3c7;
    --text-on-dark-dim: #fde68a;
    --border-dark: rgba(245, 158, 11, 0.15);
    --glass-bg: rgba(120, 53, 15, 0.5);
    --glass-border: rgba(245, 158, 11, 0.12);
    --heading-glow: 0 0 40px rgba(245, 158, 11, 0.1);
    --home-primary: #f59e0b;
    --home-primary-dark: #b45309;
    --home-primary-light: #fcd34d;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #fffbeb;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #fffbeb;
    --home-bg-gradient-2: #fef3c7;
    --home-bg-gradient-3: #fde68a;
    --home-active-bg: linear-gradient(179deg, #fffbeb 0%, #fef3c7 44%, #fde68a 100%);
    --home-gradient-primary: linear-gradient(90deg, #f59e0b, #ef4444);
    --home-gradient-hero: linear-gradient(135deg, #f59e0b, #ef4444);
    --home-shadow-primary: 0 4px 12px rgba(245,158,11,0.2);
}

[data-theme="rename"] {
    --primary: #14b8a6;
    --primary-dark: #0f766e;
    --primary-light: #5eead4;
    --gradient-start: #14b8a6;
    --gradient-end: #06b6d4;
    --shadow-glow: 0 4px 24px rgba(20,184,166,0.12);
    --bg-dark: #042f2e;
    --bg-dark-card: rgba(15, 118, 110, 0.6);
    --bg-dark-surface: #0f766e;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #f0fdfa;
    --text-on-dark-muted: #ccfbf1;
    --text-on-dark-dim: #99f6e4;
    --border-dark: rgba(20, 184, 166, 0.15);
    --glass-bg: rgba(15, 118, 110, 0.5);
    --glass-border: rgba(20, 184, 166, 0.12);
    --heading-glow: 0 0 40px rgba(20, 184, 166, 0.1);
    --home-primary: #14b8a6;
    --home-primary-dark: #0f766e;
    --home-primary-light: #5eead4;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #f0fdfa;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #f0fdfa;
    --home-bg-gradient-2: #ccfbf1;
    --home-bg-gradient-3: #99f6e4;
    --home-active-bg: linear-gradient(179deg, #f0fdfa 0%, #ccfbf1 44%, #99f6e4 100%);
    --home-gradient-primary: linear-gradient(90deg, #14b8a6, #06b6d4);
    --home-gradient-hero: linear-gradient(135deg, #14b8a6, #06b6d4);
    --home-shadow-primary: 0 4px 12px rgba(20,184,166,0.2);
}

[data-theme="backup"] {
    --primary: #0ea5e9;
    --primary-dark: #0369a1;
    --primary-light: #7dd3fc;
    --gradient-start: #0ea5e9;
    --gradient-end: #10b981;
    --shadow-glow: 0 4px 24px rgba(14,165,233,0.12);
    --bg-dark: #0c2d48;
    --bg-dark-card: rgba(14, 65, 102, 0.6);
    --bg-dark-surface: #0e4166;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #f0f9ff;
    --text-on-dark-muted: #e0f2fe;
    --text-on-dark-dim: #bae6fd;
    --border-dark: rgba(14, 165, 233, 0.15);
    --glass-bg: rgba(14, 65, 102, 0.5);
    --glass-border: rgba(14, 165, 233, 0.12);
    --heading-glow: 0 0 40px rgba(14, 165, 233, 0.1);
    --home-primary: #0ea5e9;
    --home-primary-dark: #0369a1;
    --home-primary-light: #7dd3fc;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #f0f9ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #f0f9ff;
    --home-bg-gradient-2: #e0f2fe;
    --home-bg-gradient-3: #bae6fd;
    --home-active-bg: linear-gradient(179deg, #f0f9ff 0%, #e0f2fe 44%, #bae6fd 100%);
    --home-gradient-primary: linear-gradient(90deg, #0ea5e9, #10b981);
    --home-gradient-hero: linear-gradient(135deg, #0ea5e9, #10b981);
    --home-shadow-primary: 0 4px 12px rgba(14,165,233,0.2);
}

[data-theme="enlarge"] {
    --primary: #d946ef;
    --primary-dark: #a21caf;
    --primary-light: #f0abfc;
    --gradient-start: #d946ef;
    --gradient-end: #8b5cf6;
    --shadow-glow: 0 4px 24px rgba(217,70,239,0.12);
    --bg-dark: #3b0764;
    --bg-dark-card: rgba(88, 28, 135, 0.6);
    --bg-dark-surface: #581c87;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #fdf4ff;
    --text-on-dark-muted: #fae8ff;
    --text-on-dark-dim: #f5d0fe;
    --border-dark: rgba(217, 70, 239, 0.15);
    --glass-bg: rgba(88, 28, 135, 0.5);
    --glass-border: rgba(217, 70, 239, 0.12);
    --heading-glow: 0 0 40px rgba(217, 70, 239, 0.1);
    --home-primary: #d946ef;
    --home-primary-dark: #a21caf;
    --home-primary-light: #f0abfc;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #fdf4ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #fdf4ff;
    --home-bg-gradient-2: #fae8ff;
    --home-bg-gradient-3: #f5d0fe;
    --home-active-bg: linear-gradient(179deg, #fdf4ff 0%, #fae8ff 44%, #f5d0fe 100%);
    --home-gradient-primary: linear-gradient(90deg, #d946ef, #8b5cf6);
    --home-gradient-hero: linear-gradient(135deg, #d946ef, #8b5cf6);
    --home-shadow-primary: 0 4px 12px rgba(217,70,239,0.2);
}

[data-theme="watermark"] {
    --primary: #06b6d4;
    --primary-dark: #0e7490;
    --primary-light: #67e8f9;
    --gradient-start: #06b6d4;
    --gradient-end: #3b82f6;
    --shadow-glow: 0 4px 24px rgba(6,182,212,0.12);
    --bg-dark: #083344;
    --bg-dark-card: rgba(14, 116, 144, 0.6);
    --bg-dark-surface: #0e7490;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #ecfeff;
    --text-on-dark-muted: #cffafe;
    --text-on-dark-dim: #a5f3fc;
    --border-dark: rgba(6, 182, 212, 0.15);
    --glass-bg: rgba(14, 116, 144, 0.5);
    --glass-border: rgba(6, 182, 212, 0.12);
    --heading-glow: 0 0 40px rgba(6, 182, 212, 0.1);
    --home-primary: #06b6d4;
    --home-primary-dark: #0e7490;
    --home-primary-light: #67e8f9;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #ecfeff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #ecfeff;
    --home-bg-gradient-2: #cffafe;
    --home-bg-gradient-3: #a5f3fc;
    --home-active-bg: linear-gradient(179deg, #ecfeff 0%, #cffafe 44%, #a5f3fc 100%);
    --home-gradient-primary: linear-gradient(90deg, #06b6d4, #3b82f6);
    --home-gradient-hero: linear-gradient(135deg, #06b6d4, #3b82f6);
    --home-shadow-primary: 0 4px 12px rgba(6,182,212,0.2);
}

[data-theme="extract"] {
    --primary: #f59e0b;
    --primary-dark: #92400e;
    --primary-light: #fcd34d;
    --gradient-start: #d97706;
    --gradient-end: #f59e0b;
    --shadow-glow: 0 4px 24px rgba(217,119,6,0.12);
    --bg-dark: #451a03;
    --bg-dark-card: rgba(120, 53, 15, 0.6);
    --bg-dark-surface: #78350f;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #fffbeb;
    --text-on-dark-muted: #fef3c7;
    --text-on-dark-dim: #fde68a;
    --border-dark: rgba(217, 119, 6, 0.15);
    --glass-bg: rgba(120, 53, 15, 0.5);
    --glass-border: rgba(217, 119, 6, 0.12);
    --heading-glow: 0 0 40px rgba(217, 119, 6, 0.1);
    --home-primary: #f59e0b;
    --home-primary-dark: #92400e;
    --home-primary-light: #fcd34d;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #fffbeb;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #fffbeb;
    --home-bg-gradient-2: #fef3c7;
    --home-bg-gradient-3: #fde68a;
    --home-active-bg: linear-gradient(179deg, #fffbeb 0%, #fef3c7 44%, #fde68a 100%);
    --home-gradient-primary: linear-gradient(90deg, #d97706, #f59e0b);
    --home-gradient-hero: linear-gradient(135deg, #d97706, #f59e0b);
    --home-shadow-primary: 0 4px 12px rgba(217,119,6,0.2);
}

[data-theme="pdf"] {
    --primary: #dc2626;
    --primary-dark: #991b1b;
    --primary-light: #fca5a5;
    --gradient-start: #dc2626;
    --gradient-end: #b91c1c;
    --shadow-glow: 0 4px 24px rgba(220,38,38,0.12);
    --home-primary: #dc2626;
    --home-primary-dark: #991b1b;
    --home-primary-light: #fca5a5;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #fef2f2;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #fef2f2;
    --home-bg-gradient-2: #fee2e2;
    --home-bg-gradient-3: #fecaca;
    --home-active-bg: linear-gradient(179deg, #fef2f2 0%, #fee2e2 44%, #fecaca 100%);
    --home-gradient-primary: linear-gradient(90deg, #dc2626, #b91c1c);
    --home-gradient-hero: linear-gradient(135deg, #dc2626, #b91c1c);
    --home-shadow-primary: 0 4px 12px rgba(220,38,38,0.2);
}

[data-theme="soundRecorder"] {
    --primary: #22c55e;
    --primary-dark: #15803d;
    --primary-light: #86efac;
    --gradient-start: #22c55e;
    --gradient-end: #10b981;
    --shadow-glow: 0 4px 24px rgba(34,197,94,0.12);
    --bg-dark: #052e16;
    --bg-dark-card: rgba(6, 95, 70, 0.6);
    --bg-dark-surface: #065f46;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #f0fdf4;
    --text-on-dark-muted: #dcfce7;
    --text-on-dark-dim: #bbf7d0;
    --border-dark: rgba(34, 197, 94, 0.15);
    --glass-bg: rgba(6, 95, 70, 0.5);
    --glass-border: rgba(34, 197, 94, 0.12);
    --heading-glow: 0 0 40px rgba(34, 197, 94, 0.1);
    --home-primary: #22c55e;
    --home-primary-dark: #15803d;
    --home-primary-light: #86efac;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #f0fdf4;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #f0fdf4;
    --home-bg-gradient-2: #dcfce7;
    --home-bg-gradient-3: #bbf7d0;
    --home-active-bg: linear-gradient(179deg, #f0fdf4 0%, #dcfce7 44%, #bbf7d0 100%);
    --home-gradient-primary: linear-gradient(90deg, #22c55e, #10b981);
    --home-gradient-hero: linear-gradient(135deg, #22c55e, #10b981);
    --home-shadow-primary: 0 4px 12px rgba(34,197,94,0.2);
}

[data-theme="heic"] {
    --primary: #ec4899;
    --primary-dark: #be185d;
    --primary-light: #f9a8d4;
    --gradient-start: #ec4899;
    --gradient-end: #f43f5e;
    --shadow-glow: 0 4px 24px rgba(236,72,153,0.12);
    --bg-dark: #500724;
    --bg-dark-card: rgba(131, 24, 67, 0.6);
    --bg-dark-surface: #831843;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #fdf2f8;
    --text-on-dark-muted: #fce7f3;
    --text-on-dark-dim: #fbcfe8;
    --border-dark: rgba(236, 72, 153, 0.15);
    --glass-bg: rgba(131, 24, 67, 0.5);
    --glass-border: rgba(236, 72, 153, 0.12);
    --heading-glow: 0 0 40px rgba(236, 72, 153, 0.1);
    --home-primary: #ec4899;
    --home-primary-dark: #be185d;
    --home-primary-light: #f9a8d4;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #fdf2f8;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #fdf2f8;
    --home-bg-gradient-2: #fce7f3;
    --home-bg-gradient-3: #fbcfe8;
    --home-active-bg: linear-gradient(179deg, #fdf2f8 0%, #fce7f3 44%, #fbcfe8 100%);
    --home-gradient-primary: linear-gradient(90deg, #ec4899, #f43f5e);
    --home-gradient-hero: linear-gradient(135deg, #ec4899, #f43f5e);
    --home-shadow-primary: 0 4px 12px rgba(236,72,153,0.2);
}

[data-theme="create_file"] {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #c4b5fd;
    --gradient-start: #7c3aed;
    --gradient-end: #6366f1;
    --shadow-glow: 0 4px 24px rgba(124,58,237,0.12);
    --bg-dark: #2e1065;
    --bg-dark-card: rgba(76, 29, 149, 0.6);
    --bg-dark-surface: #4c1d95;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #f5f3ff;
    --text-on-dark-muted: #ede9fe;
    --text-on-dark-dim: #ddd6fe;
    --border-dark: rgba(124, 58, 237, 0.15);
    --glass-bg: rgba(76, 29, 149, 0.5);
    --glass-border: rgba(124, 58, 237, 0.12);
    --heading-glow: 0 0 40px rgba(124, 58, 237, 0.1);
    --home-primary: #7c3aed;
    --home-primary-dark: #5b21b6;
    --home-primary-light: #c4b5fd;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #f5f3ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #f5f3ff;
    --home-bg-gradient-2: #ede9fe;
    --home-bg-gradient-3: #ddd6fe;
    --home-active-bg: linear-gradient(179deg, #f5f3ff 0%, #ede9fe 44%, #ddd6fe 100%);
    --home-gradient-primary: linear-gradient(90deg, #7c3aed, #6366f1);
    --home-gradient-hero: linear-gradient(135deg, #7c3aed, #6366f1);
    --home-shadow-primary: 0 4px 12px rgba(124,58,237,0.2);
}

[data-theme="caj"] {
    --primary: #1e3a5f;
    --primary-dark: #0f2440;
    --primary-light: #6b9ac4;
    --gradient-start: #1e3a5f;
    --gradient-end: #2563eb;
    --shadow-glow: 0 4px 24px rgba(30,58,95,0.12);
    --bg-dark: #0c1929;
    --bg-dark-card: rgba(30, 58, 95, 0.6);
    --bg-dark-surface: #1e3a5f;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #f0f9ff;
    --text-on-dark-muted: #e0f2fe;
    --text-on-dark-dim: #bae6fd;
    --border-dark: rgba(30, 58, 95, 0.15);
    --glass-bg: rgba(30, 58, 95, 0.5);
    --glass-border: rgba(30, 58, 95, 0.12);
    --heading-glow: 0 0 40px rgba(30, 58, 95, 0.1);
    --home-primary: #1e3a5f;
    --home-primary-dark: #0f2440;
    --home-primary-light: #6b9ac4;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #f0f9ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #f0f9ff;
    --home-bg-gradient-2: #e0f2fe;
    --home-bg-gradient-3: #bae6fd;
    --home-active-bg: linear-gradient(179deg, #f0f9ff 0%, #e0f2fe 44%, #bae6fd 100%);
    --home-gradient-primary: linear-gradient(90deg, #1e3a5f, #2563eb);
    --home-gradient-hero: linear-gradient(135deg, #1e3a5f, #2563eb);
    --home-shadow-primary: 0 4px 12px rgba(30,58,95,0.2);
}

[data-theme="images"] {
    --primary: #f43f5e;
    --primary-dark: #be123c;
    --primary-light: #fda4af;
    --gradient-start: #f43f5e;
    --gradient-end: #f97316;
    --shadow-glow: 0 4px 24px rgba(244,63,94,0.12);
    --bg-dark: #4c0519;
    --bg-dark-card: rgba(136, 19, 55, 0.6);
    --bg-dark-surface: #881337;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #fff1f2;
    --text-on-dark-muted: #ffe4e6;
    --text-on-dark-dim: #fecdd3;
    --border-dark: rgba(244, 63, 94, 0.15);
    --glass-bg: rgba(136, 19, 55, 0.5);
    --glass-border: rgba(244, 63, 94, 0.12);
    --heading-glow: 0 0 40px rgba(244, 63, 94, 0.1);
    --home-primary: #f43f5e;
    --home-primary-dark: #be123c;
    --home-primary-light: #fda4af;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #fff1f2;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #fff1f2;
    --home-bg-gradient-2: #ffe4e6;
    --home-bg-gradient-3: #fecdd3;
    --home-active-bg: linear-gradient(179deg, #fff1f2 0%, #ffe4e6 44%, #fecdd3 100%);
    --home-gradient-primary: linear-gradient(90deg, #f43f5e, #f97316);
    --home-gradient-hero: linear-gradient(135deg, #f43f5e, #f97316);
    --home-shadow-primary: 0 4px 12px rgba(244,63,94,0.2);
}

[data-theme="ebook"] {
    --primary: #92400e;
    --primary-dark: #78350f;
    --primary-light: #fbbf24;
    --gradient-start: #b45309;
    --gradient-end: #d97706;
    --shadow-glow: 0 4px 24px rgba(146,64,14,0.12);
    --bg-dark: #451a03;
    --bg-dark-card: rgba(120, 53, 15, 0.6);
    --bg-dark-surface: #78350f;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #fffbeb;
    --text-on-dark-muted: #fef3c7;
    --text-on-dark-dim: #fde68a;
    --border-dark: rgba(180, 83, 9, 0.15);
    --glass-bg: rgba(120, 53, 15, 0.5);
    --glass-border: rgba(180, 83, 9, 0.12);
    --heading-glow: 0 0 40px rgba(180, 83, 9, 0.1);
    --home-primary: #92400e;
    --home-primary-dark: #78350f;
    --home-primary-light: #fbbf24;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #fffbeb;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #fffbeb;
    --home-bg-gradient-2: #fef3c7;
    --home-bg-gradient-3: #fde68a;
    --home-active-bg: linear-gradient(179deg, #fffbeb 0%, #fef3c7 44%, #fde68a 100%);
    --home-gradient-primary: linear-gradient(90deg, #b45309, #d97706);
    --home-gradient-hero: linear-gradient(135deg, #b45309, #d97706);
    --home-shadow-primary: 0 4px 12px rgba(146,64,14,0.2);
}

[data-theme="ofd"] {
    --primary: #0d9488;
    --primary-dark: #115e59;
    --primary-light: #5eead4;
    --gradient-start: #0d9488;
    --gradient-end: #0f766e;
    --shadow-glow: 0 4px 24px rgba(13,148,136,0.12);
    --bg-dark: #042f2e;
    --bg-dark-card: rgba(17, 94, 89, 0.6);
    --bg-dark-surface: #115e59;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #f0fdfa;
    --text-on-dark-muted: #ccfbf1;
    --text-on-dark-dim: #99f6e4;
    --border-dark: rgba(13, 148, 136, 0.15);
    --glass-bg: rgba(17, 94, 89, 0.5);
    --glass-border: rgba(13, 148, 136, 0.12);
    --heading-glow: 0 0 40px rgba(13, 148, 136, 0.1);
    --home-primary: #0d9488;
    --home-primary-dark: #115e59;
    --home-primary-light: #5eead4;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #f0fdfa;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #f0fdfa;
    --home-bg-gradient-2: #ccfbf1;
    --home-bg-gradient-3: #99f6e4;
    --home-active-bg: linear-gradient(179deg, #f0fdfa 0%, #ccfbf1 44%, #99f6e4 100%);
    --home-gradient-primary: linear-gradient(90deg, #0d9488, #0f766e);
    --home-gradient-hero: linear-gradient(135deg, #0d9488, #0f766e);
    --home-shadow-primary: 0 4px 12px rgba(13,148,136,0.2);
}

[data-theme="voiceTextConverter"] {
    --primary: #6366f1;
    --primary-dark: #4338ca;
    --primary-light: #a5b4fc;
    --gradient-start: #6366f1;
    --gradient-end: #06b6d4;
    --shadow-glow: 0 4px 24px rgba(99,102,241,0.12);
    --bg-dark: #1e1b4b;
    --bg-dark-card: rgba(49, 46, 129, 0.6);
    --bg-dark-surface: #312e81;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #eef2ff;
    --text-on-dark-muted: #e0e7ff;
    --text-on-dark-dim: #c7d2fe;
    --border-dark: rgba(99, 102, 241, 0.15);
    --glass-bg: rgba(49, 46, 129, 0.5);
    --glass-border: rgba(99, 102, 241, 0.12);
    --heading-glow: 0 0 40px rgba(99, 102, 241, 0.1);
    --home-primary: #6366f1;
    --home-primary-dark: #4338ca;
    --home-primary-light: #a5b4fc;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #eef2ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #eef2ff;
    --home-bg-gradient-2: #e0e7ff;
    --home-bg-gradient-3: #c7d2fe;
    --home-active-bg: linear-gradient(179deg, #eef2ff 0%, #e0e7ff 44%, #c7d2fe 100%);
    --home-gradient-primary: linear-gradient(90deg, #6366f1, #06b6d4);
    --home-gradient-hero: linear-gradient(135deg, #6366f1, #06b6d4);
    --home-shadow-primary: 0 4px 12px rgba(99,102,241,0.2);
}

[data-theme="screenshot"] {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #7dd3fc;
    --gradient-start: #0ea5e9;
    --gradient-end: #38bdf8;
    --shadow-glow: 0 4px 24px rgba(14,165,233,0.12);
    --bg-dark: #0c2d48;
    --bg-dark-card: rgba(14, 65, 102, 0.6);
    --bg-dark-surface: #0e4166;
    --text-on-dark: #ffffff;
    --text-on-dark-secondary: #f0f9ff;
    --text-on-dark-muted: #e0f2fe;
    --text-on-dark-dim: #bae6fd;
    --border-dark: rgba(14, 165, 233, 0.15);
    --glass-bg: rgba(14, 65, 102, 0.5);
    --glass-border: rgba(14, 165, 233, 0.12);
    --heading-glow: 0 0 40px rgba(14, 165, 233, 0.1);
    --home-primary: #0ea5e9;
    --home-primary-dark: #0284c7;
    --home-primary-light: #7dd3fc;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #f0f9ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #f0f9ff;
    --home-bg-gradient-2: #e0f2fe;
    --home-bg-gradient-3: #bae6fd;
    --home-active-bg: linear-gradient(179deg, #f0f9ff 0%, #e0f2fe 44%, #bae6fd 100%);
    --home-gradient-primary: linear-gradient(90deg, #0ea5e9, #38bdf8);
    --home-gradient-hero: linear-gradient(135deg, #0ea5e9, #38bdf8);
    --home-shadow-primary: 0 4px 12px rgba(14,165,233,0.2);
}

[data-theme="ocr"] {
    --primary: #8b5cf6;
    --primary-dark: #6d28d9;
    --primary-light: #c4b5fd;
    --gradient-start: #8b5cf6;
    --gradient-end: #a855f7;
    --shadow-glow: 0 4px 24px rgba(139,92,246,0.12);
    --home-primary: #8b5cf6;
    --home-primary-dark: #6d28d9;
    --home-primary-light: #c4b5fd;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #f5f3ff;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #f5f3ff;
    --home-bg-gradient-2: #ede9fe;
    --home-bg-gradient-3: #ddd6fe;
    --home-active-bg: linear-gradient(179deg, #f5f3ff 0%, #ede9fe 44%, #ddd6fe 100%);
    --home-gradient-primary: linear-gradient(90deg, #8b5cf6, #a855f7);
    --home-gradient-hero: linear-gradient(135deg, #8b5cf6, #a855f7);
    --home-shadow-primary: 0 4px 12px rgba(139,92,246,0.2);
}

[data-theme="wechat"] {
    --primary: #07c160;
    --primary-dark: #06ad56;
    --primary-light: #4ade80;
    --gradient-start: #07c160;
    --gradient-end: #10b981;
    --shadow-glow: 0 4px 24px rgba(7,193,96,0.12);
    --home-primary: #07c160;
    --home-primary-dark: #06ad56;
    --home-primary-light: #4ade80;
    --home-accent: #f59e0b;
    --home-danger: #ef4444;
    --home-success: #10b981;
    --home-bg: #f8fafc;
    --home-bg-card: #ffffff;
    --home-bg-dark: #f0fdf4;
    --home-bg-section: #f1f5f9;
    --home-text-primary: #1e293b;
    --home-text-secondary: #64748b;
    --home-text-light: #94a3b8;
    --home-border: #e2e8f0;
    --home-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --home-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --home-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --home-radius: 12px;
    --home-radius-lg: 16px;
    --home-radius-xl: 24px;
    --home-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --home-bg-gradient-1: #f0fdf4;
    --home-bg-gradient-2: #dcfce7;
    --home-bg-gradient-3: #bbf7d0;
    --home-active-bg: linear-gradient(179deg, #f0fdf4 0%, #dcfce7 44%, #bbf7d0 100%);
    --home-gradient-primary: linear-gradient(90deg, #07c160, #10b981);
    --home-gradient-hero: linear-gradient(135deg, #07c160, #10b981);
    --home-shadow-primary: 0 4px 12px rgba(7,193,96,0.2);
}
