:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --orange-600: #ea580c;
  --text: #0f172a;
  --muted: #64748b;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--slate-50);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0));
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 182px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-900);
  background: linear-gradient(135deg, var(--amber-400), var(--orange-600));
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.36);
  font-weight: 900;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-subtitle {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.78;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-link,
.mobile-link {
  position: relative;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

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

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 6px;
}

.header-search input,
.mobile-search input,
.quick-search input,
.local-filter input,
.hero-search input {
  border: 1px solid rgba(148, 163, 184, 0.38);
  outline: none;
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  padding: 11px 16px;
  transition: border 0.2s ease, box-shadow 0.2s ease, width 0.2s ease;
}

.header-search input {
  width: 176px;
}

.header-search input:focus {
  width: 224px;
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.15);
}

.header-search button,
.mobile-search button,
.quick-search button,
.local-filter button,
.hero-search button {
  border: none;
  color: var(--white);
  background: var(--amber-500);
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.quick-search button:hover,
.local-filter button:hover,
.hero-search button:hover,
.btn-primary:hover {
  background: var(--amber-600);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--slate-100);
}

.hero {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
  background: var(--slate-900);
}

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

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

.hero-slide img,
.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(245, 158, 11, 0.18), transparent 32%), linear-gradient(90deg, rgba(2, 6, 23, 0.97), rgba(15, 23, 42, 0.78) 46%, rgba(15, 23, 42, 0.15));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1180px) / 2));
  top: 50%;
  width: min(650px, calc(100% - 48px));
  transform: translateY(-45%);
  color: var(--white);
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: var(--amber-400);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

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

.hero-content p,
.page-hero p,
.detail-one-line {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.92);
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.hero-meta span,
.detail-meta span {
  padding: 9px 13px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.hero-actions,
.detail-copy .btn-primary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  color: var(--white);
  background: var(--amber-500);
  box-shadow: 0 18px 40px rgba(245, 158, 11, 0.32);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 42px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 42px;
  background: var(--amber-500);
}

.quick-panel {
  position: relative;
  z-index: 5;
  margin-top: -42px;
}

.quick-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.quick-search,
.hero-search,
.local-filter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.quick-cats,
.pill-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-cats a,
.pill-row a {
  padding: 10px 14px;
  color: var(--slate-700);
  background: var(--slate-100);
  border-radius: 999px;
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.quick-cats a:hover,
.pill-row a:hover {
  color: var(--white);
  background: var(--amber-500);
  transform: translateY(-1px);
}

.section {
  padding: 72px 0;
}

.warm-section {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

.slate-section {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: var(--white);
}

.muted-section {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

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

.section-heading h2 {
  margin: 8px 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.slate-section .section-heading p {
  color: rgba(226, 232, 240, 0.78);
}

.section-more {
  flex: none;
  color: var(--amber-600);
  font-weight: 900;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 220px;
  overflow: hidden;
  border-radius: 26px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card:hover,
.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.rank-poster {
  position: relative;
  overflow: hidden;
}

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

.rank-card:hover img,
.movie-card:hover img {
  transform: scale(1.06);
}

.rank-poster span,
.rank-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--orange-600);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(234, 88, 12, 0.32);
}

.rank-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.rank-info > a {
  font-size: 22px;
  font-weight: 900;
  color: var(--slate-900);
}

.rank-info > a:hover,
.movie-title:hover {
  color: var(--amber-600);
}

.rank-info p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-info div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rank-info div span {
  padding: 7px 10px;
  color: var(--slate-700);
  background: var(--slate-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--slate-200);
}

.movie-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cover-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 6, 23, 0.86));
  transition: opacity 0.2s ease;
}

.movie-card:hover .cover-shade {
  opacity: 1;
}

.play-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--slate-900);
  background: var(--amber-400);
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 900;
}

.movie-card:hover .play-chip {
  opacity: 1;
  transform: translateY(0);
}

.movie-info {
  padding: 16px;
}

.movie-title {
  display: block;
  min-height: 45px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--slate-900);
  font-weight: 900;
  transition: color 0.2s ease;
}

.movie-desc {
  min-height: 54px;
  margin: 10px 0 12px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-compact .movie-desc {
  min-height: 48px;
  font-size: 14px;
}

.movie-meta,
.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.movie-meta span {
  color: var(--slate-500);
  font-size: 13px;
}

.movie-tags {
  margin-top: 10px;
}

.movie-tags span,
.tag-cloud span {
  padding: 6px 9px;
  color: var(--amber-600);
  background: rgba(245, 158, 11, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

.category-card {
  min-height: 178px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.slate-section .category-card {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.13);
}

.category-card strong {
  font-size: 22px;
}

.category-card p {
  margin: 12px 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

.slate-section .category-card p {
  color: rgba(226, 232, 240, 0.78);
}

.category-card span {
  color: var(--amber-600);
  font-weight: 900;
}

.page-main {
  background: var(--slate-50);
}

.page-hero,
.detail-hero {
  position: relative;
  padding: 132px 0 74px;
  color: var(--white);
  overflow: hidden;
  background: radial-gradient(circle at 85% 18%, rgba(245, 158, 11, 0.28), transparent 30%), linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.compact-hero,
.search-hero,
.category-hero,
.rank-hero {
  min-height: 360px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 26px;
  color: rgba(226, 232, 240, 0.82);
}

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

.local-filter,
.hero-search {
  max-width: 720px;
  margin-bottom: 30px;
}

.hero-search {
  margin-top: 24px;
}

.empty-state {
  display: none;
  margin: 36px 0 0;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  background: var(--white);
  border-radius: 20px;
}

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

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

.category-stack {
  display: grid;
  gap: 34px;
}

.category-preview {
  padding: 28px;
  border-radius: 30px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.category-preview-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.category-preview h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.category-preview p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.category-preview a {
  color: var(--amber-600);
  font-weight: 900;
}

.rank-list {
  display: grid;
  gap: 18px;
}

.detail-hero {
  min-height: 620px;
  padding-bottom: 86px;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  filter: blur(2px);
}

.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72));
}

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

.detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.38);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-copy .tag-cloud {
  margin-bottom: 28px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 28px;
}

.player-block,
.content-card,
.side-card {
  padding: 26px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.player-block h2,
.content-card h2,
.side-card h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.content-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 18px;
  line-height: 1.95;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: none;
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.24), rgba(2, 6, 23, 0.82));
  z-index: 3;
}

.player-button {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  color: var(--slate-900);
  background: var(--amber-400);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.34);
  font-size: 34px;
}

.player-overlay strong {
  font-size: 22px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.detail-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.side-card dt {
  color: var(--muted);
}

.side-card dd {
  margin: 0;
  font-weight: 800;
  color: var(--slate-800);
}

.side-link {
  display: block;
  padding: 12px 14px;
  margin-top: 10px;
  border-radius: 14px;
  background: var(--slate-100);
  font-weight: 900;
  transition: background 0.2s ease, color 0.2s ease;
}

.side-link:hover {
  color: var(--white);
  background: var(--amber-500);
}

.site-footer {
  color: rgba(226, 232, 240, 0.86);
  background: var(--slate-950);
  padding: 52px 0 34px;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 24px;
  margin-bottom: 8px;
}

.footer-brand p {
  max-width: 620px;
  margin: 0;
  line-height: 1.75;
}

.footer-links,
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a,
.footer-tags a {
  color: rgba(226, 232, 240, 0.86);
}

.footer-links a:hover,
.footer-tags a:hover {
  color: var(--amber-400);
}

.copyright {
  margin: 0;
  color: rgba(148, 163, 184, 0.85);
}

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

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

@media (max-width: 900px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-header.is-open .mobile-panel {
    display: block;
  }

  .quick-inner,
  .rank-grid,
  .detail-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-side {
    position: static;
  }

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

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

@media (max-width: 640px) {
  .header-inner {
    height: 66px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    min-height: 72vh;
  }

  .hero-content {
    top: 52%;
  }

  .hero-meta span,
  .detail-meta span {
    font-size: 13px;
  }

  .hero-controls {
    right: 24px;
    bottom: 24px;
  }

  .quick-panel {
    margin-top: 0;
  }

  .quick-inner {
    width: 100%;
    border-radius: 0;
  }

  .quick-search,
  .hero-search,
  .local-filter {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .section-heading,
  .category-preview-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rank-card {
    grid-template-columns: 120px 1fr;
    min-height: 180px;
  }

  .rank-info {
    padding: 16px;
  }

  .rank-info > a {
    font-size: 18px;
  }

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

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

  .movie-info {
    padding: 12px;
  }

  .movie-title {
    font-size: 15px;
  }

  .movie-desc {
    font-size: 13px;
  }

  .page-hero,
  .detail-hero {
    padding-top: 104px;
  }

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

  .player-block,
  .content-card,
  .side-card,
  .category-preview {
    padding: 20px;
    border-radius: 22px;
  }
}
