:root {
  --color-primary: #0f9f9a;
  --color-primary-dark: #0f766e;
  --color-secondary: #0891b2;
  --color-accent: #f59e0b;
  --color-bg: #f8fafc;
  --color-soft: #eef7f8;
  --color-ink: #0f172a;
  --color-muted: #64748b;
  --color-card: #ffffff;
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 118, 110, 0.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: linear-gradient(180deg, #f8fafc 0%, #eef7f8 48%, #f8fafc 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, #0f766e 0%, #0891b2 100%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  font-size: 20px;
}

.logo-text {
  font-size: 20px;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fde68a;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: #fde68a;
  transition: transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-button span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-link.active,
.mobile-link:hover {
  color: #fde68a;
  background: rgba(255, 255, 255, 0.18);
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 12% 20%, rgba(20, 184, 166, 0.9), transparent 28%), linear-gradient(125deg, #0f766e 0%, #0891b2 45%, #1d4ed8 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(42px);
  opacity: 0.28;
  pointer-events: none;
}

.hero-glow-left {
  width: 360px;
  height: 360px;
  left: 5%;
  top: 6%;
  background: #ffffff;
}

.hero-glow-right {
  width: 420px;
  height: 420px;
  right: 4%;
  bottom: -8%;
  background: #f59e0b;
}

.hero-container {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 600px;
  margin: 0 auto;
  padding: 70px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.6fr);
  gap: 32px;
  align-items: stretch;
}

.hero-slider {
  position: relative;
  min-height: 460px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.35);
  background: rgba(15, 23, 42, 0.26);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-media {
  position: relative;
  min-height: 460px;
  background: rgba(15, 23, 42, 0.36);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.74));
}

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

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 54px 48px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.74), rgba(15, 118, 110, 0.18));
}

.hero-kicker,
.page-kicker,
.panel-label,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ecfeff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-weight: 700;
  font-size: 14px;
}

.hero-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy p,
.hero-panel p,
.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

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

.hero-tags span,
.tag-row span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span,
.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
}

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

.button,
.search-form button,
.hero-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary,
.search-form button,
.hero-search button {
  color: #ffffff;
  background: linear-gradient(90deg, #0f766e, #0891b2);
  box-shadow: var(--shadow-soft);
}

.button.ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.button.ghost.dark {
  color: #0f766e;
  background: rgba(15, 118, 110, 0.08);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.16);
}

.hero-controls {
  position: absolute;
  left: 48px;
  right: 48px;
  bottom: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-arrow {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  font-size: 28px;
  line-height: 1;
}

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

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

.hero-dot.is-active {
  width: 28px;
  background: #fde68a;
}

.hero-panel {
  border-radius: var(--radius-xl);
  padding: 34px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 60px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-panel h2 {
  margin: 18px 0 14px;
  font-size: 30px;
  line-height: 1.2;
}

.hero-search {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.hero-search input,
.search-field input,
.filter-panel select {
  width: 100%;
  border: 0;
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.94);
  color: var(--color-ink);
  padding: 12px 16px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.hero-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-category-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-category-links a:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.content-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
}

.soft-section {
  width: 100%;
  padding-left: max(16px, calc((100% - 1180px) / 2));
  padding-right: max(16px, calc((100% - 1180px) / 2));
  background: linear-gradient(180deg, rgba(236, 254, 255, 0.68), rgba(248, 250, 252, 0));
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

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

.section-link {
  color: var(--color-primary-dark);
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-card);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-cover-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(160deg, #dff7f7, #dbeafe);
}

.compact-card .movie-cover-link {
  aspect-ratio: 3 / 4;
}

.movie-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.72));
  opacity: 0.7;
}

.card-badge,
.type-badge {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.card-badge {
  left: 10px;
  background: #dc2626;
}

.type-badge {
  right: 10px;
  background: rgba(15, 23, 42, 0.66);
}

.play-float {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

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

.movie-card-body h2 {
  margin: 0 0 8px;
  color: var(--color-ink);
  font-size: 18px;
  line-height: 1.35;
}

.compact-card .movie-card-body h2 {
  font-size: 16px;
}

.movie-card-body h2 a:hover {
  color: var(--color-primary-dark);
}

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

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
}

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

.category-card,
.category-overview-card,
.filter-panel,
.story-block {
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.category-card {
  padding: 22px;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-card-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  font-weight: 900;
}

.category-card p {
  color: var(--color-muted);
  margin: 16px 0;
}

.category-mini-links,
.category-link-list {
  display: grid;
  gap: 8px;
}

.category-mini-links a,
.category-link-list a {
  color: var(--color-primary-dark);
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-list,
.rank-page-list {
  display: grid;
  gap: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: 54px 64px minmax(0, 1fr) minmax(160px, auto) 74px;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-card);
}

.rank-index {
  font-size: 22px;
  color: var(--color-primary-dark);
  font-weight: 900;
  text-align: center;
}

.rank-row img {
  width: 64px;
  height: 84px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2e8f0;
}

.rank-title {
  min-width: 0;
  color: var(--color-ink);
  font-size: 18px;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-meta {
  color: var(--color-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-action {
  color: #ffffff;
  background: var(--color-primary-dark);
  border-radius: 999px;
  padding: 8px 12px;
  text-align: center;
  font-weight: 800;
}

.filter-panel {
  padding: 18px;
  margin-bottom: 28px;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(120px, 0.35fr)) auto;
  gap: 12px;
  align-items: end;
}

.search-form label {
  display: grid;
  gap: 6px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 800;
}

.search-field input,
.filter-panel select {
  min-height: 44px;
  border-radius: 14px;
  background: #f8fafc;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #0f766e 0%, #0891b2 48%, #1d4ed8 100%);
  color: #ffffff;
}

.page-hero {
  padding: 76px max(16px, calc((100% - 1180px) / 2));
}

.page-hero > div {
  max-width: 760px;
}

.page-hero h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
}

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

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

.category-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 190px;
  background: #e2e8f0;
}

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

.category-cover span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.62);
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 900;
}

.category-overview-card h2 {
  margin: 4px 0 10px;
}

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

.detail-hero {
  padding: 54px max(16px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #e2e8f0;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.3);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
}

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

.detail-info h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1.1;
}

.detail-one-line {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 10px 18px;
  margin: 22px 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

.player-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 24px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #020617;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.18), rgba(2, 6, 23, 0.48));
}

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

.player-start {
  width: 82px;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.94);
  font-size: 32px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.35);
  transform: scale(1);
  transition: transform 0.2s ease;
}

.player-overlay:hover .player-start {
  transform: scale(1.08);
}

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

.story-block {
  padding: 26px;
}

.story-block h2 {
  margin: 0 0 12px;
  color: var(--color-ink);
  font-size: 24px;
}

.story-block p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.85;
}

.single-heading {
  align-items: flex-start;
}

.site-footer {
  margin-top: 40px;
  color: #cbd5e1;
  background: linear-gradient(180deg, #1f2937 0%, #0f172a 100%);
}

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

.footer-logo .logo-mark {
  background: rgba(20, 184, 166, 0.22);
}

.footer-brand p,
.footer-column p {
  color: #94a3b8;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 9px;
}

.footer-column h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 16px;
}

.footer-column a:hover {
  color: #5eead4;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  text-align: center;
  padding: 18px 16px;
  color: #94a3b8;
}

.no-results {
  display: none;
  padding: 26px;
  border-radius: 18px;
  text-align: center;
  color: var(--color-muted);
  background: #ffffff;
}

.no-results.is-visible {
  display: block;
}

@media (max-width: 1024px) {
  .primary-nav {
    gap: 14px;
    font-size: 14px;
  }

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

  .hero-panel {
    min-height: auto;
  }

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

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

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

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .logo-text {
    font-size: 18px;
  }

  .hero-container {
    padding: 32px 0;
  }

  .hero-slider {
    min-height: 620px;
  }

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

  .hero-media {
    min-height: 320px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.82));
  }

  .hero-copy {
    padding: 28px 24px 76px;
  }

  .hero-controls {
    left: 24px;
    right: 24px;
    bottom: 20px;
  }

  .hero-panel {
    padding: 24px;
  }

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

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

  .movie-grid,
  .category-grid,
  .category-overview-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .search-form {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 42px 52px minmax(0, 1fr);
  }

  .rank-meta,
  .rank-action {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 460px) {
  .movie-grid {
    gap: 16px;
  }

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

  .page-hero {
    padding-top: 52px;
    padding-bottom: 52px;
  }
}
