:root { 
    --bg-dark: #050505; 
    --panel-bg: #111111; 
    --border: #222; 
    --primary: #ffffff; 
    --accent: #3b82f6; 
    --record-red: #ef4444; 
    --text-main: #e5e5e5; 
    --text-muted: #737373; 
    --font: 'Manrope', sans-serif; 
}

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

body {
    font-family: var(--font);
    background: var(--bg-dark);
    color: var(--text-main);
    height: 100vh;
    overflow: hidden;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.splash-content {
    text-align: center;
    padding: 20px;
    max-width: 500px;
}

.splash-content i {
    color: var(--text-main);
    margin-bottom: 20px;
}

.splash-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.splash-content p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.btn-enter {
    background: white;
    color: black;
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-enter:hover {
    transform: scale(1.05);
    background: #f0f0f0;
}

/* Workspace */
.workspace {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

nav {
    height: 60px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background: var(--panel-bg);
    flex-shrink: 0;
}

.brand {
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand span {
    font-size: 0.7rem;
    background: #333;
    padding: 2px 6px;
    border-radius: 4px;
    color: #aaa;
}

.status-pill {
    font-size: 0.8rem;
    background: #000;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.main-layout {
    display: grid;
    grid-template-columns: 300px 1fr 350px;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

aside {
    padding: 30px;
    background: var(--panel-bg);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
}

.meta-sidebar {
    border-right: none;
    border-left: 1px solid var(--border);
}

.control-group {
    margin-bottom: 25px;
}

label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: 700;
}

.custom-select {
    position: relative;
}

select {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    color: white;
    padding: 12px 15px;
    border-radius: 6px;
    appearance: none;
    font-family: var(--font);
    cursor: pointer;
    font-size: 0.95rem;
}

.custom-select i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: #666;
}

button:not(.video-action-btn):not(.social-btn) {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: var(--font);
    transition: all 0.2s;
}

.btn-primary {
    background: #222;
    color: white;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-primary:hover {
    background: #333;
    border-color: #555;
}

.btn-record {
    background: var(--primary);
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-record:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #555;
}

.rec-icon {
    width: 12px;
    height: 12px;
    background: var(--record-red);
    border-radius: 50%;
}

.divider {
    height: 1px;
    background: #222;
    margin: 20px 0;
}

.monitor-section {
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    flex-direction: column;
    overflow-y: auto;
    min-height: 0;
}

.meta-header {
    margin-bottom: 25px;
}

.meta-header h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meta-field {
    margin-bottom: 20px;
}

.input-row {
    display: flex;
    background: #000;
    border: 1px solid #333;
    border-radius: 4px;
    overflow: hidden;
}

.input-row input, .input-row textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 12px;
    font-family: var(--font);
    font-size: 0.85rem;
    resize: none;
    outline: none;
}

.input-row input:focus, .input-row textarea:focus {
    background: #0a0a0a;
}

.input-row button {
    width: 45px;
    background: transparent;
    color: #555;
    border-left: 1px solid #333;
    padding: 0;
    transition: all 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-row button:hover {
    color: white;
    background: #111;
}

.upload-shortcuts {
    margin-top: 25px;
}

.social-grid {
    display: flex;
    gap: 8px;
    margin-top: 5px;
}

.s-link {
    flex: 1;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    border-radius: 4px;
    color: #aaa;
    transition: 0.2s;
    text-decoration: none;
    font-size: 1.2rem;
}

.s-link:hover {
    color: white;
    background: #333;
    transform: translateY(-2px);
}

.yt:hover { background: #ff0000; } 
.tt:hover { background: #000; border: 1px solid #444; } 
.ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); } 
.fb:hover { background: #1877F2; }

/* Responsive */
@media (max-width: 900px) { 
    .main-layout { 
        grid-template-columns: 1fr; 
        display: block; 
        overflow-y: auto; 
    } 
    
    aside, .monitor-section { 
        height: auto; 
        border-right: none; 
        border-bottom: 1px solid var(--border); 
        padding: 20px; 
    } 
    
    .video-container { 
        aspect-ratio: 16/9; 
        max-width: 100%; 
    } 
    
    .social-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .theme-cards {
        flex-wrap: wrap;
    }
    
    .theme-card {
        min-width: 70px;
    }
}
