:root {
    --bg-dark: #111518;
    --text-white: #FFFFFF;
    --text-dim: #7E7671;
    --purple: #6F00FF;
    --magenta: #FF1EFF;
    --gradient-brand: linear-gradient(90deg, var(--purple) 0%, var(--purple) 50%, var(--magenta) 100%);
    --font-heading: 'Radikal', 'Montserrat', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    background-color: var(--bg-dark);
    color: var(--text-white);
    margin: 0;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Typografie */
h1 { font-family: var(--font-heading); font-weight: 700; font-size: 2.2rem; margin: 10px 0; }
.subtitle { color: var(--text-dim); font-size: 1.1rem; margin-bottom: 30px; font-weight: 300; }
.small-text { font-size: 0.85rem; color: var(--text-dim); margin-top: 10px; }
.icon-ai { font-size: 1.8rem; color: var(--magenta); text-shadow: 0 0 15px var(--magenta); margin-bottom: 5px; }

/* Subtile Glow-Effekte im Hintergrund */
.bg-glow {
    position: fixed; top: 20%; left: 30%; width: 50vw; height: 50vw;
    background: var(--purple); filter: blur(200px); opacity: 0.1;
    transform: translate(-50%, -50%); z-index: -1; border-radius: 50%;
    animation: float 12s infinite ease-in-out alternate;
}
.bg-glow--brand {
    top: 80%; left: 70%; background: var(--magenta); opacity: 0.08;
    animation-delay: -6s;
}

@keyframes float { 100% { transform: translate(-40%, -60%) scale(1.1); } }

/* Glassmorphism Panel */
.glass-panel {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px; padding: 40px; max-width: 800px; width: 100%;
    text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* Drop Zone & Microinteractions */
.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.15); border-radius: 12px;
    padding: 50px 20px; cursor: pointer; background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--magenta); background: rgba(111, 0, 255, 0.05);
    transform: scale(1.02); /* Subtiler Hover-Scale */
}
.upload-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; opacity: 0.8; }
.text-highlight { background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }

/* Loader Animationen */
.status-container { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 20px 0; }
.loader-ring {
    width: 24px; height: 24px; border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--magenta); border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Warteschlange (Queue Items) */
.queue-container { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.queue-item {
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px; padding: 15px; text-align: left;
    transition: opacity 0.3s ease;
}
.queue-item.done { border-left: 4px solid #00ff88; } /* Indikator für Erfolg */
.queue-item.processing { border-left: 4px solid var(--magenta); background: rgba(255, 30, 255, 0.05); }

.item-info { display: flex; align-items: center; gap: 15px; overflow: hidden; flex: 1; }
.item-thumbnail-container {
    width: 60px; height: 60px; border-radius: 6px; overflow: hidden;
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAMUlEQVQ4T2NkYNgGw31lIUj8h4Z/YGBgYGJAA8mxyY2GUQ2jGkY1jGqAgYGBMWMgAAABbA4QMw3A4AAAAABJRU5ErkJggg==');
    flex-shrink: 0;
}
.item-thumbnail { width: 100%; height: 100%; object-fit: contain; }
.item-details { display: flex; flex-direction: column; overflow: hidden; }
.item-name { font-size: 0.95rem; font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 4px; }
.item-status { font-size: 0.8rem; color: var(--text-dim); display: flex; align-items: center; gap: 8px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
    color: var(--text-white); text-decoration: none; border-radius: 5px; border: none;
    cursor: pointer; transition: all 0.2s ease;
}
.btn-outline {
    background: transparent; border: 1px solid rgba(255,255,255,0.2); color: var(--text-white);
}
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.5); }
.btn-gradient { background: var(--gradient-brand); box-shadow: 0 4px 15px rgba(111, 0, 255, 0.2); }
.btn-gradient:hover { filter: brightness(1.15); transform: translateY(-1px); }