:root {
    --bg: #0d0e12;
    --card: rgba(30, 32, 40, 0.7);
    --primary: #00f2ff;
    --accent: #8e2de2;
    --text: #e0e0e0;
    --muted: #888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    background-image: radial-gradient(circle at 20% 20%, rgba(142, 45, 226, 0.1) 0%, transparent 40%);
    color: var(--text);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 40px;
    background: var(--card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 35px;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.7);
    text-align: center;
}

.logo {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 5px;
    color: var(--primary);
    margin-bottom: 30px;
}

h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.input-box {
    width: 100%;
    padding: 22px;
    background: #000;
    border: 1px solid #333;
    border-radius: 18px;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 32px;
    text-align: center;
    letter-spacing: 8px;
    margin-bottom: 30px;
    outline: none;
    transition: 0.3s;
}

.input-box:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.btn {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--accent), #4a00e0);
    border: none;
    border-radius: 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

#videoPreview {
    width: 100%;
    border-radius: 16px;
    margin-top: 20px;
    display: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status {
    margin-top: 20px;
    font-size: 13px;
    color: var(--muted);
}