:root {
  --bg: #181A23;
  --bg-deep: #12131A;
  --panel: #222531;
  --panel-soft: #292D3B;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.15);
  --text: #F3F4F6;
  --muted: #A7ACB8;
  --primary: #5B5BD6;
  --primary-soft: #8B8CF6;
  --accent: #F2B84B;
  --shadow: 0 24px 60px rgba(0,0,0,.28);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shell: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 15% -10%, rgba(91,91,214,.15), transparent 34rem),
    radial-gradient(circle at 88% 8%, rgba(139,140,246,.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
::selection { background: rgba(139,140,246,.35); color: #fff; }

.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 9999;
  padding: 10px 14px; border-radius: 10px; background: var(--accent); color: #191919;
  transform: translateY(-180%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18,19,26,.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.site-header__inner {
  min-height: 78px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 12px; }
.brand__mark {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px;
  background: linear-gradient(145deg, var(--primary), var(--primary-soft)); color: white; font-weight: 800;
}
.brand__text { display: grid; line-height: 1.22; }
.brand__text strong { font-size: 18px; letter-spacing: .02em; }
.brand__text small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.primary-nav { display: flex; justify-content: center; gap: 4px; }
.nav-link {
  padding: 10px 12px; border-radius: 10px; color: #c9ccd5; font-size: 14px;
  transition: color .18s ease, background .18s ease;
}
.nav-link:hover, .nav-link:focus-visible { color: white; background: rgba(255,255,255,.06); outline: none; }
.nav-link.is-active { color: white; background: rgba(91,91,214,.18); }
.header-cta {
  padding: 10px 16px; border: 1px solid rgba(139,140,246,.45); border-radius: 11px;
  color: #f8f8ff; background: rgba(91,91,214,.12); font-size: 14px;
}
.header-cta:hover { background: rgba(91,91,214,.22); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: var(--panel); border-radius: 12px; padding: 10px; }
.menu-toggle span { display: block; height: 2px; background: currentColor; margin: 4px 0; border-radius: 2px; }

.eyebrow {
  margin: 0 0 10px; color: var(--accent); text-transform: uppercase; letter-spacing: .16em;
  font-size: 12px; font-weight: 800;
}
.hero {
  min-height: 650px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px;
  padding-block: 56px 72px;
}
.hero__copy h1, .page-hero h1 {
  margin: 0; max-width: 820px; font-size: clamp(38px, 5.2vw, 70px); line-height: 1.06; letter-spacing: -.04em;
}
.hero__lead, .page-hero p {
  margin: 24px 0 0; max-width: 690px; color: #c3c7d2; font-size: 18px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px;
  font-weight: 750; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: linear-gradient(135deg, var(--primary), #6b6be4); color: #fff; box-shadow: 0 14px 34px rgba(91,91,214,.23); }
.button--ghost { border: 1px solid var(--line-strong); background: rgba(255,255,255,.035); color: #eef0f4; }
.button--secondary { border: 1px solid rgba(242,184,75,.38); background: rgba(242,184,75,.09); color: #f7d58a; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 42px 0 0; }
.hero__facts div { padding-top: 16px; border-top: 1px solid var(--line); }
.hero__facts dt { color: var(--muted); font-size: 12px; }
.hero__facts dd { margin: 5px 0 0; font-size: 14px; font-weight: 700; }
.hero__visual { position: relative; }
.hero__visual::before {
  content: ""; position: absolute; inset: 8% 5% -3%; z-index: -1; border-radius: 40px;
  background: radial-gradient(circle at 50% 30%, rgba(91,91,214,.36), rgba(18,19,26,.03) 62%); filter: blur(14px);
}
.hero__visual > img { width: 100%; aspect-ratio: 1.1 / .92; object-fit: cover; border-radius: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero__floating {
  position: absolute; min-width: 180px; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 14px;
  background: rgba(24,26,35,.88); backdrop-filter: blur(14px); box-shadow: 0 14px 32px rgba(0,0,0,.22);
}
.hero__floating span { display: block; color: var(--muted); font-size: 11px; }
.hero__floating strong { display: block; margin-top: 4px; font-size: 13px; }
.hero__floating--one { left: -25px; bottom: 44px; }
.hero__floating--two { right: -16px; top: 46px; }

.section { padding-block: 82px; }
.section--panel { background: linear-gradient(180deg, rgba(34,37,49,.78), rgba(34,37,49,.35)); border-block: 1px solid var(--line); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3.7vw, 46px); line-height: 1.14; letter-spacing: -.03em; }
.section-heading > p:not(.eyebrow) { color: var(--muted); margin: 14px 0 0; }
.section-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(260px,.65fr); align-items: end; gap: 34px; }
.section-heading--split > p { margin: 0 0 4px; color: var(--muted); }

.media-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.media-card {
  min-width: 0; overflow: hidden; background: rgba(34,37,49,.84); border: 1px solid var(--line); border-radius: 18px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.media-card:hover { transform: translateY(-3px); border-color: rgba(139,140,246,.28); box-shadow: 0 16px 34px rgba(0,0,0,.18); }
.media-card__visual { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: #151721; }
.media-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.media-card:hover .media-card__visual img { transform: scale(1.025); }
.media-card__tag {
  position: absolute; left: 13px; top: 13px; padding: 5px 9px; border-radius: 999px;
  background: rgba(18,19,26,.82); border: 1px solid rgba(255,255,255,.1); color: #fff; font-size: 11px; backdrop-filter: blur(8px);
}
.media-card__body { padding: 18px 18px 20px; }
.media-card__body h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.media-card__body h3 a:hover { color: var(--primary-soft); }
.media-card__meta { margin: 8px 0 0 !important; color: #d8b762 !important; font-size: 12px; }
.media-card__body p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }

.split-feature, .prose-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.split-feature__visual img, .prose-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.split-feature__copy h2, .prose-grid h2 { margin: 0; font-size: clamp(30px,4vw,50px); line-height: 1.13; letter-spacing: -.03em; }
.split-feature__copy > p:not(.eyebrow), .prose-grid > div > p:not(.eyebrow) { color: var(--muted); }
.link-cards { display: grid; gap: 10px; margin-top: 24px; }
.link-cards a { padding: 16px 17px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,19,26,.38); }
.link-cards a:hover { border-color: rgba(139,140,246,.34); background: rgba(91,91,214,.1); }
.link-cards strong { font-size: 15px; }
.link-cards span { color: var(--muted); font-size: 13px; }

.info-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.info-card { min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(34,37,49,.7); }
.info-card__index { display: inline-flex; margin-bottom: 44px; color: var(--primary-soft); font-size: 13px; font-weight: 800; }
.info-card h2, .info-card h3 { margin: 0 0 10px; font-size: 18px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }

.latest-strip { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.latest-strip__content { padding: 20px 0; }
.latest-strip h2 { margin: 0; font-size: clamp(30px,4vw,48px); line-height: 1.12; }
.latest-strip p { color: var(--muted); }
.latest-strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 24px; border: 1px solid var(--line); }
.text-link { display: inline-flex; margin-top: 10px; color: #d9dbff; font-weight: 750; }
.text-link:hover { color: var(--primary-soft); }

.faq-list { display: grid; gap: 10px; }
.faq-list details { border: 1px solid var(--line); background: rgba(34,37,49,.65); border-radius: 14px; padding: 0 18px; }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 750; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 2px; top: 15px; color: var(--primary-soft); font-size: 22px; }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: -2px 0 18px; max-width: 860px; color: var(--muted); }
.faq-list--large details { padding-inline: 22px; }
.faq-list--large summary { font-size: 17px; }

.breadcrumb { width: var(--shell); margin: 24px auto 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 12px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 7px; opacity: .45; }
.breadcrumb a:hover { color: var(--text); }

.page-hero { min-height: 520px; padding-block: 52px 68px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: center; }
.page-hero--compact { min-height: 450px; }
.page-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.page-hero strong { color: white; }

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-chip { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 13px; background: rgba(255,255,255,.025); }
.filter-chip:hover { color: var(--text); border-color: rgba(139,140,246,.28); }
.filter-chip.is-active { color: white; background: rgba(91,91,214,.17); border-color: rgba(139,140,246,.35); }

.feature-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.feature-list article { padding: 24px; border-top: 2px solid rgba(139,140,246,.45); background: rgba(34,37,49,.45); border-radius: 0 0 16px 16px; }
.feature-list h3 { margin: 0 0 8px; }
.feature-list p { color: var(--muted); margin: 0; }

.editorial-columns { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.editorial-columns article { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(180deg, rgba(34,37,49,.8), rgba(24,26,35,.7)); }
.editorial-columns h3 { margin: 0 0 10px; font-size: 21px; }
.editorial-columns p { margin: 0; color: var(--muted); }

.timeline { display: grid; gap: 0; }
.timeline article { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 26px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.timeline article:last-child { border-bottom: 0; }
.timeline span { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: rgba(91,91,214,.14); color: var(--primary-soft); font-weight: 800; }
.timeline h2 { margin: 0 0 6px; font-size: 22px; }
.timeline p { margin: 0; color: var(--muted); max-width: 780px; }

.latest-groups { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.latest-groups article { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(18,19,26,.32); }
.latest-groups h2 { margin: 0 0 8px; font-size: 22px; }
.latest-groups p { color: var(--muted); }
.latest-groups a { color: var(--primary-soft); font-weight: 750; }

.route-map { display: grid; grid-template-columns: .72fr 1.28fr; gap: 52px; align-items: start; }
.route-map h2 { margin: 0; font-size: clamp(30px,4vw,44px); line-height: 1.14; }
.route-map ol { margin: 0; padding: 0; list-style: none; counter-reset: route; }
.route-map li { counter-increment: route; border-bottom: 1px solid var(--line); }
.route-map li:first-child { border-top: 1px solid var(--line); }
.route-map a { position: relative; display: grid; gap: 3px; padding: 20px 46px 20px 42px; }
.route-map a::before { content: counter(route, decimal-leading-zero); position: absolute; left: 0; top: 22px; color: var(--primary-soft); font-size: 12px; font-weight: 800; }
.route-map a::after { content: "→"; position: absolute; right: 0; top: 20px; color: var(--muted); }
.route-map strong { font-size: 17px; }
.route-map span { color: var(--muted); font-size: 13px; }

.not-found { min-height: 620px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.not-found h1 { margin: 0; font-size: clamp(46px,8vw,92px); letter-spacing: -.05em; line-height: 1; }
.not-found > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 18px; }

.site-footer { margin-top: 70px; padding: 54px 0 22px; border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3,1fr); gap: 42px; }
.footer-grid h2 { margin: 0 0 14px; color: #d5d8e0; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid li, .footer-grid a, .footer-intro p { color: var(--muted); font-size: 13px; }
.footer-grid a:hover { color: white; }
.footer-intro p { max-width: 360px; margin-top: 16px; }
.footer-bottom { margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 18px; color: #7f8490; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom a:hover { color: var(--text); }

@media (max-width: 1040px) {
  .site-header__inner { grid-template-columns: auto auto 1fr; }
  .header-cta { display: none; }
  .primary-nav { justify-content: flex-end; }
  .hero { gap: 34px; min-height: 600px; }
  .hero__copy h1, .page-hero h1 { font-size: clamp(38px,6vw,58px); }
  .info-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1.3fr repeat(3,1fr); gap: 26px; }
}

@media (max-width: 860px) {
  :root { --shell: min(100% - 30px, 1180px); }
  .site-header__inner { min-height: 68px; grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; justify-self: end; }
  .primary-nav {
    position: fixed; left: 15px; right: 15px; top: 76px; display: none; max-height: calc(100vh - 96px); overflow: auto;
    padding: 12px; flex-direction: column; background: rgba(18,19,26,.98); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  }
  .primary-nav.is-open { display: flex; }
  .nav-link { padding: 12px 14px; }
  .hero, .page-hero, .split-feature, .prose-grid, .latest-strip, .route-map { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-block: 48px 62px; }
  .hero__visual { order: -1; max-width: 680px; }
  .hero__visual > img { aspect-ratio: 16 / 10; }
  .hero__floating--one { left: 16px; bottom: 16px; }
  .hero__floating--two { right: 16px; top: 16px; }
  .page-hero { min-height: auto; padding-block: 42px 56px; }
  .page-hero img { order: -1; aspect-ratio: 16 / 9; }
  .section { padding-block: 64px; }
  .section-heading--split { grid-template-columns: 1fr; gap: 12px; }
  .media-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-list, .editorial-columns, .latest-groups { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100% - 24px); }
  .brand__text small { display: none; }
  .hero__copy h1, .page-hero h1 { font-size: 38px; }
  .hero__lead, .page-hero p { font-size: 16px; }
  .hero__facts { grid-template-columns: 1fr; gap: 8px; }
  .hero__facts div { padding-top: 10px; }
  .hero__floating { display: none; }
  .button { width: 100%; }
  .hero__actions { display: grid; width: 100%; }
  .section { padding-block: 52px; }
  .section-heading h2 { font-size: 30px; }
  .media-grid { grid-template-columns: 1fr; }
  .media-card__visual { aspect-ratio: 16 / 9; }
  .info-grid { grid-template-columns: 1fr; }
  .info-card { min-height: auto; }
  .info-card__index { margin-bottom: 26px; }
  .timeline article { grid-template-columns: 52px 1fr; gap: 14px; }
  .timeline span { width: 44px; height: 44px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-intro { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

:focus-visible { outline: 3px solid rgba(242,184,75,.68); outline-offset: 3px; }

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.note-grid--two { grid-template-columns: repeat(2, minmax(0,1fr)); }
.note-grid article {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(34,37,49,.82), rgba(24,26,35,.58));
}
.note-grid article > span {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(91,91,214,.13);
  color: var(--primary-soft);
  font-size: 11px;
  font-weight: 750;
}
.note-grid h3 {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.4;
}
.note-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.page-movies .media-card:nth-child(2n) .media-card__visual,
.page-series .media-card:nth-child(2n+1) .media-card__visual {
  aspect-ratio: 15 / 10;
}
.page-movies .note-grid article:nth-child(4n+1),
.page-series .note-grid article:nth-child(4n+2) {
  background: linear-gradient(160deg, rgba(91,91,214,.12), rgba(34,37,49,.7));
}
.page-watch .note-grid article:nth-child(3n) {
  border-color: rgba(242,184,75,.18);
}

@media (max-width: 900px) {
  .note-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 560px) {
  .note-grid, .note-grid--two { grid-template-columns: 1fr; }
  .note-grid article { padding: 19px; }
}

/* Content-density refinements for long browsing sessions */
.section + .section:not(.section--panel) { border-top: 1px solid rgba(255,255,255,.035); }
.page-latest .note-grid article,
.page-official .note-grid article { min-height: 190px; }
.page-latest .note-grid h3,
.page-official .note-grid h3 { max-width: 24ch; }
.page-official .note-grid--two article { display: grid; align-content: start; }
.page-official .note-grid--two article::before {
  content: "";
  width: 34px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: .78;
}
.page-latest .note-grid article:nth-child(5n+1)::before {
  content: "NEW";
  display: inline-flex;
  width: max-content;
  margin-bottom: 18px;
  padding: 3px 7px;
  border: 1px solid rgba(242,184,75,.22);
  border-radius: 999px;
  color: #e6c97d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}
.page-official .route-map strong,
.page-latest .latest-groups h2 { letter-spacing: -.01em; }

@media (hover: hover) {
  .note-grid article { transition: transform .18s ease, border-color .18s ease, background .18s ease; }
  .note-grid article:hover {
    transform: translateY(-2px);
    border-color: rgba(139,140,246,.25);
    background: linear-gradient(160deg, rgba(41,45,59,.92), rgba(24,26,35,.68));
  }
}

/* FAQ reading states */
.page-faq .faq-list--large {
  max-width: 980px;
  margin-inline: auto;
}
.page-faq .faq-list--large details {
  background: linear-gradient(180deg, rgba(34,37,49,.72), rgba(28,30,40,.62));
}
.page-faq .faq-list--large details[open] {
  border-color: rgba(139,140,246,.25);
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}
.page-faq .faq-list--large summary {
  min-height: 64px;
  display: flex;
  align-items: center;
}
.page-faq .faq-list--large details[open] summary {
  color: #f8f8ff;
}
.page-faq .faq-list--large details p {
  padding-right: 36px;
  line-height: 1.82;
}

/* Small utility refinements */
.page-home .section:first-of-type + .section { padding-top: 72px; }
.page-watch .feature-list article:nth-child(2) { border-top-color: rgba(242,184,75,.5); }
.page-complete .editorial-columns article:nth-child(2) { border-color: rgba(139,140,246,.24); }
.page-series .timeline article:hover span { background: rgba(91,91,214,.24); color: #fff; }
.page-movies .text-link,
.page-series .text-link,
.page-latest .latest-groups a { text-underline-offset: 4px; }
.page-movies .text-link:hover,
.page-series .text-link:hover,
.page-latest .latest-groups a:hover { text-decoration: underline; }

@media (max-width: 560px) {
  .page-faq .faq-list--large details p { padding-right: 0; }
  .page-faq .faq-list--large summary { min-height: 58px; }
}

/* Accessibility, dense-layout and device refinements */
@media (min-width: 1180px) {
  .page-home .media-grid .media-card:first-child { grid-column: span 2; }
  .page-home .media-grid .media-card:first-child .media-card__visual { aspect-ratio: 2 / 1; }
  .page-home .media-grid .media-card:first-child .media-card__body { display: grid; grid-template-columns: .7fr 1.3fr; column-gap: 22px; align-items: start; }
  .page-home .media-grid .media-card:first-child .media-card__meta { grid-column: 1; }
  .page-home .media-grid .media-card:first-child .media-card__body > p:last-child { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

@media (min-width: 861px) and (max-width: 1120px) {
  .primary-nav { gap: 1px; }
  .nav-link { padding-inline: 9px; font-size: 13px; }
  .hero__facts { gap: 8px; }
  .media-grid { gap: 16px; }
  .section { padding-block: 72px; }
}

@media (max-width: 720px) {
  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    scroll-snap-type: x proximity;
  }
  .filter-chip { flex: 0 0 auto; scroll-snap-align: start; }
  .breadcrumb { overflow-x: auto; white-space: nowrap; padding-bottom: 2px; }
  .route-map a { padding-right: 34px; }
}

@media (max-width: 420px) {
  .site-header__inner { min-height: 64px; }
  .brand img, .brand__mark { width: 38px; height: 38px; }
  .brand__text strong { font-size: 16px; }
  .menu-toggle { width: 40px; height: 40px; }
  .primary-nav { top: 70px; }
  .hero__copy h1, .page-hero h1 { font-size: 34px; }
  .section-heading h2 { font-size: 28px; }
  .media-card__body { padding: 16px; }
  .info-card { padding: 20px; }
  .note-grid article { padding: 18px; }
}

@media print {
  .site-header, .site-footer, .menu-toggle, .hero__actions, .filter-chips, .skip-link { display: none !important; }
  body { background: #fff !important; color: #111 !important; }
  .section, .page-hero, .hero { padding-block: 24px !important; }
  .media-card, .info-card, .note-grid article, .faq-list details {
    background: #fff !important;
    color: #111 !important;
    border-color: #ccc !important;
    break-inside: avoid;
  }
  p, .media-card__body p, .note-grid p, .info-card p { color: #444 !important; }
  a { color: #111 !important; text-decoration: underline; }
}

.js-ready .primary-nav { transition: opacity .16s ease, transform .16s ease; }
@media (max-width: 860px) {
  .js-ready .primary-nav.is-open { animation: navReveal .16s ease-out both; }
}
@keyframes navReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .js-ready .primary-nav.is-open { animation: none; }
}
