@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

/* --- RESET & BASE --- */
body { 
    font-family: 'Inter', system-ui, -apple-system, sans-serif; 
    background-color: #050505;
    color: #e4e4e7;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb { background: #27272a; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #3f3f46; }

/* --- DROPDOWN FIX (Dark Mode) --- */
select {
    background-image: none; /* Default oku kaldır */
    color: white;
}
select option {
    background-color: #18181b; /* Zinc dark */
    color: white;
    padding: 8px;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 10px rgba(59,130,246,0.1); } 50% { box-shadow: 0 0 20px rgba(59,130,246,0.4); } }

.animate-fadeIn { animation: fadeIn 0.3s ease-out; }
.animate-slideUp { animation: slideUp 0.3s ease-out forwards; }
.animate-pulse-glow { animation: pulse-glow 2s infinite; }

/* --- COMPONENTS --- */
.glass-panel {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transition: all 0.2s;
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(110%); }
.btn-primary:active { transform: translateY(0); filter: brightness(90%); }

.studio-block {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.studio-block:hover {
    transform: translateX(4px);
    border-color: rgba(59, 130, 246, 0.3);
}
.studio-block.playing {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

/* --- SPLIT VIEW HELPERS --- */
#view-studio {
    height: calc(100vh - 56px); /* Topbar yüksekliğini çıkar */
}

/* Script Editor Styling */
#script-source {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    line-height: 1.6;
    background-color: #0a0a0c;
    color: #a1a1aa;
    transition: color 0.2s;
}
#script-source:focus {
    color: #e4e4e7;
    outline: none;
}

/* Timeline Blocks */
.studio-block {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}
.studio-block:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}
.studio-block.playing {
    border-color: #22c55e;
    background: linear-gradient(to right, rgba(34, 197, 94, 0.05), transparent);
}