/* Core Dark Theme Setup */
body {
    background-color: #0a0a0a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #ffffff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Helper Classes */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: bold; }
.uppercase { text-transform: uppercase; }
.text-gray-300 { color: #d1d5db; }
.text-gray-600 { color: #4b5563; }
.subtext { color: #888; font-size: 0.85rem; margin-top: 10px; }

/* Premium Centered Brand Header */
.brand-header {
    display: flex;
    justify-content: center;
    padding: 3rem 0 1rem 0;
    width: 100%;
}

.logo-yv {
    background-color: #ffffff;
    color: #000000;
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -2px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

/* Main Upload Area */
.upload-wrapper { flex: 1; max-width: 600px; margin: 2rem auto; padding: 20px; width: 100%; box-sizing: border-box; }

.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

#drop-zone.dragover, #drop-zone:hover {
    border-color: #00ffcc;
    background: rgba(0, 255, 204, 0.05);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.15);
}

.hidden-input { display: none; }
.upload-icon { width: 64px; height: 64px; margin: 0 auto 1rem; color: #00ffcc; }
.drop-title { font-size: 1.8rem; font-weight: bold; margin: 0 0 0.5rem; }
.drop-subtitle { color: #888888; font-size: 1.1rem; margin-bottom: 2rem; }
.privacy-badge { display: inline-block; background: rgba(255, 255, 255, 0.05); padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; color: #aaaaaa; }
.file-name-text { font-size: 1.2rem; word-break: break-all; margin: 0; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 1rem; }

/* Styling Components */
.neon-text { color: #00ffcc; text-shadow: 0 0 8px rgba(0, 255, 204, 0.5); font-weight: bold; }

.custom-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    outline: none;
    margin: 15px 0;
}
.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #00ffcc;
    cursor: pointer;
    box-shadow: 0 0 10px #00ffcc, 0 0 20px #00ffcc;
}

.progress-track { width: 100%; background: rgba(255, 255, 255, 0.1); border-radius: 10px; height: 8px; overflow: hidden; }
.progress-fill { background: #00ffcc; height: 100%; border-radius: 10px; transition: width 0.3s ease; box-shadow: 0 0 10px #00ffcc; }
.stats-box { background: rgba(0, 0, 0, 0.3); padding: 15px 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.05); }

/* Buttons */
.neon-btn, .neon-btn-secondary {
    width: 100%;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}
.neon-btn {
    background: transparent;
    border: 2px solid #00ffcc;
    color: #00ffcc;
}
.neon-btn:hover { background: #00ffcc; color: #000; box-shadow: 0 0 15px #00ffcc; }

.neon-btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #aaaaaa;
}
.neon-btn-secondary:hover { border-color: #ff4444; color: #ff4444; background: rgba(255, 68, 68, 0.05); }

/* Global Footer */
.app-footer { padding: 3rem 1rem; margin-top: auto; }
.footer-links { display: flex; justify-content: center; gap: 1rem; align-items: center; }
.footer-link { color: #aaaaaa; text-decoration: none; font-weight: 500; transition: color 0.3s ease; cursor: pointer; }
.footer-link:hover { color: #00ffcc; }

/* Modals */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px);
    z-index: 999; display: flex; justify-content: center; align-items: center;
}
.glass-modal {
    background: rgba(25, 25, 25, 0.8); backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px;
    padding: 2.5rem; width: 90%; max-width: 500px; position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.close-modal { position: absolute; top: 1rem; right: 1.5rem; background: none; border: none; font-size: 2rem; cursor: pointer; }
