:root {
  color-scheme: light;
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #64748b;
  --muted-2: #94a3b8;
  --red: #dc2626;
  --red-dark: #991b1b;
  --red-deep: #7f1d1d;
  --red-soft: #fef2f2;
  --orange-soft: #fff7ed;
  --line: #e2e8f0;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 48%, #ffffff 100%);
  color: var(--ink);
  min-height: 100vh;
}

body,
button,
input,
select {
  font: inherit;
}

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

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
  box-shadow: 0 12px 34px rgba(127, 29, 29, 0.22);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ffffff;
  color: var(--red-dark);
  font-size: 18px;
  box-shadow: 0 10px 20px rgba(127, 29, 29, 0.22);
}

.brand-text {
  display: grid;
  line-height: 1.12;
}

.brand-text strong {
  font-size: 22px;
  letter-spacing: 0.04em;
}

.brand-text small {
  margin-top: 4px;
  color: #fee2e2;
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.nav-button {
  border: 0;
  background: transparent;
  color: #fee2e2;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  right: 0;
  top: 44px;
  width: 220px;
  padding: 10px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

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

.dropdown-panel a {
  color: #334155;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 700;
}

.dropdown-panel a:hover {
  color: var(--red-dark);
  background: var(--red-soft);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 22px 18px;
  background: linear-gradient(90deg, var(--red-deep), var(--red));
}

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

.mobile-nav a {
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background: radial-gradient(circle at 14% 18%, rgba(248, 113, 113, 0.35), transparent 28%), linear-gradient(120deg, #111827, #1f2937 52%, #7f1d1d);
  color: #ffffff;
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 22px 0;
}

.hero-site,
.hero-kicker,
.page-hero span,
.section-heading span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.12);
  color: var(--red);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-hero .hero-site,
.hero-kicker {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.hero-copy h1 {
  max-width: 720px;
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.8;
}

.hero-search-link {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-search-link a,
.primary-btn,
.ghost-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-search-link a:first-child,
.primary-btn {
  color: #ffffff;
  background: var(--red);
  box-shadow: 0 16px 34px rgba(220, 38, 38, 0.28);
}

.hero-search-link a:last-child,
.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover,
.hero-search-link a:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.hero-stage {
  position: relative;
  max-width: 1180px;
  min-height: 380px;
  margin: 32px auto 0;
  padding: 0 22px 60px;
}

.hero-slide {
  position: absolute;
  inset: 0 22px 60px;
  overflow: hidden;
  border-radius: 34px;
  background: #111827;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.36);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.985);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.hero-bg {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  opacity: 0.54;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96) 0%, rgba(17, 24, 39, 0.72) 42%, rgba(17, 24, 39, 0.08) 100%), linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent 52%);
}

.hero-content {
  position: absolute;
  left: clamp(24px, 6vw, 74px);
  top: 50%;
  transform: translateY(-50%);
  width: min(620px, calc(100% - 48px));
}

.hero-content h2 {
  margin: 18px 0 14px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.05;
}

.hero-content p {
  color: #e5e7eb;
  line-height: 1.8;
  font-size: 17px;
}

.hero-meta,
.detail-meta,
.rank-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

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

.hero-meta a,
.hero-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

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

.hero-controls {
  position: absolute;
  right: 42px;
  bottom: 86px;
  display: flex;
  gap: 10px;
  z-index: 8;
}

.hero-controls button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.hero-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
}

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

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

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

.quick-cats,
.content-section,
.detail-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 22px;
}

.quick-cats-inner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.quick-cats a,
.category-tile {
  min-height: 132px;
  border-radius: 22px;
  padding: 20px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
}

.quick-cats a:hover,
.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(220, 38, 38, 0.28);
}

.quick-cats strong,
.category-tile strong {
  display: block;
  color: var(--red-dark);
  font-size: 18px;
  margin-bottom: 8px;
}

.quick-cats span,
.category-tile p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

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

.section-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.03em;
}

.section-more {
  color: var(--red-dark);
  background: var(--red-soft);
  white-space: nowrap;
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(220, 38, 38, 0.25);
}

.poster-link,
.poster-frame {
  display: block;
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fee2e2, #f8fafc 42%, #e2e8f0);
}

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

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

.poster-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 999px;
  background: rgba(127, 29, 29, 0.92);
  color: #ffffff;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}

.card-content {
  padding: 14px;
}

.card-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.card-meta a {
  color: var(--red-dark);
  font-weight: 800;
}

.movie-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-card h3 a:hover,
.side-card:hover strong {
  color: var(--red-dark);
}

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

.tag-list,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span,
.tag-cloud span {
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 700;
}

.page-hero {
  background: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.18), transparent 22%), linear-gradient(90deg, var(--red-dark), var(--red));
  color: #ffffff;
}

.page-hero > div {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px;
}

.compact-hero > div {
  padding: 64px 22px;
}

.page-hero span {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #fee2e2;
  line-height: 1.8;
  font-size: 17px;
}

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

.category-tile {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 190px;
}

.category-tile div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.category-tile div span {
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
}

.filter-bar {
  margin-bottom: 26px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--soft-shadow);
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-weight: 800;
  font-size: 13px;
}

.search-box input,
.filter-bar select {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
  color: #111827;
  outline: none;
  padding: 12px 14px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:focus,
.filter-bar select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12);
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.filter-selects label {
  min-width: 150px;
}

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

.full-rank-list {
  gap: 12px;
}

.rank-card {
  display: grid;
  grid-template-columns: 72px 96px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.92);
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.rank-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #ffffff;
  font-weight: 900;
  font-size: 20px;
}

.rank-thumb {
  overflow: hidden;
  border-radius: 16px;
  background: #f1f5f9;
  aspect-ratio: 3 / 4;
}

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

.rank-info h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.rank-info p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.65;
}

.rank-meta {
  color: var(--muted);
  font-size: 13px;
}

.rank-meta a {
  color: var(--red-dark);
  font-weight: 800;
}

.watch-section {
  background: #050505;
}

.watch-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 22px 34px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 4px 0 16px;
  color: #cbd5e1;
  font-size: 14px;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  background: #000000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-circle {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  box-shadow: 0 22px 48px rgba(220, 38, 38, 0.38);
  font-size: 32px;
  padding-left: 5px;
}

.player-cover > span:nth-child(2) {
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 900;
}

.player-cover small {
  color: #e5e7eb;
  font-size: 15px;
}

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

.detail-main h1 {
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.04em;
}

.detail-meta {
  margin-bottom: 22px;
  color: var(--muted);
}

.detail-meta a,
.detail-meta span {
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-weight: 800;
}

.detail-meta a {
  color: var(--red-dark);
  background: var(--red-soft);
  border-color: #fecaca;
}

.detail-card,
.related-panel {
  margin-bottom: 18px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--soft-shadow);
  padding: 24px;
}

.lead-card {
  background: linear-gradient(135deg, #ffffff, var(--red-soft));
}

.review-card {
  background: linear-gradient(135deg, var(--red-soft), var(--orange-soft));
}

.detail-card h2,
.related-panel h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  color: #334155;
  line-height: 1.9;
  font-size: 16px;
}

.lead-card p {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
}

.related-panel {
  position: sticky;
  top: 94px;
  height: fit-content;
}

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

.side-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
}

.side-poster {
  overflow: hidden;
  border-radius: 16px;
  background: #f1f5f9;
  aspect-ratio: 3 / 4;
}

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

.side-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.side-body strong {
  line-height: 1.35;
  transition: color 0.2s ease;
}

.side-body em,
.side-body small {
  color: var(--muted);
  font-style: normal;
  line-height: 1.45;
}

.side-body small {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.site-footer {
  margin-top: 38px;
  background: linear-gradient(180deg, #1f2937, #111827);
  color: #cbd5e1;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner strong {
  color: #ffffff;
  font-size: 20px;
}

.footer-inner p {
  max-width: 640px;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  justify-content: flex-end;
}

.footer-links a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  padding: 9px 12px;
}

.footer-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

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

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

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

  .mobile-toggle {
    display: inline-flex;
  }

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

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

  .hero-slide {
    inset: 0 22px 64px;
  }

  .hero-content {
    top: auto;
    bottom: 38px;
    transform: none;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(17, 24, 39, 0.98) 0%, rgba(17, 24, 39, 0.7) 46%, rgba(17, 24, 39, 0.12) 100%);
  }

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

  .hero-dots {
    bottom: 34px;
  }

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

  .related-panel {
    position: static;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-selects {
    justify-content: stretch;
  }

  .filter-selects label {
    flex: 1 1 180px;
  }
}

@media (max-width: 720px) {
  .brand-text small {
    display: none;
  }

  .header-inner {
    min-height: 64px;
  }

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

  .hero-copy {
    padding-top: 36px;
  }

  .hero-copy p,
  .hero-content p,
  .page-hero p {
    font-size: 15px;
  }

  .hero-stage {
    margin-top: 24px;
    min-height: 440px;
  }

  .hero-content {
    left: 24px;
    width: calc(100% - 48px);
  }

  .hero-actions,
  .hero-search-link,
  .section-heading,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

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

  .quick-cats,
  .content-section,
  .detail-section {
    padding: 34px 16px;
  }

  .page-hero > div {
    padding: 48px 16px;
  }

  .rank-card {
    grid-template-columns: 48px 82px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .rank-number {
    min-height: 50px;
    font-size: 16px;
    border-radius: 14px;
  }

  .rank-info h3 {
    font-size: 16px;
  }

  .rank-info p {
    display: none;
  }

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

  .watch-inner {
    padding: 14px 12px 24px;
  }

  .detail-card,
  .related-panel {
    padding: 18px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 460px) {
  .quick-cats-inner,
  .movie-grid,
  .large-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h2 {
    font-size: 30px;
  }

  .hero-meta {
    gap: 6px;
  }

  .filter-selects {
    display: grid;
  }

  .side-card {
    grid-template-columns: 72px 1fr;
  }
}
