* {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.86);
  --panel-strong: #0f172a;
  --line: rgba(148, 163, 184, 0.18);
  --line-strong: rgba(251, 191, 36, 0.35);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --cyan: #22d3ee;
  --red: #ef4444;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.16), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.14), transparent 32%),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 88%);
}

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

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

img.image-hidden {
  opacity: 0;
}

button,
input,
select {
  font: inherit;
}

.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-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: min(1360px, calc(100% - 36px));
  margin: 0 auto;
  padding: 16px 0;
}

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

.brand {
  font-size: 22px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber), #ef4444);
  box-shadow: 0 12px 36px rgba(245, 158, 11, 0.25);
  font-size: 13px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.desktop-nav a,
.mobile-panel a {
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--soft);
  transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-panel a:hover,
.mobile-panel a.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-search,
.mobile-search,
.hero-search,
.filter-panel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-search,
.hero-search,
.mobile-search {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  padding: 6px;
}

.nav-search input,
.hero-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.nav-search input {
  width: 220px;
  padding: 9px 8px 9px 14px;
}

.nav-search button,
.hero-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), #ef4444);
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  padding: 9px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-search button:hover,
.hero-search button:hover,
.mobile-search button:hover,
.btn:hover {
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

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

.mobile-panel {
  display: none;
  width: min(1360px, calc(100% - 36px));
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.96);
  padding: 16px;
}

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

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

main {
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: min(1360px, calc(100% - 36px));
  margin: 26px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-track {
  position: relative;
  min-height: 620px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 42px;
  align-items: center;
  min-height: 620px;
  padding: 70px;
  opacity: 0;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.72) 46%, rgba(2, 6, 23, 0.35) 100%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  transition: opacity 0.55s ease;
}

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

.hero-overlay,
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.2), transparent 25%),
    linear-gradient(180deg, transparent 0%, rgba(2, 6, 23, 0.68) 100%);
}

.hero-content,
.hero-poster,
.detail-wrap {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--amber-light);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 6px 12px;
  text-transform: uppercase;
}

.hero-content h1,
.hero-content h2 {
  max-width: 780px;
  margin: 22px 0 18px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 680px;
  color: #e2e8f0;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

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

.hero-tags {
  margin: 24px 0 30px;
}

.hero-tags span,
.tag-row span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 13px;
  padding: 7px 11px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
  padding: 0 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--amber), #ef4444);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(239, 68, 68, 0.24);
}

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.hero-poster {
  justify-self: center;
  width: min(360px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(34, 211, 238, 0.1));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  transform: rotate(2deg);
  transition: transform 0.35s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) translateY(-8px);
}

.hero-poster img {
  aspect-ratio: 3 / 4.25;
  height: auto;
  object-fit: cover;
}

.hero-poster span {
  display: block;
  background: rgba(15, 23, 42, 0.9);
  color: var(--amber-light);
  font-weight: 900;
  padding: 16px 18px;
  text-align: center;
}

.hero-tools {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(260px, 430px) 1fr auto;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line);
  background: rgba(2, 6, 23, 0.72);
  padding: 18px 24px;
}

.hero-search input {
  width: 100%;
  padding: 12px 10px 12px 16px;
}

.hero-quick-links {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 3px;
}

.hero-quick-links a {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--soft);
  padding: 10px 14px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--amber-light);
}

.content-section {
  width: min(1360px, calc(100% - 36px));
  margin: 56px auto;
}

.soft-section {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(15, 23, 42, 0.42);
  padding: 28px;
}

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

.section-heading h2,
.ranking-head h2,
.story-card h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.04em;
}

.section-heading p {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.75;
  margin: 10px 0 0;
}

.section-link,
.ranking-head a {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--amber-light);
  font-weight: 800;
  padding: 10px 16px;
}

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

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

.movie-card,
.category-card,
.rank-card,
.story-card,
.ranking-panel {
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.movie-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  transform: translateY(-8px);
}

.poster-link,
.rank-poster,
.detail-poster,
.category-cover {
  position: relative;
  display: block;
  background:
    radial-gradient(circle at 30% 20%, rgba(251, 191, 36, 0.18), transparent 34%),
    linear-gradient(135deg, #111827, #0f172a 55%, #020617);
  overflow: hidden;
}

.poster-link img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.07);
}

.quality-badge,
.rank-badge,
.card-play {
  position: absolute;
  z-index: 2;
}

.quality-badge {
  top: 12px;
  left: 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.95);
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.rank-badge {
  top: 12px;
  right: 12px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 8px;
}

.card-play {
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-size: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .card-play {
  opacity: 1;
  transform: translateY(0);
}

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

.movie-meta {
  color: var(--amber-light);
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 8px;
}

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

.movie-card h3 a:hover,
.rank-card h2 a:hover {
  color: var(--amber-light);
}

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

.tag-row span {
  font-size: 12px;
  padding: 5px 8px;
}

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

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

.category-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 230px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.category-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-6px);
}

.category-cover {
  min-height: 100%;
  background-image:
    linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.72)),
    var(--category-image);
  background-position: center;
  background-size: cover;
}

.category-info {
  padding: 22px;
}

.category-info h2 {
  margin: 12px 0 10px;
  font-size: 26px;
}

.category-info p,
.category-info li,
.rank-card p,
.story-card p {
  color: var(--muted);
  line-height: 1.72;
}

.category-info ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

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

.ranking-panel {
  position: sticky;
  top: 98px;
  border-radius: var(--radius-xl);
  padding: 24px;
}

.ranking-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px;
}

.ranking-row span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber-light);
  font-weight: 900;
}

.ranking-row strong {
  line-height: 1.4;
}

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

.page-hero,
.detail-hero {
  position: relative;
  width: min(1360px, calc(100% - 36px));
  margin: 26px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 15% 15%, rgba(245, 158, 11, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(2, 6, 23, 0.82));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.compact-hero {
  padding: 68px;
}

.compact-hero h1 {
  max-width: 820px;
  margin: 18px 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.compact-hero p {
  max-width: 760px;
  color: var(--soft);
  font-size: 18px;
  line-height: 1.8;
}

.filter-panel {
  position: sticky;
  top: 78px;
  z-index: 8;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  padding: 12px;
  margin-bottom: 24px;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0 14px;
}

.filter-panel input {
  flex: 1 1 360px;
}

.filter-panel select {
  color: var(--soft);
}

.empty-state {
  display: none;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  padding: 24px;
}

.empty-state.is-visible {
  display: block;
}

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

.rank-card {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 18px;
  border-radius: var(--radius-lg);
  padding: 14px;
}

.rank-poster {
  border-radius: 18px;
}

.rank-poster img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.rank-poster span {
  position: absolute;
  left: 10px;
  top: 10px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.95);
  color: #111827;
  font-weight: 900;
  padding: 6px 8px;
}

.rank-card h2 {
  margin: 6px 0 8px;
  font-size: clamp(22px, 3vw, 32px);
}

.detail-hero {
  min-height: 620px;
  background-image:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.4)),
    var(--detail-image);
  background-position: center;
  background-size: cover;
}

.detail-wrap {
  padding: 34px 68px 68px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 34px;
}

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

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

.detail-poster {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44);
}

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

.detail-info h1 {
  margin: 20px 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.detail-line {
  max-width: 780px;
  color: #e2e8f0;
  font-size: 20px;
  line-height: 1.8;
}

.player-section {
  width: min(1120px, calc(100% - 36px));
  margin: 56px auto;
}

.single-heading {
  margin-bottom: 18px;
}

.video-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: #000000;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  cursor: pointer;
}

.play-gate {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(245, 158, 11, 0.18), transparent 36%),
    rgba(2, 6, 23, 0.48);
  color: #ffffff;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.25s ease;
}

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

.play-circle {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber), #ef4444);
  box-shadow: 0 20px 52px rgba(239, 68, 68, 0.35);
  font-size: 26px;
}

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

.detail-content-section {
  margin-top: 34px;
}

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

.story-card {
  border-radius: var(--radius-xl);
  padding: 30px;
}

.story-card p {
  font-size: 17px;
  color: #cbd5e1;
}

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

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

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.9fr;
  gap: 32px;
  width: min(1360px, calc(100% - 36px));
  margin: 0 auto;
  padding: 44px 0;
}

.footer-inner p,
.footer-bottom {
  color: var(--muted);
  line-height: 1.7;
}

.footer-inner h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

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

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

.footer-links a {
  color: var(--soft);
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-bottom {
  width: min(1360px, calc(100% - 36px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 18px 0 28px;
}

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

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

  .split-section {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: relative;
    top: auto;
  }
}

@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .desktop-nav,
  .nav-search {
    display: none;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    padding: 44px 26px;
  }

  .hero-track,
  .hero-slide {
    min-height: 760px;
  }

  .hero-poster {
    width: min(260px, 78%);
  }

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

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

  .detail-wrap,
  .compact-hero {
    padding: 34px 24px 44px;
  }

  .detail-poster {
    max-width: 310px;
  }
}

@media (max-width: 700px) {
  .content-section,
  .hero-carousel,
  .page-hero,
  .detail-hero,
  .player-section {
    width: min(100% - 24px, 1360px);
  }

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

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

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

  .movie-line {
    min-height: 40px;
    font-size: 13px;
  }

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

  .category-card {
    grid-template-columns: 116px 1fr;
    min-height: 190px;
  }

  .category-info {
    padding: 16px;
  }

  .category-info ul {
    grid-template-columns: 1fr;
  }

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

  .filter-panel {
    position: relative;
    top: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .rank-card {
    grid-template-columns: 96px 1fr;
  }

  .compact-hero h1,
  .detail-info h1,
  .hero-content h1,
  .hero-content h2 {
    font-size: 40px;
  }

  .hero-tags span,
  .tag-row span {
    font-size: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
