:root {
  --bg: #070708;
  --bg-elev: #101014;
  --surface: rgba(18, 18, 24, 0.72);
  --surface-border: rgba(255, 255, 255, 0.07);
  --text: #f0f0f5;
  --muted: #8b8b9a;
  --primary: #e11d2e;
  --primary-dim: rgba(225, 29, 46, 0.15);
  --primary-glow: rgba(225, 29, 46, 0.28);
  --secondary: #3b82f6;
  --accent: #a78bfa;
  --glass: rgba(16, 16, 22, 0.82);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h: 64px;
  --shell-max: 920px;
  --shell-wide: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  background-image: radial-gradient(ellipse 100% 70% at 50% -15%, rgba(225, 29, 46, 0.09), transparent 52%),
    radial-gradient(ellipse 60% 45% at 100% 0%, rgba(59, 130, 246, 0.05), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(167, 139, 250, 0.04), transparent 45%), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: "Inter", "Outfit", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.site-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(124, 58, 237, 0.18), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(14, 165, 233, 0.12), transparent 50%),
    linear-gradient(180deg, #0a0612 0%, #0f0a1a 38%, #08060e 100%);
}

.main-wrap {
  flex: 1;
  padding: 0 0 4rem;
}

/* Contenedor principal unificado (páginas tipo app) */
.app-shell {
  width: 100%;
  max-width: var(--shell-wide);
  margin: 0 auto;
  padding: 1.75rem clamp(1.1rem, 4vw, 2rem) 2rem;
  box-sizing: border-box;
}
.app-shell--narrow {
  max-width: var(--shell-max);
}
.page-intro {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--surface-border);
}
.page-intro-eyebrow {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
.page-intro-title {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}
.page-intro-desc {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 42rem;
}
.surface-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px) saturate(1.2);
}
.surface-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
}
.app-stack {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

a {
  color: #8ab4f8;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  min-height: var(--nav-h);
  padding: 0.55rem clamp(1rem, 4vw, 2.5rem);
  background: linear-gradient(180deg, rgba(5, 5, 8, 0.92) 0%, rgba(5, 5, 8, 0.65) 65%, transparent);
  backdrop-filter: blur(20px) saturate(1.25);
  border-bottom: 1px solid var(--surface-border);
}

.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--primary);
}
.logo span {
  color: var(--text);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  flex: 1;
}
.nav-links a {
  color: var(--text);
  font-weight: 500;
  opacity: 0.85;
  transition: opacity 0.2s var(--ease);
}
.nav-links a:hover {
  opacity: 1;
  text-decoration: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nav-user {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-burger {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-burger {
    display: block;
    margin-left: auto;
  }
  .top-nav.nav-open .nav-links,
  .top-nav.nav-open .nav-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .top-nav.nav-open {
    flex-wrap: wrap;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s;
  text-decoration: none;
}
.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.btn-sm {
  padding: 0.35rem 0.75rem;
  font-size: 0.8rem;
}
.btn-block {
  width: 100%;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(229, 9, 20, 0.35);
}
.btn-primary:hover {
  background: #f40612;
  color: #fff;
}
.btn-secondary {
  background: var(--secondary);
  color: #fff;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.glass {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.018) 100%);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(1.2);
}

.hero-banner {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem 4vw 3rem;
  background-size: cover;
  background-position: center top;
  background-image: linear-gradient(90deg, rgba(18, 18, 18, 0.97) 18%, rgba(18, 18, 18, 0.35) 55%, rgba(18, 18, 18, 0.2) 100%),
    var(--hero-bg, linear-gradient(135deg, #1a1a2e, #121212));
  overflow: hidden;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, #121212);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 640px;
  z-index: 1;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--primary);
  margin: 0 0 0.5rem;
}
.hero-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin: 0 0 0.75rem;
  letter-spacing: 0.04em;
}
.hero-desc {
  color: #ddd;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.row-carousel {
  margin: 2rem 0;
  padding: 0 4vw;
}
.row-title {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
  font-weight: 600;
}
.row-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.row-track::-webkit-scrollbar {
  height: 6px;
}
.row-track::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

.card-media {
  position: relative;
  flex: 0 0 200px;
  scroll-snap-align: start;
  transition: transform 0.25s var(--ease);
}
.card-media:hover {
  transform: scale(1.04);
  z-index: 2;
}
.card-link {
  color: inherit;
  text-decoration: none;
}
.card-thumb-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 2/3;
  background: #222;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.card-thumb,
.card-trailer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-trailer {
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.card-media:hover .card-trailer {
  opacity: 1;
}
.card-title {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.25;
}
.badge {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 0.65rem;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
}
.badge-free {
  background: #2e7d32;
  color: #fff;
}
.badge-premium {
  background: #1565c0;
  color: #fff;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.5);
}
.progress-bar span {
  display: block;
  height: 100%;
  background: var(--primary);
}

.section-anchor {
  height: 1px;
}

.info-block {
  margin: 3rem 4vw;
  padding: 2rem;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}
.plan-card {
  padding: 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}
.plan-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.auth-hero {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: radial-gradient(circle at 20% 20%, rgba(229, 9, 20, 0.12), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(10, 110, 189, 0.12), transparent 45%), var(--bg);
}
.auth-card {
  width: min(420px, 100%);
  padding: 2rem;
}
.auth-card h1 {
  margin-top: 0;
}
.form-stack label,
.form-grid label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.form-stack input,
.form-stack textarea,
.form-grid input,
.form-grid textarea,
.form-grid select,
.chat-form input {
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}
.form-grid fieldset {
  grid-column: 1 / -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
}
.form-grid legend {
  padding: 0 0.5rem;
  color: var(--muted);
}
.check {
  flex-direction: row !important;
  align-items: center;
  gap: 0.5rem !important;
}

.alert {
  padding: 0.65rem 0.85rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}
.alert-error {
  border: 1px solid rgba(229, 9, 20, 0.5);
  color: #ffcdd2;
}
.alert-ok {
  border: 1px solid rgba(46, 125, 50, 0.5);
  color: #c8e6c9;
}
.alert-warn {
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
  background: rgba(245, 158, 11, 0.08);
}
.muted {
  color: var(--muted);
  font-size: 0.9rem;
}
.auth-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
}
.auth-demo {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1rem;
}
.auth-demo code {
  color: #fff;
}

.detail-hero {
  position: relative;
  min-height: 50vh;
  padding: 5rem 4vw 2rem;
  background-size: cover;
  background-position: center;
  background-image: linear-gradient(90deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.65)),
    var(--detail-bg, #222);
}
.detail-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, #121212);
  pointer-events: none;
}
.detail-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 1.5rem;
}
.detail-meta {
  color: var(--muted);
}
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}
.trailer-preview video {
  border-radius: 8px;
  margin-top: 0.5rem;
  max-height: 220px;
  background: #000;
}

.seasons-block,
.tech-sheet,
.comments-block {
  margin: 2rem 4vw;
  padding: 1.5rem;
}
.episode-list {
  list-style: none;
  padding: 0;
}
.episode-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.tech-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0.35rem 1rem;
  font-size: 0.9rem;
}
.tech-grid dt {
  color: var(--muted);
}
.comment-list {
  list-style: none;
  padding: 0;
}
.comment-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.like-row {
  display: flex;
  gap: 1rem;
}

.watch-layout {
  min-height: 80vh;
  padding: 0 4vw 2rem;
}
.player-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  margin-bottom: 0.75rem;
}
.player-title {
  flex: 1;
  font-weight: 600;
}
.audio-sim select {
  background: #222;
  color: #fff;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
}
.player-stage {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}
#main-player,
.embed-frame {
  width: 100%;
  max-height: 72vh;
  aspect-ratio: 16/9;
  background: #000;
}
.embed-frame {
  border: 0;
}
.embed-shell iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
}

.netflix-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.8s ease;
}
.netflix-intro.done {
  opacity: 0;
}
.intro-bar {
  position: absolute;
  bottom: 40%;
  left: 50%;
  width: 0;
  height: 4px;
  background: var(--primary);
  transform: translateX(-50%);
  animation: intro-bar 2s var(--ease) forwards;
}
.intro-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3rem, 10vw, 6rem);
  letter-spacing: 0.25em;
  opacity: 0;
  animation: intro-text 1.2s ease 0.8s forwards;
}
@keyframes intro-bar {
  0% {
    width: 0;
  }
  40% {
    width: 55vw;
  }
  100% {
    width: 80vw;
  }
}
@keyframes intro-text {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.parental-gate {
  max-width: 360px;
  margin: 2rem auto;
  padding: 1.5rem;
}

.profiles-page {
  padding: 3rem 4vw;
  text-align: center;
}
.profile-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}
.profile-btn {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 12px;
  transition: background 0.2s;
}
.profile-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}
.profile-avatar {
  font-size: 3rem;
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(145deg, #333, #1a1a1a);
  border: 2px solid rgba(255, 255, 255, 0.08);
}
.profile-form {
  max-width: 400px;
  margin: 0 auto;
  padding: 1.5rem;
  text-align: left;
}

.account-page,
.chat-page {
  margin: 1.5rem auto;
  padding: 1.75rem clamp(1.1rem, 3vw, 2rem) 2rem;
  max-width: var(--shell-max);
  box-sizing: border-box;
}
.account-page.account-modern {
  border-radius: var(--radius);
}
.account-block {
  margin: 1.5rem 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.notif-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.notif-item {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.notif-item:hover {
  border-color: rgba(255, 255, 255, 0.11);
}
.notif-item.read {
  opacity: 0.62;
  border-color: rgba(255, 255, 255, 0.04);
}
.notif-item .notif-asunto-label {
  opacity: 0.85;
}

.chat-log {
  max-height: 420px;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  margin-bottom: 1rem;
}
.chat-msg {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.chat-form {
  display: flex;
  gap: 0.5rem;
}
.chat-form input {
  flex: 1;
}

.mi-lista-grid {
  flex-wrap: wrap;
  padding: 0 4vw;
}

.page-head {
  padding: 2rem 4vw 0;
}

/* Mi lista — rejilla moderna */
.mi-lista-page .lista-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1.1rem;
}
@media (min-width: 640px) {
  .mi-lista-page .lista-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
  }
}
.lista-card {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.2s;
}
.lista-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}
.lista-card-thumb {
  aspect-ratio: 2/3;
  background: #141418;
  overflow: hidden;
}
.lista-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s var(--ease);
}
.lista-card:hover .lista-card-thumb img {
  transform: scale(1.05);
}
.lista-card-body {
  padding: 0.65rem 0.75rem 0.85rem;
}
.lista-card-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.lista-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.site-footer {
  padding: 2rem 4vw;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.toast-root {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.toast {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: #2a2a2a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  animation: toast-in 0.35s var(--ease);
}
@keyframes toast-in {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Admin */
.admin-body .admin-nav {
  flex-wrap: wrap;
}
.admin-main {
  padding: 1.5rem 4vw 3rem;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0 2rem;
}
.data-table th,
.data-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.stat-card {
  padding: 1.25rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.mono {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
}
.full-width {
  width: 100%;
}
.inline-form {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

/* Buscador en cabecera */
.nav-search {
  display: flex;
  align-items: stretch;
  flex: 1;
  max-width: min(420px, 36vw);
  margin: 0 0.5rem;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.45);
}
.nav-search input {
  flex: 1;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  min-width: 0;
}
.nav-search input::placeholder {
  color: var(--muted);
}
.nav-search input:focus {
  outline: none;
}
.nav-search-btn {
  border: 0;
  background: linear-gradient(135deg, var(--primary), #b20710);
  color: #fff;
  padding: 0 1rem;
  cursor: pointer;
  font-size: 1.1rem;
  transition: filter 0.2s;
}
.nav-search-btn:hover {
  filter: brightness(1.08);
}

.nav-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(0, 0, 0, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 404 */
.error-page {
  min-height: 65vh;
  display: grid;
  place-items: center;
  padding: 3rem 4vw;
}
.error-card {
  text-align: center;
  max-width: 440px;
  padding: 2.5rem;
}
.error-code {
  font-family: "Bebas Neue", sans-serif;
  font-size: 5rem;
  margin: 0;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Búsqueda */
.search-page {
  padding: 0 4vw 3rem;
}
.search-hero {
  padding: 2rem;
  margin: 1.5rem 0 2rem;
  max-width: 720px;
}
.search-bar-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.search-input {
  flex: 1;
  min-width: 200px;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 1rem;
}
.search-results h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Cuenta moderna */
.account-modern {
  max-width: 640px;
}
.account-hero {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.account-avatar-big {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  font-size: 2.5rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.35), rgba(229, 9, 20, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.plan-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}
.account-plan-line {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
}
.small-hint {
  font-size: 0.82rem;
  margin: 0.35rem 0;
}

/* Admin toolbar & series builder */
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.admin-toolbar input[type="search"],
.admin-toolbar input[type="text"] {
  flex: 1;
  min-width: 200px;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}
.live-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(34, 197, 94, 0.25);
  color: #86efac;
  vertical-align: middle;
  margin-left: 0.35rem;
}
.admin-live-hint {
  margin-top: -0.25rem;
  margin-bottom: 1rem;
}
.season-block-admin {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.25rem;
  background: rgba(0, 0, 0, 0.25);
}
.season-block-head {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}
.season-block-head h4 {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.episode-card {
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}
.episode-card-head {
  grid-column: 1 / -1;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
}
.series-meta-grid {
  margin-bottom: 1.5rem;
}
.pay-methods-form fieldset {
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1rem;
}
.pay-methods-form legend {
  padding: 0 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.admin-actions-cell {
  min-width: 280px;
}
.inline-stack {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
  margin: 0.15rem 0.25rem 0.15rem 0;
  vertical-align: middle;
}
.input-tiny {
  width: 5rem;
  padding: 0.25rem 0.35rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1a1a1f;
  color: var(--text);
}
.input-mid {
  width: 11rem;
  max-width: 100%;
  padding: 0.25rem 0.35rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1a1a1f;
  color: var(--text);
}
.plan-row-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .nav-search {
    order: 10;
    max-width: 100%;
    flex-basis: 100%;
    margin: 0.35rem 0 0;
  }
}

/* Nav avatar imagen */
.nav-user-avatar-wrap {
  display: inline-flex;
  align-items: center;
}
.nav-user-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

.account-avatar-big .account-avatar-big-inner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.account-avatar-big .account-avatar-big-inner {
  line-height: 1;
}

/* Selector de avatares (cuenta / perfiles / registro) */
.avatar-fieldset {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1rem 1rem 0.5rem;
  margin: 0.5rem 0 1rem;
}
.avatar-pick-form .avatar-pick-grid {
  margin-bottom: 1rem;
}
.avatar-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.avatar-pick-grid--sm {
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
}
.avatar-pick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.avatar-pick-item:has(input:focus-visible) {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}
.avatar-pick-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.avatar-pick-item:has(input:checked),
.avatar-pick-item.is-selected {
  border-color: rgba(229, 9, 20, 0.65);
  background: rgba(229, 9, 20, 0.08);
}
.avatar-pick-visual {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.avatar-pick-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatar-pick-label {
  font-size: 0.68rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.15;
  max-width: 72px;
}

/* Perfiles: imagen en tarjeta */
.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.profile-lock-hint {
  font-size: 0.75rem;
  opacity: 0.85;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.72);
  display: grid;
  place-items: center;
  padding: 1.5rem;
}
.modal-overlay[hidden] {
  display: none !important;
}
.modal-sheet {
  width: min(100%, 380px);
  padding: 1.5rem;
  border-radius: var(--radius);
}
.modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}

/* Estrenos de la semana (inicio) */
.premieres-week {
  position: relative;
  min-height: 420px;
  margin: 0 0 2rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.premieres-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transition: background-image 0.8s var(--ease);
  filter: brightness(0.45);
}
.premieres-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 6, 10, 0.55) 0%,
    rgba(6, 6, 10, 0.82) 45%,
    rgba(6, 6, 10, 0.95) 100%
  );
  pointer-events: none;
}
.premieres-inner {
  position: relative;
  z-index: 2;
  padding: 3rem 4vw 2.5rem;
  max-width: 720px;
}
.premieres-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.35rem;
}
.premieres-headline {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  letter-spacing: 0.06em;
  margin: 0 0 0.25rem;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9);
}
.premieres-tagline {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(244, 244, 248, 0.88);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.premieres-current-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.95);
  min-height: 1.4em;
}
.premieres-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.premieres-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  text-decoration: none !important;
}
.premieres-dots {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.premieres-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}
.premieres-dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

/* Detalle: acciones con icono */
.btn-detail-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.detail-action-icon {
  flex-shrink: 0;
  opacity: 0.95;
}

/* Comentarios y valoración moderna */
.comments-modern-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.rate-panel {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 1.5rem;
}
.rate-panel-title {
  font-size: 1rem;
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.rate-panel-hint {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}
.stars-ten {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  margin-bottom: 0.35rem;
}
.star-ten-btn {
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.22);
  font-size: 1.35rem;
  line-height: 1;
  padding: 0.1rem;
  cursor: pointer;
  transition: color 0.15s, transform 0.15s;
}
.star-ten-btn.is-on {
  color: #fbbf24;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.45);
}
.star-ten-btn:hover {
  color: #fcd34d;
  transform: scale(1.08);
}
.stars-ten-label {
  font-weight: 600;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: #fde68a;
}
.comment-compose {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(229, 9, 20, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2rem;
}
.comment-compose-input {
  width: 100%;
  margin: 0.5rem 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  resize: vertical;
  min-height: 88px;
}
.comments-list-heading {
  font-size: 1.05rem;
  margin: 0 0 1rem;
  font-weight: 600;
}
.comments-count {
  color: var(--muted);
  font-weight: 500;
}
.comment-list-modern {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.comment-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}
.comment-card-avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(145deg, var(--secondary), var(--accent));
  color: #fff;
}
.comment-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}
.comment-card-name {
  font-weight: 600;
}
.comment-card-time {
  font-size: 0.78rem;
  color: var(--muted);
}
.comment-card-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(244, 244, 248, 0.92);
}

/* Estrenos: primer bloque bajo el nav (sin hero duplicado) */
.premieres-week--first {
  margin-top: 0;
  min-height: clamp(400px, 68vh, 640px);
}

/* Notificaciones: asunto explícito */
.notif-asunto-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.2rem;
}
.notif-asunto {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
  font-weight: 700;
  line-height: 1.25;
}
.notif-body {
  margin: 0.65rem 0 0;
  line-height: 1.5;
}

/* Admin: rechazo Premium con motivo */
.solicitud-actions-cell {
  min-width: 220px;
  vertical-align: top;
}
.solicitud-aceptar-form {
  margin-bottom: 0.35rem;
}
.solicitud-rechazo-details {
  margin-top: 0.25rem;
}
.solicitud-rechazo-summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  user-select: none;
}
.solicitud-rechazo-summary::-webkit-details-marker {
  display: none;
}
.solicitud-rechazo-form {
  margin-top: 0.75rem;
  padding: 1rem !important;
  max-width: 400px;
  text-align: left;
}
.solicitud-rechazo-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
}

/* Reacciones en detalle (me gusta / no me gusta) */
.detail-reaction-counts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  margin: 0.5rem 0 0.25rem;
  font-size: 0.9rem;
}
.detail-reaction-sep {
  opacity: 0.45;
}
.btn-detail-action.is-thumb-active {
  border-color: rgba(229, 9, 20, 0.65);
  color: #fff;
  background: rgba(229, 9, 20, 0.18);
}
.btn-detail-action.is-thumb-like.is-thumb-active {
  border-color: rgba(46, 204, 113, 0.55);
  background: rgba(46, 204, 113, 0.12);
}
.btn-detail-action.is-thumb-dislike.is-thumb-active {
  border-color: rgba(241, 196, 15, 0.5);
  background: rgba(241, 196, 15, 0.1);
}
@keyframes thumb-bounce {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}
.btn-detail-action.thumb-bounce {
  animation: thumb-bounce 0.48s ease-out;
}

/* Feed de noticias — editorial */
.news-feed {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-top: 0.25rem;
}
.news-card {
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--surface-border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.015) 100%);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.news-card:hover {
  border-color: rgba(255, 255, 255, 0.11);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}
.news-card--focus {
  box-shadow: 0 0 0 2px var(--primary), var(--shadow-soft);
}
.news-card-inner {
  padding: 1.35rem 1.4rem 1.45rem;
}
.news-card-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.25rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}
.news-card-title {
  margin: 0;
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 100%;
}
.news-card-time {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.news-card-media {
  margin: 0 0 1rem;
  border-radius: 0;
  overflow: hidden;
  max-height: min(360px, 48vh);
  border-bottom: 1px solid var(--surface-border);
}
.news-card-media img {
  width: 100%;
  height: auto;
  max-height: min(360px, 48vh);
  display: block;
  object-fit: cover;
}
.news-card-body {
  line-height: 1.65;
  color: rgba(240, 240, 245, 0.9);
  font-size: 0.96rem;
}
.news-card-body p {
  margin: 0;
}
.news-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--surface-border);
}
.news-votes {
  font-size: 0.82rem;
  font-weight: 500;
}
.news-vote-btns {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.news-vote-btns .btn {
  border-radius: 999px;
}
.news-comment-form {
  margin-top: 1.15rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.news-comment-form .news-comment-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.news-comment-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-family: inherit;
  resize: vertical;
  min-height: 72px;
}
.news-comment-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.news-comment-item {
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}
.news-comment-item strong {
  font-weight: 600;
  color: #fff;
}
.news-comment-item time {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0.2rem 0 0.4rem;
}
.news-empty {
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius);
  margin-top: 0.5rem;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.historial-link {
  color: var(--text);
  text-decoration: none;
  font-size: 1.02rem;
}
.historial-link:hover {
  color: #93c5fd;
  text-decoration: none;
}
.historial-meta {
  margin: 0.35rem 0 0.55rem;
  font-size: 0.84rem;
}
.historial-bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
  max-width: 280px;
}
.historial-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
}

.search-page .search-hero {
  margin-bottom: 1.5rem;
}
.search-hero--modern {
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: var(--radius);
}
.search-hero-title {
  margin-bottom: 1rem !important;
}
.search-page .search-results h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 1.75rem 0 0.75rem;
  color: rgba(255, 255, 255, 0.88);
}

.account-public-id {
  margin: 0.35rem 0 0;
}
.public-id-code {
  font-size: 1rem;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
}

/* —— Planes públicos, recibos, soporte, admin usuarios —— */
.plans-page .plans-hero {
  margin-bottom: 1.75rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
}
.plans-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.plans-grid--public {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.1rem;
}
.plan-card--large {
  padding: 1.15rem 1.2rem 1.25rem;
}
.plan-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.plan-card-head h2 {
  margin: 0;
  font-size: 1.2rem;
}
.plan-card-desc {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.plan-card-meta {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
}
.info-block-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.75rem;
}
.account-plan-alert,
.profiles-plan-alert {
  margin-bottom: 1rem;
}
.receipt-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.receipt-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
}
.receipt-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.receipt-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
}
.receipt-dl {
  margin: 0 0 0.75rem;
  display: grid;
  gap: 0.35rem 1rem;
  font-size: 0.88rem;
}
.receipt-dl div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem;
}
.receipt-dl dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}
.receipt-dl dd {
  margin: 0;
}
.receipt-msg {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}
.support-chat {
  padding: 0.85rem 0.9rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
}
.support-chat-log {
  max-height: 320px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  padding-right: 0.25rem;
}
.support-bubble {
  border-radius: 12px;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}
.support-bubble.is-user {
  border-color: rgba(59, 130, 246, 0.25);
}
.support-bubble.is-bot {
  border-color: rgba(167, 139, 250, 0.25);
}
.support-bubble.is-admin {
  border-color: rgba(34, 197, 94, 0.35);
}
.support-bubble-role {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.support-bubble p {
  margin: 0.25rem 0 0.15rem;
  font-size: 0.9rem;
}
.support-bubble time {
  font-size: 0.68rem;
}
.support-chat-form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.support-chat-form input[type="text"] {
  flex: 1;
  min-width: 180px;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}
.support-chat-actions {
  margin-top: 0.55rem;
}
.admin-pass-details {
  margin-top: 0.35rem;
}
.admin-pass-form {
  margin-top: 0.5rem;
  padding: 0.75rem 0.85rem;
  max-width: 420px;
}
.support-thread--admin {
  max-height: 420px;
  overflow-y: auto;
  padding: 0.75rem;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.support-admin-meta {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  margin: 0.5rem 0 0.75rem;
}
.support-admin-meta p {
  margin: 0.25rem 0;
  font-size: 0.92rem;
}
.support-admin-reply {
  padding: 1rem;
  margin-top: 0.5rem;
}
.support-close-form {
  margin-top: 0.5rem;
}
.admin-online-section {
  margin: 2rem 0 3rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
}

/* —— Diseño responsivo: smartphone / PC / Smart TV —— */
@media (max-width: 639px) {
  .site-body--responsive {
    font-size: 14px;
  }
  .top-nav {
    padding: 0.45rem 0.75rem;
  }
  .logo {
    font-size: 1.45rem;
  }
  .nav-search input {
    min-width: 0;
    width: 100%;
  }
  .app-shell {
    padding: 1.1rem 0.85rem 2rem;
  }
  .row-title {
    font-size: 0.95rem;
  }
  .card-thumb {
    border-radius: 8px;
  }
  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
  .support-chat-log {
    max-height: 240px;
  }
}

@media (min-width: 1024px) and (max-width: 1919px) {
  .site-body--responsive {
    font-size: 15px;
  }
  .app-shell {
    max-width: min(1180px, 96vw);
  }
  .row-carousel .row-track {
    gap: 0.65rem;
  }
}

@media (min-width: 1920px) {
  .site-body--responsive {
    font-size: 17px;
  }
  :root {
    --nav-h: 76px;
    --shell-wide: 1400px;
    --shell-max: 1040px;
  }
  .top-nav {
    padding: 0.65rem clamp(1.25rem, 3vw, 3rem);
    min-height: var(--nav-h);
  }
  .logo {
    font-size: 2.05rem;
  }
  .nav-links a {
    font-size: 1.02rem;
  }
  .btn-sm {
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem;
  }
  .card-thumb-wrap {
    border-radius: 12px;
  }
  .card-title {
    font-size: 0.98rem;
  }
}

@media (min-width: 1280px) and (min-height: 720px) and (hover: none) and (pointer: coarse) {
  .site-body--responsive .btn,
  .site-body--responsive .nav-links a,
  .site-body--responsive .profile-btn {
    min-height: 48px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }
  .nav-burger {
    min-width: 48px;
    min-height: 48px;
    font-size: 1.35rem;
  }
}

/* —— LUX (asistente flotante) —— */
.lux-widget {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  font-family: "Inter", "Outfit", system-ui, sans-serif;
}
.lux-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(167, 139, 250, 0.35), rgba(225, 29, 46, 0.45));
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.lux-fab:hover {
  filter: brightness(1.08);
}
.lux-panel {
  position: absolute;
  right: 0;
  bottom: 3.35rem;
  width: min(100vw - 2rem, 360px);
  max-height: min(70vh, 480px);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  background: rgba(10, 10, 14, 0.96);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lux-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--surface-border);
  background: rgba(0, 0, 0, 0.35);
}
.lux-panel-head-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.lux-panel-head .lux-clear {
  font-size: 0.72rem;
  padding: 0.25rem 0.45rem;
  white-space: nowrap;
}
.lux-panel-title {
  margin: 0;
  font-size: 0.95rem;
}
.lux-close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.lux-panel-body {
  flex: 1;
  overflow-y: auto;
  padding: 0.65rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.lux-msg {
  border-radius: 10px;
  padding: 0.45rem 0.55rem;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}
.lux-msg--lux {
  border-color: rgba(167, 139, 250, 0.35);
}
.lux-msg--Tú,
.lux-msg--tú {
  border-color: rgba(59, 130, 246, 0.3);
}
.lux-msg-role {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.lux-msg p {
  margin: 0.2rem 0 0;
}
.lux-panel-form {
  display: flex;
  gap: 0.4rem;
  padding: 0.55rem 0.65rem;
  border-top: 1px solid var(--surface-border);
  background: rgba(0, 0, 0, 0.25);
}
.lux-panel-form input[type="text"] {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}
.lux-panel-foot {
  margin: 0;
  padding: 0.35rem 0.75rem 0.55rem;
  font-size: 0.72rem;
}
.lux-inline-hint {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.lux-admin-form {
  padding: 1rem;
  margin: 1rem 0;
}
.lux-admin-chat {
  padding: 0.85rem;
  margin-top: 1rem;
  max-width: 640px;
}
.lux-admin-chat-toolbar {
  margin: 0 0 0.5rem;
}
.lux-admin-chat-log {
  min-height: 180px;
  max-height: 320px;
  overflow-y: auto;
  margin-bottom: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.lux-admin-bubble {
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lux-admin-bubble--lux {
  border-color: rgba(167, 139, 250, 0.35);
}
.lux-admin-bubble strong {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}
.lux-admin-chat-form {
  display: flex;
  gap: 0.5rem;
}
.lux-admin-chat-form input[type="text"] {
  flex: 1;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
}
.table-scroll {
  overflow-x: auto;
  margin: 0.5rem 0 1.25rem;
}

/* ========== Tema 2026: móvil con barra inferior, cuenta, detalle, admin ========== */
:root {
  --mobile-nav-h: 72px;
  --surface-2: rgba(22, 22, 30, 0.88);
  --ring: rgba(225, 29, 46, 0.45);
}

.mobile-bottom-nav,
.admin-mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    min-height: var(--mobile-nav-h);
    padding: 0.35rem 0.25rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: center;
    gap: 0.15rem;
    background: linear-gradient(180deg, rgba(12, 12, 16, 0.2), rgba(8, 8, 12, 0.96));
    backdrop-filter: blur(24px) saturate(1.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  }
  .mobile-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    min-width: 0;
    padding: 0.25rem 0.15rem;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    border-radius: 12px;
    transition: background 0.2s var(--ease), color 0.2s;
  }
  .mobile-bottom-nav__item:hover,
  .mobile-bottom-nav__item:focus-visible {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
  }
  .mobile-bottom-nav__item.is-active {
    color: #fff;
    background: rgba(225, 29, 46, 0.18);
    box-shadow: inset 0 0 0 1px rgba(225, 29, 46, 0.35);
  }
  .mobile-bottom-nav__icon img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.88;
  }
  .mobile-bottom-nav__item.is-active .mobile-bottom-nav__icon img {
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(225, 29, 46, 0.55));
  }
  .mobile-bottom-nav__label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .main-wrap {
    padding-bottom: calc(3.5rem + var(--mobile-nav-h) + env(safe-area-inset-bottom, 0px));
  }
  .site-footer {
    padding-bottom: calc(var(--mobile-nav-h) + env(safe-area-inset-bottom, 0px));
  }
  .lux-widget {
    bottom: calc(var(--mobile-nav-h) + 0.85rem + env(safe-area-inset-bottom, 0px));
    right: 0.65rem;
  }
  .top-nav {
    padding: 0.45rem 0.75rem;
  }
  .nav-search {
    order: 3;
    width: 100%;
    margin-top: 0.25rem;
  }
  .nav-search input {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* Admin: barra inferior móvil */
@media (max-width: 768px) {
  .admin-mobile-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    min-height: var(--mobile-nav-h);
    padding: 0.35rem 0.2rem calc(0.35rem + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: center;
    gap: 0.1rem;
    background: linear-gradient(180deg, rgba(14, 14, 20, 0.15), rgba(8, 8, 12, 0.96));
    backdrop-filter: blur(22px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .admin-mobile-bottom-nav__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.2rem;
    border-radius: 10px;
    min-width: 0;
  }
  .admin-mobile-bottom-nav__item.is-active {
    color: #fff;
    background: rgba(59, 130, 246, 0.2);
  }
  .admin-mobile-bottom-nav__icon img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    opacity: 0.85;
  }
  .admin-main {
    padding-bottom: calc(3rem + var(--mobile-nav-h) + env(safe-area-inset-bottom, 0px)) !important;
  }
  .admin-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.65rem;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
  }
  .admin-nav a {
    white-space: nowrap;
    flex-shrink: 0;
  }
  .data-table {
    display: block;
    overflow-x: auto;
    font-size: 0.82rem;
  }
}

@media (min-width: 769px) {
  .admin-mobile-bottom-nav {
    display: none !important;
  }
}

/* Ficha película / serie — aspecto más editorial */
.detail-hero {
  min-height: 56vh;
  padding: clamp(3.5rem, 12vw, 6rem) clamp(1.25rem, 5vw, 4rem) clamp(2rem, 5vw, 3rem);
  background-image: linear-gradient(105deg, rgba(6, 6, 10, 0.97) 0%, rgba(12, 12, 18, 0.82) 42%, rgba(18, 18, 24, 0.45) 100%),
    var(--detail-bg, #121218);
}
.detail-inner {
  max-width: min(920px, 100%);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface-2);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px) saturate(1.15);
}
.detail-inner h1 {
  font-family: "Outfit", "Inter", sans-serif;
  font-size: clamp(1.75rem, 5vw, 2.65rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.5rem;
}
.detail-desc {
  font-size: clamp(0.92rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  color: rgba(240, 240, 245, 0.88);
}
.seasons-block,
.tech-sheet,
.comments-block {
  margin: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 4vw, 4vw);
  padding: clamp(1.1rem, 3vw, 1.75rem);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(14, 14, 20, 0.55);
}

/* Cuenta — layout tipo app */
.account-v2.account-page {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(18, 18, 26, 0.75) 42%, rgba(10, 10, 14, 0.92) 100%);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.5);
}
.account-v2 .account-hero {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.account-v2 .account-block {
  margin-bottom: 1.5rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.22);
}
.account-v2 .account-block h2 {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 0.65rem;
}
.account-v2 .form-stack label,
.account-v2 .form-stack select,
.account-v2 .form-stack input:not([type="radio"]):not([type="checkbox"]) {
  display: block;
  width: 100%;
}
.account-v2 .form-stack input:not([type="radio"]):not([type="checkbox"]),
.account-v2 .form-stack select,
.account-v2 .form-stack textarea {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  padding: 0.6rem 0.75rem;
  color: var(--text);
}
@media (min-width: 960px) {
  .account-v2 .account-block--support {
    max-width: 640px;
  }
}

/* LUX: cierre por inactividad */
.lux-widget--idle-closed .lux-fab {
  animation: lux-pulse-out 0.6s ease;
}
@keyframes lux-pulse-out {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(0.92);
    box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.4);
  }
  100% {
    transform: scale(1);
  }
}
.lux-msg--Tú,
.lux-msg--tú {
  border-color: rgba(59, 130, 246, 0.3);
}

.glass {
  backdrop-filter: blur(22px) saturate(1.2);
}

/* ——— UI v2: landing, estrenos, admin ——— */
.badge-soon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0612;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.card-media--soon .card-thumb-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.45);
  pointer-events: none;
}

.detail-premiere {
  margin: 1rem 0 0.5rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.08);
}
.detail-premiere-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(253, 230, 138, 0.95);
}
.detail-countdown {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.detail-countdown .cd-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 3.2rem;
  padding: 0.35rem 0.5rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.detail-countdown .cd-num {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
}
.detail-countdown small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.detail-countdown .cd-sep {
  opacity: 0.45;
  font-weight: 700;
}

.btn-disabled,
.btn-countdown-hint {
  pointer-events: none;
  opacity: 0.92;
}

.episode-row--pending {
  border-left: 3px solid rgba(245, 158, 11, 0.75);
  padding-left: 0.5rem;
}
.episode-countdown {
  display: inline-flex;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: rgba(253, 230, 138, 0.95);
}
.episode-countdown .cd-inline span {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.landing-hero {
  position: relative;
  min-height: min(72vh, 640px);
  display: grid;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.landing-hero-3d {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.landing-hero-3d canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.landing-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(6, 4, 12, 0.92) 0%, rgba(6, 4, 12, 0.55) 45%, rgba(6, 4, 12, 0.25) 100%);
}
.landing-hero-inner {
  position: relative;
  z-index: 2;
  align-self: center;
  margin: 2rem 1.25rem;
  max-width: 640px;
  padding: 2rem 1.75rem;
}
.landing-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(167, 139, 250, 0.2);
  border: 1px solid rgba(167, 139, 250, 0.45);
}
.landing-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin: 0 0 0.5rem;
  line-height: 1.1;
}
.landing-lead {
  margin: 0 0 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.landing-body {
  margin-top: 2rem;
}
.landing-prose {
  padding: 1.5rem 1.35rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
}
.landing-app {
  margin: 2rem auto 3rem;
  padding: 1.75rem;
  max-width: 960px;
}
.landing-app-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 840px) {
  .landing-app-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.landing-app-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.landing-phone-mock {
  margin: 0 auto;
  width: 200px;
  height: 400px;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, #1f1f2a, #0b0b10);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}
.landing-phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 22px;
  border-radius: 0 0 14px 14px;
  background: #0a0a10;
}
.landing-phone-screen {
  margin-top: 28px;
  height: calc(100% - 36px);
  border-radius: 18px;
  background: radial-gradient(circle at 30% 20%, rgba(124, 58, 237, 0.35), transparent 55%), #0c0c12;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.85);
}

.landing-auth-narrow .auth-card {
  max-width: 460px;
  margin-inline: auto;
}

.admin-shell-v2.admin-body {
  background: linear-gradient(180deg, #0c0a14 0%, #12101c 40%, #0a0810 100%);
}
.admin-shell-v2 .top-nav.admin-nav {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 8, 18, 0.85);
  backdrop-filter: blur(16px);
}
.admin-shell-v2 .nav-links a {
  border-radius: 8px;
}
.admin-shell-v2 .nav-links a:hover {
  background: rgba(167, 139, 250, 0.12);
}
