Spaces:
Sleeping
Sleeping
| :root { | |
| --bg-color: #050a0f; | |
| --card-bg: rgba(13, 25, 35, 0.7); | |
| --accent: #00f2ff; | |
| --accent-glow: rgba(0, 242, 255, 0.3); | |
| --text-primary: #e0f2f1; | |
| --text-secondary: #94a3b8; | |
| --danger: #ff4d4d; | |
| --success: #00ff88; | |
| --glass-border: rgba(255, 255, 255, 0.1); | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Outfit', sans-serif; | |
| background-color: var(--bg-color); | |
| color: var(--text-primary); | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| } | |
| .background-mesh { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-image: | |
| radial-gradient(circle at 20% 30%, rgba(0, 242, 255, 0.05) 0%, transparent 40%), | |
| radial-gradient(circle at 80% 70%, rgba(0, 242, 255, 0.05) 0%, transparent 40%); | |
| z-index: -1; | |
| } | |
| .background-mesh::after { | |
| content: ""; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px); | |
| background-size: 50px 50px; | |
| } | |
| .scan-line { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 2px; | |
| background: linear-gradient(90deg, transparent, var(--accent), transparent); | |
| opacity: 0.1; | |
| animation: scanMove 8s linear infinite; | |
| z-index: 100; | |
| } | |
| @keyframes scanMove { | |
| 0% { transform: translateY(-100vh); } | |
| 100% { transform: translateY(100vh); } | |
| } | |
| .container { | |
| width: 90%; | |
| max-width: 1000px; | |
| padding: 2rem; | |
| z-index: 1; | |
| } | |
| .header { | |
| text-align: center; | |
| margin-bottom: 3rem; | |
| } | |
| .logo { | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| gap: 1rem; | |
| margin-bottom: 0.5rem; | |
| } | |
| .logo-icon { | |
| font-size: 2.5rem; | |
| color: var(--accent); | |
| text-shadow: 0 0 15px var(--accent-glow); | |
| } | |
| h1 { | |
| font-family: 'Orbitron', sans-serif; | |
| font-size: 2.5rem; | |
| letter-spacing: 4px; | |
| } | |
| .accent { | |
| color: var(--accent); | |
| text-shadow: 0 0 10px var(--accent-glow); | |
| } | |
| .subtitle { | |
| color: var(--text-secondary); | |
| letter-spacing: 2px; | |
| text-transform: uppercase; | |
| font-size: 0.8rem; | |
| } | |
| .analysis-core { | |
| display: grid; | |
| grid-template-columns: 1fr 1fr; | |
| gap: 2rem; | |
| align-items: start; | |
| } | |
| .upload-zone { | |
| background: var(--card-bg); | |
| border: 2px dashed var(--glass-border); | |
| border-radius: 20px; | |
| height: 400px; | |
| position: relative; | |
| cursor: pointer; | |
| overflow: hidden; | |
| transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| backdrop-filter: blur(10px); | |
| } | |
| .upload-zone:hover { | |
| border-color: var(--accent); | |
| box-shadow: 0 0 30px var(--accent-glow); | |
| } | |
| .upload-content { | |
| text-align: center; | |
| transition: opacity 0.3s; | |
| } | |
| .hex-icon { | |
| width: 80px; | |
| height: 80px; | |
| margin: 0 auto 1.5rem; | |
| background: var(--accent); | |
| clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| position: relative; | |
| } | |
| .hex-inner { | |
| width: 70px; | |
| height: 70px; | |
| background: var(--bg-color); | |
| clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%); | |
| } | |
| .preview-container { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| display: none; | |
| background: var(--bg-color); | |
| } | |
| #imagePreview { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: contain; | |
| } | |
| .scanning-overlay { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(0, 242, 255, 0.1); | |
| display: none; | |
| } | |
| .scanner-bar { | |
| width: 100%; | |
| height: 4px; | |
| background: var(--accent); | |
| box-shadow: 0 0 20px var(--accent); | |
| position: absolute; | |
| top: 0; | |
| animation: scannerAnimate 2s linear infinite; | |
| } | |
| @keyframes scannerAnimate { | |
| 0% { top: 0; } | |
| 50% { top: 100%; } | |
| 100% { top: 0; } | |
| } | |
| .results-panel { | |
| background: var(--card-bg); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 20px; | |
| padding: 2rem; | |
| min-height: 400px; | |
| display: flex; | |
| flex-direction: column; | |
| backdrop-filter: blur(10px); | |
| } | |
| .status-indicator { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.75rem; | |
| margin-bottom: 2rem; | |
| font-size: 0.9rem; | |
| color: var(--text-secondary); | |
| } | |
| .pulse { | |
| width: 8px; | |
| height: 8px; | |
| background: var(--accent); | |
| border-radius: 50%; | |
| box-shadow: 0 0 10px var(--accent); | |
| animation: blink 1.5s infinite; | |
| } | |
| @keyframes blink { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.3; } | |
| } | |
| .main-result { | |
| margin-bottom: 2rem; | |
| } | |
| .main-result label { | |
| font-size: 0.7rem; | |
| text-transform: uppercase; | |
| letter-spacing: 2px; | |
| color: var(--text-secondary); | |
| display: block; | |
| margin-bottom: 0.5rem; | |
| } | |
| #predictedClass { | |
| font-family: 'Orbitron', sans-serif; | |
| font-size: 1.8rem; | |
| color: var(--accent); | |
| } | |
| .meter-header { | |
| display: flex; | |
| justify-content: space-between; | |
| font-size: 0.8rem; | |
| margin-bottom: 0.5rem; | |
| } | |
| .meter-bar { | |
| height: 10px; | |
| background: rgba(255,255,255,0.05); | |
| border-radius: 5px; | |
| overflow: hidden; | |
| margin-bottom: 2rem; | |
| } | |
| .meter-fill { | |
| height: 100%; | |
| width: 0%; | |
| background: linear-gradient(90deg, var(--accent), var(--success)); | |
| transition: width 1s ease-out; | |
| } | |
| .probability-breakdown { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.75rem; | |
| margin-bottom: 2rem; | |
| } | |
| .prob-item { | |
| display: flex; | |
| justify-content: space-between; | |
| font-size: 0.85rem; | |
| padding: 0.5rem; | |
| background: rgba(255,255,255,0.03); | |
| border-radius: 5px; | |
| } | |
| .reset-btn { | |
| margin-top: auto; | |
| background: transparent; | |
| border: 1px solid var(--accent); | |
| color: var(--accent); | |
| padding: 1rem; | |
| border-radius: 10px; | |
| font-family: 'Orbitron', sans-serif; | |
| cursor: pointer; | |
| transition: all 0.3s; | |
| text-transform: uppercase; | |
| letter-spacing: 2px; | |
| } | |
| .reset-btn:hover { | |
| background: var(--accent); | |
| color: var(--bg-color); | |
| box-shadow: 0 0 20px var(--accent-glow); | |
| } | |
| .footer { | |
| margin-top: 2rem; | |
| border-top: 1px solid var(--glass-border); | |
| padding-top: 1rem; | |
| } | |
| .system-stats { | |
| display: flex; | |
| justify-content: center; | |
| gap: 2rem; | |
| font-size: 0.7rem; | |
| color: var(--text-secondary); | |
| font-family: monospace; | |
| } | |
| @media (max-width: 768px) { | |
| .analysis-core { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |