:root {
  --text-primary: #f6f7fb;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.15);
  --surface: #0a0b10;
  --card-radius: 14px;
  --button: #fa6719;
  --button-border: #ffd4b8;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 100px 24px 24px;
  font-family: "Google Sans", "Roboto", Arial, sans-serif;
  background: var(--surface);
  color: var(--text-primary);
}

/* Material Symbols base */
.material-symbols-rounded {
  font-family: "Material Symbols Rounded", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  padding: 12px 0 18px;
  gap: 12px;
  position: relative;
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.topbar-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 11, 16, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.topbar-shell .page {
  padding: 0 24px;
  box-sizing: border-box;
}

.topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.topbar__logo {
  height: 28px;
  width: auto;
  display: block;
}

.topbar__title {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0;
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}

.topbar__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(250, 103, 25, 0.08);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.topbar__link:hover::after {
  opacity: 1;
}

.topbar__link:hover {
  color: var(--text-primary);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.topbar__link--active {
  color: var(--button);
  background: rgba(250, 103, 25, 0.12);
}

.topbar__link--active::after {
  opacity: 0.45;
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar__cta:hover {
  transform: translateY(-1px);
}

.topbar__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.topbar__menu-toggle:hover {
  box-shadow: var(--shadow);
  border-color: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.topbar__menu-icon,
.topbar__menu-icon::before,
.topbar__menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.topbar__menu-icon::before,
.topbar__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.topbar__menu-icon::before {
  top: -6px;
}

.topbar__menu-icon::after {
  top: 6px;
}

.topbar--menu-open .topbar__menu-icon {
  background: transparent;
}

.topbar--menu-open .topbar__menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.topbar--menu-open .topbar__menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px 14px;
  background: rgba(16, 20, 30, 0.95);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  z-index: 30;
}

.bottom-nav__item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 18px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, flex 0.2s ease;
  flex: 1 1 0;
}

.bottom-nav__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.06);
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bottom-nav__icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.bottom-nav__icon .material-symbols-rounded {
  font-family: "Material Symbols Rounded", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
  font-size: 20px;
  line-height: 1;
}

.bottom-nav__label {
  max-width: 160px;
  opacity: 0.9;
  overflow: hidden;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
  color: var(--text-secondary);
}

.bottom-nav__item:hover {
  color: var(--text-primary);
  background: rgba(0, 0, 0, 0.03);
  transform: translateY(-1px);
}

.bottom-nav__item--active {
  color: var(--button);
  background: rgba(250, 103, 25, 0.1);
  box-shadow: 0 6px 18px rgba(250, 103, 25, 0.12);
}

.bottom-nav__item--active .bottom-nav__icon {
  background: rgba(250, 103, 25, 0.18);
  box-shadow: 0 4px 10px rgba(250, 103, 25, 0.18);
  transform: scale(1.05);
}

.bottom-nav__item--active .bottom-nav__label {
  opacity: 1;
  color: var(--button);
}

.hero {
  text-align: center;
  margin: 28px auto 40px;
}

.hero__icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero__title {
  margin: 0 0 10px;
  font-weight: 500;
  font-size: 30px;
  color: var(--text-primary);
}

.hero__subtitle {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head__title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
}

.section-head__meta {
  font-size: 14px;
  color: var(--text-secondary);
}

.hidden {
  display: none !important;
}

.filters {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.filters label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.filters select {
  font: inherit;
  padding: 8px 28px 8px 12px;
  min-height: 34px;
  line-height: 1.2;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23cac4d0' d='M6 8 0 0h12z'/%3E%3C/svg%3E") right 10px center / 12px 8px no-repeat;
  color: var(--text-primary);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 0;
}

.card__visual {
  height: 200px;
  position: relative;
  overflow: hidden;
  border-top-left-radius: var(--card-radius);
  border-top-right-radius: var(--card-radius);
  width: 100%;
}

.card__badge {
  position: relative;
  padding: 6px 10px;
  border-radius: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
}

.card__badge--glass {
  background: rgba(255, 255, 255, 0.92);
}

.card__badge--text {
  position: static;
  padding: 0;
  background: none;
}

.card__body {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
}

.card__description {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.5;
  flex: 1;
}

.card__action {
  align-self: flex-start;
  padding: 10px 18px;
  border-radius: 20px;
  border: 1px solid var(--button);
  background: var(--surface);
  color: var(--button);
  font-weight: 500;
  font-size: 14px;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card__action:hover {
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
  transform: translateY(-1px);
}

/* Variantes visuales */
.card__badge-row {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.card__badge--tag {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  padding-inline: 10px;
}

.card--gemini .card__visual {
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gemini-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 28px;
  font-weight: 600;
}

.gemini-star {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: conic-gradient(from 140deg, #1e88e5, #6dd5ed, #f7e359, #f25f5c, #b084f1, #1e88e5);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}

.card--share .card__visual {
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.share-graphic {
  width: 160px;
  height: 160px;
  border-radius: 18px;
  background: radial-gradient(circle at 20% 20%, #e8f0fe, #f5f7fb 35%),
    radial-gradient(circle at 80% 30%, #ffe0b2, #f5f7fb 40%),
    radial-gradient(circle at 50% 80%, #e6f4ea, #f5f7fb 45%);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.share-graphic::before,
.share-graphic::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #e6f4ea;
  width: 60px;
  height: 60px;
  bottom: 14px;
  right: 14px;
  opacity: 0.7;
}

.share-graphic::after {
  background: #e8f0fe;
  width: 48px;
  height: 48px;
  top: 18px;
  left: 16px;
  opacity: 0.6;
}

.share-avatar {
  position: absolute;
  inset: 12px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: grid;
  place-items: center;
  font-size: 52px;
  color: #1a73e8;
  font-weight: 600;
  letter-spacing: -1px;
}

.card--flow .card__visual {
  background: linear-gradient(120deg, #1a7fd1, #2ac3eb 40%, #1a7fd1 80%);
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.flow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35));
}

.flow-tunnel {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 45%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.05) 45%, rgba(0, 0, 0, 0.3) 70%);
  mix-blend-mode: screen;
}

.flow-title {
  position: relative;
  margin: 0 0 26px 24px;
  font-size: 36px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  body {
    padding: 0 16px 48px;
  }

  .hero {
    margin: 48px auto 42px;
  }

  .cards {
    gap: 14px;
  }

  .card {
    min-height: 0;
  }

  body {
    padding: 110px 16px 120px;
  }

  .topbar-shell .page {
    padding: 0 16px;
  }

  .topbar {
    padding: 10px 0 14px;
    justify-content: space-between;
  }

  .topbar__menu-toggle {
    display: none;
  }

  .topbar__nav {
    display: none !important;
  }

  .topbar__link {
    justify-content: flex-start;
  }

  .topbar--menu-open .topbar__nav {
    display: flex;
  }

  .bottom-nav {
    display: flex;
  }
}

.footer {
  margin-top: 16px;
  padding: 12px 0 12px;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
}

.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer__text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.6;
}

/* Loader pantalla completa */
.page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 9999;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__logo img {
  display: block;
  max-width: 200px;
  width: 96px;
  height: auto;
  animation: loader-pulse 1.4s ease-in-out infinite;
}

@keyframes loader-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }

  100% {
    transform: scale(1);
  }
}

/* Badges para formatos de cine */
.card__badge--2d {
  background: linear-gradient(135deg, #00C6FF, #0072FF);
  color: white;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 114, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.card__badge--3d {
  background: linear-gradient(135deg, #b721ff, #21d4fd);
  color: white;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(183, 33, 255, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.card__badge--4d {
  background: linear-gradient(135deg, #f093fb, #f5576c);
  color: white;
  border: none;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(245, 87, 108, 0.3);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Ensure original badge style is not conflicting if used as fallback */
.card__badge--tag {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border: 1px solid var(--border);
  font-weight: 600;
}
html {
  color-scheme: dark;
}

:root {
  --text-primary: #f6f7fb;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --border: rgba(255, 255, 255, 0.15);
  --surface: #0a0b10;
  --page-max: 1180px;
  --bg: rgba(16, 20, 28, 0.35);
  --card: rgba(255, 255, 255, 0.12);
  --text: #202124;
  --text-muted: #5f6368;
  --primary: #fa6719;
  --border-soft: #e0e3eb;
  --shadow-soft: 0 0 0 rgba(0, 0, 0, 0);
  --glass-border: rgba(255, 255, 255, 0.24);
  --glass-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
}

body {
  background: #0a0b10;
  color: #f6f7fb;
  color-scheme: dark;
  min-height: 100vh;
}

.page {
  max-width: var(--page-max);
  margin: 0 auto;
}

.cinematic-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #05060a;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-loaded .cinematic-bg {
  opacity: 1;
}

.cinematic-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(250, 103, 25, 0.12), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(60, 90, 180, 0.12), transparent 52%),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.06), transparent 55%);
  pointer-events: none;
}

.cinematic-bg__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.35) contrast(1.08) brightness(1.02);
  transform: scale(1.02);
  transition: opacity 0.4s ease;
}

.cinematic-bg.has-static .cinematic-bg__video {
  opacity: 0;
}


@media (prefers-reduced-motion: reduce) {
  .cinematic-bg__video {
    display: none;
  }
}

.topbar-shell {
  background: rgba(18, 22, 32, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.topbar__link {
  color: rgba(255, 255, 255, 0.7);
}

.topbar__link:hover {
  color: #ffffff;
  box-shadow: none;
}

.topbar__link--active {
  color: #ffffff;
  background: rgba(250, 103, 25, 0.2);
}

/* Botón animado "Conocer Cinexo" */
.topbar__cta {
  background: transparent;
  color: #fa6719;
  position: relative;
  overflow: hidden;
  z-index: 0;
  border: none;
  border-radius: 999px;
  /* padding se hereda o asume del theme, aseguramos estructura */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.topbar__cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 500%;
  background: conic-gradient(transparent 70%, #fa6719 100%);
  transform: translate(-50%, -50%);
  animation: border-spin 3s linear infinite;
  z-index: -2;
}

.topbar__cta::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  background: rgba(40, 48, 60, 0.95);
  /* Fondo oscuro coherente con el theme */
  border-radius: 999px;
  z-index: -1;
}

@keyframes border-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.bottom-nav {
  background: rgba(16, 20, 30, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bottom-nav__item {
  color: rgba(255, 255, 255, 0.7);
}

.bottom-nav__icon {
  background: rgba(255, 255, 255, 0.12);
}

.bottom-nav__item--active {
  color: #ffffff;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer__text {
  color: rgba(255, 255, 255, 0.65);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translate(-50%, 12px);
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(12, 14, 20, 0.92);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 40;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (min-width: 768px) {
  .toast {
    bottom: 32px;
  }
}

.catalog {
  padding: 0px 0 16px;
  background: transparent;
}

.catalog-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 24px;
  margin-top: 12px;
}

#cards-grid {
  min-height: 520px;
}

#topten-list {
  min-height: 260px;
}

.catalog-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.catalog-sidebar {
  order: 2;
}

.sidebar-card {
  background: var(--card);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 16px 16px 32px;
  box-shadow: var(--glass-shadow);
  max-height: calc(100vh - 120px);
  overflow: auto;
  overscroll-behavior: contain;
  margin-bottom: 24px;
}

/* Price card - Valor de entrada promedio */
.price-card {
  padding: 12px 14px 14px;
  max-height: none;
  overflow: visible;
}

.sidebar-kicker__link {
  display: inline-flex;
  align-items: center;
  color: #fa6719;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}

.sidebar-kicker__link:hover {
  color: #ffb07a;
  text-decoration: underline;
}

.price-card__amount {
  margin: 6px 0 4px;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.price-card__period {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}


.sidebar-kicker {
  margin: 0;
  color: #ffb07a;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 12px;
  text-transform: uppercase;
}

.sidebar-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.sidebar-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 10px;
}

.sidebar-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
}

.sidebar-more .material-symbols-rounded {
  font-size: 16px;
  line-height: 1;
}

.sidebar-more:hover {
  border-color: rgba(250, 103, 25, 0.45);
  color: #ffb07a;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 12px;
}

.sidebar-movie {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: flex-start;
}

.sidebar-movie--featured {
  grid-template-columns: 1fr;
}

.sidebar-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 103, 25, 0.12);
  color: var(--primary);
  font-weight: 700;
  border-radius: 50%;
  line-height: 1;
  font-size: 13px;
}

.sidebar-name {
  margin: 0 0 2px;
  font-weight: 600;
  font-size: 14px;
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.sidebar-meta {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.sidebar-top {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-top__poster {
  width: 88px;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(15, 32, 39, 0.8), rgba(32, 58, 67, 0.9), rgba(44, 83, 100, 0.9));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.sidebar-top__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-top__placeholder {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
}

.sidebar-top__body {
  display: grid;
  gap: 3px;
}

.sidebar-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 700;
  font-size: 12px;
  color: #ffb07a;
  text-decoration: none;
}

.sidebar-link:hover {
  text-decoration: underline;
}

.sidebar-empty {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  padding: 4px 2px;
}

.catalog-hero {
  text-align: center;
  padding: 0px 0px 16px;
}

.catalog-banner {
  margin: 18px auto 22px;
  width: min(1132px, 100%);
}

.banner-slider {
  position: relative;
  height: 400px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(6, 10, 24, 0.65);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-slider__track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
}

.banner-slide {
  min-width: 100%;
  height: 100%;
}

.banner-slide__link {
  width: 100%;
  height: 100%;
  display: block;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.banner-slider__control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(9, 12, 24, 0.65);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.banner-slider__control:hover {
  background: rgba(250, 103, 25, 0.8);
  transform: translateY(-50%) scale(1.05);
}

.banner-slider__control--prev {
  left: 16px;
}

.banner-slider__control--next {
  right: 16px;
}

.banner-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 14, 28, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.banner-slider__dot {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.banner-slider__dot.is-active {
  background: #ffffff;
  transform: scaleX(1.1);
}

.banner-slider.is-single .banner-slider__control,
.banner-slider.is-single .banner-slider__dots {
  display: none;
}

.install-prompt {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  z-index: 120;
}

.install-prompt.is-visible {
  display: flex;
}

.install-prompt__card {
  width: min(420px, 100%);
  background: rgba(12, 16, 26, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 18px 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.install-prompt__card h2 {
  margin: 0 0 8px;
  font-size: 18px;
  color: #ffffff;
}

.install-prompt__text {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.4;
}

.install-prompt__steps {
  display: none;
  margin: 0 0 16px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 8px;
}

.install-prompt--ios .install-prompt__steps {
  display: grid;
}

.install-prompt__step {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: center;
}

.install-prompt__step-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(250, 103, 25, 0.22);
  color: #ffb07a;
  font-weight: 700;
  font-size: 12px;
}

.install-prompt__step-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
}

.install-prompt__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.install-prompt__button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  background: #fa6719;
  color: #ffffff;
}

.install-prompt__button--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.catalog-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.catalog-title__accent {
  background: linear-gradient(90deg, #6aa2ff 0%, #4f6bff 38%, #ff8a3d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.catalog-subtitle {
  margin: 0 auto 22px;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  line-height: 1.6;
}

.catalog-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(250, 103, 25, 0.25);
  border: 1px solid rgba(250, 103, 25, 0.55);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--glass-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.catalog-hero__cta:hover {
  background: rgba(250, 103, 25, 0.35);
  transform: translateY(-1px);
}

.catalog-hero__cta:active {
  transform: translateY(0);
  box-shadow: none;
}

.topten-page {
  display: flex;
  justify-content: center;
}

.topten-page .sidebar-card {
  width: min(920px, 100%);
  max-height: none;
  overflow: visible;
}

@media (min-width: 1100px) {
  .topten-page .catalog-month__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.catalog-search {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.catalog-search__field {
  width: min(860px, 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search__field:focus-within {
  border-color: rgba(250, 103, 25, 0.45);
  box-shadow: 0 8px 26px rgba(250, 103, 25, 0.12);
}


.catalog-search input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}


.catalog-search__icon {
  width: 22px;
  height: 22px;
  fill: rgba(255, 255, 255, 0.7);
}

.catalog-search input {
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  color: #ffffff;
  outline: none;
}

.catalog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 40px;
}

.chip-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  height: 36px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  position: relative;
  min-width: 96px;
  cursor: pointer;
}

.chip-select__icon {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
}

.chip-select select {
  border: none;
  background: transparent;
  background-color: #1b1f27;
  font: inherit;
  color: #ffffff;
  padding-right: 20px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8L0 0h12z' fill='%23ffffff'/%3E%3C/svg%3E") right center / 12px 8px no-repeat;
}

.chip-select .md3-native-select {
  position: absolute;
  display: none !important;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.chip-select .md3-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.chip-select .md3-select__button {
  border: none;
  background: transparent;
  color: #ffffff;
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
  padding-right: 20px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 100%;
  line-height: 1;
  padding-left: 2px;
  font-weight: 500;
  position: relative;
  border-radius: 16px;
  width: 100%;
  text-align: left;
  box-shadow: none;
}

.chip-select .md3-select__button::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 8px;
  background: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 8L0 0h12z' fill='%23ffffff'/%3E%3C/svg%3E") right center / 12px 8px no-repeat;
  pointer-events: none;
}

.chip-select .md3-select__list {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 100%;
  max-width: calc(100vw - 24px);
  max-height: 260px;
  overflow: auto;
  padding: 6px;
  border-radius: 16px;
  background: #1b1f27;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  display: none;
  z-index: 1200;
}

.chip-select.md3-open .md3-select__list {
  display: block;
}

.chip-select.md3-open {
  z-index: 1300;
}

.chip-select .md3-select__option {
  width: 100%;
  border: none;
  background: transparent;
  color: #ffffff;
  text-align: left;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 12px;
  position: relative;
  overflow: hidden;
}

.chip-select .md3-select__option[aria-selected="true"] {
  background: rgba(250, 103, 25, 0.22);
  color: #ffffff;
}

.chip-select .md3-select__option:hover {
  background: rgba(255, 255, 255, 0.08);
}

.chip-select .md3-select__button:focus-visible,
.chip-select .md3-select__option:focus-visible {
  outline: 2px solid rgba(250, 103, 25, 0.7);
  outline-offset: 2px;
}

.md3-ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.18);
  animation: md3-ripple 450ms ease-out;
  pointer-events: none;
}

@keyframes md3-ripple {
  to {
    transform: scale(3.2);
    opacity: 0;
  }
}

.chip-select select option {
  background-color: #1b1f27;
  color: #ffffff;
}

.chip-select select:focus {
  outline: none;
}

.chip-select.active-chip {
  background: rgba(250, 103, 25, 0.22);
  border-color: rgba(250, 103, 25, 0.45);
  color: #ffffff;
}

.chip-select.active-chip .chip-select__icon {
  color: #ffb07a;
}

.catalog-meta {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.catalog-grid {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 10px 0 0;
}

.catalog-lazy-sentinel {
  height: 1px;
}

.catalog-month {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.catalog-month__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.catalog-month__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
}

.catalog-month__count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.catalog-month__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  justify-content: flex-start;
  max-width: 1280px;
  width: 100%;
}

.catalog-card,
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  scroll-margin-top: 96px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.catalog-card.is-targeted {
  border-color: rgba(250, 103, 25, 0.75);
  box-shadow: 0 18px 50px rgba(250, 103, 25, 0.25);
  transform: translateY(-2px);
}

.catalog-card__poster {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  aspect-ratio: 2 / 3;
  flex-shrink: 0;
}

.catalog-card__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

/* Fallback para navegadores sin soporte de aspect-ratio */
@supports not (aspect-ratio: 2 / 3) {
  .catalog-card__poster::before {
    content: "";
    display: block;
    padding-top: 150%;
  }
}

.catalog-card__poster,
.card__visual {
  border-radius: 12px;
  overflow: hidden;
}

.catalog-card__release {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px;
  border-radius: 14px;
  background: rgba(250, 103, 25, 0.22);
  color: #ffb07a;
  font-weight: 600;
  font-size: 12px;
  width: fit-content;
  height: 30px;
}

.catalog-card__release--rank {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  padding: 0 10px;
}

.catalog-card__release svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.catalog-card__release-row {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.catalog-card__actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.catalog-card__poster-btn {
  display: block;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  width: 100%;
  text-align: left;
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.catalog-card__rank {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 26px;
  height: 26px;
  z-index: 2;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 103, 25, 0.9);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.catalog-card__rank--inline {
  position: static;
  margin: 2px 0 6px;
  width: 28px;
  height: 28px;
}

.catalog-card__poster-btn img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fallback para navegadores sin soporte de aspect-ratio */
@supports not (aspect-ratio: 2 / 3) {
  .catalog-card__poster-btn::before {
    content: "";
    display: block;
    padding-top: 150%;
  }
}

.catalog-card__title-btn {
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
}

.catalog-card__title-btn:focus-visible,
.catalog-card__poster-btn:focus-visible {
  outline: 2px solid rgba(250, 103, 25, 0.7);
  outline-offset: 2px;
  border-radius: 14px;
}

.catalog-card__favorite-btn,
.catalog-card__calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.catalog-card__favorite-btn.is-active {
  background: rgba(250, 103, 25, 0.25);
  color: #ffb07a;
  border-color: rgba(250, 103, 25, 0.6);
  box-shadow: 0 10px 24px rgba(250, 103, 25, 0.24);
}

.catalog-card__trailer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  color: #ffb07a;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 6px 18px rgba(250, 103, 25, 0.12);
}

.catalog-card__share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.catalog-card__trailer-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(250, 103, 25, 0.35);
  box-shadow: 0 10px 24px rgba(250, 103, 25, 0.14);
}

.catalog-card__share-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.catalog-card__favorite-btn:hover,
.catalog-card__calendar-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.catalog-card__trailer-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(250, 103, 25, 0.12);
}

.catalog-card__share-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.catalog-card__favorite-btn:active,
.catalog-card__calendar-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.catalog-card__trailer-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.catalog-card__share-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.catalog-card__favorite-btn svg,
.catalog-card__calendar-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media (max-width: 480px) {
  .banner-slider {
    height: 240px;
    border-radius: 0;
  }

  .banner-slider__control {
    display: none;
  }

  .banner-slider__dots {
    bottom: 10px;
    padding: 6px 10px;
  }

  .catalog-card__release-row {
    flex-wrap: nowrap;
    align-items: center;
  }

  .catalog-card__actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
    width: auto;
  }

  .catalog-card__release svg {
    display: none;
  }

  .catalog-card__release {
    font-size: 11px;
    height: 28px;
    gap: 0;
  }

  .catalog-card__favorite-btn,
  .catalog-card__calendar-btn,
  .catalog-card__share-btn,
  .catalog-card__trailer-btn {
    width: 28px;
    height: 28px;
  }

  .catalog-card__favorite-btn svg,
  .catalog-card__calendar-btn svg,
  .catalog-card__share-btn svg,
  .catalog-card__trailer-btn svg {
    width: 14px;
    height: 14px;
  }
}

.catalog-card__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.catalog-card__original {
  margin: 2px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.92);
}

.badge--pill {
  background: rgba(250, 103, 25, 0.18);
  color: #ffb07a;
  font-weight: 600;
}

.badge--ghost {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.badge--soft {
  background: rgba(250, 103, 25, 0.16);
  color: #ffb07a;
  font-weight: 600;
}

.badge--outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.96);
}

.catalog-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.catalog-card__description {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.2;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-topten .catalog-card__description {
  display: block;
  -webkit-line-clamp: initial;
  -webkit-box-orient: initial;
  overflow: visible;
  text-overflow: unset;
}

.catalog-card__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.meta {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.meta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.catalog-card__footer {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.catalog-card__pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-card__cta {
  display: none;
}

.catalog-card__cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.catalog-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.catalog-card__tags .badge {
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 9px;
  margin-right: 0;
}

.catalog-empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 24px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.page-loader {
  background: #0a0b10;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

@media (max-width: 768px) {
  body {
    padding-top: 64px;
  }

  .catalog {
    padding-top: 0;
  }

  .catalog-hero {
    display: flex;
    flex-direction: column;
  }

  .catalog-hero.page {
    padding-left: 0;
    padding-right: 0;
  }

  .catalog-banner {
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 16px;
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
    order: 0;
  }

  .catalog-title {
    order: 1;
  }

  .catalog-subtitle {
    order: 2;
  }

  .catalog-search {
    order: 3;
  }

  .catalog-layout {
    padding: 0 0px;
  }

  /* Top 10 card en mobile: altura limitada al espacio visible (topbar + bottom-nav + price-card descontados) */
  .catalog-sidebar .sidebar-card:not(.price-card) {
    max-height: calc(100vh - 280px);
    max-height: calc(100svh - 280px);
    overflow: auto;
    overscroll-behavior: contain;
    margin-bottom: 0;
    padding-bottom: 16px;
  }

  .banner-slider {
    height: 320px;
    border-radius: 0;
    border: none;
    box-shadow: none;
  }

  .banner-slider__control {
    width: 36px;
    height: 36px;
  }

  .banner-slider__dot {
    width: 20px;
  }

  .banner-slide img {
    object-position: left center;
  }

  .catalog-search__field {
    padding: 12px 14px;
  }

  .catalog-grid {
    gap: 22px;
    padding-inline: 0;
  }

  .catalog-month__header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 0 6px;
  }

  .catalog-month__grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding: 12px 0 14px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    scrollbar-width: none;
  }

  .catalog-month {
    background: transparent;
  }

  .catalog-month__grid>.catalog-card {
    flex: 0 0 75vw;
    max-width: 220px;
    border-radius: 16px;
    scroll-snap-align: start;
    box-shadow: none;
  }

  .catalog-month__grid>.catalog-card:only-child {
    flex-basis: 100%;
    max-width: none;
  }

  .catalog-month__grid::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .page-topten .topten-page {
    display: block;
  }

  .page-topten .catalog-month {
    width: 100%;
  }

  .trailer-modal__poster {
    display: none !important;
  }

  .trailer-modal [data-modal-poster] {
    display: none !important;
  }

  .trailer-modal__info {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    display: none !important;
  }

  .page-topten .catalog-hero {
    padding-top: 8px;
  }
}

@media (max-width: 900px) {
  .catalog-sidebar {
    display: none !important;
  }

  .trailer-modal__poster,
  .trailer-modal [data-modal-poster],
  .trailer-modal [data-modal-poster] img {
    display: none !important;
  }
}

@media (min-width: 960px) {
  .catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 24px;
  }

  .catalog-sidebar {
    order: unset;
    position: sticky;
    top: 100px;
  }

  /* Descuenta: sticky top (100px) + price card (~120px) + gap (28px) + buffer (12px) */
  .catalog-sidebar .sidebar-card:not(.price-card) {
    max-height: calc(100vh - 260px);
  }
}

.trailer-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.trailer-modal.is-open {
  display: flex;
}

.trailer-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
}

.trailer-modal__dialog {
  position: relative;
  background: rgba(10, 12, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 18px;
  padding: 18px;
  max-width: 900px;
  width: min(92vw, 900px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trailer-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #ffffff;
  transition: background 0.15s ease, transform 0.1s ease;
}

.trailer-modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.trailer-modal__body {
  display: grid;
  gap: 14px;
}

.trailer-modal__info {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}

.trailer-modal__poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.trailer-modal__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  pointer-events: none;
}

.trailer-modal__title {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.trailer-modal__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 6px;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}

.meta-chip svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.meta-chip--release {
  background: rgba(250, 103, 25, 0.18);
  color: #ffb07a;
  font-weight: 700;
  border: 1px solid rgba(250, 103, 25, 0.28);
}

.meta-chip--duration {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
}

.trailer-modal__description {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.4;
  font-size: 14px;
}

.trailer-modal__purchase {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.trailer-modal__purchase.is-disabled {
  opacity: 0.6;
}

.chip-select--modal {
  min-width: 220px;
  gap: 8px;
  padding: 6px 14px;
  height: 36px;
  justify-content: space-between;
}

.chip-select--modal .chip-select__icon {
  font-size: 18px;
  flex: 0 0 auto;
}

.chip-select--modal select {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 12px;
  padding-right: 24px;
  padding-left: 2px;
  line-height: 1;
  white-space: nowrap;
}

.chip-select--modal select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.trailer-modal__buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  background: rgba(250, 103, 25, 0.22);
  color: #ffffff;
  border: 1px solid rgba(250, 103, 25, 0.45);
  border-radius: 24px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, opacity 0.12s ease, background 0.12s ease;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.trailer-modal__buy-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.trailer-modal__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 8px;
}

.trailer-modal__player {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.trailer-modal__iframe-wrap {
  position: relative;
  padding-top: 56.25%;
  width: 100%;
}

.trailer-modal__iframe-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}


@media (max-width: 720px) {
  .trailer-modal__dialog {
    padding: 16px 14px 14px;
  }

  .trailer-modal__info {
    grid-template-columns: 1fr;
  }

  .trailer-modal__poster {
    max-width: 220px;
    justify-self: center;
  }

  .catalog-card,
  .sidebar-card,
  .chip-select,
  .trailer-modal__dialog {
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}