
/* ==========================================================================
   qVEO Smart TV & PC Universal Engine CSS (Disney+ / Netflix Style)
   100% Static - Optimized for Smart TVs (Challenger, WebKit, Android TV, Tizen)
   ========================================================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root {
  --sidebar-collapsed-w: 46px;
  --sidebar-expanded-w: 46px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #070a12;
  color: #f8fafc;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

/* Regla Maestra para Televisores */
.hidden { display: none !important; }
.block { display: block !important; }
.inline-block { display: inline-block !important; }
.flex { display: flex !important; }
.inline-flex { display: inline-flex !important; }
.grid { display: grid !important; }

/* Positioning */
.fixed { position: fixed !important; }
.absolute { position: absolute !important; }
.relative { position: relative !important; }

.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.top-2 { top: 0.5rem; }
.top-3 { top: 0.75rem; }
.top-4 { top: 1rem; }
.top-6 { top: 1.5rem; }
.top-8 { top: 2rem; }
.bottom-0 { bottom: 0; }
.bottom-5 { bottom: 1.25rem; }
.bottom-8 { bottom: 2rem; }
.bottom-10 { bottom: 2.5rem; }
.bottom-20 { bottom: 5rem; }
.left-0 { left: 0; }
.left-2 { left: 0.5rem; }
.left-4 { left: 1rem; }
.left-6 { left: 1.5rem; }
.left-10 { left: 2.5rem; }
.left-24 { left: 6rem; }
.left-28 { left: 7rem; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-2 { right: 0.5rem; }
.right-3\.5 { right: 0.875rem; }
.right-6 { right: 1.5rem; }
.right-8 { right: 2rem; }
.right-10 { right: 2.5rem; }

.-translate-x-1\/2 { transform: translateX(-50%); -webkit-transform: translateX(-50%); }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* Dimensions */
.w-full { width: 100% !important; }
.h-full { height: 100% !important; }
.w-screen { width: 100vw !important; }
.h-screen { height: 100vh !important; }
.w-\[80vw\] { width: 80vw !important; }
.h-\[52vh\] { height: 52vh !important; }
.min-h-\[340px\] { min-height: 340px; }
.min-w-0 { min-width: 0 !important; }
.max-w-xl { max-width: 36rem !important; }
.max-w-2xl { max-width: 42rem !important; }
.max-w-full { max-width: 100% !important; }
.max-h-12 { max-height: 3rem !important; }
.max-h-64 { max-height: 16rem !important; }
.max-h-full { max-height: 100% !important; }
.aspect-video { aspect-ratio: 16 / 9; }

.w-1\.5 { width: 0.375rem; }
.h-1\.5 { height: 0.375rem; }
.w-2 { width: 0.5rem; }
.h-2 { height: 0.5rem; }
.w-2\.5 { width: 0.625rem; }
.h-2\.5 { height: 0.625rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem !important; }
.h-8 { height: 2rem !important; }
.w-9 { width: 2.25rem !important; }
.h-9 { height: 2.25rem !important; }
.w-10 { width: 2.5rem !important; }
.h-10 { height: 2.5rem !important; }
.w-11 { width: 2.75rem !important; }
.h-11 { height: 2.75rem !important; }
.w-12 { width: 3rem !important; }
.h-12 { height: 3rem !important; }
.w-16 { width: 4rem !important; }
.h-16 { height: 4rem !important; }

/* Flexbox */
.flex-col { flex-direction: column !important; }
.flex-row { flex-direction: row !important; }
.flex-1 { flex: 1 1 0% !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.items-center { align-items: center !important; }
.items-start { align-items: flex-start !important; }
.justify-between { justify-content: space-between !important; }
.justify-center { justify-content: center !important; }

/* Grids */
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)) !important; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
  .lg\:text-4xl { font-size: 2.25rem !important; line-height: 2.5rem !important; }
  .lg\:text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
}

/* Gaps */
.gap-1 { gap: 0.25rem !important; }
.gap-1\.5 { gap: 0.375rem !important; }
.gap-2 { gap: 0.5rem !important; }
.gap-2\.5 { gap: 0.625rem !important; }
.gap-3 { gap: 0.75rem !important; }
.gap-3\.5 { gap: 0.875rem !important; }
.gap-4 { gap: 1rem !important; }
.gap-5 { gap: 1.25rem !important; }
.gap-6 { gap: 1.5rem !important; }

/* Spacing Padding */
.p-0\.5 { padding: 0.125rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-2\.5 { padding: 0.625rem !important; }
.p-3 { padding: 0.75rem !important; }
.p-3\.5 { padding: 0.875rem !important; }
.p-4 { padding: 1rem !important; }
.p-5 { padding: 1.25rem !important; }
.p-6 { padding: 1.5rem !important; }

.px-1 { padding-left: 0.25rem !important; padding-right: 0.25rem !important; }
.px-1\.5 { padding-left: 0.375rem !important; padding-right: 0.375rem !important; }
.px-2 { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
.px-2\.5 { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
.px-3 { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
.px-3\.5 { padding-left: 0.875rem !important; padding-right: 0.875rem !important; }
.px-4 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-5 { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
.px-6 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

.py-0\.5 { padding-top: 0.125rem !important; padding-bottom: 0.125rem !important; }
.py-1 { padding-top: 0.25rem !important; padding-bottom: 0.25rem !important; }
.py-1\.5 { padding-top: 0.375rem !important; padding-bottom: 0.375rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-2\.5 { padding-top: 0.625rem !important; padding-bottom: 0.625rem !important; }
.py-3 { padding-top: 0.75rem !important; padding-bottom: 0.75rem !important; }
.py-3\.5 { padding-top: 0.875rem !important; padding-bottom: 0.875rem !important; }
.py-6 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }

.pb-3 { padding-bottom: 0.75rem !important; }
.pb-4 { padding-bottom: 1rem !important; }
.pb-12 { padding-bottom: 3rem !important; }
.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 0.75rem !important; }
.pt-20 { padding-top: 5rem !important; }
.pl-3 { padding-left: 0.75rem !important; }
.pl-11 { padding-left: 2.75rem !important; }
.pl-\[74px\] { padding-left: 74px !important; }
.pl-\[80px\] { padding-left: 80px !important; }
.pl-\[84px\] { padding-left: 84px !important; }
.pr-8 { padding-right: 2rem !important; }
.pr-10 { padding-right: 2.5rem !important; }

/* Spacing Margins */
.m-0 { margin: 0 !important; }
.mx-4 { margin-left: 1rem !important; margin-right: 1rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mr-1 { margin-right: 0.25rem !important; }
.mr-1\.5 { margin-right: 0.375rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-4 { margin-right: 1rem !important; }
.mt-0\.5 { margin-top: 0.125rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mt-6 { margin-top: 1.5rem !important; }

.space-y-1 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.25rem !important; }
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.375rem !important; }
.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem !important; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem !important; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem !important; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem !important; }
.space-y-7 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.75rem !important; }

/* Borders & Rounded */
.border { border: 1px solid rgba(255, 255, 255, 0.1) !important; }
.border-0 { border-width: 0 !important; }
.border-t { border-top: 1px solid rgba(255, 255, 255, 0.1) !important; }
.border-b { border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; }
.border-l { border-left: 1px solid rgba(255, 255, 255, 0.1) !important; }

.border-white\/5 { border-color: rgba(255, 255, 255, 0.05) !important; }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.10) !important; }
.border-white\/15 { border-color: rgba(255, 255, 255, 0.15) !important; }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.20) !important; }
.border-sky-500\/20 { border-color: rgba(14, 165, 233, 0.2) !important; }
.border-sky-500\/30 { border-color: rgba(14, 165, 233, 0.3) !important; }
.border-sky-500\/40 { border-color: rgba(14, 165, 233, 0.4) !important; }
.border-amber-500\/20 { border-color: rgba(245, 158, 11, 0.2) !important; }
.border-amber-500\/30 { border-color: rgba(245, 158, 11, 0.3) !important; }
.border-amber-500\/40 { border-color: rgba(245, 158, 11, 0.4) !important; }
.border-emerald-500\/20 { border-color: rgba(16, 185, 129, 0.2) !important; }
.border-emerald-500\/30 { border-color: rgba(16, 185, 129, 0.3) !important; }
.border-cyan-500\/40 { border-color: rgba(6, 182, 212, 0.4) !important; }
.border-indigo-500\/30 { border-color: rgba(99, 102, 241, 0.3) !important; }

.rounded { border-radius: 0.25rem !important; }
.rounded-md { border-radius: 0.375rem !important; }
.rounded-lg { border-radius: 0.5rem !important; }
.rounded-xl { border-radius: 0.75rem !important; }
.rounded-2xl { border-radius: 1rem !important; }
.rounded-3xl { border-radius: 1.5rem !important; }
.rounded-full { border-radius: 9999px !important; }

/* Colors & Backgrounds */
.bg-\[\#070a12\] { background-color: #070a12 !important; }
.bg-black { background-color: #000000 !important; }
.bg-black\/40 { background-color: rgba(0, 0, 0, 0.4) !important; }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6) !important; }
.bg-black\/70 { background-color: rgba(0, 0, 0, 0.7) !important; }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8) !important; }
.bg-slate-900 { background-color: #0f172a !important; }
.bg-slate-900\/40 { background-color: rgba(15, 23, 42, 0.4) !important; }
.bg-slate-900\/80 { background-color: rgba(15, 23, 42, 0.8) !important; }
.bg-slate-900\/90 { background-color: rgba(15, 23, 42, 0.9) !important; }
.bg-slate-950 { background-color: #020617 !important; }
.bg-slate-950\/80 { background-color: rgba(2, 6, 23, 0.8) !important; }
.bg-white { background-color: #ffffff !important; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05) !important; }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.10) !important; }
.bg-white\/30 { background-color: rgba(255, 255, 255, 0.30) !important; }

.bg-sky-400 { background-color: #38bdf8 !important; }
.bg-sky-500\/10 { background-color: rgba(14, 165, 233, 0.1) !important; }
.bg-sky-500\/20 { background-color: rgba(14, 165, 233, 0.2) !important; }
.bg-sky-500\/25 { background-color: rgba(14, 165, 233, 0.25) !important; }
.bg-amber-500\/10 { background-color: rgba(245, 158, 11, 0.1) !important; }
.bg-amber-500\/20 { background-color: rgba(245, 158, 11, 0.2) !important; }
.bg-amber-500\/25 { background-color: rgba(245, 158, 11, 0.25) !important; }
.bg-emerald-500 { background-color: #10b981 !important; }
.bg-emerald-500\/10 { background-color: rgba(16, 185, 129, 0.1) !important; }
.bg-emerald-500\/20 { background-color: rgba(16, 185, 129, 0.2) !important; }
.bg-cyan-400 { background-color: #22d3ee !important; }
.bg-cyan-500\/20 { background-color: rgba(6, 182, 212, 0.2) !important; }
.bg-indigo-500\/20 { background-color: rgba(99, 102, 241, 0.2) !important; }
.bg-rose-500\/20 { background-color: rgba(244, 63, 94, 0.2) !important; }
.bg-rose-500\/90 { background-color: rgba(244, 63, 94, 0.9) !important; }
.bg-rose-600 { background-color: #e11d48 !important; }
.bg-\[\#1DB954\]\/20 { background-color: rgba(29, 185, 84, 0.2) !important; }

/* Gradients */
.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)) !important; }
.bg-gradient-to-tr { background-image: linear-gradient(to top right, var(--tw-gradient-stops)) !important; }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)) !important; }

.from-indigo-600 { --tw-gradient-from: #4f46e5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(79, 70, 229, 0)); }
.to-rose-600 { --tw-gradient-to: #e11d48; }
.from-sky-500 { --tw-gradient-from: #0ea5e9; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(14, 165, 233, 0)); }
.to-blue-600 { --tw-gradient-to: #2563eb; }
.to-indigo-600 { --tw-gradient-to: #4f46e5; }
.from-slate-900\/90 { --tw-gradient-from: rgba(15, 23, 42, 0.9); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(15, 23, 42, 0)); }
.to-slate-950\/90 { --tw-gradient-to: rgba(2, 6, 23, 0.9); }
.from-indigo-950\/60 { --tw-gradient-from: rgba(30, 27, 75, 0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(30, 27, 75, 0)); }
.to-slate-900 { --tw-gradient-to: #0f172a; }
.from-amber-500\/15 { --tw-gradient-from: rgba(245, 158, 11, 0.15); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(245, 158, 11, 0)); }
.to-transparent { --tw-gradient-to: transparent; }

.bg-cover { background-size: cover !important; }
.bg-center { background-position: center !important; }
.object-cover { object-fit: cover !important; }
.object-contain { object-fit: contain !important; }

/* Typography */
.text-white { color: #ffffff !important; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8) !important; }
.text-slate-100 { color: #f1f5f9 !important; }
.text-slate-200 { color: #e2e8f0 !important; }
.text-slate-300 { color: #cbd5e1 !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-800 { color: #1e293b !important; }
.text-slate-950 { color: #020617 !important; }
.text-sky-300 { color: #7dd3fc !important; }
.text-sky-400 { color: #38bdf8 !important; }
.text-amber-200 { color: #fde68a !important; }
.text-amber-300 { color: #fcd34d !important; }
.text-amber-400 { color: #fbbf24 !important; }
.text-amber-500 { color: #f59e0b !important; }
.text-amber-600 { color: #d97706 !important; }
.text-emerald-300 { color: #6ee7b7 !important; }
.text-emerald-400 { color: #34d399 !important; }
.text-emerald-600 { color: #059669 !important; }
.text-emerald-700 { color: #047857 !important; }
.text-cyan-300 { color: #67e8f9 !important; }
.text-cyan-400 { color: #22d3ee !important; }
.text-teal-400 { color: #2dd4bf !important; }
.text-lime-400 { color: #a3e635 !important; }
.text-purple-400 { color: #c084fc !important; }
.text-rose-400 { color: #fb7185 !important; }
.text-indigo-400 { color: #818cf8 !important; }
.text-\[\#1DB954\] { color: #1DB954 !important; }

.text-\[8px\] { font-size: 8px !important; line-height: 10px !important; }
.text-\[9px\] { font-size: 9px !important; line-height: 12px !important; }
.text-\[10px\] { font-size: 10px !important; line-height: 14px !important; }
.text-\[11px\] { font-size: 11px !important; line-height: 15px !important; }
.text-xs { font-size: 0.75rem !important; line-height: 1rem !important; }
.text-sm { font-size: 0.875rem !important; line-height: 1.25rem !important; }
.text-base { font-size: 1rem !important; line-height: 1.5rem !important; }
.text-lg { font-size: 1.125rem !important; line-height: 1.75rem !important; }
.text-xl { font-size: 1.25rem !important; line-height: 1.75rem !important; }
.text-2xl { font-size: 1.5rem !important; line-height: 2rem !important; }
.text-3xl { font-size: 1.875rem !important; line-height: 2.25rem !important; }

.font-light { font-weight: 300 !important; }
.font-normal { font-weight: 400 !important; }
.font-medium { font-weight: 500 !important; }
.font-semibold { font-weight: 600 !important; }
.font-bold { font-weight: 700 !important; }
.font-extrabold { font-weight: 800 !important; }
.font-black { font-weight: 900 !important; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace !important; }

.uppercase { text-transform: uppercase !important; }
.text-center { text-align: center !important; }
.tracking-tight { letter-spacing: -0.025em !important; }
.tracking-wide { letter-spacing: 0.025em !important; }
.tracking-wider { letter-spacing: 0.05em !important; }
.tracking-widest { letter-spacing: 0.1em !important; }
.tracking-\[0\.25em\] { letter-spacing: 0.25em !important; }

.leading-none { line-height: 1 !important; }
.leading-tight { line-height: 1.25 !important; }
.leading-relaxed { line-height: 1.625 !important; }
.truncate { overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.whitespace-nowrap { white-space: nowrap !important; }
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Opacity, Blur Fallbacks & Effects */
.opacity-60 { opacity: 0.6 !important; }
.opacity-0 { opacity: 0 !important; }
.opacity-100 { opacity: 1 !important; }
.pointer-events-none { pointer-events: none !important; }
.pointer-events-auto { pointer-events: auto !important; }
.select-none { user-select: none !important; -webkit-user-select: none !important; }
.cursor-pointer { cursor: pointer !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-y-auto { overflow-y: auto !important; }
.outline-none { outline: none !important; }

/* Acabado vidrio oscuro nativo para Smart TVs (0 blur GPU en tiempo real) */
.backdrop-blur-md,
.backdrop-blur-xl {
  background-color: rgba(15, 23, 42, 0.94) !important;
}

.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3) !important; }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4) !important; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5) !important; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.6) !important; }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important; }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.3) !important; }
.drop-shadow { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5)) !important; }
.drop-shadow-md { filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.6)) !important; }

/* Transitions & Animations */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 500ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 300ms; }
.duration-300 { transition-duration: 300ms !important; }
.duration-500 { transition-duration: 500ms !important; }
.duration-700 { transition-duration: 700ms !important; }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1) !important; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* Interactive Hover / Focus (PC and TV Remote D-Pad) */
.active\:scale-95:active { transform: scale(0.95); }
.group:hover .group-hover\:scale-110 { transform: scale(1.10); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }

.hover\:text-white:hover { color: #ffffff !important; }
.hover\:bg-black\/85:hover { background-color: rgba(0, 0, 0, 0.85) !important; }
.hover\:bg-black\/90:hover { background-color: rgba(0, 0, 0, 0.90) !important; }
.hover\:bg-slate-800:hover { background-color: #1e293b !important; }
.hover\:border-amber-500\/40:hover { border-color: rgba(245, 158, 11, 0.4) !important; }

.focus\:ring-2:focus { box-shadow: 0 0 0 2px #38bdf8 !important; }
.focus\:ring-sky-400:focus { --tw-ring-color: #38bdf8; }
.focus\:border-sky-500:focus { border-color: #0ea5e9 !important; }

/* Estilos de Componentes Específicos de qVEO Smart TV */
#qveo-sidebar {
  width: var(--sidebar-collapsed-w);
  background: rgba(6, 10, 20, 0.96);
  border: none !important;
  border-right: none !important;
  box-shadow: none !important;
  overflow: hidden;
}

#qveo-sidebar:hover,
#qveo-sidebar.sidebar-expanded {
  width: var(--sidebar-collapsed-w) !important;
  border: none !important;
  border-right: none !important;
  box-shadow: none !important;
}

.sidebar-label,
#qveo-sidebar:hover .sidebar-label,
#qveo-sidebar.sidebar-expanded .sidebar-label {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.sidebar-nav-btn {
  color: #94a3b8;
  background: transparent;
  border: 1px solid transparent;
}

.sidebar-nav-btn:hover,
.sidebar-nav-btn.active-tab {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.tv-focus-card {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.tv-focus-card:hover,
.tv-focus-card:focus,
.tv-focus-card.active-focus {
  transform: scale(1.04) translateY(-3px);
  box-shadow: 0 16px 36px -8px rgba(14, 165, 233, 0.35), 0 0 0 2px #38bdf8;
  border-color: #38bdf8;
  outline: none;
  z-index: 20;
}

.hero-vignette {
  background: linear-gradient(90deg, #070a12 0%, rgba(7, 10, 18, 0.8) 45%, rgba(7, 10, 18, 0.15) 80%, rgba(7, 10, 18, 0.4) 100%),
              linear-gradient(0deg, #06070a 0%, rgba(6, 7, 10, 0.92) 18%, rgba(6, 7, 10, 0.55) 45%, transparent 75%);
}

.brand-glow {
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

/* Complementos y Rings */
.ring-1 { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) !important; }
.ring-sky-500\/40 { box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.40) !important; }
.shadow-rose-600\/30 { box-shadow: 0 10px 25px -5px rgba(225, 29, 72, 0.3) !important; }

input::placeholder,
.placeholder-slate-500::placeholder {
  color: #64748b !important;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 1.5s infinite;
}

/* Protección Estricta contra desbordamiento en Smart TV */
#tv-osd-logo {
  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  object-fit: contain !important;
}

#tv-channel-osd.hidden,
#btn-return-hub.hidden,
#btn-hamburger-tv.hidden,
#tv-promo-slider.hidden,
#tv-hls-player.hidden,
#tv-youtube-player.hidden,
#search-modal.hidden,
#hub-channel-showcase.hidden {
  display: none !important;
}

/* ==========================================================================
   SHOWCASE OTT CANAL 7-24 (FULL BLEED • ZERO CAJONES • ESTILO HOME NATIVO)
   ========================================================================== */
#qveo-sidebar {
  z-index: 80 !important;
}

#hub-channel-showcase {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 46px;
  width: calc(100vw - 46px);
  z-index: 35 !important;
  background-color: #06070a !important;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  padding: 0 0 100px 0;
  margin: 0;
  box-sizing: border-box;
}

#showcase-hero {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 540px;
  max-height: 640px;
  margin: 0;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden;
  background-color: #06070a;
}

#showcase-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.95);
  transform: scale(1);
  transition: transform 0.7s ease-out, background-image 0.4s ease-in-out;
}

.showcase-grad-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #06070a 0%, rgba(6, 7, 10, 0.92) 20%, rgba(6, 7, 10, 0.60) 45%, rgba(6, 7, 10, 0.15) 75%, transparent 100%);
  pointer-events: none;
}

.showcase-grad-left {
  position: absolute;
  inset: 0;
  width: 65%;
  background: linear-gradient(to right, #06070a 0%, rgba(6, 7, 10, 0.75) 35%, rgba(6, 7, 10, 0.25) 70%, transparent 100%);
  pointer-events: none;
}

body.in-video-playback #hub-channel-showcase {
  display: none !important;
}

#showcase-rails-container {
  margin-top: -190px; /* Entrelazado profundo: la foto baja mucho más por detrás de las tarjetas */
  position: relative;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 28px;
  padding-right: 36px;
  width: 100%;
  box-sizing: border-box;
}

.showcase-rail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.showcase-rail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 14px;
  padding-right: 14px;
}

.showcase-rail-title {
  font-size: 16.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin: 0;
}

.showcase-rail-count {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.showcase-rail-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 14px 24px 14px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.showcase-rail-track::-webkit-scrollbar {
  display: none;
}

/* Card contenedor: CERO recuadro, CERO outline, CERO borde • Proporción 4 1/2 tarjetas en TV */
.showcase-video-card,
.showcase-video-card.tv-focused,
.showcase-video-card.tv-focus-card,
.showcase-video-card.tv-focus-card.tv-focused,
.showcase-video-card:focus,
.showcase-video-card:focus-visible,
.showcase-video-card:hover {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 192px;
  outline: none !important;
  outline-offset: 0 !important;
  border: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  background: transparent !important;
  cursor: pointer;
}

/* Primera y última tarjeta con anclaje para cero cortes en bordes */
.showcase-rail-track > .showcase-video-card:first-child .showcase-thumb-box,
.showcase-rail-track > :first-child .showcase-thumb-box {
  transform-origin: left center !important;
}

.showcase-rail-track > .showcase-video-card:last-child .showcase-thumb-box,
.showcase-rail-track > :last-child .showcase-thumb-box {
  transform-origin: right center !important;
}

/* Solo la miniatura recibe el efecto de foco/hover estilo Home nativo */
.showcase-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background-color: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.65);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease, outline 0.2s ease;
  will-change: transform;
}

.showcase-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Foco y Hover idéntico al Home: 100% estático, borde sutil al 65%, CERO resplandor expansivo */
.showcase-video-card:hover .showcase-thumb-box,
.showcase-video-card:focus .showcase-thumb-box,
.showcase-video-card.tv-focused .showcase-thumb-box {
  transform: none !important;
  outline: none !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.65) !important;
  transition: border-color 0.15s ease !important;
}

/* CERO zoom a la imagen interna para no cortar logos o textos de las miniaturas */
.showcase-video-card:hover .showcase-thumb-box img,
.showcase-video-card:focus .showcase-thumb-box img,
.showcase-video-card.tv-focused .showcase-thumb-box img {
  transform: none !important;
}

/* Metadata debajo de la miniatura: texto sutil gris sin puntos azules */
.showcase-card-meta {
  font-size: 8.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 6px;
  margin-bottom: 2px;
}

/* Título del video: más pequeño, gris más oscuro (#94a3b8), CERO azul */
.showcase-card-title {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  transition: color 0.15s ease;
}

.showcase-video-card:hover .showcase-card-title,
.showcase-video-card:focus .showcase-card-title,
.showcase-video-card.tv-focused .showcase-card-title {
  color: #e2e8f0; /* Tono blanco humo limpio al enfocar, CERO azul */
}

/* Botón flotante Play central */
.showcase-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.showcase-video-card:focus .showcase-play-badge,
.showcase-video-card.tv-focused .showcase-play-badge,
.showcase-video-card:hover .showcase-play-badge {
  opacity: 1;
  transform: scale(1);
}

.showcase-play-circle {
  width: 42px;
  height: 42px;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #06070a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8);
}

