:root {
    --bg-color: #0f172a;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Background Effect */
.background-animation {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    top: 20%;
    left: 30%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Glassmorphism Container */
.glass-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 600;
}

header h1 span {
    color: var(--primary-color);
}

header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Dropzone */
.dropzone {
    border: 2px dashed var(--glass-border);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.2);
    margin-bottom: 25px;
}

.dropzone.dragover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.1);
}

.dropzone i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.dropzone h3 { margin-bottom: 5px; }
.dropzone p { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 20px; }

/* Buttons & Inputs */
button {
    cursor: pointer;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 24px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.controls {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

select {
    padding: 12px;
    border-radius: 8px;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--glass-border);
    color: white;
    font-family: inherit;
    outline: none;
}

select option { background: var(--bg-color); }

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    font-size: 1rem;
}

.btn-primary:hover:not(:disabled) { background: var(--primary-hover); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

/* Status Panel */
.status-panel { margin-top: 20px; text-align: center; }
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}
.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

/* Responsif untuk HP & Tablet */
@media (max-width: 768px) {
    .glass-container { padding: 25px; }
    header h1 { font-size: 2rem; }
    .dropzone { padding: 30px 15px; }
}
