d-e-e-k-11's picture
Upload folder using huggingface_hub
ca72ed3 verified
:root {
--primary: #00d2ff;
--secondary: #3a7bd5;
--dark: #0f172a;
--glass: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
--text: #f8fafc;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Outfit', sans-serif;
background: radial-gradient(circle at top left, #1e293b, #0f172a);
color: var(--text);
min-height: 100vh;
display: flex;
justify-content: center;
padding: 2rem;
}
.container {
max-width: 900px;
width: 100%;
}
header {
text-align: center;
margin-bottom: 3rem;
animation: fadeInDown 0.8s ease-out;
}
.logo {
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
margin-bottom: 0.5rem;
}
.logo i {
font-size: 2.5rem;
color: var(--primary);
}
header h1 {
font-size: 2.5rem;
font-weight: 600;
letter-spacing: -0.025em;
background: linear-gradient(to right, var(--primary), var(--secondary));
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
header p {
color: #94a3b8;
font-size: 1.1rem;
}
.glass-card {
background: var(--glass);
backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 1.5rem;
padding: 2rem;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
transition: transform 0.3s ease;
}
.upload-section {
margin-bottom: 2rem;
text-align: center;
}
.drop-zone {
border: 2px dashed var(--glass-border);
border-radius: 1rem;
padding: 3rem 2rem;
cursor: pointer;
transition: all 0.3s ease;
margin-bottom: 1.5rem;
}
.drop-zone:hover, .drop-zone.active {
border-color: var(--primary);
background: rgba(0, 210, 255, 0.05);
}
.drop-zone i {
font-size: 3rem;
color: var(--primary);
margin-bottom: 1rem;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary), var(--secondary));
color: white;
border: none;
padding: 1rem 2.5rem;
border-radius: 0.75rem;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
}
.btn-primary:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.result-card {
display: flex;
gap: 2rem;
align-items: center;
animation: fadeInUp 0.6s ease-out;
}
.image-preview {
position: relative;
width: 300px;
height: 300px;
border-radius: 1rem;
overflow: hidden;
border: 1px solid var(--glass-border);
}
.image-preview img {
width: 100%;
height: 100%;
object-fit: cover;
}
.scan-line {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 2px;
background: var(--primary);
box-shadow: 0 0 15px var(--primary);
animation: scan 2.5s linear infinite;
}
.analysis-info {
flex: 1;
}
.analysis-info h2 {
font-size: 1.5rem;
margin-bottom: 1.5rem;
color: #cbd5e1;
}
.result-item {
margin-bottom: 1.5rem;
}
.result-item .label {
display: block;
color: #94a3b8;
margin-bottom: 0.5rem;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.badge {
padding: 0.5rem 1rem;
border-radius: 2rem;
font-weight: 600;
font-size: 1.2rem;
display: inline-block;
}
.badge.bird {
background: rgba(34, 197, 94, 0.2);
color: #4ade80;
border: 1px solid rgba(34, 197, 94, 0.3);
}
.badge.drone {
background: rgba(239, 68, 68, 0.2);
color: #f87171;
border: 1px solid rgba(239, 68, 68, 0.3);
}
.progress-bar {
width: 100%;
height: 8px;
background: var(--glass);
border-radius: 4px;
overflow: hidden;
margin-bottom: 0.5rem;
}
.progress-fill {
height: 100%;
background: var(--primary);
width: 0;
transition: width 1s ease-out;
}
footer {
text-align: center;
margin-top: 4rem;
color: #64748b;
font-size: 0.9rem;
}
@keyframes scan {
0% { top: 0; }
100% { top: 100%; }
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
.result-card {
flex-direction: column;
}
.image-preview {
width: 100%;
}
}