Spaces:
Running
Running
| /* MEXAR Ultimate - Premium Styles */ | |
| :root { | |
| /* HSL Colors for better gradient control */ | |
| --primary-hue: 260; | |
| --secondary-hue: 190; | |
| --primary: hsl(var(--primary-hue), 80%, 65%); | |
| --primary-dark: hsl(var(--primary-hue), 80%, 50%); | |
| --primary-glow: hsla(var(--primary-hue), 80%, 65%, 0.5); | |
| --secondary: hsl(var(--secondary-hue), 80%, 60%); | |
| --secondary-dark: hsl(var(--secondary-hue), 80%, 45%); | |
| --secondary-glow: hsla(var(--secondary-hue), 80%, 60%, 0.5); | |
| --background: #090910; | |
| --surface: #121220; | |
| --surface-light: #1c1c30; | |
| --text-primary: #ffffff; | |
| --text-secondary: #9ca3af; | |
| --success: #10b981; | |
| --warning: #f59e0b; | |
| --error: #ef4444; | |
| } | |
| body { | |
| margin: 0; | |
| font-family: 'Inter', system-ui, -apple-system, sans-serif; | |
| background-color: var(--background); | |
| color: var(--text-primary); | |
| overflow-x: hidden; | |
| overflow-y: auto; | |
| } | |
| html, | |
| body, | |
| #root { | |
| min-height: 100%; | |
| /* overflow: hidden; -- REMOVED to allow scrolling */ | |
| } | |
| /* --- Animated Backgrounds --- */ | |
| .animated-bg { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100vw; | |
| height: 100vh; | |
| z-index: -1; | |
| overflow: hidden; | |
| background: var(--background); | |
| } | |
| .orb { | |
| position: absolute; | |
| border-radius: 50%; | |
| filter: blur(80px); | |
| opacity: 0.4; | |
| animation: float 20s infinite ease-in-out; | |
| } | |
| .orb-1 { | |
| top: -10%; | |
| right: -10%; | |
| width: 600px; | |
| height: 600px; | |
| background: var(--primary-glow); | |
| animation-delay: 0s; | |
| } | |
| .orb-2 { | |
| bottom: -20%; | |
| left: -10%; | |
| width: 500px; | |
| height: 500px; | |
| background: var(--secondary-glow); | |
| animation-delay: -5s; | |
| } | |
| .orb-3 { | |
| top: 40%; | |
| left: 30%; | |
| width: 300px; | |
| height: 300px; | |
| background: hsla(320, 80%, 60%, 0.3); | |
| animation-delay: -10s; | |
| } | |
| @keyframes float { | |
| 0%, | |
| 100% { | |
| transform: translate(0, 0) scale(1); | |
| } | |
| 33% { | |
| transform: translate(30px, -50px) scale(1.1); | |
| } | |
| 66% { | |
| transform: translate(-20px, 20px) scale(0.9); | |
| } | |
| } | |
| /* --- Glassmorphism --- */ | |
| .glass-panel { | |
| background: rgba(18, 18, 32, 0.6); | |
| backdrop-filter: blur(12px); | |
| -webkit-backdrop-filter: blur(12px); | |
| border: 1px solid rgba(255, 255, 255, 0.08); | |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3); | |
| } | |
| .glass-card { | |
| background: rgba(28, 28, 48, 0.5); | |
| backdrop-filter: blur(8px); | |
| border: 1px solid rgba(255, 255, 255, 0.05); | |
| border-radius: 24px; | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .glass-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 1px; | |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); | |
| } | |
| .glass-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); | |
| background: rgba(40, 40, 70, 0.6); | |
| border-color: rgba(139, 92, 246, 0.3); | |
| } | |
| /* --- Advanced Inputs --- */ | |
| .premium-input { | |
| background: rgba(0, 0, 0, 0.2) ; | |
| border-radius: 12px ; | |
| border: 1px solid rgba(255, 255, 255, 0.1) ; | |
| color: white ; | |
| transition: all 0.3s ease ; | |
| } | |
| .premium-input:hover, | |
| .premium-input:focus-within { | |
| background: rgba(0, 0, 0, 0.3) ; | |
| border-color: var(--primary) ; | |
| box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2) ; | |
| } | |
| /* --- Buttons with Shimmer --- */ | |
| .btn-primary { | |
| background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); | |
| color: white; | |
| border: none; | |
| border-radius: 12px; | |
| position: relative; | |
| overflow: hidden; | |
| transition: all 0.3s ease; | |
| z-index: 1; | |
| } | |
| .btn-primary::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 50%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); | |
| transform: skewX(-20deg); | |
| transition: none; | |
| z-index: -1; | |
| } | |
| .btn-primary:hover::after { | |
| left: 200%; | |
| transition: left 0.8s ease-in-out; | |
| } | |
| .btn-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3); | |
| } | |
| .btn-secondary { | |
| background: rgba(255, 255, 255, 0.05); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| color: white; | |
| transition: all 0.3s ease; | |
| } | |
| .btn-secondary:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| border-color: rgba(255, 255, 255, 0.2); | |
| } | |
| /* --- Typing Animations --- */ | |
| .typing-dot { | |
| width: 6px; | |
| height: 6px; | |
| background: var(--text-secondary); | |
| border-radius: 50%; | |
| display: inline-block; | |
| animation: typing 1.4s infinite ease-in-out both; | |
| } | |
| .typing-dot:nth-child(1) { | |
| animation-delay: -0.32s; | |
| } | |
| .typing-dot:nth-child(2) { | |
| animation-delay: -0.16s; | |
| } | |
| @keyframes typing { | |
| 0%, | |
| 80%, | |
| 100% { | |
| transform: scale(0); | |
| } | |
| 40% { | |
| transform: scale(1); | |
| } | |
| } | |
| /* --- Message Bubbles --- */ | |
| .msg-bubble { | |
| padding: 16px 20px; | |
| border-radius: 20px; | |
| position: relative; | |
| box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); | |
| animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| word-break: break-word; | |
| overflow-wrap: anywhere; | |
| } | |
| @keyframes popIn { | |
| from { | |
| opacity: 0; | |
| transform: scale(0.9) translateY(10px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: scale(1) translateY(0); | |
| } | |
| } | |
| .msg-user { | |
| background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); | |
| color: white; | |
| border-bottom-right-radius: 4px; | |
| } | |
| .msg-ai { | |
| background: rgba(255, 255, 255, 0.05); | |
| border: 1px solid rgba(255, 255, 255, 0.05); | |
| border-bottom-left-radius: 4px; | |
| } | |
| /* --- Text Gradient --- */ | |
| .text-gradient { | |
| background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .text-gradient-primary { | |
| background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } |