:root {
  --page: #f8fbff;
  --surface: #ffffff;
  --surface-soft: #eef8ff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #dbeafe;
  --sky: #0ea5e9;
  --blue: #2563eb;
  --violet: #7c3aed;
  --amber: #f59e0b;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 30px rgba(14, 165, 233, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 34rem),
    linear-gradient(180deg, #f7fcff 0%, #ffffff 42%, #f8fbff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(186, 230, 253, 0.72);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.08);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--blue), var(--violet));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.brand-text {
  font-size: 1.25rem;
  background: linear-gradient(90deg, #0284c7, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  color: #475569;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  white-space: nowrap;
  font-size: 0.94rem;
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  color: #0369a1;
  background: #e0f2fe;
}

.top-search {
  width: min(300px, 28vw);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.top-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 8px 6px 8px 12px;
  background: transparent;
  color: var(--text);
}

.top-search button,
.primary-btn,
.hero-search-card button {
  border: 0;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
  cursor: pointer;
}

.top-search button {
  padding: 8px 14px;
}

.menu-toggle {
  display: none;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 8px 13px;
  color: #0369a1;
  background: #f0f9ff;
}

.mobile-nav {
  display: none;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid #bae6fd;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.mobile-nav.is-open {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fbff;
}

.hero {
  width: min(1220px, calc(100% - 32px));
  margin: 28px auto 0;
}

.hero-stage {
  position: relative;
  min-height: clamp(560px, 72vh, 760px);
  overflow: hidden;
  border-radius: 34px;
  color: #fff;
  background: #020617;
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.32);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.58fr);
  align-items: center;
  gap: clamp(24px, 5vw, 68px);
  padding: clamp(34px, 6vw, 78px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.015);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.34;
  filter: blur(6px) saturate(1.2);
  transform: scale(1.06);
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 74% 28%, rgba(14, 165, 233, 0.42), transparent 26rem),
    radial-gradient(circle at 20% 80%, rgba(124, 58, 237, 0.32), transparent 22rem),
    linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(15, 23, 42, 0.64) 52%, rgba(2, 6, 23, 0.86));
}

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

.hero-kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #0369a1;
  font-weight: 800;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #bae6fd;
  padding: 8px 12px;
  border: 1px solid rgba(186, 230, 253, 0.28);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
}

.hero h1 {
  max-width: 780px;
  margin: 20px 0 10px;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero h2 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3.2vw, 3.1rem);
  font-weight: 900;
}

.hero p {
  max-width: 760px;
  color: #dbeafe;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.9;
}

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

.hero-tags {
  margin-top: 20px;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-tags span {
  color: #e0f2fe;
  border: 1px solid rgba(224, 242, 254, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

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

.primary-btn,
.ghost-btn,
.text-btn,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn:hover,
.ghost-btn:hover,
.text-btn:hover,
.section-link:hover,
.movie-card:hover {
  transform: translateY(-3px);
}

.ghost-btn {
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.ghost-btn.light {
  color: #0369a1;
  background: #fff;
}

.hero-poster {
  display: block;
  width: min(360px, 100%);
  aspect-ratio: 3 / 4;
  justify-self: center;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.hero-dots {
  position: absolute;
  left: clamp(34px, 6vw, 78px);
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

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

.hero-dot.is-active {
  width: 34px;
  background: #38bdf8;
}

.hero-search-card {
  position: relative;
  z-index: 5;
  width: min(1080px, calc(100% - 36px));
  margin: -42px auto 0;
  padding: 18px;
  border: 1px solid rgba(186, 230, 253, 0.78);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-search-card form {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.hero-search-card label {
  color: #0369a1;
  font-weight: 900;
}

.hero-search-card form div {
  display: flex;
  gap: 10px;
}

.hero-search-card input {
  flex: 1;
  min-width: 0;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 13px 16px;
  outline: 0;
  background: #f8fbff;
}

.hero-search-card button {
  padding: 0 22px;
}

.hero-search-card nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.hero-search-card nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  font-weight: 700;
  font-size: 0.88rem;
}

.content-section {
  width: min(1220px, calc(100% - 32px));
  margin: 58px auto;
}

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

.section-heading h2,
.rank-panel-head h2,
.detail-article h2,
.detail-side h2 {
  margin: 8px 0;
  color: #0f172a;
  font-size: clamp(1.6rem, 2.7vw, 2.55rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.8;
}

.section-link,
.text-btn {
  color: #0369a1;
  background: #e0f2fe;
}

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

.category-card,
.category-overview-card {
  min-height: 178px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid #dbeafe;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff, #f0f9ff);
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-card span,
.category-overview-title {
  color: #0369a1;
  font-size: 1.15rem;
  font-weight: 900;
}

.category-card strong,
.category-overview-links {
  color: #0f172a;
  line-height: 1.65;
}

.category-card em,
.category-overview-card p {
  color: var(--muted);
  font-style: normal;
  line-height: 1.7;
  font-size: 0.92rem;
}

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

.category-overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-overview-links a {
  padding: 6px 10px;
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  font-size: 0.88rem;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(186, 230, 253, 0.8);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: 0 15px 36px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe, #dbeafe);
}

.poster-frame img,
.rank-cover img,
.detail-poster img,
.hero-poster img {
  transition: transform 0.45s ease;
}

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

.poster-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.78));
}

.poster-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(14, 165, 233, 0.92);
  box-shadow: 0 12px 24px rgba(2, 132, 199, 0.32);
}

.card-content {
  padding: 16px;
}

.card-meta,
.rank-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 0.84rem;
}

.card-meta span,
.rank-meta span,
.detail-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f0f9ff;
}

.card-title {
  margin: 12px 0 8px;
  color: #0f172a;
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 900;
}

.card-title a:hover,
.rank-copy a:hover {
  color: #0284c7;
}

.card-desc {
  min-height: 3.6em;
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-card.compact {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  align-items: stretch;
}

.movie-card.compact .poster-frame {
  aspect-ratio: 3 / 4;
}

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

.movie-card.compact .card-title {
  font-size: 1rem;
}

.movie-card.compact .card-desc {
  font-size: 0.9rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 30px;
  align-items: start;
}

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 22px;
  border: 1px solid #dbeafe;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.rank-panel-head {
  align-items: center;
  margin-bottom: 16px;
}

.rank-panel-head h2 {
  margin: 4px 0 0;
  font-size: 1.5rem;
}

.rank-panel-head a {
  color: #0284c7;
  font-weight: 800;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 48px 82px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid #e0f2fe;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.rank-number {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--sky), var(--blue));
}

.rank-cover {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: #e0f2fe;
}

.rank-copy h2 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 900;
}

.rank-copy p {
  margin: 0 0 8px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-list.mini .rank-item {
  grid-template-columns: 38px minmax(0, 1fr);
}

.rank-list.mini .rank-cover,
.rank-list.mini .rank-copy p,
.rank-list.mini .rank-meta span:nth-child(2) {
  display: none;
}

.rank-list.full .rank-item {
  grid-template-columns: 58px 112px minmax(0, 1fr);
  padding: 16px;
}

.page-hero,
.detail-hero {
  width: min(1220px, calc(100% - 32px));
  margin: 28px auto 0;
  border-radius: 30px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 18%, rgba(14, 165, 233, 0.48), transparent 26rem),
    linear-gradient(135deg, #0f172a, #123a6f 58%, #1d4ed8);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.page-hero {
  padding: clamp(34px, 6vw, 68px);
}

.page-hero .kicker {
  color: #bae6fd;
}

.page-hero h1 {
  max-width: 860px;
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 780px;
  color: #dbeafe;
  line-height: 1.9;
}

.category-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid #bae6fd;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.filter-panel input,
.filter-panel select {
  min-height: 44px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  outline: 0;
  padding: 0 14px;
  color: #0f172a;
  background: #f8fbff;
}

.filter-selects {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.breadcrumb {
  width: min(1220px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: #0284c7;
  font-weight: 700;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(230px, 340px) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
}

.detail-poster {
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.detail-copy h1 {
  margin: 14px 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.detail-copy .kicker {
  color: #bae6fd;
}

.lead {
  max-width: 820px;
  color: #dbeafe;
  font-size: 1.08rem;
  line-height: 1.9;
}

.detail-meta {
  margin: 18px 0;
}

.detail-meta span {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.12);
}

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

.watch-section {
  width: min(1220px, calc(100% - 32px));
  margin: 30px auto 0;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 16 / 9;
  background: #020617;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.26);
}

.video-core {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.36), rgba(2, 6, 23, 0.78));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.video-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-circle {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--sky), var(--blue));
  box-shadow: 0 18px 34px rgba(14, 165, 233, 0.34);
  font-size: 2rem;
}

.video-overlay strong {
  font-size: 1.1rem;
}

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

.detail-article,
.detail-side {
  border: 1px solid #dbeafe;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.detail-article {
  padding: clamp(24px, 4vw, 42px);
}

.detail-article p {
  margin: 0 0 16px;
  color: #334155;
  font-size: 1.02rem;
  line-height: 2;
}

.detail-side {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.detail-side h2 {
  font-size: 1.5rem;
}

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

.detail-side dt {
  color: #64748b;
  font-weight: 700;
}

.detail-side dd {
  margin: 0;
  color: #0f172a;
  line-height: 1.65;
}

.site-footer {
  margin-top: 72px;
  border-top: 1px solid #dbeafe;
  background: #f8fbff;
}

.footer-inner {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  gap: 28px;
}

.footer-logo {
  margin-bottom: 12px;
  color: #0369a1;
  font-size: 1.2rem;
}

.site-footer p {
  max-width: 650px;
  color: #64748b;
  line-height: 1.8;
}

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

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
}

[data-card].is-hidden {
  display: none;
}

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

  .top-search {
    margin-left: auto;
  }

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

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

  .hero-poster {
    display: none;
  }

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

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

  .compact-grid,
  .split-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .rank-panel,
  .detail-side {
    position: static;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 24px, 1220px);
    gap: 10px;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .top-search {
    display: none;
  }

  .hero,
  .content-section,
  .page-hero,
  .detail-hero,
  .watch-section,
  .breadcrumb,
  .footer-inner {
    width: min(100% - 24px, 1220px);
  }

  .hero-stage {
    min-height: 620px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 28px;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 13vw, 3.8rem);
  }

  .hero-search-card {
    width: calc(100% - 18px);
    border-radius: 22px;
  }

  .hero-search-card form {
    grid-template-columns: 1fr;
  }

  .hero-search-card form div {
    flex-direction: column;
  }

  .hero-search-card button {
    min-height: 44px;
  }

  .section-heading,
  .category-hero {
    display: block;
  }

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

  .movie-card.compact {
    grid-template-columns: 104px minmax(0, 1fr);
  }

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

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

  .rank-item,
  .rank-list.full .rank-item {
    grid-template-columns: 42px 82px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .detail-hero {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

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

  .video-shell {
    border-radius: 22px;
  }

  .detail-side dl {
    grid-template-columns: 1fr;
  }

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