* {
  box-sizing: border-box;
}

:root {
  --bg: #fff7ed;
  --bg-soft: #ecfeff;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(148, 163, 184, 0.28);
  --orange: #f97316;
  --orange-dark: #ea580c;
  --cyan: #06b6d4;
  --dark: #111827;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 28rem),
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.16), transparent 26rem),
    linear-gradient(135deg, #fff7ed 0%, #ffffff 45%, #ecfeff 100%);
  min-height: 100vh;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.3);
}

.brand-text {
  font-size: 20px;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.nav-link,
.mobile-link {
  padding: 10px 14px;
  color: #4b5563;
  border-radius: 999px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--orange);
  background: rgba(249, 115, 22, 0.1);
}

.header-search,
.mobile-search,
.large-search,
.inline-search,
.inline-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.large-search input,
.inline-search input,
.inline-filter input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search button,
.mobile-search button,
.large-search button,
.inline-search button,
.primary-btn {
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  padding: 12px 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.inline-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(249, 115, 22, 0.32);
}

.primary-btn.small {
  display: inline-flex;
  width: fit-content;
  padding: 10px 16px;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  font-weight: 800;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ghost-btn:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.2);
}

.ghost-btn.dark {
  color: var(--orange);
  background: rgba(249, 115, 22, 0.1);
  border-color: rgba(249, 115, 22, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(249, 115, 22, 0.1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--orange);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 24px 18px;
  background: rgba(255, 255, 255, 0.95);
}

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

.hero-carousel {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.58), rgba(17, 24, 39, 0.16)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.82), transparent 46%);
}

.hero-content {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 620px;
  padding: 80px 24px 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px);
  align-items: center;
  gap: 52px;
}

.hero-copy {
  max-width: 760px;
  color: white;
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.18), rgba(6, 182, 212, 0.18));
  color: #374151;
}

.hero-tags span {
  color: white;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-copy h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.9;
}

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

.hero-poster {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: white;
  font-size: 38px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

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

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

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

.quick-panel,
.content-section,
.overview-list,
.breadcrumb,
.detail-layout,
.full-ranking {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.quick-panel {
  margin-top: -48px;
  position: relative;
  z-index: 6;
}

.quick-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.quick-inner span,
.page-hero span,
.section-kicker {
  display: inline-flex;
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quick-inner h2,
.page-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
}

.quick-inner p,
.page-hero p,
.section-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.content-section {
  padding-top: 68px;
}

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

.section-heading p {
  margin-top: 8px;
}

.section-link {
  color: var(--orange);
  font-weight: 900;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 310px);
  gap: 22px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x proximity;
}

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

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

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

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.14);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

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

.movie-card:hover .poster-link img,
.category-card:hover img,
.side-cover:hover img {
  transform: scale(1.08);
}

.poster-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  color: white;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), #ef4444);
}

.poster-mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 900;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.76), rgba(17, 24, 39, 0.08));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.poster-mask span {
  border-radius: 999px;
  padding: 10px 16px;
  background: rgba(249, 115, 22, 0.95);
}

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

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

.movie-title {
  display: -webkit-box;
  min-height: 48px;
  color: var(--dark);
  font-weight: 900;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

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

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

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

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

.movie-card.compact .movie-title {
  min-height: 44px;
  font-size: 15px;
}

.movie-card.compact .movie-meta {
  margin-top: 6px;
}

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

.category-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border-radius: var(--radius);
  color: white;
  background: #111827;
  box-shadow: var(--shadow);
}

.category-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-glow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(17, 24, 39, 0.9), rgba(17, 24, 39, 0.18)),
    radial-gradient(circle at 30% 30%, rgba(249, 115, 22, 0.5), transparent 16rem);
}

.category-card > div {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px;
}

.category-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  font-size: 14px;
}

.category-links {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
  padding-bottom: 72px;
}

.ranking-box,
.detail-card,
.side-info,
.category-overview-card {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.ranking-box {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.ranking-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 900;
}

.ranking-head a {
  color: var(--orange);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 34px 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: rgba(249, 115, 22, 0.08);
}

.rank-number {
  color: var(--orange);
  font-weight: 900;
}

.rank-row img {
  width: 52px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-title {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.rank-meta {
  grid-column: 3 / 4;
  margin-top: -22px;
  color: var(--muted);
  font-size: 12px;
}

.page-hero {
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 46px 24px;
}

.page-hero > div,
.page-hero {
  position: relative;
}

.page-hero.slim,
.page-hero.category-hero,
.page-hero.ranking-hero,
.page-hero.search-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
  align-items: end;
  gap: 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.22), transparent 26rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.88));
  box-shadow: var(--shadow);
}

.overview-list {
  display: grid;
  gap: 28px;
  padding-top: 42px;
  padding-bottom: 72px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 260px 0.8fr 1.6fr;
  gap: 24px;
  overflow: hidden;
  padding: 18px;
}

.category-overview-media {
  overflow: hidden;
  border-radius: 20px;
}

.category-overview-media img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.category-overview-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.category-overview-body h2 {
  margin: 8px 0 10px;
  font-size: 32px;
}

.category-overview-body p {
  color: var(--muted);
  line-height: 1.8;
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 28px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--orange);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding-top: 24px;
  padding-bottom: 48px;
}

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

.player-panel {
  overflow: hidden;
  border-radius: 28px;
  background: #111827;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.32);
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.video-player {
  z-index: 1;
  background: #000;
}

.player-cover {
  z-index: 2;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  background: #111827;
}

.player-cover.is-hidden {
  display: none;
}

.player-cover img {
  object-fit: cover;
  filter: brightness(0.72);
}

.player-overlay {
  background:
    radial-gradient(circle at center, rgba(249, 115, 22, 0.34), transparent 16rem),
    linear-gradient(0deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.1));
}

.big-play {
  position: relative;
  z-index: 3;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin: auto;
  color: white;
  font-size: 42px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 22px 60px rgba(249, 115, 22, 0.4);
}

.detail-card {
  padding: 26px;
}

.detail-title-row {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
}

.detail-title-row h1 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.12;
}

.detail-title-row p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.detail-meta span {
  border-radius: 14px;
  padding: 8px 12px;
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 800;
  font-size: 14px;
}

.detail-text-block {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.detail-text-block h2,
.side-info h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.detail-text-block p {
  margin: 0;
  color: #374151;
  line-height: 1.95;
  text-align: justify;
}

.review-block {
  border-radius: 22px;
  border-top: 0;
  padding: 22px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.09), rgba(6, 182, 212, 0.1));
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 18px;
}

.side-cover {
  overflow: hidden;
  border-radius: 28px;
  background: #111827;
  box-shadow: var(--shadow);
}

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

.side-info {
  padding: 20px;
}

.side-info p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.side-info p:first-of-type {
  border-top: 0;
}

.side-info strong {
  color: var(--dark);
}

.related-section {
  padding-top: 20px;
  padding-bottom: 72px;
}

.full-ranking {
  display: grid;
  gap: 10px;
  padding-top: 34px;
  padding-bottom: 72px;
}

.full-rank-row {
  display: grid;
  grid-template-columns: 70px 64px minmax(0, 1fr) auto 86px;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.full-rank-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

.full-rank-number {
  color: var(--orange);
  font-size: 20px;
  font-weight: 900;
}

.full-rank-row img {
  width: 64px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
}

.full-rank-main {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.full-rank-main strong {
  overflow: hidden;
  color: var(--dark);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
}

.full-rank-main em {
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 14px;
}

.full-rank-meta {
  color: #4b5563;
  font-size: 14px;
  white-space: nowrap;
}

.heat-value {
  border-radius: 999px;
  padding: 8px 12px;
  color: white;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  font-weight: 900;
  text-align: center;
}

.search-results-section {
  padding-bottom: 72px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 28px;
  align-items: center;
}

.footer-inner p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.footer-links {
  display: flex;
  gap: 16px;
  color: #4b5563;
  font-weight: 800;
}

.copyright {
  white-space: nowrap;
}

.is-filtered-out {
  display: none !important;
}

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

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

  .two-column-section,
  .detail-layout,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .ranking-box {
    position: static;
  }

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

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

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

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 70px;
  }

  .hero-poster {
    display: none;
  }

  .quick-inner,
  .page-hero.slim,
  .page-hero.category-hero,
  .page-hero.ranking-hero,
  .page-hero.search-hero,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .full-rank-row {
    grid-template-columns: 52px 58px minmax(0, 1fr);
  }

  .full-rank-meta,
  .heat-value {
    display: none;
  }
}

@media (max-width: 680px) {
  .nav-wrap,
  .mobile-panel,
  .quick-panel,
  .content-section,
  .overview-list,
  .breadcrumb,
  .detail-layout,
  .full-ranking,
  .page-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-carousel,
  .hero-content {
    min-height: 560px;
  }

  .hero-content {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-samples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .scroll-row {
    grid-auto-columns: minmax(220px, 260px);
  }

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

  .tag-row,
  .detail-side,
  .side-cover {
    display: none;
  }

  .detail-card {
    padding: 18px;
  }

  .detail-title-row {
    display: block;
  }

  .detail-title-row .ghost-btn {
    margin-top: 16px;
  }

  .big-play {
    width: 70px;
    height: 70px;
    font-size: 34px;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
