:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eff6ff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --blue: #2563eb;
  --indigo: #4f46e5;
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
  --radius: 24px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #eef6ff 38%, #ffffff 100%);
  min-width: 320px;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(13, 148, 136, 0.28);
}

.brand-text {
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: #334155;
}

.desktop-nav > a,
.nav-dropdown > button {
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: inherit;
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-dropdown > button:hover,
.desktop-nav .is-active {
  color: var(--teal);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 190px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

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

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #475569;
}

.dropdown-panel a:hover {
  color: var(--teal);
  background: #ecfeff;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.header-search input,
.inline-filter input,
.hero-search-card input {
  min-width: 230px;
  height: 42px;
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 999px;
  padding: 0 16px;
  outline: 0;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.inline-filter input:focus,
.hero-search-card input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.16);
}

.header-search button,
.inline-filter button,
.hero-search-card button {
  height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: #e0f2fe;
  color: #0369a1;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 22px;
}

.mobile-panel {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

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

.mobile-panel nav,
.mobile-panel form {
  display: grid;
  gap: 10px;
}

.mobile-panel a,
.mobile-panel input,
.mobile-panel button {
  min-height: 42px;
  border-radius: 12px;
}

.mobile-panel a {
  padding: 10px 12px;
  background: #f8fafc;
}

.mobile-panel input {
  border: 1px solid var(--line);
  padding: 0 12px;
}

.mobile-panel button {
  border: 0;
  color: white;
  background: var(--teal);
}

.hero-carousel {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-bg,
.detail-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-shade,
.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 22%, rgba(45, 212, 191, 0.36), transparent 32%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.76) 44%, rgba(15, 23, 42, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 48px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #99f6e4;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.hero-copy h1 {
  max-width: 800px;
  margin: 18px 0 18px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.08em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 26px;
  color: #dbeafe;
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.75;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 11px;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(240, 253, 250, 0.92);
  font-size: 13px;
  font-weight: 800;
}

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

.primary-btn,
.ghost-btn,
.outline-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 24px;
  color: var(--teal-dark);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.22);
}

.primary-btn.small {
  min-height: 42px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.ghost-btn {
  min-height: 48px;
  padding: 0 24px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

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

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

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

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  min-height: 46px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.94), rgba(37, 99, 235, 0.94));
  font-weight: 900;
}

.hero-search-card {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 34px;
  width: min(1120px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

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

.hero-search-card input {
  flex: 1;
}

.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.hero-quick-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #ecfeff;
  color: #0f766e;
  font-size: 13px;
  font-weight: 900;
}

.hero-dots {
  position: absolute;
  z-index: 6;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 145px;
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.hero-dots button.is-active {
  width: 36px;
  background: #ffffff;
}

.stats-band {
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: rgba(15, 23, 42, 0.1);
}

.stats-band div {
  padding: 28px;
  background: rgba(255, 255, 255, 0.96);
}

.stats-band strong {
  display: block;
  color: var(--teal);
  font-size: 38px;
  line-height: 1;
}

.stats-band span {
  color: var(--muted);
  font-weight: 800;
}

main,
.page-shell,
.movie-detail-shell {
  width: 100%;
}

.section-wrap,
.page-shell > .section-wrap {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.no-pad-top {
  padding-top: 0;
}

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

.section-heading span {
  color: var(--teal);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.detail-article h2,
.detail-sidebar h2 {
  margin: 8px 0 10px;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 46px);
}

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

.split-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.outline-link {
  min-height: 44px;
  padding: 0 18px;
  color: var(--teal-dark);
  border: 1px solid rgba(13, 148, 136, 0.25);
  background: #ffffff;
}

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

.category-tile {
  position: relative;
  min-height: 280px;
  padding: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.88) 100%);
}

.category-tile span {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  font-weight: 900;
}

.category-tile h3 {
  margin: 18px 0 8px;
  font-size: 25px;
}

.category-tile p {
  margin: 0;
  color: #dbeafe;
  line-height: 1.6;
}

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

.movie-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: #0f172a;
}

.card-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  transform: translate(-50%, -50%) scale(0.9);
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.95), rgba(37, 99, 235, 0.95));
  opacity: 0;
  transition: all 0.2s ease;
}

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-weight: 900;
  font-size: 12px;
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.card-body h3 {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.card-body h3 a:hover,
.text-link:hover {
  color: var(--teal);
}

.card-body p {
  min-height: 72px;
  margin: 0 0 14px;
  color: #475569;
  line-height: 1.65;
  font-size: 14px;
}

.text-link {
  margin-top: 14px;
  min-height: 34px;
  justify-content: flex-start;
  color: var(--teal-dark);
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-card {
  display: grid;
  grid-template-columns: 74px 34px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-card img {
  width: 74px;
  height: 98px;
  object-fit: cover;
  border-radius: 14px;
}

.mini-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #ffffff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

.mini-card b {
  display: block;
  line-height: 1.45;
}

.mini-card em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.page-shell,
.movie-detail-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero {
  margin: 34px 0 44px;
  padding: 52px;
  color: #ffffff;
  border-radius: 34px;
  background:
    radial-gradient(circle at 78% 18%, rgba(45, 212, 191, 0.5), transparent 36%),
    linear-gradient(135deg, #0f766e, #2563eb 54%, #4f46e5);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 880px;
  font-size: clamp(36px, 5vw, 60px);
}

.page-hero p {
  color: #dbeafe;
}

.inline-filter {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin-top: 28px;
}

.inline-filter input {
  flex: 1;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 24px 0;
  color: var(--muted);
  font-weight: 800;
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: var(--teal);
}

.category-overview-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 72px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  min-height: 210px;
  border-radius: 24px;
  background: #0f172a;
}

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

.category-overview-card h2 {
  margin: 8px 0;
  font-size: 30px;
}

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

.category-overview-card span {
  color: var(--teal);
  font-weight: 900;
}

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

.result-count {
  margin: 18px 0 0;
  color: #e0f2fe;
  font-weight: 900;
}

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

.detail-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 36px;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.detail-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 36px;
  min-height: 560px;
  align-items: center;
  padding: 42px;
}

.detail-poster img {
  width: 300px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.detail-copy h1 {
  font-size: clamp(34px, 5vw, 64px);
}

.detail-copy p {
  max-width: 780px;
  color: #dbeafe;
  font-size: 19px;
  line-height: 1.8;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 26px 0 0;
}

.meta-grid div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.meta-grid dt {
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 900;
}

.meta-grid dd {
  margin: 4px 0 0;
  font-weight: 900;
}

.player-section {
  margin: 52px 0;
}

.video-player {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: var(--shadow);
}

.video-player video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 14px;
  color: #ffffff;
  border: 0;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.22), rgba(15, 23, 42, 0.72));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 18px 42px rgba(13, 148, 136, 0.35);
  font-size: 34px;
}

.play-overlay strong {
  font-size: 22px;
}

.video-player.is-playing .play-overlay {
  opacity: 0;
  visibility: hidden;
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  margin: 0;
  padding: 8px 12px;
  color: #dbeafe;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  font-size: 13px;
}

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

.detail-article,
.detail-sidebar section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.07);
}

.detail-article h2,
.detail-sidebar h2 {
  font-size: 28px;
}

.detail-article p {
  color: #334155;
  line-height: 2;
  font-size: 17px;
}

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

.tag-row.large span {
  color: #0f766e;
  background: #ccfbf1;
}

.next-prev {
  display: grid;
  gap: 12px;
}

.next-prev a {
  display: block;
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
  color: #0f766e;
  font-weight: 900;
}

.related-wrap {
  width: 100%;
}

.site-footer {
  margin-top: 40px;
  color: #cbd5e1;
  background: linear-gradient(135deg, #0f172a, #115e59);
}

.footer-grid {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 34px;
}

.footer-brand .brand-text {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

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

.site-footer p {
  line-height: 1.8;
}

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

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

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

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

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

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

  .hero-content,
  .detail-inner,
  .detail-content-grid,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

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

  .hero-search-card form,
  .inline-filter {
    flex-direction: column;
  }

  .hero-dots {
    bottom: 250px;
  }

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

  .ranking-grid,
  .footer-grid,
  .meta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: 64px;
  }

  .brand-text {
    font-size: 20px;
  }

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

  .hero-content {
    align-items: start;
    padding-top: 64px;
  }

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

  .hero-search-card {
    bottom: 18px;
  }

  .hero-dots {
    left: 24px;
    right: auto;
    bottom: 310px;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid,
  .movie-grid,
  .ranking-grid,
  .ranking-list,
  .footer-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .detail-inner {
    padding: 24px;
  }

  .detail-poster img {
    width: 220px;
  }

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

  .detail-content-grid {
    gap: 18px;
  }

  .compact-links {
    grid-template-columns: 1fr;
  }
}
