:root {
    --bg-main: #020617;
    /* Deep Navy Black */
    --accent-glow: #3b82f6;
    /* Electric Blue */
    --accent-secondary: #8b5cf6;
    /* Violet */
    --card-bg: #0f172a;
    --border-glow: rgba(59, 130, 246, 0.3);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --card-border: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-main);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
    color: var(--text-primary);
    font-family: 'Outfit', 'Inter', system-ui, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    overflow-x: hidden;
}

.uploader-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 48px;
    box-shadow:
        0 0 0 1px var(--card-border),
        0 20px 50px -10px rgba(0, 0, 0, 0.8),
        0 10px 40px -15px var(--border-glow);
    position: relative;
    overflow: hidden;
}

/* Cyber Gradient Line at top */
.glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-glow), var(--accent-secondary));
}

.title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 0.5rem;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 50px 20px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.01);
    position: relative;
}

.drop-zone:hover,
.drop-zone.dragover {
    background: rgba(59, 130, 246, 0.05);
    border-color: var(--accent-glow);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.drop-zone i {
    font-size: 3.2rem;
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: block;
}

.file-list {
    margin-top: 1.5rem;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 8px;
}

.file-list::-webkit-scrollbar {
    width: 3px;
}

.file-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.file-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.file-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 0;
}

.file-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.file-size {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.remove-file {
    color: #ef4444;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
}

.remove-file:hover {
    background: rgba(239, 68, 68, 0.1);
    transform: rotate(90deg);
}

.btn-upload {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-secondary));
    border: none;
    border-radius: 16px;
    padding: 18px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.4);
}

.btn-upload:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px -5px rgba(59, 130, 246, 0.6);
}

.btn-upload:active {
    transform: scale(0.98);
}

.btn-upload:disabled {
    background: #1e293b;
    color: #475569;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.progress-container {
    margin-top: 2rem;
    display: none;
}

.progress {
    height: 6px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-glow), var(--accent-secondary));
    box-shadow: 0 0 15px var(--accent-glow);
    transition: width 0.3s ease;
}

.success-container {
    display: none;
    text-align: center;
    animation: fadeInScale 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 5rem;
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.share-link-group {
    background: #020617;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 8px;
    display: flex;
    margin-top: 2rem;
    align-items: center;
}

.share-link-input {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 12px 18px;
    flex: 1;
    font-size: 0.9rem;
    outline: none;
}

.btn-copy {
    background: var(--accent-glow);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #2563eb;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
}

.file-item-dl {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px 24px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.file-item-dl:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.04);
}