| |
|
|
| :root { |
| --bg-dark: #070913; |
| --panel-bg: rgba(13, 17, 33, 0.45); |
| --panel-border: rgba(255, 255, 255, 0.08); |
| --primary: #6366f1; |
| --primary-glow: rgba(99, 102, 241, 0.45); |
| --primary-hover: #4f46e5; |
| --accent: #d946ef; |
| --accent-glow: rgba(217, 70, 239, 0.45); |
| --success: #10b981; |
| --info: #06b6d4; |
| --warning: #f59e0b; |
| --danger: #ef4444; |
| --text-main: #f3f4f6; |
| --text-muted: #9ca3af; |
| --text-dark: #4b5563; |
| --font-heading: 'Outfit', sans-serif; |
| --font-body: 'Plus Jakarta Sans', sans-serif; |
| --radius-lg: 16px; |
| --radius-md: 12px; |
| --radius-sm: 8px; |
| --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| } |
|
|
| * { |
| margin: 0; |
| padding: 0; |
| box-sizing: border-box; |
| } |
|
|
| body { |
| background-color: var(--bg-dark); |
| color: var(--text-main); |
| font-family: var(--font-body); |
| min-height: 100vh; |
| overflow-x: hidden; |
| position: relative; |
| } |
|
|
| |
| .glow-sphere { |
| position: absolute; |
| border-radius: 50%; |
| filter: blur(140px); |
| z-index: 0; |
| opacity: 0.4; |
| pointer-events: none; |
| } |
|
|
| .sphere-1 { |
| width: 450px; |
| height: 450px; |
| background: radial-gradient(circle, var(--primary) 0%, rgba(99, 102, 241, 0) 70%); |
| top: -100px; |
| left: -150px; |
| } |
|
|
| .sphere-2 { |
| width: 500px; |
| height: 500px; |
| background: radial-gradient(circle, var(--accent) 0%, rgba(217, 70, 239, 0) 70%); |
| bottom: -150px; |
| right: -100px; |
| } |
|
|
| .sphere-3 { |
| width: 350px; |
| height: 350px; |
| background: radial-gradient(circle, var(--info) 0%, rgba(6, 182, 212, 0) 70%); |
| top: 40%; |
| left: 50%; |
| transform: translate(-50%, -50%); |
| } |
|
|
| |
| .app-container { |
| width: 100%; |
| max-width: 1440px; |
| margin: 0 auto; |
| padding: 30px 20px; |
| position: relative; |
| z-index: 1; |
| display: flex; |
| flex-direction: column; |
| gap: 30px; |
| } |
|
|
| |
| .app-header { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| padding-bottom: 10px; |
| } |
|
|
| .logo { |
| display: flex; |
| align-items: center; |
| gap: 15px; |
| } |
|
|
| .logo-icon { |
| font-size: 32px; |
| background: linear-gradient(135deg, var(--primary), var(--accent)); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| } |
|
|
| .logo-text h1 { |
| font-family: var(--font-heading); |
| font-size: 28px; |
| font-weight: 700; |
| letter-spacing: -0.5px; |
| } |
|
|
| .logo-text h1 span { |
| background: linear-gradient(135deg, var(--primary), var(--accent)); |
| -webkit-background-clip: text; |
| -webkit-text-fill-color: transparent; |
| } |
|
|
| .logo-text p { |
| font-size: 12px; |
| color: var(--text-muted); |
| font-weight: 500; |
| } |
|
|
| .status-badge { |
| background: rgba(255, 255, 255, 0.05); |
| border: 1px solid var(--panel-border); |
| padding: 6px 14px; |
| border-radius: 20px; |
| font-size: 12px; |
| font-weight: 600; |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| } |
|
|
| .status-dot { |
| font-size: 8px; |
| } |
|
|
| .status-dot.online { |
| color: var(--success); |
| text-shadow: 0 0 8px var(--success); |
| } |
|
|
| |
| .glass { |
| background: var(--panel-bg); |
| backdrop-filter: blur(16px); |
| -webkit-backdrop-filter: blur(16px); |
| border: 1px solid var(--panel-border); |
| border-radius: var(--radius-lg); |
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); |
| } |
|
|
| .glass-dark { |
| background: rgba(4, 6, 15, 0.75); |
| backdrop-filter: blur(12px); |
| border: 1px solid var(--panel-border); |
| border-radius: var(--radius-md); |
| } |
|
|
| |
| .app-workspace { |
| display: grid; |
| grid-template-columns: 380px 1fr; |
| gap: 25px; |
| } |
|
|
| @media (max-width: 1024px) { |
| .app-workspace { |
| grid-template-columns: 1fr; |
| } |
| } |
|
|
| .workspace-panel { |
| display: flex; |
| flex-direction: column; |
| padding: 24px; |
| gap: 20px; |
| min-height: 520px; |
| } |
|
|
| .panel-header h2 { |
| font-family: var(--font-heading); |
| font-size: 20px; |
| font-weight: 600; |
| display: flex; |
| align-items: center; |
| gap: 10px; |
| } |
|
|
| |
| .upload-zone { |
| width: 100%; |
| height: 200px; |
| border: 2px dashed rgba(255, 255, 255, 0.15); |
| border-radius: var(--radius-md); |
| background: rgba(255, 255, 255, 0.02); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| cursor: pointer; |
| overflow: hidden; |
| position: relative; |
| transition: var(--transition); |
| } |
|
|
| .upload-zone:hover, .upload-zone.dragover { |
| border-color: var(--primary); |
| background: rgba(99, 102, 241, 0.04); |
| } |
|
|
| .upload-content { |
| text-align: center; |
| padding: 20px; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| gap: 8px; |
| } |
|
|
| .upload-icon { |
| font-size: 40px; |
| color: var(--text-muted); |
| transition: var(--transition); |
| } |
|
|
| .upload-zone:hover .upload-icon { |
| color: var(--primary); |
| transform: translateY(-4px); |
| } |
|
|
| .upload-title { |
| font-size: 14px; |
| font-weight: 600; |
| } |
|
|
| .upload-subtitle { |
| font-size: 12px; |
| color: var(--text-muted); |
| } |
|
|
| .upload-limit { |
| font-size: 10px; |
| color: var(--text-dark); |
| margin-top: 5px; |
| } |
|
|
| .preview-container { |
| width: 100%; |
| height: 100%; |
| position: relative; |
| } |
|
|
| .preview-container img { |
| width: 100%; |
| height: 100%; |
| object-fit: contain; |
| background: rgba(0, 0, 0, 0.2); |
| } |
|
|
| .preview-overlay { |
| position: absolute; |
| bottom: 10px; |
| right: 10px; |
| display: flex; |
| gap: 8px; |
| } |
|
|
| |
| .parameters-section { |
| display: flex; |
| flex-direction: column; |
| gap: 15px; |
| } |
|
|
| .section-title h3 { |
| font-family: var(--font-heading); |
| font-size: 16px; |
| font-weight: 600; |
| color: var(--text-main); |
| padding-bottom: 5px; |
| border-bottom: 1px solid rgba(255, 255, 255, 0.05); |
| } |
|
|
| .form-group { |
| margin-bottom: 16px; |
| display: flex; |
| flex-direction: column; |
| gap: 6px; |
| } |
|
|
| .form-group label { |
| font-size: 12px; |
| font-weight: 600; |
| color: var(--text-muted); |
| } |
|
|
| .form-control { |
| background: rgba(255, 255, 255, 0.04); |
| border: 1px solid rgba(255, 255, 255, 0.08); |
| color: var(--text-main); |
| padding: 10px 14px; |
| border-radius: var(--radius-sm); |
| font-family: var(--font-body); |
| font-size: 14px; |
| outline: none; |
| transition: var(--transition); |
| } |
|
|
| .form-control:focus { |
| border-color: var(--primary); |
| background: rgba(255, 255, 255, 0.07); |
| } |
|
|
| .input-with-checkbox { |
| display: flex; |
| align-items: center; |
| gap: 15px; |
| } |
|
|
| .input-with-checkbox .form-control { |
| flex: 1; |
| } |
|
|
| |
| .checkbox-container { |
| display: flex; |
| align-items: center; |
| position: relative; |
| padding-left: 26px; |
| cursor: pointer; |
| font-size: 13px; |
| font-weight: 500; |
| user-select: none; |
| } |
|
|
| .checkbox-container input { |
| position: absolute; |
| opacity: 0; |
| cursor: pointer; |
| height: 0; |
| width: 0; |
| } |
|
|
| .checkmark { |
| position: absolute; |
| top: 50%; |
| left: 0; |
| transform: translateY(-50%); |
| height: 18px; |
| width: 18px; |
| background-color: rgba(255, 255, 255, 0.05); |
| border: 1px solid rgba(255, 255, 255, 0.15); |
| border-radius: 4px; |
| transition: var(--transition); |
| } |
|
|
| .checkbox-container:hover input ~ .checkmark { |
| border-color: var(--primary); |
| } |
|
|
| .checkbox-container input:checked ~ .checkmark { |
| background-color: var(--primary); |
| border-color: var(--primary); |
| } |
|
|
| .checkmark:after { |
| content: ""; |
| position: absolute; |
| display: none; |
| } |
|
|
| .checkbox-container input:checked ~ .checkmark:after { |
| display: block; |
| } |
|
|
| .checkbox-container .checkmark:after { |
| left: 6px; |
| top: 2px; |
| width: 4px; |
| height: 8px; |
| border: solid white; |
| border-width: 0 2px 2px 0; |
| transform: rotate(45deg); |
| } |
|
|
| |
| .accordion-item { |
| border: 1px solid rgba(255, 255, 255, 0.05); |
| border-radius: var(--radius-sm); |
| margin-bottom: 10px; |
| overflow: hidden; |
| background: rgba(255, 255, 255, 0.01); |
| } |
|
|
| .accordion-title { |
| padding: 12px 14px; |
| font-size: 13px; |
| font-weight: 600; |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| cursor: pointer; |
| background: rgba(255, 255, 255, 0.02); |
| transition: var(--transition); |
| } |
|
|
| .accordion-title:hover { |
| background: rgba(255, 255, 255, 0.04); |
| } |
|
|
| .accordion-content { |
| padding: 14px; |
| display: none; |
| border-top: 1px solid rgba(255, 255, 255, 0.03); |
| } |
|
|
| .accordion-item.open .accordion-content { |
| display: block; |
| } |
|
|
| .accordion-item.open .accordion-title i { |
| transform: rotate(180deg); |
| } |
|
|
| .accordion-title i { |
| transition: var(--transition); |
| font-size: 10px; |
| } |
|
|
| |
| .slider-header { |
| display: flex; |
| justify-content: space-between; |
| font-size: 12px; |
| } |
|
|
| .slider-val { |
| color: var(--primary); |
| font-weight: 700; |
| } |
|
|
| .slider { |
| -webkit-appearance: none; |
| width: 100%; |
| height: 6px; |
| border-radius: 3px; |
| background: rgba(255, 255, 255, 0.1); |
| outline: none; |
| } |
|
|
| .slider::-webkit-slider-thumb { |
| -webkit-appearance: none; |
| appearance: none; |
| width: 16px; |
| height: 16px; |
| border-radius: 50%; |
| background: var(--primary); |
| box-shadow: 0 0 8px var(--primary-glow); |
| cursor: pointer; |
| transition: var(--transition); |
| } |
|
|
| .slider::-webkit-slider-thumb:hover { |
| transform: scale(1.25); |
| } |
|
|
| |
| .btn { |
| font-family: var(--font-body); |
| font-weight: 600; |
| border: none; |
| border-radius: var(--radius-sm); |
| padding: 10px 20px; |
| cursor: pointer; |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| gap: 8px; |
| transition: var(--transition); |
| text-decoration: none; |
| font-size: 14px; |
| } |
|
|
| .btn-primary { |
| background: linear-gradient(135deg, var(--primary), var(--accent)); |
| color: white; |
| box-shadow: 0 4px 15px var(--primary-glow); |
| } |
|
|
| .btn-primary:hover:not(:disabled) { |
| transform: translateY(-2px); |
| box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6); |
| } |
|
|
| .btn-primary:disabled { |
| background: var(--text-dark); |
| box-shadow: none; |
| opacity: 0.5; |
| cursor: not-allowed; |
| } |
|
|
| .btn-secondary { |
| background: rgba(255, 255, 255, 0.06); |
| color: var(--text-main); |
| border: 1px solid rgba(255, 255, 255, 0.08); |
| } |
|
|
| .btn-secondary:hover:not(:disabled) { |
| background: rgba(255, 255, 255, 0.12); |
| } |
|
|
| .btn-success { |
| background: var(--success); |
| color: white; |
| box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); |
| } |
|
|
| .btn-success:hover:not(.disabled) { |
| background: #0d9488; |
| transform: translateY(-2px); |
| } |
|
|
| .btn-success.disabled { |
| background: #1f2937; |
| opacity: 0.5; |
| cursor: not-allowed; |
| box-shadow: none; |
| } |
|
|
| .btn-info { |
| background: var(--info); |
| color: white; |
| box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3); |
| } |
|
|
| .btn-info:hover { |
| background: #0891b2; |
| transform: translateY(-2px); |
| } |
|
|
| .btn-block { |
| width: 100%; |
| } |
|
|
| .btn-lg { |
| padding: 14px 28px; |
| border-radius: var(--radius-md); |
| font-size: 16px; |
| } |
|
|
| .btn-sm { |
| padding: 6px 12px; |
| font-size: 12px; |
| border-radius: var(--radius-sm); |
| } |
|
|
| |
| .tabs-header { |
| display: flex; |
| gap: 8px; |
| border-bottom: 1px solid rgba(255, 255, 255, 0.05); |
| padding-bottom: 12px; |
| } |
|
|
| .panel-tab { |
| background: none; |
| border: none; |
| color: var(--text-muted); |
| font-family: var(--font-heading); |
| font-size: 15px; |
| font-weight: 600; |
| cursor: pointer; |
| padding: 8px 16px; |
| border-radius: var(--radius-sm); |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| transition: var(--transition); |
| } |
|
|
| .panel-tab:hover:not(:disabled) { |
| color: var(--text-main); |
| background: rgba(255, 255, 255, 0.03); |
| } |
|
|
| .panel-tab.active { |
| color: white; |
| background: rgba(99, 102, 241, 0.15); |
| border: 1px solid rgba(99, 102, 241, 0.3); |
| } |
|
|
| .panel-tab:disabled { |
| opacity: 0.4; |
| cursor: not-allowed; |
| } |
|
|
| |
| .tab-content { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| min-height: 350px; |
| position: relative; |
| } |
|
|
| |
| .video-placeholder { |
| flex: 1; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| text-align: center; |
| gap: 15px; |
| color: var(--text-muted); |
| } |
|
|
| .placeholder-icon-wrap { |
| width: 80px; |
| height: 80px; |
| border-radius: 50%; |
| background: rgba(255, 255, 255, 0.02); |
| border: 1px solid rgba(255, 255, 255, 0.05); |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
|
|
| .placeholder-icon { |
| font-size: 30px; |
| color: rgba(255, 255, 255, 0.3); |
| } |
|
|
| .video-placeholder h3 { |
| font-family: var(--font-heading); |
| font-size: 18px; |
| color: var(--text-main); |
| } |
|
|
| .video-placeholder p { |
| font-size: 13px; |
| max-width: 320px; |
| line-height: 1.5; |
| } |
|
|
| |
| .video-container { |
| width: 100%; |
| height: 350px; |
| border-radius: var(--radius-md); |
| overflow: hidden; |
| background: black; |
| } |
|
|
| .video-container video { |
| width: 100%; |
| height: 100%; |
| object-fit: cover; |
| } |
|
|
| |
| .viewer-container { |
| width: 100%; |
| height: 350px; |
| border-radius: var(--radius-md); |
| overflow: hidden; |
| background: radial-gradient(circle, #191c2c 0%, #0c0e18 100%); |
| position: relative; |
| } |
|
|
| model-viewer { |
| width: 100%; |
| height: 100%; |
| --poster-color: transparent; |
| } |
|
|
| .viewer-loading { |
| position: absolute; |
| top: 50%; |
| left: 50%; |
| transform: translate(-50%, -50%); |
| font-size: 14px; |
| font-weight: 500; |
| display: flex; |
| align-items: center; |
| gap: 8px; |
| } |
|
|
| |
| .export-controls { |
| padding: 18px; |
| display: flex; |
| flex-direction: column; |
| gap: 14px; |
| } |
|
|
| .export-header h4 { |
| font-family: var(--font-heading); |
| font-size: 14px; |
| font-weight: 600; |
| color: var(--text-main); |
| } |
|
|
| .export-options { |
| display: flex; |
| flex-direction: column; |
| gap: 12px; |
| } |
|
|
| .glb-baking-config { |
| display: flex; |
| flex-direction: column; |
| gap: 10px; |
| border-bottom: 1px solid rgba(255, 255, 255, 0.05); |
| padding-bottom: 12px; |
| } |
|
|
| .config-row { |
| display: grid; |
| grid-template-columns: 1fr 1fr; |
| gap: 10px; |
| } |
|
|
| .form-group-inline { |
| display: flex; |
| flex-direction: column; |
| gap: 4px; |
| } |
|
|
| .form-group-inline label { |
| font-size: 10px; |
| font-weight: 700; |
| color: var(--text-muted); |
| } |
|
|
| .form-control-inline { |
| background: rgba(255, 255, 255, 0.03); |
| border: 1px solid rgba(255, 255, 255, 0.08); |
| color: var(--text-main); |
| padding: 6px 10px; |
| border-radius: var(--radius-sm); |
| font-size: 12px; |
| outline: none; |
| font-family: var(--font-body); |
| } |
|
|
| .download-buttons { |
| display: grid; |
| grid-template-columns: 1fr 1fr; |
| gap: 10px; |
| } |
|
|
| |
| .history-section { |
| padding: 24px; |
| display: flex; |
| flex-direction: column; |
| gap: 20px; |
| } |
|
|
| .section-header { |
| display: flex; |
| justify-content: space-between; |
| align-items: center; |
| } |
|
|
| .section-header h2 { |
| font-family: var(--font-heading); |
| font-size: 20px; |
| font-weight: 600; |
| display: flex; |
| align-items: center; |
| gap: 10px; |
| } |
|
|
| .history-gallery { |
| display: grid; |
| grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); |
| gap: 20px; |
| min-height: 120px; |
| } |
|
|
| .gallery-empty { |
| grid-column: 1 / -1; |
| display: flex; |
| flex-direction: column; |
| align-items: center; |
| justify-content: center; |
| gap: 10px; |
| color: var(--text-dark); |
| padding: 40px; |
| } |
|
|
| .gallery-empty i { |
| font-size: 36px; |
| } |
|
|
| |
| .history-card { |
| background: rgba(255, 255, 255, 0.02); |
| border: 1px solid rgba(255, 255, 255, 0.05); |
| border-radius: var(--radius-md); |
| overflow: hidden; |
| position: relative; |
| display: flex; |
| flex-direction: column; |
| transition: var(--transition); |
| } |
|
|
| .history-card:hover { |
| transform: translateY(-5px); |
| border-color: var(--primary); |
| box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); |
| } |
|
|
| .card-media { |
| position: relative; |
| width: 100%; |
| height: 140px; |
| background: black; |
| overflow: hidden; |
| } |
|
|
| .card-media video { |
| width: 100%; |
| height: 100%; |
| object-fit: cover; |
| } |
|
|
| .card-badge { |
| position: absolute; |
| top: 10px; |
| left: 10px; |
| background: rgba(0, 0, 0, 0.7); |
| padding: 4px 8px; |
| border-radius: 4px; |
| font-size: 10px; |
| font-weight: 600; |
| } |
|
|
| .card-delete { |
| position: absolute; |
| top: 10px; |
| right: 10px; |
| background: rgba(239, 68, 68, 0.2); |
| border: 1px solid rgba(239, 68, 68, 0.3); |
| color: var(--danger); |
| width: 26px; |
| height: 26px; |
| border-radius: 50%; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| cursor: pointer; |
| opacity: 0; |
| transition: var(--transition); |
| } |
|
|
| .history-card:hover .card-delete { |
| opacity: 1; |
| } |
|
|
| .card-delete:hover { |
| background: var(--danger); |
| color: white; |
| } |
|
|
| .card-info { |
| padding: 14px; |
| display: flex; |
| flex-direction: column; |
| gap: 6px; |
| } |
|
|
| .card-title { |
| font-size: 12px; |
| font-weight: 700; |
| color: var(--text-main); |
| } |
|
|
| .card-meta { |
| font-size: 10px; |
| color: var(--text-muted); |
| } |
|
|
| .card-actions { |
| display: flex; |
| gap: 6px; |
| margin-top: 8px; |
| } |
|
|
| .card-actions .btn { |
| flex: 1; |
| } |
|
|
| |
| @keyframes float { |
| 0% { transform: translateY(0px); } |
| 50% { transform: translateY(-6px); } |
| 100% { transform: translateY(0px); } |
| } |
|
|
| .animate-float { |
| animation: float 4s ease-in-out infinite; |
| } |
|
|
| @keyframes pulse { |
| 0% { transform: scale(1); opacity: 0.3; } |
| 50% { transform: scale(1.05); opacity: 0.6; } |
| 100% { transform: scale(1); opacity: 0.3; } |
| } |
|
|
| .animate-pulse { |
| animation: pulse 3s ease-in-out infinite; |
| } |
|
|
| |
| .toast-container { |
| position: fixed; |
| bottom: 20px; |
| right: 20px; |
| display: flex; |
| flex-direction: column; |
| gap: 10px; |
| z-index: 9999; |
| } |
|
|
| .toast { |
| background: rgba(13, 17, 33, 0.9); |
| border-left: 4px solid var(--primary); |
| border-top: 1px solid var(--panel-border); |
| border-bottom: 1px solid var(--panel-border); |
| border-right: 1px solid var(--panel-border); |
| padding: 14px 20px; |
| border-radius: var(--radius-sm); |
| color: var(--text-main); |
| font-size: 13px; |
| font-weight: 500; |
| display: flex; |
| align-items: center; |
| gap: 12px; |
| box-shadow: 0 4px 12px rgba(0,0,0,0.3); |
| min-width: 250px; |
| max-width: 350px; |
| animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| transition: var(--transition); |
| } |
|
|
| @keyframes slideIn { |
| from { transform: translateX(100%); opacity: 0; } |
| to { transform: translateX(0); opacity: 1; } |
| } |
|
|
| .toast.success { border-left-color: var(--success); } |
| .toast.info { border-left-color: var(--info); } |
| .toast.warning { border-left-color: var(--warning); } |
| .toast.error { border-left-color: var(--danger); } |
|
|