:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: rgba(30, 41, 59, 0.78);
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(6, 182, 212, 0.35);
  --text: #ffffff;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --cyan: #22d3ee;
  --cyan-deep: #0891b2;
  --blue: #2563eb;
  --gold: #facc15;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.34);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 8%, rgba(34, 211, 238, 0.15), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(37, 99, 235, 0.18), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #ffffff;
  box-shadow: 0 14px 38px rgba(6, 182, 212, 0.28);
}

.logo-text {
  font-size: 22px;
  background: linear-gradient(90deg, #67e8f9, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link,
.mobile-link {
  color: var(--muted-strong);
  font-weight: 650;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.active,
.mobile-link.active {
  color: var(--cyan);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.85);
  color: #ffffff;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #ffffff;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.mobile-nav.open {
  display: grid;
  gap: 12px;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-backdrop,
.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.82) 48%, rgba(2, 6, 23, 0.16));
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #020617, transparent 38%, rgba(2, 6, 23, 0.42));
}

.hero-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
  padding-top: 38px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.16);
  backdrop-filter: blur(8px);
  font-size: 14px;
  font-weight: 750;
}

.hero-copy h1,
.sub-hero h1,
.detail-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-copy p,
.sub-hero p,
.detail-one-line {
  max-width: 760px;
  color: var(--muted-strong);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.75;
}

.hero-meta,
.detail-meta,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  color: var(--muted-strong);
}

.hero-meta {
  margin: 26px 0;
}

.hero-meta span:first-child,
.detail-meta span:first-child,
.meta-line span:first-child {
  color: var(--gold);
  font-weight: 800;
}

.hero-actions,
.detail-copy .primary-button {
  margin-top: 30px;
}

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 12px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.primary-button {
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  color: #ffffff;
  box-shadow: 0 15px 45px rgba(6, 182, 212, 0.28);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.ghost-button {
  margin-left: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: var(--muted-strong);
  background: rgba(15, 23, 42, 0.55);
}

.ghost-button:hover {
  border-color: var(--line-strong);
  color: #ffffff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 18px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: #475569;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 36px;
  background: var(--cyan);
}

.section-block {
  padding: 56px 0;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading > div {
  position: relative;
  padding-left: 18px;
}

.section-line {
  position: absolute;
  top: 3px;
  left: 0;
  width: 5px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section-more {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #67e8f9;
  background: rgba(15, 23, 42, 0.7);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 240px);
  gap: 18px;
  overflow-x: auto;
  padding: 4px 4px 22px;
  scrollbar-color: #334155 #0f172a;
}

.poster-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.poster-card {
  min-width: 0;
}

.poster-link,
.poster-image,
.poster-body {
  display: block;
}

.poster-link {
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius);
  background: rgba(30, 41, 59, 0.86);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.poster-link:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(34, 211, 238, 0.28);
  box-shadow: 0 24px 55px rgba(6, 182, 212, 0.1);
}

.poster-image {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.poster-image img,
.wide-thumb img,
.compact-thumb img,
.category-card img,
.category-card-layer,
.category-card-copy,
.detail-poster img,
.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-link:hover img,
.wide-thumb:hover img,
.compact-card:hover img,
.category-card:hover img {
  transform: scale(1.08);
}

.poster-image img,
.wide-thumb img,
.compact-thumb img,
.category-card img {
  transition: transform 0.45s ease;
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.9), transparent 52%);
}

.poster-play,
.play-hover {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.9);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.poster-play {
  width: 52px;
  height: 52px;
}

.poster-link:hover .poster-play,
.wide-thumb:hover .play-hover,
.compact-card:hover .play-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.rating-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 850;
}

.poster-body {
  padding: 14px;
}

.poster-body strong {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35;
}

.poster-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}

.feature-panel,
.soft-panel,
.rank-panel,
.content-panel,
.player-card {
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.75), rgba(30, 41, 59, 0.48));
  box-shadow: var(--shadow);
}

.feature-panel,
.soft-panel {
  padding-left: 24px;
  padding-right: 24px;
}

.category-grid,
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.category-tile {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.2), transparent 40%), rgba(15, 23, 42, 0.88);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

.category-tile strong,
.category-tile span:last-child {
  position: relative;
  z-index: 2;
  display: block;
}

.category-tile strong {
  margin-bottom: 12px;
  font-size: 20px;
}

.category-tile span:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.category-glow {
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.22);
  filter: blur(12px);
}

.filter-bar,
.toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.toolbar {
  justify-content: space-between;
  margin-bottom: 28px;
}

.filter-chip {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--muted-strong);
  background: rgba(30, 41, 59, 0.92);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.filter-chip.active,
.filter-chip:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  box-shadow: 0 12px 32px rgba(6, 182, 212, 0.18);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(340px, 0.8fr);
  gap: 24px;
}

.wide-list {
  display: grid;
  gap: 14px;
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: var(--radius);
  background: rgba(30, 41, 59, 0.58);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.movie-card-wide:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 211, 238, 0.26);
  background: rgba(30, 41, 59, 0.82);
}

.wide-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: #0f172a;
}

.play-hover {
  width: 42px;
  height: 42px;
}

.wide-info {
  min-width: 0;
  padding: 4px 4px 4px 0;
}

.wide-title-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wide-info h3 {
  margin: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 17px;
}

.wide-info p {
  display: -webkit-box;
  margin: 8px 0 12px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--muted);
  line-height: 1.55;
}

.rank-panel {
  padding: 22px;
}

.rank-badge {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #67e8f9;
  background: rgba(6, 182, 212, 0.16);
  font-weight: 900;
}

.sub-hero {
  position: relative;
  padding: 92px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background:
    radial-gradient(circle at 12% 20%, rgba(34, 211, 238, 0.18), transparent 24rem),
    radial-gradient(circle at 84% 20%, rgba(37, 99, 235, 0.18), transparent 26rem),
    rgba(2, 6, 23, 0.28);
}

.sub-hero-inner {
  position: relative;
  z-index: 2;
}

.sub-hero h1 {
  max-width: 900px;
}

.category-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #0f172a;
}

.category-card-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.22));
}

.category-card-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
}

.category-card-copy strong {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
}

.category-card-copy em {
  display: block;
  max-width: 620px;
  color: var(--muted-strong);
  font-style: normal;
  line-height: 1.65;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
}

.search-box span {
  color: #67e8f9;
  font-weight: 800;
}

.search-box input {
  width: min(380px, 60vw);
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
}

.search-box-large {
  width: min(820px, 100%);
}

.search-box-large input {
  flex: 1;
  width: auto;
}

.search-toolbar {
  justify-content: center;
}

.detail-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 68px 0 54px;
}

.detail-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.82) 46%, rgba(2, 6, 23, 0.34)),
    linear-gradient(0deg, #020617, transparent 54%);
}

.detail-head {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.detail-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  background: #0f172a;
}

.detail-copy h1 {
  margin-top: 20px;
  max-width: 900px;
}

.detail-meta {
  margin: 20px 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(15, 23, 42, 0.72);
  font-size: 13px;
}

.player-card {
  padding: 22px;
}

.player-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.player-title-row h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.player-title-row a {
  color: #67e8f9;
}

.player-stage {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.player-stage video,
.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-stage video {
  object-fit: contain;
  background: #000000;
}

.player-cover {
  z-index: 2;
  padding: 0;
  border: 0;
  overflow: hidden;
  color: #ffffff;
  background: #000000;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-cover-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.25));
}

.player-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 18px 52px rgba(6, 182, 212, 0.35);
  font-size: 38px;
  transform: translate(-50%, -50%);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.content-panel {
  padding: 28px;
}

.content-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.content-panel p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.9;
  text-align: justify;
}

.related-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.compact-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
  padding: 10px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.58);
}

.compact-thumb {
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 16 / 10;
  background: #0f172a;
}

.compact-body h3 {
  margin: 5px 0 9px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 15px;
}

.compact-meta {
  gap: 8px;
  font-size: 12px;
}

.is-hidden {
  display: none !important;
}

.site-footer {
  margin-top: 34px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.74);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 34px 0;
  color: var(--muted);
}

.footer-logo {
  color: #67e8f9;
  font-size: 20px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--cyan);
}

@media (max-width: 1180px) {
  .poster-grid,
  .related-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero {
    height: 640px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.98), rgba(2, 6, 23, 0.86));
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-arrow {
    display: none;
  }

  .poster-grid,
  .related-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .two-column,
  .detail-content-grid,
  .category-card-grid {
    grid-template-columns: 1fr;
  }

  .detail-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1280px);
  }

  .header-inner {
    height: 64px;
  }

  .logo-text {
    font-size: 19px;
  }

  .hero {
    height: 620px;
  }

  .hero-copy h1,
  .sub-hero h1,
  .detail-copy h1 {
    font-size: 42px;
  }

  .hero-actions {
    display: grid;
    gap: 12px;
  }

  .ghost-button {
    margin-left: 0;
  }

  .section-heading {
    display: grid;
    align-items: start;
  }

  .poster-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-wide {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .wide-info p {
    -webkit-line-clamp: 1;
  }

  .detail-hero {
    min-height: auto;
    padding: 48px 0 44px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(220px, 70vw);
  }

  .player-card,
  .content-panel,
  .rank-panel {
    padding: 16px;
  }

  .player-title-row {
    display: grid;
  }

  .player-play-button {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }

  .toolbar {
    display: grid;
  }

  .search-box input {
    width: 100%;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
