* {
  box-sizing: border-box;
}

:root {
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --blue: #2563eb;
  --purple: #7c3aed;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --soft: #ecfeff;
  --card: #ffffff;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

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

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.36);
}

.brand-copy strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--cyan-dark), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

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

.nav-link,
.nav-button {
  color: #334155;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.nav-button:hover {
  color: var(--cyan-dark);
}

.nav-group {
  position: relative;
  display: inline-flex;
  padding: 26px 0;
}

.nav-dropdown {
  position: absolute;
  top: 70px;
  left: 50%;
  width: 180px;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  display: grid;
  gap: 2px;
  padding: 10px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.nav-dropdown a {
  padding: 8px 12px;
  border-radius: 10px;
  color: #475569;
}

.nav-dropdown a:hover {
  color: var(--cyan-dark);
  background: #ecfeff;
}

.nav-group:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.top-search,
.mobile-search,
.panel-search,
.search-page-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.top-search input,
.mobile-search input,
.panel-search input,
.search-page-form input,
.filter-bar input,
.filter-bar select {
  border: 0;
  outline: 0;
  min-width: 0;
  color: var(--ink);
  background: transparent;
}

.top-search input {
  width: 190px;
  padding: 10px 14px;
}

.top-search button,
.mobile-search button,
.panel-search button,
.search-page-form button {
  padding: 10px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: #f1f5f9;
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #0f172a;
  border-radius: 999px;
}

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

.mobile-panel.open {
  display: block;
}

.mobile-search {
  margin: 12px 0;
}

.mobile-search input {
  flex: 1;
  padding: 10px 14px;
}

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

.mobile-panel nav a {
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 12px;
  font-weight: 700;
}

.hero-section,
.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4 0%, #2563eb 54%, #7c3aed 100%);
}

.hero-section::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: radial-gradient(100% 100% at 50% 100%, #f8fafc 0, #f8fafc 47%, transparent 48%);
  opacity: 0.92;
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(20px);
  opacity: 0.22;
  background: #ffffff;
}

.hero-glow-one {
  top: -160px;
  right: 10%;
}

.hero-glow-two {
  bottom: -200px;
  left: -120px;
}

.hero-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 26px;
  padding: 74px 0 112px;
}

.hero-slider {
  position: relative;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: 42px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

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

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  color: #cffafe;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14px;
  font-weight: 800;
}

.hero-copy h1,
.page-hero h1,
.detail-intro h1 {
  margin: 18px 0;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy p,
.page-hero p,
.detail-intro p {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: clamp(17px, 2.1vw, 24px);
  color: #e0f2fe;
}

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

.hero-tags span,
.meta-pills span,
.tag-row span,
.chip-cloud a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #0f172a;
  background: #ecfeff;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

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

.primary-btn,
.ghost-btn,
.text-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 24px;
  color: var(--cyan-dark);
  background: #ffffff;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.22);
}

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

.ghost-btn {
  min-height: 48px;
  padding: 0 24px;
  color: #ffffff;
  background: rgba(14, 116, 144, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.38);
  transform: rotate(2deg);
}

.hero-poster img,
.movie-card img,
.top-rank-card img,
.detail-poster img,
.category-cover-stack img {
  height: 100%;
  object-fit: cover;
}

.hero-poster span,
.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: #ffffff;
  background: rgba(6, 182, 212, 0.86);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 46px rgba(6, 182, 212, 0.32);
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 9px;
}

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

.hero-dot.active {
  width: 54px;
  background: #ffffff;
}

.hero-side {
  display: grid;
  align-content: center;
  gap: 18px;
}

.hero-side-card {
  display: grid;
  gap: 8px;
  min-height: 164px;
  padding: 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 26px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.18);
}

.hero-side-card.strong {
  background: rgba(15, 23, 42, 0.28);
}

.hero-side-card span {
  color: #cffafe;
  font-weight: 800;
}

.hero-side-card strong {
  font-size: 28px;
}

.hero-side-card em {
  color: #dbeafe;
  font-style: normal;
}

.stats-strip {
  position: relative;
  margin-top: -46px;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.stats-grid div {
  text-align: center;
}

.stats-grid strong {
  display: block;
  color: var(--cyan-dark);
  font-size: 28px;
  line-height: 1.2;
}

.stats-grid span {
  color: var(--muted);
  font-size: 14px;
}

.content-section {
  padding: 72px 0;
}

.muted-section {
  background: rgba(236, 254, 255, 0.72);
}

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

.section-heading h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.section-more,
.text-link {
  color: var(--cyan-dark);
  background: #ecfeff;
  padding: 10px 16px;
}

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

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

.movie-card {
  display: block;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  box-shadow: 0 14px 34px 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(-6px);
  border-color: rgba(6, 182, 212, 0.42);
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.15);
}

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

.poster-wrap img {
  transition: transform 0.35s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.76) 100%);
}

.poster-play {
  width: 54px;
  height: 54px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

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

.card-badge,
.card-year,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.68);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
}

.card-badge {
  left: 10px;
  bottom: 10px;
}

.card-year {
  right: 10px;
  top: 10px;
  background: rgba(6, 182, 212, 0.86);
}

.rank-badge {
  left: 10px;
  top: 10px;
  color: #0f172a;
  background: #fef08a;
}

.movie-info {
  display: grid;
  gap: 6px;
  padding: 15px;
}

.movie-info strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: #0f172a;
  font-size: 16px;
}

.movie-info em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.line-clamp {
  display: -webkit-box;
  overflow: hidden;
  min-height: 42px;
  color: #475569;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row span {
  color: #0e7490;
  background: #cffafe;
}

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

.movie-card.compact .poster-wrap {
  aspect-ratio: auto;
}

.movie-card.compact .movie-info strong {
  -webkit-line-clamp: 2;
}

.movie-card.compact .line-clamp,
.movie-card.compact .tag-row {
  display: none;
}

.category-grid,
.category-overview-grid,
.top-rank-grid {
  display: grid;
  gap: 22px;
}

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

.category-tile,
.category-card-large,
.info-card,
.search-panel,
.detail-block,
.player-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.08);
}

.category-tile {
  display: grid;
  gap: 10px;
  min-height: 210px;
  padding: 24px;
  transition: 0.22s ease;
}

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

.category-tile span,
.category-card-large span {
  width: fit-content;
  padding: 5px 11px;
  color: #0e7490;
  background: #cffafe;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
}

.category-tile strong,
.category-card-large h2 {
  margin: 0;
  font-size: 24px;
}

.category-tile em,
.category-card-large p {
  color: var(--muted);
  font-style: normal;
}

.category-tile small,
.mini-links {
  display: grid;
  gap: 4px;
  color: #475569;
  font-size: 13px;
}

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

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

.search-panel {
  position: sticky;
  top: 102px;
  align-self: start;
  display: grid;
  gap: 16px;
  padding: 24px;
}

.search-panel h2,
.info-card h2,
.detail-block h2 {
  margin: 0;
  font-size: 24px;
}

.search-panel p {
  margin: 0;
  color: var(--muted);
}

.panel-search input {
  flex: 1;
  padding: 12px 14px;
}

.page-main {
  min-height: 58vh;
}

.page-hero {
  padding: 72px 0 120px;
}

.compact-hero h1,
.ranking-hero h1 {
  max-width: 840px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

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

.category-card-large {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  transition: 0.22s ease;
}

.category-cover-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.category-cover-stack img {
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 170px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 14px;
}

.empty-state {
  display: none;
  padding: 30px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
  border-radius: 20px;
}

.empty-state.show {
  display: block;
}

.top-rank-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 32px;
}

.top-rank-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  color: #ffffff;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.top-rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.86));
}

.top-rank-card img {
  position: absolute;
  inset: 0;
}

.top-rank-card span,
.top-rank-card strong,
.top-rank-card em {
  position: relative;
  z-index: 1;
}

.top-rank-card span {
  width: fit-content;
  padding: 6px 12px;
  margin-bottom: 12px;
  color: #0f172a;
  background: #fef08a;
  border-radius: 999px;
  font-weight: 900;
}

.top-rank-card strong {
  font-size: 28px;
  line-height: 1.15;
}

.top-rank-card em {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: #e0f2fe;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.search-page-form {
  max-width: 760px;
  margin: 0 auto 18px;
}

.search-page-form input {
  flex: 1;
  padding: 16px 20px;
}

.search-page-form button {
  padding: 16px 28px;
}

.search-meta {
  margin-bottom: 24px;
  color: var(--muted);
  text-align: center;
}

.detail-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.12);
  transform: scale(1.1);
  opacity: 0.28;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.82), rgba(37, 99, 235, 0.86), rgba(15, 23, 42, 0.78));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  padding: 62px 0;
}

.detail-poster {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.detail-intro h1 {
  max-width: 850px;
}

.meta-pills {
  margin: 16px 0;
}

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

.detail-left {
  display: grid;
  gap: 24px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #020617;
  border-radius: 26px;
}

.video-frame video {
  height: 100%;
  object-fit: contain;
  background: #020617;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.62));
  transition: opacity 0.2s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  padding-left: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 24px 60px rgba(6, 182, 212, 0.38);
  font-size: 34px;
}

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

.detail-block {
  padding: 26px;
}

.detail-block p {
  margin: 14px 0 0;
  color: #475569;
  font-size: 17px;
}

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

.info-card {
  padding: 24px;
}

.info-card dl {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.info-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.info-card dt {
  color: var(--muted);
}

.info-card dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  text-align: right;
}

.category-jump {
  display: grid;
  gap: 10px;
}

.category-jump a {
  padding: 12px 14px;
  color: #0e7490;
  background: #ecfeff;
  border-radius: 14px;
  font-weight: 800;
}

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

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(180deg, #0f172a, #020617);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0;
}

.footer-brand {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 24px;
}

.footer-grid p {
  max-width: 520px;
  margin: 0;
  color: #94a3b8;
}

.footer-grid h2 {
  margin: 0 0 12px;
  color: #67e8f9;
  font-size: 18px;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 7px 0;
  color: #cbd5e1;
}

.footer-grid a:hover {
  color: #67e8f9;
}

.footer-bottom {
  padding: 20px 16px;
  color: #94a3b8;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}

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

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

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

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

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

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

  .hero-shell,
  .split-layout,
  .detail-grid,
  .detail-hero-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-side,
  .search-panel {
    position: static;
  }

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

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

  .hero-poster {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .stats-grid,
  .top-rank-grid,
  .category-overview-grid,
  .long-list,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .category-card-large {
    grid-template-columns: 150px minmax(0, 1fr);
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 22px, 1200px);
  }

  .header-inner {
    height: 68px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    display: none;
  }

  .hero-shell {
    padding: 46px 0 92px;
  }

  .hero-slider {
    min-height: 690px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-intro h1 {
    font-size: 36px;
  }

  .hero-copy p,
  .page-hero p,
  .detail-intro p {
    font-size: 16px;
  }

  .stats-strip {
    margin-top: -32px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .content-section {
    padding: 48px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

  .movie-info {
    padding: 12px;
  }

  .movie-info strong {
    font-size: 14px;
  }

  .line-clamp,
  .tag-row {
    display: none;
  }

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

  .category-cover-stack {
    grid-template-columns: repeat(4, 1fr);
  }

  .detail-poster {
    width: min(250px, 74vw);
  }

  .detail-hero {
    min-height: auto;
  }

  .play-overlay span {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
}
