1qwsd's picture
Upload 12 files
1287b01 verified
:root {
--primary: #6366f1;
--primary-glow: rgba(99, 102, 241, 0.5);
--secondary: #8b5cf6;
--background: #0f172a;
--glass: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
--text: #f8fafc;
--text-dim: #94a3b8;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Outfit', sans-serif;
}
body {
background-color: var(--background);
color: var(--text);
overflow-x: hidden;
min-height: 100vh;
}
.background-blobs {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
filter: blur(80px);
}
.blob {
position: absolute;
border-radius: 50%;
opacity: 0.4;
animation: move 20s infinite alternate;
}
.blob-1 {
width: 400px;
height: 400px;
background: var(--primary);
top: -100px;
left: -100px;
}
.blob-2 {
width: 350px;
height: 350px;
background: var(--secondary);
bottom: -50px;
right: -50px;
animation-delay: -5s;
}
.blob-3 {
width: 300px;
height: 300px;
background: #ec4899;
top: 40%;
left: 60%;
animation-delay: -10s;
}
@keyframes move {
from {
transform: translate(0, 0) scale(1);
}
to {
transform: translate(50px, 50px) scale(1.1);
}
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 4rem;
}
.logo {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 1.5rem;
font-weight: 800;
background: linear-gradient(to right, #fff, #94a3b8);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.logo i {
color: var(--primary);
-webkit-text-fill-color: initial;
}
.nav-links a {
color: var(--text-dim);
text-decoration: none;
margin-left: 2rem;
font-weight: 500;
transition: 0.3s;
}
.nav-links a.active,
.nav-links a:hover {
color: var(--text);
}
.hero {
text-align: center;
margin-bottom: 4rem;
}
h1 {
font-size: 3.5rem;
font-weight: 800;
margin-bottom: 1rem;
line-height: 1.2;
}
.gradient-text {
background: linear-gradient(135deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero p {
color: var(--text-dim);
font-size: 1.2rem;
max-width: 600px;
margin: 0 auto;
}
.glass-card {
background: var(--glass);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 24px;
padding: 2rem;
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.upload-section {
max-width: 800px;
margin: 0 auto 4rem;
text-align: center;
}
.upload-box {
border: 2px dashed var(--glass-border);
border-radius: 20px;
padding: 4rem 2rem;
cursor: pointer;
transition: 0.3s;
margin-bottom: 2rem;
position: relative;
overflow: hidden;
}
.upload-box:hover,
.upload-box.dragover {
border-color: var(--primary);
background: rgba(99, 102, 241, 0.05);
}
.upload-content i {
font-size: 3rem;
color: var(--primary);
margin-bottom: 1.5rem;
}
.upload-content h3 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
}
.upload-content p {
color: var(--text-dim);
}
.file-info {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
background: var(--glass);
padding: 1rem;
border-radius: 12px;
}
#remove-file {
background: none;
border: none;
color: #ef4444;
cursor: pointer;
font-size: 1.2rem;
}
.primary-btn {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
border: none;
padding: 1rem 2.5rem;
border-radius: 12px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
display: flex;
align-items: center;
gap: 0.75rem;
margin: 0 auto;
box-shadow: 0 10px 20px var(--primary-glow);
}
.primary-btn:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 15px 30px var(--primary-glow);
}
.primary-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
box-shadow: none;
}
.loading-container {
text-align: center;
margin: 3rem 0;
}
.loader {
width: 50px;
height: 50px;
border: 5px solid var(--glass);
border-top: 5px solid var(--primary);
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 1rem;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.results-grid {
display: grid;
grid-template-columns: 1.5fr 1fr;
gap: 2rem;
}
@media (max-width: 900px) {
.results-grid {
grid-template-columns: 1fr;
}
}
.result-preview h2,
.result-stats h2 {
margin-bottom: 1.5rem;
font-size: 1.5rem;
}
.preview-wrapper {
width: 100%;
border-radius: 16px;
overflow: hidden;
background: #000;
margin-bottom: 1.5rem;
aspect-ratio: 16/9;
display: flex;
align-items: center;
justify-content: center;
}
.preview-wrapper img,
.preview-wrapper video {
max-width: 100%;
max-height: 100%;
}
.secondary-btn {
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
width: 100%;
padding: 1rem;
border-radius: 12px;
background: var(--glass);
color: var(--text);
text-decoration: none;
border: 1px solid var(--glass-border);
transition: 0.3s;
}
.secondary-btn:hover {
background: var(--glass-border);
}
.total-badge {
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
border: 1px solid var(--primary);
padding: 1.5rem;
border-radius: 16px;
text-align: center;
margin-bottom: 2rem;
}
.total-badge .count {
display: block;
font-size: 3rem;
font-weight: 800;
color: var(--primary);
}
.total-badge .label {
color: var(--text-dim);
text-transform: uppercase;
letter-spacing: 1px;
font-size: 0.8rem;
}
.object-list {
display: flex;
flex-direction: column;
gap: 1rem;
}
.object-item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem;
background: rgba(255, 255, 255, 0.03);
border-radius: 12px;
border-left: 4px solid var(--primary);
}
.obj-name {
font-weight: 600;
}
.obj-count {
background: var(--primary);
padding: 0.25rem 0.75rem;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 600;
}
footer {
margin-top: 6rem;
text-align: center;
color: var(--text-dim);
padding-bottom: 2rem;
}