:root {
    --bg-dark: #0a0a12;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent: #ff007f;
    --accent-gradient: linear-gradient(135deg, #ff007f, #7928ca);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

header { text-align: center; }
.gradient-text {
    font-size: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.input-group {
    display: flex;
    gap: 1rem;
}

input {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: 0.3s ease;
}

input:focus { border-color: var(--accent); }

button {
    cursor: pointer;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--accent-gradient);
    position: relative;
    overflow: hidden;
}

.result-card {
    display: flex;
    gap: 2rem;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.video-preview {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

video { width: 100%; height: 100%; object-fit: cover; }

.media-details {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.caption-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-height: 100px;
	scrollbar-width: none;
    overflow-y: auto;
}

.stats {
    display: flex;
    gap: 1rem;
    color: var(--accent);
    font-weight: bold;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.secondary-btn { background: rgba(255, 255, 255, 0.1); border: 1px solid var(--glass-border); }
.hidden { display: none !important; }