@charset "utf-8";
/* ============================================================
   PROWID — İnteraktiv Animasiyalı Video-Dərs Pleyeri
   (javascript/video-lesson.js + inc/video-lesson.php)
   ============================================================ */

@property --animation-reduced {
  syntax: "*";
  inherits: false;
  initial-value: none;
}

.vl-player {
  --vl-bg: #070B19;
  --vl-bg-2: #0F172A;
  --vl-surface: rgba(15, 23, 42, 0.78);
  --vl-card: rgba(30, 41, 59, 0.72);
  --vl-border: rgba(148, 163, 184, 0.18);
  --vl-blue: #3B82F6;
  --vl-indigo: #6366F1;
  --vl-emerald: #10B981;
  --vl-amber: #F59E0B;
  --vl-rose: #F43F5E;
  --vl-text: #F8FAFC;
  --vl-muted: #94A3B8;
  --vl-mono: ui-monospace, 'Cascadia Code', 'JetBrains Mono', Consolas, monospace;

  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  color: var(--vl-text);
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  box-sizing: border-box;
}

.vl-player *, .vl-player *::before, .vl-player *::after {
  box-sizing: border-box;
}

/* Loading skeleton */
.vl-boot {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vl-boot i {
  display: block;
  border-radius: 18px;
  background: linear-gradient(90deg, #E2E8F0 0%, #F1F5F9 50%, #E2E8F0 100%);
  background-size: 200% 100%;
  animation: vl-shimmer 1.4s linear infinite;
}
.vl-boot-head { height: 42px; width: 55%; }
.vl-boot-stage { height: 480px; }
.vl-boot-bar { height: 54px; }
@keyframes vl-shimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

/* Main cinema frame */
.vl-frame {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: radial-gradient(circle at 18% 15%, #172554 0%, #090E23 55%, #050814 100%);
  border: 1px solid #1E293B;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.28);
  overflow: hidden;
}

.vl-player:fullscreen,
.vl-frame:fullscreen {
  border-radius: 0;
  width: 100vw;
  height: 100vh;
  background: #050814;
}
.vl-player:fullscreen .vl-frame {
  flex: 1;
  border-radius: 0;
  border: 0;
}
.vl-player:fullscreen .vl-chapters {
  display: none;
}

/* Top bar inside cinema frame */
.vl-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(7, 11, 25, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(10px);
  z-index: 4;
}
.vl-topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.vl-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.vl-badge-live::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
}
.vl-scene-kicker {
  font-size: 0.8rem;
  color: #93C5FD;
  font-weight: 600;
  white-space: nowrap;
}
.vl-scene-heading {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vl-topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.vl-voice-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #CBD5E1;
  font-size: 0.76rem;
  font-weight: 600;
}
.vl-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.vl-wave span {
  width: 2.5px;
  height: 4px;
  border-radius: 2px;
  background: #38BDF8;
  transition: height 0.15s ease;
}
.vl-player.is-playing .vl-wave span:nth-child(1) {
  animation: vl-eq 0.55s ease-in-out infinite alternate;
}
.vl-player.is-playing .vl-wave span:nth-child(2) {
  animation: vl-eq 0.4s ease-in-out 0.15s infinite alternate;
}
.vl-player.is-playing .vl-wave span:nth-child(3) {
  animation: vl-eq 0.65s ease-in-out 0.25s infinite alternate;
}
@keyframes vl-eq {
  from { height: 3px; }
  to { height: 12px; }
}

/* Stage canvas */
.vl-stage-wrap {
  position: relative;
  min-height: 450px;
  padding: 22px 24px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.vl-player:fullscreen .vl-stage-wrap {
  flex: 1;
  min-height: 0;
  padding: 32px 48px 92px;
}

/* Ambient background grid */
.vl-stage-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.vl-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

/* Big center Play button overlay when paused at start */
.vl-bigplay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(5, 8, 20, 0.48);
  backdrop-filter: blur(4px);
  border: 0;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.25s ease;
}
.vl-bigplay[hidden] {
  display: none !important;
}
.vl-bigplay-circle {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  box-shadow: 0 12px 36px rgba(37, 99, 235, 0.55), 0 0 0 8px rgba(59, 130, 246, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vl-bigplay:hover .vl-bigplay-circle {
  transform: scale(1.07);
  box-shadow: 0 16px 44px rgba(37, 99, 235, 0.75), 0 0 0 12px rgba(59, 130, 246, 0.24);
}
.vl-bigplay-circle svg {
  width: 34px;
  height: 34px;
  margin-left: 3px;
}
.vl-bigplay-label {
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 0.9rem;
  font-weight: 600;
  color: #E2E8F0;
}

/* Subtitles bar overlay */
.vl-subtitles {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 12px;
  z-index: 4;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.vl-subtitles.is-hidden {
  display: none;
}
.vl-sub-box {
  max-width: 860px;
  padding: 8px 18px;
  border-radius: 12px;
  background: rgba(7, 11, 25, 0.88);
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  color: #F8FAFC;
  font-size: clamp(0.9rem, 1.35vw, 1.04rem);
  line-height: 1.45;
  text-align: center;
  font-weight: 500;
}

/* Animated reveal items on stage */
.vl-cue {
  opacity: 0.16;
  transform: translateY(10px) scale(0.985);
  filter: grayscale(0.4);
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              filter 0.42s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}
.vl-cue.is-shown {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}
.vl-cue.is-active {
  border-color: rgba(59, 130, 246, 0.75) !important;
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 12px 28px rgba(37, 99, 235, 0.22);
}

/* Scene 1: Intro Orbit */
.vl-s1-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.vl-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--vl-border);
}
.vl-py-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.vl-py-logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(245, 158, 11, 0.22));
  border: 1px solid rgba(59, 130, 246, 0.4);
  font-size: 1.9rem;
  flex-shrink: 0;
}
.vl-py-brand h3 {
  margin: 0 0 4px;
  font-size: 1.25rem;
  color: #fff;
}
.vl-py-brand p {
  margin: 0;
  font-size: 0.85rem;
  color: #93C5FD;
}
.vl-traits {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vl-trait-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid var(--vl-border);
}
.vl-trait-ico {
  font-size: 1.2rem;
}
.vl-trait-item strong {
  display: block;
  font-size: 0.88rem;
  color: #F8FAFC;
}
.vl-trait-item span {
  font-size: 0.78rem;
  color: var(--vl-muted);
}
.vl-domains-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.vl-domain-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--vl-border);
}
.vl-domain-ico {
  font-size: 1.35rem;
}
.vl-domain-card strong {
  font-size: 0.92rem;
  color: #fff;
}
.vl-domain-card small {
  font-family: var(--vl-mono);
  font-size: 0.75rem;
  color: #93C5FD;
}

.vl-tag-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--vl-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Code window inside stage */
.vl-codebox {
  border-radius: 14px;
  background: #090D1A;
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
}
.vl-codebox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  background: #11182E;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.76rem;
  color: #94A3B8;
}
.vl-dots {
  display: inline-flex;
  gap: 5px;
}
.vl-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.vl-dots i:nth-child(1) { background: #F43F5E; }
.vl-dots i:nth-child(2) { background: #F59E0B; }
.vl-dots i:nth-child(3) { background: #10B981; }
.vl-copy-btn {
  padding: 3px 9px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(30, 41, 59, 0.8);
  color: #E2E8F0;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.vl-copy-btn:hover {
  background: #2563EB;
  border-color: #3B82F6;
}
.vl-clean-btn {
  background: rgba(14, 165, 233, 0.18);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38BDF8;
}
.vl-clean-btn:hover {
  background: #0284C7;
  border-color: #38BDF8;
  color: #FFFFFF;
}
.vl-codebox pre {
  margin: 0;
  padding: 12px 14px;
  font-family: var(--vl-mono);
  font-size: 0.84rem;
  line-height: 1.6;
  color: #D4D4D4;
  overflow-x: auto;
  white-space: pre;
}
.vl-codebox pre code {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: transparent;
  padding: 0;
  border: 0;
}
.vl-inline-code {
  display: block;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 10px;
  border-radius: 6px;
  font-family: var(--vl-mono);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #D4D4D4;
  overflow-x: auto;
}
.vl-codebox-out {
  padding: 8px 14px;
  background: rgba(16, 185, 129, 0.1);
  border-top: 1px solid rgba(16, 185, 129, 0.25);
  font-family: var(--vl-mono);
  font-size: 0.8rem;
  color: #6EE7B7;
}

/* Syntax Highlighting Tokens (VS Code Dark Modern / Prowid Standard) */
.vl-player .tk-kw   { color: #C586C0; }
.vl-player .tk-dec  { color: #569CD6; }
.vl-player .tk-cls  { color: #4EC9B0; }
.vl-player .tk-fn   { color: #DCDCAA; }
.vl-player .tk-str  { color: #CE9178; }
.vl-player .tk-val  { color: #CE9178; }
.vl-player .tk-num  { color: #B5CEA8; }
.vl-player .tk-com  { color: #6A9955; font-style: italic; }
.vl-player .tk-var  { color: #9CDCFE; }
.vl-player .tk-prop { color: #9CDCFE; }
.vl-player .tk-attr { color: #9CDCFE; }
.vl-player .tk-tag  { color: #569CD6; }
.vl-player .tk-sel  { color: #D7BA7D; }
.vl-player .tk-pun  { color: #808DA6; }
.vl-player .tk-ent  { color: #D7BA7D; }
.vl-player .tk-doc  { color: #C586C0; }
.vl-player .tk-pro  { color: #38BDF8; font-weight: 700; }
.vl-player .tk-out  { color: #94A3B8; }

/* Cisco IOS / Network CLI Tokens */
.vl-player .tk-c-host   { color: #818CF8; font-weight: 700; }
.vl-player .tk-c-mode   { color: #38BDF8; font-weight: 600; }
.vl-player .tk-c-prompt { color: #C7D2FE; font-weight: 700; }
.vl-player .tk-c-cmd    { color: #FFFFFF; font-weight: 700; }
.vl-player .tk-c-param  { color: #93C5FD; }
.vl-player .tk-c-ip     { color: #2DD4BF; font-weight: 600; }
.vl-player .tk-c-mask   { color: #5EEAD4; }
.vl-player .tk-c-iface  { color: #67E8F9; font-weight: 600; }
.vl-player .tk-c-up     { color: #4ADE80; font-weight: 700; }
.vl-player .tk-c-down   { color: #F87171; }
.vl-player .tk-c-syslog { color: #FBBF24; }
.vl-player .tk-c-err    { color: #F87171; font-weight: 700; }
.vl-player .tk-c-hdr    { color: #94A3B8; font-weight: 700; }
.vl-player .tk-c-out    { color: #94A3B8; }

/* ============================================================
   Live Browser Viewport (.vl-browser)
   ============================================================ */
.vl-browser {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #090D1A;
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vl-browser:hover {
  border-color: rgba(59, 130, 246, 0.4);
}
.vl-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: #0F172A;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.vl-browser-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vl-browser-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: #94A3B8;
  font-size: 0.95rem;
  font-weight: 700;
  user-select: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.vl-browser-nav-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #F8FAFC;
}
.vl-browser-url {
  flex: 1;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 6px;
  background: #050814;
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-family: var(--vl-mono);
  font-size: 0.74rem;
  color: #CBD5E1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.vl-browser-lock {
  font-size: 0.75rem;
  opacity: 0.85;
}
.vl-browser-addr {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.vl-browser-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vl-browser-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34D399;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.vl-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: vl-pulse-dot 2s infinite ease-in-out;
}
@keyframes vl-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}
.vl-browser-win-ctrl {
  display: inline-flex;
  gap: 7px;
  font-size: 0.82rem;
  color: #64748B;
  user-select: none;
  font-weight: 600;
}
.vl-browser-body {
  position: relative;
  background: #ffffff;
  min-height: 250px;
  max-height: 680px;
  flex: 1;
  overflow: auto;
}
.vl-browser-frame {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
  display: block;
  background: #ffffff;
}

/* ============================================================
   DevTools Console Viewport (.vl-console)
   ============================================================ */
.vl-console {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #090D1A;
  border: 1px solid rgba(148, 163, 184, 0.22);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.vl-console-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 12px;
  background: #111827;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.vl-console-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}
.vl-con-tab {
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.74rem;
  color: #94A3B8;
  cursor: default;
  user-select: none;
}
.vl-con-tab.is-active {
  background: rgba(59, 130, 246, 0.18);
  color: #60A5FA;
  font-weight: 600;
  border-bottom: 2px solid #3B82F6;
}
.vl-con-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3B82F6;
  margin-left: 2px;
}
.vl-console-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.vl-con-badge {
  font-size: 0.72rem;
  color: #94A3B8;
  font-family: var(--vl-mono);
}
.vl-console-body {
  padding: 12px 14px;
  background: #050814;
  font-family: var(--vl-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  min-height: 250px;
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vl-con-entry {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 6px;
  border-radius: 6px;
  border-left: 2px solid transparent;
}
.vl-con-entry.is-error {
  background: rgba(239, 68, 68, 0.1);
  border-left-color: #EF4444;
  color: #FCA5A5;
}
.vl-con-entry.is-warn {
  background: rgba(245, 158, 11, 0.1);
  border-left-color: #F59E0B;
  color: #FDE68A;
}
.vl-con-entry.is-info {
  background: rgba(59, 130, 246, 0.1);
  border-left-color: #3B82F6;
  color: #93C5FD;
}
.vl-con-cmd {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
}
.vl-con-arrow {
  color: #60A5FA;
  font-weight: 700;
}
.vl-con-ret {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 14px;
}
.vl-con-ret-sym {
  color: #94A3B8;
  font-size: 0.75rem;
}
.vl-con-val.is-string { color: #86EFAC; }
.vl-con-val.is-number { color: #FDE047; }
.vl-con-val.is-boolean { color: #F472B6; }
.vl-con-val.is-object { color: #93C5FD; }
.vl-con-desc {
  padding-left: 14px;
  font-size: 0.74rem;
  color: #64748B;
}
.vl-con-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: #38BDF8;
  vertical-align: middle;
  animation: vl-blink 1s infinite;
}
@keyframes vl-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ============================================================
   Split Preview Grid (.vl-split-preview-grid)
   ============================================================ */
.vl-split-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 820px) {
  .vl-split-preview-grid {
    grid-template-columns: 1fr;
  }
}
.vl-split-preview-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vl-split-preview-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Scene 2: Interpreter Pipeline */
.vl-s2-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vl-compiled-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px dashed rgba(245, 158, 11, 0.45);
  font-size: 0.82rem;
}
.vl-compiled-flow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--vl-mono);
  color: #FDE68A;
}
.vl-pipe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vl-pipe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--vl-border);
}
.vl-pipe-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.vl-pipe-num {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.2);
  color: #60A5FA;
  font-family: var(--vl-mono);
  font-size: 0.75rem;
  font-weight: 700;
}
.vl-pipe-card h4 {
  margin: 0;
  font-size: 0.98rem;
  color: #fff;
}
.vl-pipe-sub {
  margin: 0;
  font-size: 0.78rem;
  color: #93C5FD;
}
.vl-pipe-detail {
  margin: 0;
  font-size: 0.78rem;
  color: var(--vl-muted);
}

/* Scene 3: History & Zen */
.vl-s3-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
}
.vl-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.vl-tl-item {
  padding: 11px 14px;
  border-radius: 13px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--vl-border);
}
.vl-tl-year {
  display: inline-block;
  margin-bottom: 3px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.18);
  color: #60A5FA;
  font-size: 0.73rem;
  font-weight: 700;
}
.vl-tl-item strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}
.vl-tl-item p {
  margin: 3px 0 0;
  font-size: 0.79rem;
  color: var(--vl-muted);
}
.vl-s3-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vl-indent-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.vl-zen-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid var(--vl-border);
}
.vl-zen-cmd {
  font-family: var(--vl-mono);
  font-size: 0.8rem;
  color: #38BDF8;
  margin-bottom: 8px;
}
.vl-zen-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.vl-zen-rule {
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(30, 41, 59, 0.7);
  font-size: 0.77rem;
}
.vl-zen-rule strong {
  display: block;
  color: #F8FAFC;
}
.vl-zen-rule span {
  color: #93C5FD;
  font-size: 0.73rem;
}

/* Scene 4: Evolution Py2 vs Py3 */
.vl-s4-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vl-s4-compare {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 14px;
}
.vl-ver-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 15px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--vl-border);
}
.vl-ver-card.is-py2 {
  border-color: rgba(244, 63, 94, 0.35);
}
.vl-ver-card.is-py3 {
  border-color: rgba(16, 185, 129, 0.45);
}
.vl-ver-status {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}
.is-py2 .vl-ver-status {
  background: rgba(244, 63, 94, 0.16);
  color: #FDA4AF;
}
.is-py3 .vl-ver-status {
  background: rgba(16, 185, 129, 0.16);
  color: #6EE7B7;
}
.vl-ver-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.82rem;
  color: #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.vl-release-train {
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--vl-border);
}
.vl-release-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #93C5FD;
  margin-bottom: 9px;
}
.vl-release-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.vl-rel-chip {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.78);
  border: 1px solid rgba(59, 130, 246, 0.25);
  text-align: center;
}
.vl-rel-chip strong {
  display: block;
  font-family: var(--vl-mono);
  font-size: 0.86rem;
  color: #38BDF8;
}
.vl-rel-chip span {
  font-size: 0.72rem;
  color: #CBD5E1;
}

/* Scene 5: 3 Ecosystem Pillars */
.vl-s5-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.vl-pillar-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 15px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.84);
  border: 1px solid var(--vl-border);
}
.vl-pillar-top h4 {
  margin: 6px 0 6px;
  font-size: 0.96rem;
  color: #fff;
}
.vl-pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 8px;
}
.vl-pillar-tags span {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93C5FD;
  font-family: var(--vl-mono);
  font-size: 0.72rem;
  font-weight: 600;
}
.vl-pillar-top p {
  margin: 0;
  font-size: 0.8rem;
  color: #CBD5E1;
  line-height: 1.45;
}

/* Scene 6: Syntax Comparison & Anatomy */
.vl-s6-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.vl-s6-langs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.vl-lang-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--vl-border);
}
.vl-lang-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.vl-lang-head strong {
  font-size: 0.9rem;
  color: #fff;
}
.vl-lang-head span {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.18);
  color: #93C5FD;
}
.vl-lang-note {
  margin: 0;
  font-size: 0.75rem;
  color: var(--vl-muted);
}
.vl-anatomy-box {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid var(--vl-border);
}
.vl-anatomy-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #070B16;
  border: 1px solid rgba(59, 130, 246, 0.35);
  font-family: var(--vl-mono);
  font-size: 1.08rem;
}
.vl-tok-fn { color: #60A5FA; font-weight: 700; }
.vl-tok-paren { color: #FBBF24; font-weight: 700; }
.vl-tok-str { color: #34D399; }
.vl-anatomy-parts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.vl-anat-part {
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid var(--vl-border);
}
.vl-anat-part code {
  display: inline-block;
  margin-bottom: 4px;
  font-family: var(--vl-mono);
  font-size: 0.78rem;
  color: #38BDF8;
}
.vl-anat-part strong {
  display: block;
  font-size: 0.8rem;
  color: #fff;
}
.vl-anat-part span {
  font-size: 0.73rem;
  color: var(--vl-muted);
}

/* Scene 7: Career & Summary */
.vl-s7-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
}
.vl-sectors-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vl-sector-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--vl-border);
}
.vl-sector-card strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}
.vl-sector-orgs {
  display: block;
  font-size: 0.76rem;
  color: #38BDF8;
  font-weight: 600;
  margin: 2px 0 4px;
}
.vl-sector-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--vl-muted);
}
.vl-summary-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid var(--vl-border);
}
.vl-summary-col h4 {
  margin: 0 0 6px;
  font-size: 0.96rem;
  color: #fff;
}
.vl-sum-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vl-sum-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 10px;
  background: rgba(30, 41, 59, 0.68);
  font-size: 0.8rem;
  color: #E2E8F0;
}
.vl-sum-check {
  color: #34D399;
  font-weight: 700;
}
.vl-s7-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.vl-cta-btn {
  padding: 9px 16px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}
.vl-cta-btn.is-ghost {
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid var(--vl-border);
}

/* Bottom video player control bar */
.vl-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 18px 14px;
  background: rgba(5, 8, 20, 0.92);
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  z-index: 6;
}

/* Interactive Scrubber Timeline with chapter segments */
.vl-timeline {
  position: relative;
  display: flex;
  align-items: center;
  height: 18px;
  cursor: pointer;
  user-select: none;
  touch-action: none;
}
.vl-timeline-track {
  position: relative;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.24);
  overflow: hidden;
  transition: height 0.15s ease;
}
.vl-timeline:hover .vl-timeline-track {
  height: 8px;
}
.vl-timeline-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #3B82F6, #6366F1, #38BDF8);
  border-radius: 999px;
}
.vl-timeline-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(7, 11, 25, 0.9);
  z-index: 2;
}
.vl-timeline-thumb {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px #2563EB, 0 2px 8px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
}
.vl-timeline-tip {
  position: absolute;
  bottom: 24px;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 8px;
  background: #0F172A;
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #F8FAFC;
  font-size: 0.74rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.vl-timeline:hover .vl-timeline-tip {
  opacity: 1;
}

.vl-ctrl-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.vl-ctrl-left,
.vl-ctrl-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.vl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(30, 41, 59, 0.75);
  color: #F8FAFC;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}
.vl-btn:hover {
  background: rgba(51, 65, 85, 0.9);
  border-color: rgba(148, 163, 184, 0.4);
}
.vl-btn-play {
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  border-color: transparent;
  padding: 0 15px;
}
.vl-btn-play:hover {
  background: linear-gradient(135deg, #1D4ED8, #4338CA);
}
.vl-btn.is-on {
  border-color: #3B82F6;
  color: #60A5FA;
}
.vl-btn svg {
  width: 17px;
  height: 17px;
}
.vl-time {
  font-family: var(--vl-mono);
  font-size: 0.8rem;
  color: #CBD5E1;
  padding: 0 6px;
}

/* Chapter strip below player */
.vl-chapters {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.vl-chap-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 9px 11px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #0F172A;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.vl-chap-btn:hover {
  border-color: #3B82F6;
  transform: translateY(-1px);
}
.vl-chap-btn.is-active {
  border-color: #2563EB;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(79, 70, 229, 0.06));
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.12);
}
.vl-chap-num {
  font-family: var(--vl-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #2563EB;
}
.vl-chap-title {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.3;
  color: #1E293B;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 960px) {
  .vl-s1-grid,
  .vl-pipe-grid,
  .vl-s3-grid,
  .vl-s4-compare,
  .vl-s5-grid,
  .vl-s6-langs,
  .vl-s7-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .vl-anatomy-parts,
  .vl-release-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vl-chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .vl-player * {
    animation: var(--animation-reduced) !important;
    transition: none !important;
  }
  .vl-cue {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
