:root {
  --color-orange: #f97316;
  --color-orange-dark: #ea580c;
  --color-red: #ef4444;
  --color-pink: #ec4899;
  --color-blue: #2563eb;
  --color-cyan: #06b6d4;
  --color-green: #16a34a;
  --color-purple: #7c3aed;
  --color-slate: #0f172a;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-line: #e5e7eb;
  --color-soft: #f9fafb;
  --shadow-card: 0 12px 35px rgba(15, 23, 42, 0.10);
  --shadow-hover: 0 24px 55px rgba(15, 23, 42, 0.18);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: #f3f4f6;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.site-logo-mark,
.footer-logo span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.35);
}

.site-logo-text {
  font-size: 20px;
  background: linear-gradient(135deg, var(--color-orange-dark), var(--color-red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.main-nav a,
.mobile-nav a {
  font-weight: 700;
  color: #374151;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--color-orange-dark);
}

.header-search,
.mobile-search,
.hero-search,
.filter-panel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search input,
.mobile-search input,
.hero-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 10px 15px;
  outline: 0;
  background: #fff;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.header-search button,
.mobile-search button,
.hero-search button,
.filter-panel button {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.18);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: #111827;
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 18px;
  border-top: 1px solid var(--color-line);
}

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

.category-strip {
  border-top: 1px solid rgba(229, 231, 235, 0.85);
  background: rgba(249, 250, 251, 0.95);
}

.category-strip-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 9px 0;
}

.category-strip a {
  flex-shrink: 0;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
}

.category-strip a:hover {
  color: var(--color-orange-dark);
}

.hero-carousel {
  background: #111827;
  color: #fff;
}

.hero-stage {
  position: relative;
  min-height: 610px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: 48px;
  width: 100%;
  padding: 74px max(32px, calc((100vw - 1280px) / 2 + 32px));
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(17, 24, 39, 0.74), rgba(17, 24, 39, 0.42)), var(--hero-image), linear-gradient(135deg, #f97316, #ef4444);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 18%, rgba(249, 115, 22, 0.28), transparent 34%), radial-gradient(circle at 86% 76%, rgba(239, 68, 68, 0.24), transparent 36%);
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-copy,
.hero-poster {
  position: relative;
  z-index: 2;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-orange-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy .section-kicker,
.detail-copy .section-kicker,
.page-hero .section-kicker {
  color: #fed7aa;
}

.hero-copy h1 {
  max-width: 880px;
  margin: 18px 0 22px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.88);
}

.hero-tags,
.detail-meta,
.movie-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.hero-tags span,
.detail-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span,
.detail-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 22px;
  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: #fff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  box-shadow: 0 16px 30px rgba(239, 68, 68, 0.28);
}

.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-poster {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.40);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.4), rgba(239, 68, 68, 0.3));
}

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

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

.hero-play,
.play-badge {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--color-orange);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.35);
}

.hero-play {
  inset: 50% auto auto 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -50%);
  font-size: 28px;
}

.hero-control {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-size: 30px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 26px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 28px;
  background: #fff;
}

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

.section-tight {
  padding-top: 52px;
}

.section-white,
.section-blue,
.section-warm {
  width: 100%;
  padding-left: max(16px, calc((100vw - 1280px) / 2 + 16px));
  padding-right: max(16px, calc((100vw - 1280px) / 2 + 16px));
}

.section-white {
  background: #fff;
}

.section-blue {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

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

.section-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.page-hero h1 {
  margin: 8px 0 8px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.section-heading p,
.page-hero p {
  max-width: 790px;
  margin: 0;
  color: var(--color-muted);
  font-size: 17px;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.text-link {
  flex-shrink: 0;
  color: var(--color-orange-dark);
  font-weight: 900;
}

.text-link-blue {
  color: var(--color-blue);
}

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

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

.category-tile {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  border-radius: 22px;
  padding: 22px;
  color: #fff;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.category-tile span,
.category-tile strong,
.category-tile small {
  position: relative;
  z-index: 1;
}

.category-tile span {
  font-size: 20px;
  font-weight: 900;
}

.category-tile strong {
  font-size: 15px;
}

.category-tile small {
  color: rgba(255, 255, 255, 0.84);
}

.accent-orange { background: linear-gradient(135deg, #f97316, #ef4444); }
.accent-red { background: linear-gradient(135deg, #ef4444, #e11d48); }
.accent-blue { background: linear-gradient(135deg, #2563eb, #06b6d4); }
.accent-purple { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.accent-green { background: linear-gradient(135deg, #16a34a, #22c55e); }
.accent-slate { background: linear-gradient(135deg, #0f172a, #475569); }
.accent-cyan { background: linear-gradient(135deg, #0891b2, #0ea5e9); }
.accent-pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.accent-amber { background: linear-gradient(135deg, #d97706, #f97316); }
.accent-indigo { background: linear-gradient(135deg, #4f46e5, #2563eb); }

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

.dense-grid {
  gap: 18px;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

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

.movie-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #fb923c, #ef4444 48%, #111827);
}

.movie-card-wide .movie-thumb {
  height: 100%;
  min-height: 180px;
  aspect-ratio: auto;
}

.movie-thumb img,
.rank-cover img,
.detail-poster img,
.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-thumb img,
.rank-cover img,
.detail-poster img,
.hero-poster img,
.player-cover img {
  transition: transform 0.5s ease, opacity 0.25s ease;
}

.movie-card:hover .movie-thumb img,
.rank-item:hover .rank-cover img {
  transform: scale(1.08);
}

img.image-missing {
  opacity: 0;
}

.movie-year {
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 999px;
  padding: 4px 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(17, 24, 39, 0.72);
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-card-content {
  padding: 17px;
}

.movie-title,
.rank-title {
  display: block;
  color: #111827;
  font-weight: 900;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-title:hover,
.rank-title:hover {
  color: var(--color-orange-dark);
}

.movie-card-content p {
  min-height: 48px;
  margin: 8px 0 13px;
  color: var(--color-muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 9px;
  color: #d1d5db;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  color: #ea580c;
  background: #ffedd5;
}

.page-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 34px auto 0;
  border-radius: 28px;
  padding: 48px;
  color: #fff;
  background: linear-gradient(135deg, #f97316, #ef4444 52%, #111827);
  box-shadow: var(--shadow-card);
}

.page-hero.compact-hero,
.ranking-hero,
.search-hero,
.category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.hero-search,
.filter-panel {
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.filter-panel {
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 710px;
}

.filter-panel input {
  flex: 1 1 260px;
}

.filter-panel select {
  flex: 1 1 140px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 74px 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  color: #fff;
  font-weight: 1000;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
}

.rank-cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #fb923c, #ef4444);
}

.rank-content p {
  margin: 7px 0 9px;
  color: var(--color-muted);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: #fff;
}

.detail-hero {
  position: relative;
  color: #fff;
  background: #111827;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.76), rgba(17, 24, 39, 0.52)), var(--detail-image), linear-gradient(135deg, #f97316, #111827);
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.detail-hero-overlay {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 70px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  aspect-ratio: 16 / 10;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #f97316, #ef4444);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.42);
}

.detail-copy h1 {
  margin: 12px 0 18px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.87);
  font-size: 20px;
}

.detail-tags span {
  color: #fff7ed;
  background: rgba(249, 115, 22, 0.24);
  border: 1px solid rgba(251, 146, 60, 0.32);
}

.player-section {
  padding-bottom: 40px;
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

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

.main-player {
  background: #000;
}

.player-cover {
  z-index: 2;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #111827;
  transition: opacity 0.28s ease;
}

.player-frame.is-started .player-cover {
  opacity: 0;
  pointer-events: none;
}

.player-shade {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.36);
}

.player-button {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  color: #fff;
  font-size: 28px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-red));
  box-shadow: 0 20px 42px rgba(249, 115, 22, 0.38);
}

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

.detail-article,
.detail-side {
  border-radius: 24px;
  padding: 28px;
  background: #fff;
  box-shadow: var(--shadow-card);
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-article p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
}

.detail-side dt {
  color: #6b7280;
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.site-footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding: 50px 0 34px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
}

.footer-brand p {
  max-width: 520px;
  margin: 16px 0 0;
  color: #9ca3af;
}

.footer-links h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.footer-links div {
  display: grid;
  gap: 9px;
}

.footer-links a:hover {
  color: #fff;
}

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

.footer-bottom p {
  margin: 0;
}

.searchable-card.is-hidden {
  display: none;
}

@media (max-width: 1120px) {
  .header-search {
    display: none;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .hero-poster {
    max-width: 620px;
  }
}

@media (max-width: 860px) {
  .site-header-inner {
    min-height: 62px;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .category-strip-inner {
    gap: 14px;
  }

  .hero-stage {
    min-height: 760px;
  }

  .hero-slide {
    padding: 52px 22px 78px;
  }

  .hero-control {
    display: none;
  }

  .section-heading-row,
  .page-hero.compact-hero,
  .ranking-hero,
  .search-hero,
  .category-hero {
    display: block;
  }

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

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

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

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

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

@media (max-width: 560px) {
  .site-logo-text {
    font-size: 17px;
  }

  .hero-stage {
    min-height: 720px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-actions,
  .filter-panel,
  .hero-search {
    display: grid;
  }

  .section,
  .section-white,
  .section-blue,
  .section-warm {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .page-hero {
    padding: 32px 22px;
    border-radius: 22px;
  }

  .category-grid,
  .category-grid-large,
  .movie-grid,
  .wide-list {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 52px 96px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-number {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .rank-content p {
    display: none;
  }

  .detail-hero-overlay {
    padding-top: 36px;
    padding-bottom: 46px;
  }

  .detail-copy h1 {
    font-size: 32px;
  }

  .detail-one-line {
    font-size: 17px;
  }

  .player-frame {
    border-radius: 18px;
  }
}
