:root {
    --bg: #0a0b10;
    --card: rgba(26, 29, 43, 0.7);
    --accent-v: #7c3aed;
    --accent-c: #06b6d4;
    --text: #f1f5f9;
    --subtext: #94a3b8;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 40%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
}

.card {
    background: var(--card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--accent-v), var(--accent-c));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p.subtitle {
    color: var(--subtext);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.tabs {
    display: flex;
    background: var(--glass);
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.tab {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--subtext);
}

.tab.active {
    background: var(--accent-v);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
}

.drop-zone {
    border: 2px dashed var(--border);
    border-radius: 16px;
    padding: 3rem 1rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.drop-zone:hover, .drop-zone.drag-over {
    border-color: var(--accent-c);
    background: rgba(6, 182, 212, 0.05);
}

.drop-zone i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--accent-c);
}

.file-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--accent-c);
    display: none;
}

.btn-convert {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(45deg, var(--accent-v), #9333ea);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.5);
}

.btn-convert:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(124, 58, 237, 0.6);
}

.btn-convert:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.progress-container {
    margin-top: 2rem;
    display: none;
}

.progress-bar {
    height: 6px;
    background: var(--glass);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent-c);
    width: 0%;
    transition: width 0.3s;
    box-shadow: 0 0 10px var(--accent-c);
}

.status-text {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--subtext);
}

footer {
    margin-top: 2rem;
    text-align: center;
    color: var(--border);
    font-size: 0.8rem;
}
