: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;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --cyan-500: #06b6d4;
  --amber-500: #f59e0b;
  --amber-300: #fcd34d;
  --rose-600: #e11d48;
  --white: #ffffff;
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.16);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.10);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: linear-gradient(180deg, #f8fafc 0%, #eef9f8 45%, #f8fafc 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-900);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.35);
}

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

.nav-link {
  padding: 10px 14px;
  color: var(--slate-600);
  border-radius: 999px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-600);
  background: rgba(20, 184, 166, 0.10);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--slate-100);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--slate-700);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid var(--slate-200);
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--slate-950);
}

.hero-track,
.hero-slide,
.hero-slide img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.25) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.20) 0%, rgba(2, 6, 23, 0.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  width: min(780px, calc(100% - 32px));
  padding-top: 150px;
  margin-left: max(16px, calc((100vw - 1180px) / 2));
  color: var(--white);
}

.hero-tags,
.tag-list,
.detail-tags,
.genre-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-list span,
.detail-tags a,
.genre-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #fff7ed;
  border: 1px solid rgba(252, 211, 77, 0.38);
  border-radius: 999px;
  background: rgba(146, 64, 14, 0.32);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
}

.hero-content h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-content p {
  max-width: 660px;
  margin: 0 0 30px;
  color: #dbeafe;
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  box-shadow: 0 18px 34px rgba(20, 184, 166, 0.32);
}

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

.btn-ghost.light {
  color: var(--slate-900);
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.hero-controls {
  position: absolute;
  left: max(16px, calc((100vw - 1180px) / 2));
  bottom: 46px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

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

.hero-dot.active {
  width: 72px;
  background: var(--amber-300);
}

.hero-side-card {
  position: absolute;
  right: max(16px, calc((100vw - 1180px) / 2));
  bottom: 42px;
  z-index: 4;
  width: min(320px, calc(100% - 32px));
  padding: 22px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.52);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(18px);
}

.hero-side-card span {
  color: var(--amber-300);
  font-size: 13px;
  font-weight: 900;
}

.hero-side-card strong {
  display: block;
  margin: 8px 0 14px;
  font-size: 22px;
  line-height: 1.2;
}

.hero-side-card a {
  color: #a7f3d0;
  font-weight: 900;
}

.home-search {
  position: relative;
  z-index: 8;
  margin-top: -38px;
}

.quick-search {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
}

.quick-search input,
.search-box input,
.sort-select {
  width: 100%;
  min-height: 50px;
  border: 2px solid var(--slate-200);
  border-radius: 16px;
  outline: none;
  background: var(--white);
  color: var(--slate-800);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-search input {
  flex: 1;
  padding: 0 18px;
}

.quick-search input:focus,
.search-box input:focus,
.sort-select:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.10);
}

.quick-search button {
  min-width: 132px;
  border: 0;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  font-weight: 900;
}

.section {
  padding: 72px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 16px;
  margin-bottom: 26px;
}

.compact-heading {
  display: block;
  margin-bottom: 18px;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 6px 12px;
  color: var(--teal-600);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.10);
  font-size: 13px;
  font-weight: 900;
}

.section-heading h2,
.content-card h2,
.player-title {
  margin: 8px 0 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 640px;
  margin: 8px 0 0;
  color: var(--slate-600);
}

.section-link,
.text-link {
  color: var(--teal-600);
  font-weight: 900;
}

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

.category-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-900);
  box-shadow: var(--shadow-md);
  isolation: isolate;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
  transition: transform 0.35s ease, opacity 0.35s ease;
  z-index: -1;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.88));
  z-index: -1;
}

.category-card span,
.category-card strong {
  position: absolute;
  left: 18px;
}

.category-card span {
  bottom: 48px;
  color: var(--white);
  font-size: 23px;
  font-weight: 900;
}

.category-card strong {
  bottom: 22px;
  color: var(--amber-300);
}

.category-card:hover img {
  opacity: 0.82;
  transform: scale(1.08);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(20, 184, 166, 0.28);
  box-shadow: 0 28px 58px rgba(15, 23, 42, 0.15);
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-950));
}

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

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

.poster-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  box-shadow: 0 16px 28px rgba(20, 184, 166, 0.32);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--slate-950);
  border-radius: 999px;
  background: var(--amber-300);
  font-weight: 900;
}

.movie-card-body {
  padding: 16px;
}

.movie-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 10px 0 8px;
  color: var(--slate-900);
  font-size: 20px;
  line-height: 1.24;
  letter-spacing: -0.02em;
}

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

.movie-card p {
  min-height: 52px;
  margin: 0 0 14px;
  color: var(--slate-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card .tag-list span {
  color: var(--teal-600);
  border-color: rgba(20, 184, 166, 0.18);
  background: rgba(20, 184, 166, 0.08);
}

.movie-card.compact .movie-card-body {
  padding: 14px;
}

.movie-card.compact h3 {
  font-size: 18px;
}

.two-columns {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: start;
}

.ranking-list {
  display: grid;
  gap: 10px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 44px 58px 1.1fr 2fr 64px;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.88);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  border-color: rgba(20, 184, 166, 0.3);
}

.ranking-number {
  color: var(--amber-500);
  font-size: 22px;
  font-weight: 1000;
  text-align: center;
}

.ranking-row img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-title {
  color: var(--slate-900);
  font-weight: 900;
}

.ranking-desc {
  color: var(--slate-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ranking-year {
  color: var(--slate-500);
  font-weight: 800;
  text-align: right;
}

.page-hero {
  padding: 92px 0;
  color: var(--white);
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.52), transparent 30%),
    radial-gradient(circle at bottom right, rgba(245, 158, 11, 0.38), transparent 34%),
    linear-gradient(135deg, #0f172a 0%, #164e63 100%);
}

.simple-hero h1,
.category-hero h1,
.ranking-hero h1 {
  margin: 14px 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.simple-hero p,
.category-hero p,
.ranking-hero p {
  max-width: 720px;
  margin: 0;
  color: #dbeafe;
  font-size: 20px;
}

.filter-panel {
  margin-bottom: 24px;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 12px;
}

.search-box {
  position: relative;
  display: block;
}

.search-box span {
  position: absolute;
  left: 16px;
  top: 50%;
  color: var(--slate-500);
  transform: translateY(-50%);
}

.search-box input {
  padding: 0 16px 0 42px;
}

.sort-select {
  padding: 0 14px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.filter-chip {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--slate-700);
  background: var(--slate-100);
  font-weight: 800;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.empty-state {
  margin: 18px 0 0;
  color: var(--rose-600);
  font-weight: 900;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.category-cover-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--slate-100);
}

.category-cover-strip img {
  width: 100%;
  height: 108px;
  object-fit: cover;
}

.category-overview-card h2 {
  margin: 4px 0 8px;
  font-size: 26px;
  line-height: 1.15;
}

.category-overview-card p {
  color: var(--slate-600);
}

.detail-hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-950);
}

.detail-backdrop,
.detail-backdrop img,
.detail-backdrop::after {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) saturate(1.05);
  opacity: 0.42;
  transform: scale(1.04);
}

.detail-backdrop::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94), rgba(15, 23, 42, 0.68)),
    linear-gradient(180deg, rgba(2, 6, 23, 0.20), rgba(2, 6, 23, 0.96));
}

.detail-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 42px;
  align-items: center;
  padding: 82px 0;
}

.detail-poster {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
  color: #a7f3d0;
  font-weight: 800;
}

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 760px;
  color: #dbeafe;
  font-size: 20px;
}

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

.detail-meta span {
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.detail-tags {
  margin-bottom: 24px;
}

.player-title {
  margin-bottom: 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--slate-950);
  box-shadow: var(--shadow-xl);
  aspect-ratio: 16 / 9;
}

.player-shell video {
  width: 100%;
  height: 100%;
  background: var(--slate-950);
}

.play-layer {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.22), rgba(2, 6, 23, 0.72));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-layer.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-button-icon {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-500));
  box-shadow: 0 24px 58px rgba(20, 184, 166, 0.36);
  font-size: 34px;
}

.play-layer strong {
  font-size: 22px;
}

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

.content-card {
  padding: 28px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.content-card p {
  color: var(--slate-700);
  font-size: 18px;
}

.review-card {
  grid-column: 1 / -1;
}

.side-info dl {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px 12px;
  margin: 18px 0;
}

.side-info dt {
  color: var(--slate-500);
  font-weight: 900;
}

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

.genre-pills span {
  color: var(--teal-600);
  border-color: rgba(20, 184, 166, 0.20);
  background: rgba(20, 184, 166, 0.08);
}

.site-footer {
  margin-top: 86px;
  color: #cbd5e1;
  background: linear-gradient(135deg, var(--slate-950), #0f2f3a);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 42px;
  padding: 46px 0;
}

.footer-logo {
  color: var(--white);
}

.footer-brand p {
  max-width: 560px;
  margin: 18px 0 0;
}

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

.footer-links h2 {
  margin: 0 0 14px;
  color: var(--amber-300);
  font-size: 18px;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: #e2e8f0;
  font-weight: 700;
}

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

.footer-bottom {
  padding: 18px 16px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}

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

  .two-columns,
  .detail-content-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .menu-toggle {
    display: block;
  }

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

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 110px;
  }

  .hero-side-card {
    display: none;
  }

  .section-heading {
    grid-template-columns: 1fr;
  }

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

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

  .detail-layout {
    grid-template-columns: 1fr;
    padding: 48px 0;
  }

  .detail-poster {
    width: min(280px, 80vw);
  }

  .filter-row,
  .ranking-row {
    grid-template-columns: 1fr;
  }

  .ranking-row img {
    display: none;
  }

  .ranking-desc,
  .ranking-year {
    white-space: normal;
    text-align: left;
  }
}

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

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

  .logo-mark {
    width: 38px;
    height: 38px;
  }

  .hero-content h1,
  .detail-info h1,
  .simple-hero h1,
  .category-hero h1,
  .ranking-hero h1 {
    font-size: 38px;
  }

  .quick-search,
  .hero-actions,
  .filter-row {
    flex-direction: column;
    display: flex;
  }

  .quick-search button {
    min-height: 48px;
  }

  .movie-grid,
  .category-grid,
  .mini-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 54px;
  }

  .content-card {
    padding: 22px;
  }

  .play-button-icon {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }

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