:root {
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --cyan: #06b6d4;
  --blue: #2563eb;
  --yellow: #fde047;
  --red: #ef4444;
  --dark: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: var(--gray-50);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9));
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--teal), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.28);
  font-size: 14px;
  flex: 0 0 auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link,
.nav-drop-button {
  border: 0;
  background: transparent;
  color: var(--gray-700);
  font-weight: 700;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.nav-drop-button:hover {
  color: var(--teal);
}

.nav-dropdown {
  position: relative;
}

.nav-drop-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 180px;
  padding: 10px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--gray-700);
  font-size: 14px;
}

.nav-drop-panel a:hover {
  background: rgba(13, 148, 136, 0.08);
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.1);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--teal);
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan) 48%, var(--blue));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.22), transparent 45%);
  opacity: 0.8;
}

.hero-orb {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.18;
  background: var(--white);
}

.hero-orb-one {
  top: 12%;
  left: 5%;
}

.hero-orb-two {
  right: 6%;
  bottom: 10%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  padding: 74px 0 62px;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 56px;
}

.hero-slide.is-active {
  display: grid;
  animation: fadeUp 0.5s ease both;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1,
.detail-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.hero p,
.page-hero p,
.detail-lead {
  margin: 0;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.92);
}

.hero-tags,
.detail-tags,
.tag-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-tags span,
.detail-tags span,
.tag-line span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.tag-line {
  margin-top: 10px;
}

.tag-line span {
  color: var(--teal-dark);
  background: rgba(13, 148, 136, 0.09);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: all 0.2s ease;
}

.btn-light {
  color: var(--teal-dark);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.btn-light:hover {
  transform: translateY(-2px);
  background: var(--yellow);
}

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn-ghost:hover {
  color: var(--teal-dark);
  background: var(--white);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.hero-poster {
  position: relative;
  display: block;
  min-height: 440px;
  border-radius: 26px;
  overflow: hidden;
  transform: translateZ(0);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.32);
}

.poster-glow {
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: 30px;
  background: linear-gradient(90deg, #facc15, #ec4899);
  filter: blur(18px);
  opacity: 0.45;
}

.hero-poster img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 56%);
}

.hero-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%);
  font-size: 28px;
  padding-left: 4px;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px;
}

.hero-caption strong,
.hero-caption em {
  display: block;
}

.hero-caption strong {
  font-size: 25px;
  line-height: 1.2;
}

.hero-caption em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.84);
  font-style: normal;
}

.hero-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  font-size: 28px;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.32);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  transition: all 0.2s ease;
}

.hero-dot.is-active {
  width: 26px;
  background: var(--white);
}

.content-section,
.category-band,
.ranking-strip {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0;
}

.category-band,
.ranking-strip {
  width: 100%;
  padding: 70px max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.ranking-strip {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--gray-800);
}

.section-head p {
  margin: 8px 0 0;
  color: var(--gray-500);
}

.section-head-light h2,
.section-head-light p {
  color: var(--white);
}

.section-head-light p {
  opacity: 0.78;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--teal);
  font-weight: 900;
}

.section-head-light .section-link,
.ranking-strip .section-link {
  color: var(--white);
}

.section-link span {
  font-size: 24px;
  line-height: 1;
}

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

.movie-grid-featured {
  gap: 26px;
}

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  overflow: hidden;
  background: var(--gray-800);
}

.poster-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.movie-card:hover .poster-wrap img {
  transform: scale(1.08);
}

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.44), transparent 62%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-wrap::after {
  opacity: 1;
}

.poster-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 900;
}

.rank-badge {
  left: 12px;
  right: auto;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}

.card-body h3 {
  margin: 0;
  color: var(--gray-800);
  font-size: 17px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card:hover h3 {
  color: var(--teal);
}

.card-body p {
  margin: 9px 0 0;
  color: var(--gray-500);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  color: var(--gray-500);
  font-size: 12px;
}

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

.movie-card-compact {
  flex-direction: row;
  min-height: 152px;
}

.movie-card-compact .poster-wrap {
  flex: 0 0 160px;
}

.movie-card-compact .poster-wrap img {
  height: 100%;
  aspect-ratio: auto;
}

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

.category-tile {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 22px;
  padding: 20px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.category-tile img,
.category-tile span {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-tile img {
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile span {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12));
}

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 2;
}

.category-tile strong {
  font-size: 22px;
  line-height: 1.2;
}

.category-tile em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-style: normal;
}

.rank-mini-grid,
.rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 52px 76px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.rank-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #facc15, #f97316);
  font-size: 18px;
  font-weight: 900;
}

.rank-item img {
  width: 76px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-copy {
  min-width: 0;
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

.rank-copy strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy em {
  margin-top: 3px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  justify-self: end;
  font-weight: 900;
  color: var(--yellow);
}

.library-panel,
.player-card,
.article-card,
.category-overview-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.filter-bar input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  outline: none;
  background: var(--white);
}

.filter-bar input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button {
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--gray-700);
  background: var(--gray-100);
  cursor: pointer;
  font-weight: 800;
}

.filter-buttons button.is-active,
.filter-buttons button:hover {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.filter-bar-dark input {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.filter-bar-dark input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.empty-state {
  display: none;
  margin: 28px 0 0;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  color: var(--gray-500);
  background: var(--gray-100);
}

.empty-state.is-visible {
  display: block;
}

.empty-state-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.page-hero {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan) 50%, var(--blue));
}

.page-hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 84px 0;
}

.category-page-hero {
  background: linear-gradient(135deg, #0f766e, #0891b2, #1d4ed8);
}

.ranking-page-hero {
  background: linear-gradient(135deg, #0f172a, #0d9488, #06b6d4);
}

.category-overview-list {
  display: grid;
  gap: 24px;
}

.category-overview-head {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
}

.category-overview-head img {
  width: 100%;
  height: 150px;
  border-radius: 18px;
  object-fit: cover;
}

.category-overview-head h2 {
  margin: 0;
  font-size: 28px;
}

.category-overview-head p {
  margin: 8px 0 18px;
  color: var(--gray-500);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--gray-900);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.35;
}

.detail-hero-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.66));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.detail-poster img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

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

.detail-copy h1 {
  color: var(--white);
}

.detail-tags span {
  background: rgba(255, 255, 255, 0.14);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #020617;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  aspect-ratio: 16 / 9;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.28));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-button {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--teal);
  background: var(--white);
  font-size: 32px;
  padding-left: 5px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.player-overlay strong {
  max-width: 80%;
  font-size: 22px;
  line-height: 1.3;
}

.detail-body-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.article-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.article-card p {
  margin: 0;
  color: var(--gray-600);
  font-size: 16px;
}

.ranking-full {
  width: 100%;
  margin: 0;
}

.site-footer {
  color: var(--gray-300);
  background: linear-gradient(135deg, var(--gray-900), #111827 50%, #0f172a);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  color: var(--white);
  -webkit-background-clip: initial;
  background-clip: initial;
  background: none;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 17px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: var(--gray-300);
  font-size: 14px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--gray-300);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1060px) {
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 860px) {
  .site-nav {
    height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-link,
  .nav-drop-button {
    display: block;
    width: 100%;
    padding: 10px 12px;
    text-align: left;
  }

  .nav-dropdown:hover .nav-drop-panel,
  .nav-drop-panel {
    position: static;
    width: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 8px;
  }

  .hero-inner {
    min-height: auto;
    padding: 46px 0;
  }

  .hero-slide,
  .hero-slide.is-active,
  .detail-hero-inner,
  .category-overview-head,
  .detail-body-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .hero-poster img {
    min-height: 320px;
    height: 320px;
  }

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

  .horizontal-list,
  .rank-mini-grid,
  .rank-list {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .detail-poster {
    max-width: 300px;
  }
}

@media (max-width: 560px) {
  .brand,
  .footer-brand {
    font-size: 20px;
  }

  .hero h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 36px;
  }

  .hero p,
  .page-hero p,
  .detail-lead {
    font-size: 16px;
  }

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

  .movie-card-compact {
    flex-direction: column;
  }

  .movie-card-compact .poster-wrap {
    flex-basis: auto;
  }

  .movie-card-compact .poster-wrap img {
    aspect-ratio: 4 / 3;
  }

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

  .library-panel,
  .player-card,
  .article-card,
  .category-overview-card {
    padding: 18px;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rank-item {
    grid-template-columns: 44px 64px minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }

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

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