:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.78);
  --panel-strong: #0f172a;
  --line: rgba(148, 163, 184, 0.18);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --soft: #64748b;
  --cyan: #22d3ee;
  --cyan-strong: #06b6d4;
  --blue: #3b82f6;
  --orange: #fb923c;
  --shadow: 0 20px 60px rgba(8, 145, 178, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.14), transparent 34rem),
    linear-gradient(180deg, #020617 0%, #0f172a 45%, #020617 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.45);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(34, 211, 238, 0.95), rgba(59, 130, 246, 0.95));
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.08), 0 12px 30px rgba(34, 211, 238, 0.24);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 9px;
  border-left: 10px solid #ffffff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
}

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

.desktop-nav a,
.mobile-panel a {
  color: #cbd5e1;
  font-weight: 600;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  color: var(--cyan);
}

.header-search {
  display: flex;
  align-items: center;
  width: 320px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.54);
}

.header-search input,
.mobile-search input,
.page-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.header-search input {
  padding: 11px 14px;
}

.header-search button,
.mobile-search button,
.page-search button {
  border: 0;
  color: #ffffff;
  background: var(--cyan-strong);
  padding: 11px 16px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.82);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: #cbd5e1;
}

.mobile-panel {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  gap: 14px;
  flex-direction: column;
}

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

.mobile-search {
  display: flex;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(2, 6, 23, 0.68);
}

.mobile-search input {
  padding: 12px 14px;
}

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

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(2, 6, 23, 0.60), rgba(2, 6, 23, 0.20)),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.35) 50%, rgba(2, 6, 23, 0.05) 100%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 78px;
  width: min(660px, calc(100% - 48px));
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-kicker span,
.hero-kicker a,
.detail-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, 0.42);
  color: var(--cyan);
  background: rgba(8, 145, 178, 0.16);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.06;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content p {
  margin: 0 0 22px;
  color: #cbd5e1;
  font-size: 19px;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-info,
.detail-meta,
.card-meta,
.card-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  color: var(--muted);
}

.hero-info {
  margin-bottom: 30px;
  color: #cbd5e1;
}

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

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 28px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan-strong), var(--blue));
  box-shadow: 0 16px 36px rgba(34, 211, 238, 0.22);
}

.ghost-btn {
  min-height: 48px;
  padding: 0 24px;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.52);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(8px);
  font-size: 34px;
  cursor: pointer;
  transition: background 0.2s ease;
}

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

.hero-prev {
  left: 28px;
}

.hero-next {
  right: 28px;
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
}

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

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

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

.site-section {
  padding: 64px 0 0;
}

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

.section-heading h2,
.panel-heading h2,
.rank-section h2 {
  margin: 0;
  color: #ffffff;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 850;
}

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

.section-more,
.panel-heading a,
.text-link {
  color: var(--cyan);
  font-weight: 800;
}

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

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

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.58);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.50);
  box-shadow: var(--shadow);
}

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

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

.movie-card:hover .card-cover img,
.category-tile:hover img,
.overview-image:hover img,
.rank-thumb:hover img {
  transform: scale(1.08);
}

.card-cover::after,
.category-tile::after,
.rank-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.70), transparent 58%);
}

.duration {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.64);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 700;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) scale(0.9);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  opacity: 0;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.play-badge::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  border-left: 16px solid #020617;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
}

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

.card-body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.card-meta {
  margin-bottom: 10px;
  font-size: 13px;
}

.card-body h3 {
  margin: 0 0 10px;
  color: #f8fafc;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 800;
}

.card-body h3 a:hover {
  color: var(--cyan);
}

.card-body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-list {
  margin-top: auto;
}

.tag-list span {
  padding: 4px 9px;
  font-size: 12px;
  border-color: rgba(148, 163, 184, 0.22);
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.68);
}

.card-stats {
  justify-content: space-between;
  margin-top: 14px;
  font-size: 12px;
}

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

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

.category-tile {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: #0f172a;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.28);
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile span,
.category-tile p {
  position: relative;
  z-index: 2;
}

.category-tile span {
  color: #ffffff;
  font-size: 24px;
  font-weight: 850;
}

.category-tile p {
  margin: 10px 0 0;
  color: #cbd5e1;
  line-height: 1.65;
}

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

.ranking-panel,
.side-panel,
.poster-card,
.category-overview-card {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.68);
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.24);
}

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

.rank-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rank-list-large {
  gap: 16px;
}

.rank-item {
  display: grid;
  grid-template-columns: 44px 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.32);
  border: 1px solid rgba(148, 163, 184, 0.10);
}

.rank-num {
  color: var(--orange);
  font-weight: 900;
  font-size: 22px;
}

.rank-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 12px;
  background: #0f172a;
}

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

.rank-body h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 16px;
}

.rank-body h3 a:hover {
  color: var(--cyan);
}

.rank-body p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-body div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--soft);
  font-size: 12px;
}

.page-shell {
  padding-top: 34px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(8, 145, 178, 0.22), rgba(15, 23, 42, 0.92)),
    radial-gradient(circle at 70% 20%, rgba(59, 130, 246, 0.22), transparent 28rem);
  padding: 54px;
  margin-bottom: 34px;
  box-shadow: var(--shadow);
}

.page-hero span {
  color: var(--cyan);
  font-weight: 850;
}

.page-hero h1 {
  margin: 12px 0 14px;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.small-actions {
  margin-top: 28px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 16px;
  margin-bottom: 24px;
}

.filter-bar input,
.filter-bar select,
.page-search {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.74);
}

.filter-bar input,
.filter-bar select {
  color: var(--text);
  padding: 14px 16px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
}

.overview-image {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 16 / 11;
  background: #0f172a;
}

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

.category-overview-card h2 {
  margin: 0 0 10px;
  color: #ffffff;
}

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.7;
}

.overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 14px;
}

.overview-links a {
  color: #cbd5e1;
  font-size: 13px;
}

.rank-section {
  margin-bottom: 46px;
}

.page-search {
  display: flex;
  width: min(720px, 100%);
  margin-top: 28px;
  overflow: hidden;
}

.page-search input {
  padding: 16px 18px;
}

.page-search button {
  padding: 0 28px;
}

.search-results-shell {
  min-height: 320px;
}

.detail-shell {
  padding-top: 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  margin-bottom: 22px;
}

.breadcrumb a:hover {
  color: var(--cyan);
}

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

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

.movie-player {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.52);
}

.movie-player video,
.player-cover,
.player-cover img,
.player-gradient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-player video {
  object-fit: contain;
  z-index: 1;
}

.player-cover {
  z-index: 2;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000000;
}

.player-cover img {
  object-fit: cover;
}

.player-gradient {
  background:
    radial-gradient(circle at center, rgba(34, 211, 238, 0.14), transparent 22rem),
    linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.22));
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 82px;
  height: 82px;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.14);
}

.player-start span {
  position: absolute;
  left: 33px;
  top: 25px;
  border-left: 25px solid #020617;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}

.movie-player.is-playing .player-cover {
  opacity: 0;
  pointer-events: none;
}

.detail-content {
  padding: 26px 0 0;
}

.detail-content h1 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
}

.detail-meta {
  margin-bottom: 16px;
}

.detail-meta a {
  color: var(--cyan);
}

.detail-tags {
  margin-bottom: 28px;
}

.detail-content section {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.55);
}

.detail-content h2,
.side-panel h2,
.poster-card h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 22px;
}

.detail-content p,
.poster-card p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.9;
}

.detail-side {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.poster-card {
  overflow: hidden;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.poster-card div {
  padding: 20px;
}

.side-panel {
  padding: 22px;
}

.side-panel dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0;
}

.side-panel dt {
  color: var(--soft);
}

.side-panel dd {
  margin: 0;
  color: #cbd5e1;
}

.related-section {
  padding-top: 52px;
}

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

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

.footer-logo {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 850;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

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

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

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

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: var(--soft);
  border-top: 1px solid rgba(148, 163, 184, 0.10);
}

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

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

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

  .two-column-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .hero-carousel {
    height: 620px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-content {
    bottom: 88px;
  }

  .hero-info {
    gap: 8px 12px;
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-movie-grid,
  .category-grid,
  .overview-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .page-hero {
    padding: 34px 24px;
  }
}

@media (max-width: 620px) {
  .header-inner {
    width: min(100% - 24px, 1280px);
    height: 64px;
  }

  .brand {
    font-size: 20px;
  }

  .hero-carousel {
    min-height: 560px;
  }

  .hero-content {
    left: 18px;
    width: calc(100% - 36px);
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-dots {
    left: 18px;
    right: auto;
  }

  .site-section,
  .page-shell,
  .detail-shell {
    width: min(100% - 24px, 1280px);
  }

  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-movie-grid,
  .category-grid,
  .overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-item {
    grid-template-columns: 38px 78px minmax(0, 1fr);
    gap: 10px;
  }

  .page-search {
    flex-direction: column;
  }

  .page-search button {
    padding: 14px 18px;
  }

  .footer-bottom,
  .footer-grid {
    width: min(100% - 24px, 1280px);
  }
}
