Spaces:
3SCError404
/
Paused

dushyantsingh0
backend stabilization
63828f5
Raw History Blame Contribute Delete
4.34 kB
:root {
/* Enterprise Slate System - Professional & High-Contrast */
/* Background Levels */
--bg-dark: #f8fafc; /* Slate-50 (Body) */
--bg-card: #ffffff; /* Pure White (Surface) */
--bg-hover: #f1f5f9; /* Slate-100 (Active/Hover) */
--bg-panel: hsla(215, 28%, 17%, 0.04); /* Subtle Shadow-based surface */
--bg-popover: #1e293b; /* Deep Slate for dark dropdowns */
/* Primary Branding (Modern Violet & Indigo) */
--primary: #7c3aed; /* Mission Violet */
--primary-light: #a78bfa;
--primary-glow: rgba(124, 58, 237, 0.08);
--secondary: #4338ca; /* Indigo-700 */
/* Neural Horizon Overhaul - Refined Contrast */
--bg-obsidian: #0f172a; /* Refined Slate-900 (Professional Primary Dark) */
--neural-accent-violet: #a855f7;
--neural-accent-cyan: #06b6d4;
--neural-accent-amber: #fbbf24;
--neural-accent-indigo: #6366f1;
--brand-gradient: linear-gradient(135deg, var(--neural-accent-indigo) 0%, var(--neural-accent-violet) 100%);
/* Typography Hierarchy */
--text-main: #0f172a; /* Slate-900 */
--text-muted: #64748b; /* Slate-500 */
--text-on-dark: #ffffff;
--text-inverse: #ffffff;
--text-popover: #f1f5f9; /* Contrast text for dark popovers */
/* Borders & Accents */
--border-subtle: #e2e8f0;
--border-hi: #cbd5e1;
--border-active: #7c3aed;
/* Semantic States */
--success: #10b981;
--warning: #f59e0b;
--error: #ef4444;
/* Layout Constants */
--banner-gradient: linear-gradient(135deg, #6d28d9 0%, #7c3aed 100%);
--glass-bg: rgba(255, 255, 255, 0.7);
--glass-border: rgba(0, 0, 0, 0.04);
--glass-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
/* Spacing & Radii */
--radius-sm: 8px;
--radius-md: 12px;
--radius-lg: 20px;
/* Modern Dashboard Constants */
--hero-mesh: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
--radius-xl: 32px;
--radius-full: 9999px;
/* Fonts */
--font-sans: 'Inter', 'Segoe UI', system-ui, sans-serif;
--font-main: 'DM Sans', var(--font-sans);
--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}
/* Premium Selection & Scrollbars */
::selection {
background-color: var(--primary-glow);
color: var(--primary);
}
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: transparent;
}
::-webkit-scrollbar-thumb {
background: var(--border-hi);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-dark);
color: var(--text-main);
font-family: var(--font-main);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.6;
overflow-x: hidden;
}
h1, h2, h3, h4 {
font-weight: 800;
letter-spacing: -0.02em;
color: var(--text-main);
}
button {
cursor: pointer;
border: none;
font-family: inherit;
background: none;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
input, textarea, select {
font-family: inherit;
outline: none;
background: none;
border: none;
}
/* Common Micro-Animations */
.hover-lift {
transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-lift:hover {
transform: translateY(-2px);
}
.glass-surface {
background: var(--glass-bg);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid var(--glass-border);
box-shadow: var(--glass-shadow);
}
.animate-fade-in {
animation: fadeIn 0.5s ease-out forwards;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes meshGradient {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
@keyframes gridFloat {
from { transform: translateY(0); }
to { transform: translateY(20px); }
}
.tactical-grid {
position: absolute;
top: -50%;
left: -50%;
right: -50%;
bottom: -50%;
background-image:
linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
background-size: 30px 30px;
mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
pointer-events: none;
animation: gridFloat 20s linear infinite;
z-index: 1;
}