:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.72);
  --border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #06b6d4;
  --cyan-strong: #0891b2;
  --yellow: #facc15;
  --shadow: 0 24px 80px rgba(8, 145, 178, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(8, 145, 178, 0.24), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.18), transparent 24rem),
    linear-gradient(180deg, #020617 0%, #0f172a 45%, #020617 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

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

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

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.32);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, #e0f2fe, #22d3ee, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

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

.main-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: #cbd5e1;
  font-size: 15px;
  transition: 0.22s ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(6, 182, 212, 0.12);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(360px, 30vw);
  padding: 6px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
}

.nav-search input,
.big-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: #e2e8f0;
  background: transparent;
}

.nav-search input::placeholder,
.big-search input::placeholder,
.filter-panel input::placeholder {
  color: #64748b;
}

.nav-search button,
.big-search button {
  border: 0;
  cursor: pointer;
  color: #fff;
  white-space: nowrap;
  border-radius: 10px;
  background: linear-gradient(135deg, #0891b2, #2563eb);
  transition: 0.22s ease;
}

.nav-search button {
  padding: 7px 12px;
}

.nav-search button:hover,
.big-search button:hover,
.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(6, 182, 212, 0.24);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  color: #fff;
  background: rgba(15, 23, 42, 0.7);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #e2e8f0;
}

.hero-carousel {
  position: relative;
  height: clamp(560px, 72vh, 820px);
  overflow: hidden;
  background: #020617;
}

.hero-track,
.hero-slide,
.hero-slide img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

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

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

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.72) 42%, rgba(2, 6, 23, 0.2) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.14) 45%, rgba(2, 6, 23, 0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: clamp(130px, 18vh, 220px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 6px 12px;
  color: #cffafe;
  background: rgba(8, 145, 178, 0.28);
  border: 1px solid rgba(34, 211, 238, 0.28);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hero-content h1 {
  max-width: 820px;
  margin: 20px 0 18px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 760px;
  margin: 0 0 30px;
  color: #cbd5e1;
  font-size: clamp(16px, 2vw, 21px);
}

.hero-actions,
.center-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  transition: 0.22s ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
  box-shadow: 0 16px 44px rgba(6, 182, 212, 0.2);
}

.primary-btn.small {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 14px;
}

.ghost-btn {
  color: #e2e8f0;
  border: 1px solid rgba(226, 232, 240, 0.18);
  background: rgba(15, 23, 42, 0.5);
}

.ghost-btn:hover {
  border-color: rgba(34, 211, 238, 0.42);
  color: #fff;
  background: rgba(8, 145, 178, 0.2);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 999px;
  color: #fff;
  background: rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
  transform: translateY(-50%);
  transition: 0.22s ease;
}

.hero-arrow:hover {
  background: rgba(8, 145, 178, 0.72);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
  transition: 0.22s ease;
}

.hero-dot.active {
  width: 36px;
  background: #22d3ee;
}

.section-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

.quick-search {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-top: -58px;
  position: relative;
  z-index: 10;
  padding: 28px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.big-search {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.74);
}

.big-search input {
  padding: 0 12px;
  min-height: 48px;
}

.big-search button {
  padding: 0 24px;
}

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

.section-head span {
  display: inline-block;
  color: #22d3ee;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2 {
  margin: 4px 0 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.15;
}

.section-head a {
  color: #67e8f9;
  font-weight: 800;
}

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

.all-movie-grid {
  align-items: stretch;
}

.movie-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-card);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  transition: 0.26s ease;
}

.movie-card:hover {
  border-color: rgba(34, 211, 238, 0.62);
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(6, 182, 212, 0.16);
}

.card-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0f172a;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s ease;
}

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

.card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent 58%);
  transition: 0.25s ease;
}

.movie-card:hover .card-cover::after {
  opacity: 1;
}

.card-category,
.card-duration {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(8, 145, 178, 0.88);
}

.card-category {
  left: 10px;
  top: 10px;
}

.card-duration {
  right: 10px;
  bottom: 10px;
  background: rgba(2, 6, 23, 0.82);
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(6, 182, 212, 0.86);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: 0.26s ease;
}

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

.card-body {
  padding: 16px;
}

.card-body h3 {
  min-height: 50px;
  margin: 0 0 8px;
  display: -webkit-box;
  overflow: hidden;
  color: #f8fafc;
  font-size: 17px;
  line-height: 1.45;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body p {
  min-height: 44px;
  margin: 0 0 14px;
  display: -webkit-box;
  overflow: hidden;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #64748b;
  font-size: 12px;
}

.compact-card .card-body h3 {
  min-height: 44px;
  font-size: 15px;
}

.compact-card .card-body p {
  display: none;
}

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

.category-feature {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.58);
}

.mini-head {
  align-items: center;
  margin-bottom: 18px;
}

.mini-head h2 {
  max-width: 520px;
  color: #cbd5e1;
  font-size: 16px;
  font-weight: 500;
}

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

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

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

.rank-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(250, 204, 21, 0.18);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.78), rgba(15, 23, 42, 0.82));
  transition: 0.22s ease;
}

.rank-card:hover {
  border-color: rgba(250, 204, 21, 0.55);
  transform: translateY(-3px);
}

.rank-card a {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 14px;
}

.rank-card img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 16px;
}

.rank-number {
  position: absolute;
  right: 16px;
  top: 10px;
  color: rgba(250, 204, 21, 0.22);
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
}

.rank-card h3 {
  position: relative;
  z-index: 2;
  margin: 4px 0 6px;
  font-size: 17px;
  line-height: 1.35;
}

.rank-card p {
  position: relative;
  z-index: 2;
  margin: 0 0 8px;
  display: -webkit-box;
  overflow: hidden;
  color: #94a3b8;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #fef3c7;
  font-size: 12px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr;
  gap: 14px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.7);
}

.filter-panel label {
  display: grid;
  gap: 7px;
}

.filter-panel span {
  color: #67e8f9;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 13px;
  background: rgba(2, 6, 23, 0.62);
}

.filter-panel select {
  color: #e2e8f0;
}

.inner-hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 42px;
  text-align: center;
}

.inner-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 900;
}

.inner-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: #cbd5e1;
  font-size: 18px;
}

.center-actions {
  justify-content: center;
  margin-top: 24px;
}

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

.category-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.66);
  transition: 0.22s ease;
}

.category-card:hover {
  border-color: rgba(34, 211, 238, 0.5);
  transform: translateY(-4px);
}

.category-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px;
  background: rgba(2, 6, 23, 0.55);
}

.category-preview img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}

.category-card-body {
  padding: 22px;
}

.category-card-body h2 {
  margin: 14px 0 8px;
  font-size: 28px;
}

.category-card-body p {
  min-height: 54px;
  margin: 0 0 18px;
  color: #94a3b8;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  background-image: var(--detail-bg);
  background-size: cover;
  background-position: center;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.8) 50%, rgba(2, 6, 23, 0.36) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.2) 62%, rgba(2, 6, 23, 0.72) 100%);
}

.detail-shell {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 58px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: 14px;
  margin-bottom: 34px;
}

.breadcrumbs a {
  color: #67e8f9;
}

.detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.18);
  border-radius: 28px;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.4);
}

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

.detail-info h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  font-weight: 900;
}

.detail-one-line {
  max-width: 780px;
  margin: 0 0 20px;
  color: #cbd5e1;
  font-size: 18px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.detail-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #dffafe;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid rgba(34, 211, 238, 0.16);
  font-size: 13px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 800px;
  margin: 0 0 26px;
}

.detail-meta-grid div {
  padding: 13px 15px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.62);
}

.detail-meta-grid dt {
  margin: 0 0 5px;
  color: #67e8f9;
  font-size: 12px;
  font-weight: 800;
}

.detail-meta-grid dd {
  margin: 0;
  color: #e2e8f0;
  font-size: 15px;
}

.detail-player {
  padding-top: 24px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(34, 211, 238, 0.22);
  border-radius: 26px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.18), rgba(2, 6, 23, 0.84) 58%);
  cursor: pointer;
}

.play-cover span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.9);
  box-shadow: 0 18px 50px rgba(6, 182, 212, 0.3);
  font-size: 34px;
  text-indent: 5px;
}

.play-cover strong {
  font-size: 20px;
}

.play-cover.is-hidden {
  display: none;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.prose-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.66);
}

.prose-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.prose-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.85;
}

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

.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.76);
}

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

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 12px;
}

.footer-grid h3 {
  font-size: 24px;
  background: linear-gradient(90deg, #e0f2fe, #22d3ee, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: #94a3b8;
}

.footer-grid p {
  max-width: 520px;
  margin: 0;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 8px;
}

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

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 14px;
}

.is-filter-hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .movie-grid,
  .related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .nav-search {
    display: none;
  }
}

@media (max-width: 900px) {
  .nav-shell {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    width: 100%;
    order: 4;
    margin: 0;
    padding: 10px 0 2px;
  }

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

  .main-nav a {
    background: rgba(15, 23, 42, 0.75);
  }

  .hero-carousel {
    height: 640px;
  }

  .hero-content {
    width: min(100% - 34px, 760px);
    padding-top: 140px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search,
  .detail-layout,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-feature-grid,
  .category-overview-grid,
  .rank-grid,
  .rank-list,
  .full-rank-list {
    grid-template-columns: 1fr;
  }

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

  .detail-poster {
    width: min(320px, 100%);
  }
}

@media (max-width: 680px) {
  .brand-name {
    font-size: 18px;
  }

  .section-shell {
    width: min(100% - 24px, 1440px);
    padding: 36px 0;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-actions,
  .big-search {
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid,
  .related-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .rank-card a {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .rank-card img {
    width: 82px;
    height: 82px;
  }

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

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

  .play-cover span {
    width: 70px;
    height: 70px;
  }
}
