/* VyMovie TV — landing compacta (mockup) */

:root {
  --bg: #08070a;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-strong: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.055);
  --text: #f5f4f6;
  --text-dim: #a1a0a8;
  --text-faint: #67666f;
  --accent: #ff4b45;
  --accent-2: #ff8a6a;
  --accent-soft: rgba(255, 75, 69, 0.12);
  --accent-line: rgba(255, 75, 69, 0.32);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Inter", system-ui, sans-serif;
  --radius-lg: 14px;
  --radius-md: 10px;
  --space-section: 72px;
  --mx: 50%;
  --my: 50%;
  --tv-red: var(--accent);
  --tv-red-soft: var(--accent-soft);
  --tv-red-glow: rgba(255, 75, 69, 0.35);
  --tv-head: var(--text);
  --tv-muted: var(--text-faint);
  --tv-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.vy-light body.hub-page-tv {
  background: transparent !important;
  color: var(--text);
  --bg: #f5f5f7;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-strong: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --border-soft: rgba(0, 0, 0, 0.05);
  --text: #1d1d1f;
  --text-dim: #6e6e73;
  --text-faint: #86868b;
  --accent-soft: rgba(220, 38, 38, 0.1);
  --accent-line: rgba(220, 38, 38, 0.28);
  --vy-grid-base: #fafafa;
  --vy-grid-line: rgba(0, 0, 0, 0.06);
}

body.hub-page-tv {
  background:
    radial-gradient(ellipse 1000px 550px at 15% -10%, rgba(255, 75, 69, 0.08), transparent 60%),
    radial-gradient(ellipse 800px 500px at 100% 20%, rgba(255, 75, 69, 0.045), transparent 65%),
    var(--bg) !important;
  color: var(--text);
  --vy-grid-base: #08070a;
  --vy-grid-line: rgba(255, 255, 255, 0.02);
}

html:has(body.hub-page-tv) {
  overflow-x: hidden;
  max-width: 100%;
}

body.hub-page-tv {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  overscroll-behavior-x: none;
}

@media (hover: none) {
  body.hub-page-tv { cursor: auto; }
  body.hub-page-tv .tv-cursor-dot,
  body.hub-page-tv .tv-cursor-ring { display: none; }
}

body.hub-page-tv .tv-cursor-dot,
body.hub-page-tv .tv-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

body.hub-page-tv .tv-cursor-dot {
  width: 5px;
  height: 5px;
  background: #fff;
  border-radius: 50%;
}

body.hub-page-tv .tv-cursor-ring {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  transition: width 0.25s ease, height 0.25s ease, background 0.25s, border-color 0.25s;
}

body.hub-page-tv .tv-cursor-ring.is-hovering {
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* status bar — fija y centrada, como IA / Programas */
body.hub-page-tv .global-status {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--hub-status-offset, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #08070a !important;
  border-bottom: 1px solid var(--border-soft) !important;
}

body.hub-page-tv .status-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-faint);
  white-space: nowrap;
}

body.hub-page-tv .status-item {
  display: flex;
  align-items: center;
  gap: 7px;
}

body.hub-page-tv .status-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: tv-pulse-dot 1.8s ease-in-out infinite;
}

@keyframes tv-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

body.hub-page-tv .status-accent {
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 720px) {
  body.hub-page-tv .status-track {
    gap: 16px;
    font-size: 8px;
  }
  body.hub-page-tv .status-item:nth-child(n + 3) {
    display: none;
  }
}

body.hub-page-tv .tv-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

body.hub-page-tv .tv-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), #a91f1a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 75, 69, 0.35), 0 4px 18px rgba(255, 75, 69, 0.3);
}

body.hub-page-tv .hub-page-nav {
  background: rgba(8, 7, 10, 0.6) !important;
  border-bottom: 1px solid var(--border-soft) !important;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}

.tv-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(1360px, 100%);
  margin: 0 auto;
  padding: calc(var(--hub-status-offset, 28px) + var(--hub-bar-min-h, 68px) + 36px) clamp(16px, 4vw, 44px) calc(80px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow-x: clip;
}

.hero-section {
  margin-bottom: var(--space-section);
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow-badge::before {
  content: "●";
  font-size: 8px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 820px;
  margin-bottom: 18px;
  color: var(--text);
  overflow: visible;
}

.hero-title em {
  display: inline-block;
  font-style: italic;
  font-weight: 800;
  padding: 0 0.22em 0.08em 0.02em;
  margin-right: -0.08em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2) 60%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.55;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 22px 20px;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 30px -10px rgba(0, 0, 0, 0.5);
}

.stat-card .num {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: var(--mono);
  margin-bottom: 6px;
  color: var(--text);
}

.stat-card .lbl {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.section-block {
  margin-bottom: var(--space-section);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text);
}

.section-title em {
  font-style: italic;
  color: var(--accent-2);
  font-weight: 800;
}

.btn,
.link-arrow,
.btn-red,
.btn-ghost-full {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: 10px;
  cursor: none;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-white {
  background: #f5f4f6;
  color: #0a0a0a;
  box-shadow: 0 2px 16px rgba(245, 244, 246, 0.12);
}

.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(245, 244, 246, 0.2);
}

.btn-ghost,
.link-arrow {
  background: var(--panel);
  color: var(--text-dim);
  border-color: var(--border);
}

.btn-ghost:hover,
.link-arrow:hover {
  color: var(--text);
  background: var(--panel-strong);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-red {
  background: var(--accent);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 14.5px;
  padding: 15px 26px;
  border-radius: 12px;
  box-shadow: 0 6px 26px rgba(255, 75, 69, 0.3);
}

.btn-red:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 34px rgba(255, 75, 69, 0.42);
}

.carousel-wrap {
  margin: 0;
  padding: 8px 0 20px;
  max-width: 100%;
  overflow: hidden;
}

.carousel {
  display: flex;
  align-items: flex-end;
  gap: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 132px 12% 28px;
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  perspective: 900px;
}

.carousel::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.poster {
  flex: 0 0 176px;
  width: 176px;
  scroll-snap-align: center;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--panel);
  text-decoration: none;
  color: inherit;
  transform: scale(0.86) translateY(0);
  opacity: 0.55;
  transition:
    opacity 0.45s ease,
    border-color 0.35s ease,
    box-shadow 0.45s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  will-change: transform;
  transform-origin: center bottom;
}

.poster.is-front {
  opacity: 1;
  z-index: 2;
  border-color: var(--accent-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 28px 50px -12px rgba(0, 0, 0, 0.75),
    0 0 36px rgba(255, 75, 69, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .poster.is-front {
    transform: scale(1.12) translateY(-12px);
  }
}

.poster:hover {
  border-color: var(--accent-line);
}

.poster-art {
  aspect-ratio: 2 / 3;
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
  background: #111;
}

.poster-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  pointer-events: none;
}

.poster-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.poster-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 4px 9px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}

.poster-genre {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}

.p1 { background: linear-gradient(150deg, #2a2f26, #10130e); }
.p2 { background: linear-gradient(150deg, #3a1f16, #170b06); }
.p3 { background: linear-gradient(150deg, #163024, #06120c); }
.p4 { background: linear-gradient(150deg, #1c1c26, #08080e); }
.p5 { background: linear-gradient(150deg, #3a2213, #170d05); }
.p6 { background: linear-gradient(150deg, #103042, #051620); }
.p7 { background: linear-gradient(150deg, #302a10, #141004); }
.p8 { background: linear-gradient(150deg, #241832, #0d0714); }
.p9 { background: linear-gradient(150deg, #1a2830, #081014); }
.p10 { background: linear-gradient(150deg, #301818, #120808); }

.poster-body { padding: 14px 14px 16px; }

.poster-title {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 1.25;
  color: var(--text);
}

.poster-desc {
  font-size: 11px;
  color: var(--text-faint);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster-placeholder {
  flex: 0 0 176px;
  height: 320px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
  background: var(--panel);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-faint);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 100%;
}

.cat-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(18px);
  padding: 24px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  cursor: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  background: var(--panel-strong);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 28px -12px rgba(0, 0, 0, 0.5);
}

.cat-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.cat-name {
  font-weight: 700;
  font-size: 15.5px;
  margin-bottom: 4px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.cat-count {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.bottom-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.bottom-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

.bottom-phone {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 100%;
  align-self: stretch;
}

.panel {
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  padding: 36px;
  position: relative;
  overflow: visible;
  min-width: 0;
  box-sizing: border-box;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(480px 320px at var(--mx) var(--my), rgba(255, 75, 69, 0.1), transparent 68%);
  pointer-events: none;
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 0;
}

.panel:hover::before { opacity: 1; }

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 75, 69, 0.12));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.panel-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.panel h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
  color: var(--text);
}

.panel h3 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 800;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
}

.step-text {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.5;
  padding-top: 4px;
}

.step-text b { color: var(--text); font-weight: 600; }

.panel .btn-red { position: relative; z-index: 1; }

.panel-connect {
  position: relative;
  z-index: 1;
}

.tv-phone {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.tv-phone__glow {
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle, rgba(255, 75, 69, 0.28), transparent 68%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}

.tv-phone__body {
  position: relative;
  height: 100%;
  aspect-ratio: 9 / 19.4;
  width: auto;
  max-width: 100%;
  min-height: 560px;
  border-radius: 52px;
  background: linear-gradient(165deg, #2a2a2e 0%, #0c0c0e 42%, #050506 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 0 2px #1a1a1c,
    0 22px 48px rgba(0, 0, 0, 0.55);
  animation: tv-phone-float 5.5s ease-in-out infinite;
}

.tv-phone__btn {
  position: absolute;
  background: #1c1c1e;
  border-radius: 2px;
}

.tv-phone__btn--silent {
  left: -3px;
  top: 18%;
  width: 3px;
  height: 4.2%;
}

.tv-phone__btn--vol-up {
  left: -3px;
  top: 25%;
  width: 3px;
  height: 7.5%;
}

.tv-phone__btn--vol-down {
  left: -3px;
  top: 34%;
  width: 3px;
  height: 7.5%;
}

.tv-phone__btn--power {
  right: -3px;
  top: 28%;
  width: 3px;
  height: 12%;
}

.tv-phone__screen {
  position: absolute;
  inset: 2.2%;
  border-radius: 42px;
  overflow: hidden;
  background: #050506;
}

.tv-phone__island {
  position: absolute;
  top: 2.4%;
  left: 50%;
  z-index: 3;
  width: 36%;
  height: 4.2%;
  margin-left: -18%;
  border-radius: 99px;
  background: #050506;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.tv-phone__screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  background: #000;
}

.tv-phone.is-ready .tv-phone__screen video { display: block; }
.tv-phone.is-ready .tv-phone__empty { display: none; }

.tv-phone__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 16px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  background:
    radial-gradient(ellipse 80% 50% at 50% 40%, rgba(255, 75, 69, 0.12), transparent 70%),
    #08070a;
}

@keyframes tv-phone-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  .tv-phone__body { animation: none; }
}

.panel-cta {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-bottom: 32px;
}

.panel-cta .panel-label { margin-bottom: 18px; }
.panel-cta h3 { margin-bottom: 12px; }

.panel-cta p {
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}

.panel-cta .btn-white {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 14px 22px;
  font-size: 15px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.panel-cta .btn-ghost-full {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.btn-ghost-full {
  width: 100%;
  padding: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--text-faint);
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

.btn-ghost-full:hover {
  color: var(--text-dim);
  border-color: rgba(255, 255, 255, 0.18);
}

.tv-footer {
  border-top: 1px solid var(--border-soft);
  padding: 28px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}

.tv-footer a {
  color: var(--text-faint);
  text-decoration: none;
  margin-left: 22px;
  transition: color 0.2s ease;
}

.tv-footer a:hover { color: var(--text-dim); }

.gs-anim { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .gs-anim { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 1080px) {
  .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bottom-split { grid-template-columns: minmax(0, 1fr); }
  .bottom-phone {
    padding: 8px 0 4px;
    min-height: 0;
    width: 100%;
    max-width: 100%;
  }
  .tv-phone { max-width: 280px; margin: 0 auto; height: auto; }
  .tv-phone__body { min-height: 0; width: 100%; height: auto; }
  .carousel { padding: 96px 16px 24px; }
}

@media (max-width: 720px) {
  .tv-shell {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .hero-title { font-size: clamp(28px, 8vw, 40px); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 calc(50% - 10px); min-width: 0; }
  .cat-card { padding: 16px 12px; gap: 10px; }
  .cat-icon { width: 40px; height: 40px; font-size: 18px; }
  .cat-name { font-size: 14px; }
  .cat-count { font-size: 10px; letter-spacing: 0.03em; }
  .panel { padding: 22px 18px 24px; }
  .panel h3 { font-size: 22px; }
  .panel-cta { padding-bottom: 24px; }
  .tv-phone { max-width: 240px; }
  .tv-phone__btn--silent,
  .tv-phone__btn--vol-up,
  .tv-phone__btn--vol-down { left: 0; }
  .tv-phone__btn--power { right: 0; }
  .tv-footer { justify-content: center; text-align: center; }
  .tv-footer a { margin-left: 12px; margin-right: 12px; }
}

@media (max-width: 420px) {
  .categories-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* modal contacto */
.tv-contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tv-contact-modal.is-open { display: flex; }

.tv-contact-modal__box {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 32px 28px;
  border-radius: 16px;
  border: 1px solid var(--accent-line);
  background: #0a0a0c;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.85), 0 0 48px rgba(255, 75, 69, 0.08);
}

.tv-contact-modal__box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 75, 69, 0.45), transparent);
}

.tv-contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-faint);
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
}

.tv-contact-modal__close:hover {
  color: var(--text);
  border-color: var(--accent-line);
}

.tv-contact-modal__label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.tv-contact-modal__title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.15;
}

.tv-contact-modal__title em {
  font-style: italic;
  color: var(--accent);
}

.tv-contact-modal__text {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
}

.tv-contact-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tv-contact-modal__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: transform 0.22s var(--tv-spring), box-shadow 0.22s;
}

.tv-contact-modal__link:hover { transform: translateY(-2px); }

.tv-contact-modal__link--wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 24px rgba(37, 211, 102, 0.25);
}

.tv-contact-modal__link--tg {
  background: #229ed9;
  color: #fff;
  box-shadow: 0 0 24px rgba(34, 158, 217, 0.25);
}

.tv-contact-modal__link-url {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  opacity: 0.85;
}

html.vy-light body.hub-page-tv .hub-page-nav {
  background: rgba(255, 255, 255, 0.72) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html.vy-light body.hub-page-tv .global-status {
  background: rgba(255, 255, 255, 0.92) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

html.vy-light body.hub-page-tv .poster {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 22px rgba(15, 15, 20, 0.06);
}

html.vy-light body.hub-page-tv .poster.is-front {
  border-color: rgba(220, 38, 38, 0.22);
  box-shadow:
    0 2px 4px rgba(15, 15, 20, 0.04),
    0 18px 36px rgba(15, 15, 20, 0.1),
    0 28px 56px rgba(220, 38, 38, 0.08);
}

html.vy-light body.hub-page-tv .poster-art {
  background: #ececee;
}

html.vy-light body.hub-page-tv .poster-title,
html.vy-light body.hub-page-tv .hero-title,
html.vy-light body.hub-page-tv .section-title,
html.vy-light body.hub-page-tv .panel h3,
html.vy-light body.hub-page-tv .stat-card .num {
  color: #1d1d1f;
}

html.vy-light body.hub-page-tv .poster-desc {
  color: #86868b;
}

html.vy-light body.hub-page-tv .panel {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 32px rgba(15, 15, 20, 0.06);
}

html.vy-light body.hub-page-tv .stat-card {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(15, 15, 20, 0.05);
}

html.vy-light body.hub-page-tv .btn-white {
  background: #1d1d1f;
  color: #fff;
  box-shadow: 0 8px 22px rgba(15, 15, 20, 0.16);
}

html.vy-light body.hub-page-tv .btn-ghost,
html.vy-light body.hub-page-tv .link-arrow,
html.vy-light body.hub-page-tv .btn-ghost-full {
  background: #fff;
  color: #6e6e73;
  border-color: rgba(0, 0, 0, 0.1);
}
