:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-strong: rgba(15, 23, 42, 0.94);
  --text: #f8fafc;
  --muted: #cbd5e1;
  --muted-deep: #94a3b8;
  --line: rgba(148, 163, 184, 0.2);
  --amber: #f59e0b;
  --orange: #ea580c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.15), transparent 32rem), linear-gradient(180deg, #020617 0%, #0f172a 42%, #020617 100%);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.header-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
  box-shadow: 0 16px 40px rgba(245, 158, 11, 0.3);
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fbbf24;
  background: rgba(51, 65, 85, 0.58);
}

.nav-category {
  display: inline-flex;
}

.site-search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-field input,
.filter-input input,
.filter-select select {
  width: 220px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 14px;
  outline: none;
  background: rgba(15, 23, 42, 0.78);
  color: var(--text);
  padding: 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-field input:focus,
.filter-input input:focus,
.filter-select select:focus {
  border-color: rgba(245, 158, 11, 0.85);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.search-submit,
.primary-button,
.section-action {
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 16px 42px rgba(245, 158, 11, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.search-submit {
  height: 42px;
  padding: 0 16px;
}

.primary-button,
.section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 700;
}

.search-submit:hover,
.primary-button:hover,
.section-action:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 20px 52px rgba(245, 158, 11, 0.36);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(248, 250, 252, 0.18);
  border-radius: 14px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
  border-color: rgba(245, 158, 11, 0.68);
  background: rgba(245, 158, 11, 0.12);
  transform: translateY(-2px);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
}

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

.mobile-panel {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-search .search-field,
.mobile-search .search-field input {
  flex: 1;
  width: 100%;
}

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

.hero-carousel {
  position: relative;
  min-height: 68vh;
  overflow: hidden;
  background: #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.86) 30%, rgba(2, 6, 23, 0.26) 100%), linear-gradient(90deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.08));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: clamp(58px, 10vw, 118px);
  max-width: 780px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-content h1,
.detail-title-block h1,
.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-content p,
.detail-title-block p,
.page-hero p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.75;
}

.hero-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
}

.hero-meta span,
.movie-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 13px;
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(248, 250, 252, 0.22);
  border-radius: 50%;
  background: rgba(2, 6, 23, 0.45);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(248, 250, 252, 0.36);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 34px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.content-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: -44px auto 70px;
  position: relative;
  z-index: 5;
}

.stat-card {
  padding: 22px;
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 18px;
}

.stat-card span {
  color: var(--muted-deep);
  font-size: 14px;
  line-height: 1.7;
}

.movie-section {
  margin: 72px 0;
}

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

.section-heading h2,
.ranking-panel h2,
.detail-article h2,
.info-card h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--muted-deep);
  line-height: 1.7;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.92));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 22px 60px rgba(245, 158, 11, 0.12), 0 24px 60px rgba(0, 0, 0, 0.38);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.06);
  filter: saturate(1.1) contrast(1.04);
}

.poster-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.86) 100%);
}

.card-badge,
.rank-num {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.card-badge {
  right: 12px;
  background: rgba(2, 6, 23, 0.7);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.rank-num {
  left: 12px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  color: #ffffff;
}

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

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

.movie-card h3 a:hover {
  color: #fbbf24;
}

.movie-line {
  min-height: 48px;
  margin: 10px 0 0;
  color: var(--muted-deep);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  gap: 7px;
  margin-top: 14px;
}

.movie-meta span {
  min-height: 24px;
  font-size: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag-row span {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.82);
  color: var(--muted);
  font-size: 12px;
}

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

.category-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

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

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.92));
}

.category-card span,
.category-card p {
  position: relative;
  z-index: 2;
  display: block;
}

.category-card span {
  margin: 118px 18px 8px;
  font-size: 21px;
  font-weight: 800;
}

.category-card p {
  margin: 0 18px 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.category-card:hover img {
  transform: scale(1.08);
  opacity: 0.7;
}

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

.ranking-panel,
.info-card,
.player-card,
.detail-article,
.category-overview-card {
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.ranking-panel {
  padding: 22px;
}

.ranking-panel-head h2 {
  margin-bottom: 18px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(245, 158, 11, 0.1);
}

.rank-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  font-weight: 900;
  font-size: 13px;
}

.rank-item img {
  width: 58px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.rank-info em {
  margin-top: 2px;
  color: var(--muted-deep);
  font-size: 12px;
  font-style: normal;
}

.section-action.wide {
  width: 100%;
  margin-top: 18px;
}

.site-footer {
  margin-top: 88px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.76);
}

.footer-shell {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 28px;
  display: grid;
  grid-template-columns: 1.1fr 0.5fr 1fr;
  gap: 32px;
}

.footer-shell p {
  max-width: 440px;
  margin: 14px 0 0;
  color: var(--muted-deep);
  line-height: 1.75;
}

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

.footer-links a,
.footer-category-links a {
  padding: 8px 11px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.75);
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover,
.footer-category-links a:hover {
  color: #fbbf24;
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 32px;
  color: var(--muted-deep);
  font-size: 13px;
}

.inner-page {
  min-height: 70vh;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
}

.small-hero {
  padding: 76px 0 54px;
  background: radial-gradient(circle at 30% 20%, rgba(245, 158, 11, 0.22), transparent 28rem), linear-gradient(135deg, #0f172a, #020617);
}

.small-hero > div {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.small-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.category-overview-list {
  display: grid;
  gap: 18px;
  margin-top: 44px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  overflow: hidden;
}

.category-cover {
  min-height: 240px;
  background: #0f172a;
}

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

.category-overview-body {
  padding: 28px;
}

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

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

.mini-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 22px;
}

.mini-link-row a {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.72);
  color: var(--muted);
  font-size: 13px;
}

.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 36px 0 26px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.76);
}

.filter-input {
  flex: 1;
  min-width: min(100%, 300px);
}

.filter-input input {
  width: 100%;
}

.filter-select {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 14px;
}

.filter-select select {
  width: 140px;
}

.movie-card.is-hidden {
  display: none;
}

.sticky-panel {
  position: sticky;
  top: 94px;
}

.long-rank-list {
  max-height: 72vh;
  overflow: auto;
  padding-right: 4px;
}

.detail-hero {
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background: #020617;
}

.detail-backdrop,
.detail-gradient {
  position: absolute;
  inset: 0;
}

.detail-backdrop {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}

.detail-gradient {
  background: linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.92) 38%, rgba(2, 6, 23, 0.24) 100%), linear-gradient(90deg, rgba(2, 6, 23, 0.88), rgba(2, 6, 23, 0.2));
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 72px 0 84px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
  color: var(--muted-deep);
  font-size: 14px;
}

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

.detail-layout {
  margin-top: -58px;
  position: relative;
  z-index: 4;
}

.detail-main,
.detail-side {
  min-width: 0;
}

.player-card {
  padding: 12px;
  background: rgba(2, 6, 23, 0.88);
}

.player-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background: #000000;
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.72)), linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.86));
}

.player-overlay.hidden {
  display: none;
}

.play-icon {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 22px 58px rgba(245, 158, 11, 0.36);
  font-size: 32px;
  text-indent: 4px;
}

.detail-article {
  margin-top: 22px;
  padding: 28px;
}

.detail-article h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-article h2:not(:first-child) {
  margin-top: 28px;
}

.detail-article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 16px;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-card {
  margin-top: 18px;
  padding: 22px;
}

.info-card h2 {
  font-size: 24px;
}

.info-card dl {
  margin: 18px 0 0;
}

.info-card div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

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

.info-card dd {
  margin: 0;
  color: var(--text);
}

.detail-tags {
  margin: 18px 0 20px;
}

.full-button {
  width: 100%;
}

.related-section {
  margin-top: 76px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

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

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

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

@media (max-width: 920px) {
  .desktop-nav,
  .site-search-form:not(.mobile-search) {
    display: none;
  }

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

  .hero-carousel {
    min-height: 76vh;
  }

  .hero-arrow {
    display: none;
  }

  .stat-grid,
  .footer-shell,
  .split-section,
  .ranking-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    margin-top: 24px;
  }

  .sticky-panel {
    position: static;
  }

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

  .category-cover {
    min-height: 220px;
  }

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

  .info-card {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .header-shell {
    min-height: 66px;
  }

  .site-logo span:last-child {
    font-size: 15px;
  }

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

  .hero-content h1,
  .detail-title-block h1,
  .page-hero h1 {
    font-size: 38px;
  }

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

  .stat-grid,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-movie-grid,
  .category-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }

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

  .filter-toolbar {
    display: grid;
  }

  .filter-select,
  .filter-select select {
    width: 100%;
  }

  .filter-select {
    display: grid;
  }

  .detail-hero {
    min-height: 520px;
  }

  .detail-hero-content {
    padding-bottom: 62px;
  }

  .detail-layout {
    margin-top: -34px;
  }

  .play-icon {
    width: 64px;
    height: 64px;
    font-size: 26px;
  }

  .footer-shell {
    gap: 22px;
  }
}
