/* Reset and Base Styles */ * { margin: 0; padding: 0; box-sizing: border-box; } :root { --primary: #6366f1; --secondary: #8b5cf6; --accent: #ec4899; --success: #10b981; --warning: #f59e0b; --error: #ef4444; --bg-dark: #0f172a; --bg-medium: #1e293b; --bg-light: #334155; --text-primary: #f1f5f9; --text-secondary: #cbd5e1; --text-muted: #94a3b8; --glass-bg: rgba(255, 255, 255, 0.05); --glass-border: rgba(255, 255, 255, 0.1); --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1); --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2); --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3); } body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg-dark); color: var(--text-primary); line-height: 1.6; min-height: 100vh; overflow-x: hidden; } /* Background Animation */ .background-animation { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%); overflow: hidden; } .background-animation::before { content: ''; position: absolute; width: 500px; height: 500px; background: radial-gradient(circle, rgba(99, 102, 241, 0.15), transparent 70%); border-radius: 50%; top: -250px; right: -250px; animation: float 20s ease-in-out infinite; } .background-animation::after { content: ''; position: absolute; width: 400px; height: 400px; background: radial-gradient(circle, rgba(139, 92, 246, 0.15), transparent 70%); border-radius: 50%; bottom: -200px; left: -200px; animation: float 15s ease-in-out infinite reverse; } @keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(30px, -30px) rotate(120deg); } 66% { transform: translate(-20px, 20px) rotate(240deg); } } /* Container */ .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } /* Header */ .header { padding: 2rem 0; border-bottom: 1px solid var(--glass-border); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; background: rgba(15, 23, 42, 0.8); } .header-content { text-align: center; } .logo { font-size: 2.5rem; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: inline-block; margin-bottom: 0.5rem; } .icon { font-size: 2rem; display: inline-block; animation: dance 2s ease-in-out infinite; } @keyframes dance { 0%, 100% { transform: rotate(0deg); } 25% { transform: rotate(-10deg); } 75% { transform: rotate(10deg); } } .tagline { color: var(--text-secondary); font-size: 1rem; } /* Main Content */ .main-content { padding: 3rem 0; min-height: calc(100vh - 200px); } /* Glass Card */ .glass-card { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 1.5rem; padding: 2rem; margin-bottom: 2rem; box-shadow: var(--shadow-lg); transition: transform 0.3s ease, box-shadow 0.3s ease; } .glass-card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4); } .card-header { margin-bottom: 1.5rem; text-align: center; } .card-header h2 { font-size: 1.75rem; margin-bottom: 0.5rem; } .card-header p { color: var(--text-secondary); font-size: 0.95rem; } /* Upload Zone */ .upload-zone { border: 2px dashed var(--glass-border); border-radius: 1rem; padding: 3rem; text-align: center; cursor: pointer; transition: all 0.3s ease; position: relative; overflow: hidden; } .upload-zone:hover { border-color: var(--primary); background: rgba(99, 102, 241, 0.05); } .upload-zone.drag-over { border-color: var(--accent); background: rgba(236, 72, 153, 0.1); transform: scale(1.02); } .upload-icon { font-size: 4rem; margin-bottom: 1rem; animation: bounce 2s ease-in-out infinite; } @keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } } .upload-text { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; } .upload-subtext { color: var(--text-secondary); margin-bottom: 1rem; } .upload-specs { color: var(--text-muted); font-size: 0.875rem; } /* File Info */ .file-info { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; background: rgba(99, 102, 241, 0.1); border-radius: 0.75rem; margin-top: 1rem; } .file-details { flex: 1; } .file-name { font-weight: 600; margin-bottom: 0.25rem; } .file-meta { color: var(--text-secondary); font-size: 0.875rem; } /* Buttons */ .btn { padding: 0.75rem 1.5rem; border: none; border-radius: 0.5rem; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; } .btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6); } .btn-secondary { background: var(--glass-bg); color: var(--text-primary); border: 1px solid var(--glass-border); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary); } .btn-download { background: linear-gradient(135deg, var(--success), #059669); color: white; margin-top: 1rem; width: 100%; } .btn-download:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); } /* Progress */ .progress-container { margin: 2rem 0; } .progress-bar { height: 1rem; background: var(--bg-light); border-radius: 0.5rem; overflow: hidden; position: relative; } .progress-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 0.5rem; width: 0%; transition: width 0.3s ease; position: relative; overflow: hidden; } .progress-fill::after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.3), transparent ); animation: shimmer 2s infinite; } @keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } } .progress-text { text-align: center; margin-top: 0.5rem; font-weight: 600; color: var(--primary); } .processing-stats { display: flex; justify-content: space-around; margin-top: 1.5rem; } .stat-item { text-align: center; } .stat-label { display: block; color: var(--text-muted); font-size: 0.875rem; margin-bottom: 0.25rem; } .stat-value { display: block; font-size: 1.25rem; font-weight: 600; color: var(--primary); } /* Video Grid */ .video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .video-container { text-align: center; } .video-container h3 { margin-bottom: 1rem; font-size: 1.25rem; } .video-container video { width: 100%; border-radius: 0.75rem; background: var(--bg-medium); box-shadow: var(--shadow-md); } /* Metrics Grid */ .metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; } .metric-card { padding: 1.5rem; text-align: center; } .metric-header { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; } .metric-icon { font-size: 2rem; } .metric-header h3 { font-size: 1rem; font-weight: 600; } .metric-value { font-size: 2.5rem; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem; } .metric-subvalue { color: var(--text-secondary); font-size: 0.875rem; } /* Intensity Bar */ .intensity-bar { height: 0.5rem; background: var(--bg-light); border-radius: 0.25rem; overflow: hidden; margin-top: 0.75rem; } .intensity-fill { height: 100%; background: linear-gradient(90deg, var(--success), var(--warning), var(--error)); border-radius: 0.25rem; width: 0%; transition: width 0.6s ease; } /* Body Parts */ .body-parts { display: grid; gap: 1rem; } .body-part-item { display: flex; align-items: center; gap: 1rem; } .body-part-name { min-width: 120px; font-weight: 600; text-transform: capitalize; } .body-part-bar { flex: 1; height: 2rem; background: var(--bg-light); border-radius: 0.5rem; overflow: hidden; position: relative; } .body-part-fill { height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 0.5rem; display: flex; align-items: center; justify-content: flex-end; padding-right: 0.75rem; color: white; font-weight: 600; font-size: 0.875rem; transition: width 0.6s ease; } /* Rhythm Info */ .rhythm-info { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; } .rhythm-item { text-align: center; } .rhythm-label { display: block; color: var(--text-muted); font-size: 0.875rem; margin-bottom: 0.5rem; } .rhythm-value { display: block; font-size: 2rem; font-weight: 700; color: var(--primary); } /* Action Buttons */ .action-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; } /* Footer */ .footer { border-top: 1px solid var(--glass-border); padding: 2rem 0; text-align: center; backdrop-filter: blur(10px); background: rgba(15, 23, 42, 0.8); } .footer p { color: var(--text-secondary); margin-bottom: 0.5rem; } .footer-links { display: flex; justify-content: center; gap: 1.5rem; } .footer-links a { color: var(--primary); text-decoration: none; transition: color 0.3s ease; } .footer-links a:hover { color: var(--accent); } /* Toast Notification */ .toast { position: fixed; bottom: 2rem; right: 2rem; padding: 1rem 1.5rem; background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 0.75rem; color: var(--text-primary); box-shadow: var(--shadow-lg); transform: translateY(200%); transition: transform 0.3s ease; z-index: 1000; max-width: 400px; } .toast.show { transform: translateY(0); } .toast.success { border-left: 4px solid var(--success); } .toast.error { border-left: 4px solid var(--error); } .toast.info { border-left: 4px solid var(--primary); } /* Responsive */ @media (max-width: 768px) { .logo { font-size: 1.75rem; } .video-grid { grid-template-columns: 1fr; } .metrics-grid { grid-template-columns: 1fr; } .file-info { flex-direction: column; gap: 1rem; } .action-buttons { flex-direction: column; } .btn { width: 100%; } } /* Loading Animation */ @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } } .loading { animation: pulse 2s ease-in-out infinite; }