:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --red: #dc2626;
  --pink: #db2777;
  --green: #16a34a;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #ffffff 0%, #f3f4f6 48%, #fdf2f8 100%);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 18px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--red), var(--pink));
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-icon,
.footer-brand:hover .brand-icon {
  transform: scale(1.08);
  box-shadow: 0 18px 36px rgba(219, 39, 119, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 20px;
  color: #111827;
  letter-spacing: -0.03em;
}

.brand-copy em {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
  font-style: normal;
}

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

.nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: rgba(220, 38, 38, 0.08);
}

.header-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.header-search input {
  width: 170px;
  border: 0;
  outline: none;
  padding: 11px 14px;
  background: transparent;
}

.header-search button,
.large-search button {
  border: 0;
  color: #ffffff;
  font-weight: 800;
  padding: 11px 18px;
  background: linear-gradient(90deg, var(--red), var(--pink));
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #111827;
  background: var(--soft);
}

.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: #050505;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: none;
}

.hero-slide.is-active {
  display: block;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(219, 39, 119, 0.34), transparent 28%),
    linear-gradient(to top, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.16));
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 72px;
  width: min(1180px, calc(100% - 36px));
  transform: translateX(-50%);
  color: #ffffff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fecdd3;
  font-size: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
  max-width: 840px;
  margin: 0;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.hero-content p,
.page-hero p,
.detail-one-line {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2.2vw, 21px);
  line-height: 1.7;
}

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

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

.hero-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  padding: 7px 11px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--red), var(--pink));
  box-shadow: 0 18px 35px rgba(220, 38, 38, 0.26);
}

.btn.ghost,
.btn.glass {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
}

.btn.small {
  min-height: 38px;
  padding: 0 15px;
  border-radius: 11px;
  font-size: 14px;
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.35);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(220, 38, 38, 0.82);
  transform: translateY(-50%) scale(1.05);
}

.hero-control.prev {
  left: 22px;
}

.hero-control.next {
  right: 22px;
}

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

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

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

.hero-rail {
  position: absolute;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 70px;
  z-index: 2;
  width: 310px;
  display: grid;
  gap: 10px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.hero-thumb img {
  width: 54px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.hero-thumb span {
  overflow: hidden;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.quick-search-panel {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  padding: 0 18px;
}

.quick-search-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
}

.quick-search-inner h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 4vw, 36px);
  letter-spacing: -0.04em;
}

.quick-search-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.large-search {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.large-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 15px 18px;
  background: transparent;
}

.content-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 18px;
}

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

.section-heading h2,
.panel-heading h2,
.detail-article h2,
.detail-side-card h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

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

.section-more,
.panel-heading a {
  flex: 0 0 auto;
  color: var(--red);
  font-weight: 900;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(229, 231, 235, 0.78);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #111827;
}

.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: brightness(0.82);
}

.year-badge,
.play-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--pink));
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.24);
}

.year-badge {
  top: 10px;
  left: 10px;
  min-width: 56px;
  height: 28px;
  padding: 0 10px;
  font-size: 12px;
}

.play-badge {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  font-size: 16px;
}

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

.movie-card h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.movie-card h3 a:hover {
  color: var(--red);
}

.movie-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.movie-desc {
  min-height: 48px;
  margin: 10px 0 0;
  color: #4b5563;
  line-height: 1.65;
  font-size: 14px;
}

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

.tag-list span {
  padding: 5px 9px;
  color: #be123c;
  background: #fff1f2;
}

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

.ranking-panel,
.detail-side-card,
.player-card,
.category-overview-card {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.ranking-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: auto 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #f9fafb;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
  background: #fff1f2;
}

.ranking-item img {
  width: 54px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
}

.ranking-item strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-item em {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.rank-number {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), #22c55e);
}

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

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

.category-entry {
  min-height: 136px;
  padding: 22px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #991b1b 55%, #be185d);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-entry:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-entry strong {
  display: block;
  font-size: 22px;
  margin-bottom: 10px;
}

.category-entry span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 72% 15%, rgba(219, 39, 119, 0.5), transparent 32%),
    linear-gradient(135deg, #111827 0%, #7f1d1d 52%, #be185d 100%);
}

.page-hero > div {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.small-hero {
  min-height: 310px;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr 180px auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

.expanded-filter {
  grid-template-columns: 1fr 170px 170px auto;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  padding: 0 14px;
  background: #ffffff;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.filter-note {
  min-width: 130px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

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

.category-overview-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.category-overview-head {
  padding: 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #be123c);
}

.category-overview-head h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.category-overview-head p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

.category-preview-list {
  padding: 18px;
  display: grid;
  gap: 10px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #09090b;
}

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

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) brightness(0.44);
  transform: scale(1.08);
}

.detail-backdrop span {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 18%, rgba(219, 39, 119, 0.38), transparent 28%),
    linear-gradient(to top, rgba(0, 0, 0, 0.98), rgba(0, 0, 0, 0.38));
}

.detail-inner {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.36);
}

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

.detail-info h1 {
  max-width: 900px;
}

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

.detail-meta-list div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.detail-meta-list dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.detail-meta-list dd {
  margin: 5px 0 0;
  font-weight: 900;
}

.player-section {
  padding-top: 42px;
}

.player-card {
  overflow: hidden;
  padding: 16px;
  background: #0b0b0f;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  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: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.24));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  font-size: 30px;
  background: linear-gradient(135deg, var(--red), var(--pink));
  box-shadow: 0 18px 38px rgba(220, 38, 38, 0.34);
}

.player-message {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4;
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.68);
  text-align: center;
}

.player-message.is-visible {
  display: block;
}

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

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

.detail-article h2 + p {
  margin-top: 14px;
}

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

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

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

.detail-side-card ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.detail-side-card li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.detail-side-card strong {
  color: var(--muted);
}

.detail-side-card span,
.detail-side-card a {
  text-align: right;
  font-weight: 800;
}

.detail-side-card a {
  color: var(--red);
}

.site-footer {
  margin-top: 38px;
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

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

.footer-brand strong {
  color: #ffffff;
}

.footer-brand p {
  margin: 4px 0 0;
  color: #9ca3af;
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
}

.footer-links a {
  color: #d1d5db;
  font-size: 14px;
}

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

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

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

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

@media (max-width: 920px) {
  .header-inner {
    height: auto;
    min-height: 68px;
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .main-nav {
    order: 5;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0 4px;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    padding: 13px 14px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .header-search {
    order: 4;
    width: 100%;
  }

  .header-search input {
    flex: 1;
    width: auto;
  }

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

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

  .detail-poster {
    width: min(260px, 72vw);
  }

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

  .footer-links {
    justify-content: flex-start;
  }

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

  .filter-note {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .brand-copy em {
    display: none;
  }

  .hero {
    min-height: 76vh;
  }

  .hero-content {
    bottom: 74px;
  }

  .hero-control {
    display: none;
  }

  .hero-content h1,
  .page-hero h1,
  .detail-info h1 {
    font-size: clamp(34px, 13vw, 54px);
  }

  .hero-content p,
  .page-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .quick-search-panel {
    margin-top: 0;
    padding-top: 20px;
  }

  .large-search {
    border-radius: 20px;
    flex-direction: column;
  }

  .large-search button {
    width: 100%;
  }

  .content-section {
    padding: 38px 14px;
  }

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

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

  .movie-card h3 {
    font-size: 16px;
  }

  .movie-desc {
    min-height: auto;
    font-size: 13px;
  }

  .category-entry-grid,
  .category-overview-grid,
  .wide-ranking {
    grid-template-columns: 1fr;
  }

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

  .detail-meta-list {
    grid-template-columns: 1fr;
  }

  .detail-article,
  .detail-side-card {
    padding: 22px;
  }

  .play-circle {
    width: 64px;
    height: 64px;
  }
}
