:root {
  --bg: #07111f;
  --bg-soft: #0f172a;
  --surface: #111827;
  --surface-soft: #172033;
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #f59e0b;
  --accent-strong: #d97706;
  --card: rgba(15, 23, 42, 0.86);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.18), transparent 32rem), var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(7, 17, 31, 0.88);
  border-color: var(--line);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(18px);
}

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

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ef4444);
  box-shadow: 0 14px 30px rgba(245, 158, 11, 0.32);
}

.brand-text {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 18px;
  letter-spacing: 0.03em;
}

.brand-text em {
  font-size: 12px;
  color: var(--muted-strong);
  font-style: normal;
}

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

.nav-link {
  position: relative;
  color: var(--muted-strong);
  font-size: 15px;
  padding: 8px 2px;
  transition: color 0.2s ease;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease;
}

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

.header-search,
.mobile-search,
.large-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.large-search input,
.page-tools input {
  min-width: 0;
  color: var(--text);
  border: 1px solid var(--line);
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 210px;
  padding: 10px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.page-tools input:focus {
  border-color: rgba(245, 158, 11, 0.76);
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

.header-search button,
.mobile-search button,
.large-search button {
  border: 0;
  cursor: pointer;
  color: #fff;
  border-radius: 999px;
  background: var(--accent);
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button {
  padding: 10px 16px;
}

.large-search button {
  padding: 14px 28px;
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

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

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(18px);
}

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

.mobile-link {
  padding: 10px 12px;
  color: var(--muted-strong);
  border-radius: 12px;
}

.mobile-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

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

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

.hero-stage,
.hero-slide {
  position: absolute;
  inset: 0;
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(15, 23, 42, 0.82) 42%, rgba(15, 23, 42, 0.22) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  padding-top: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1180px;
}

.hero-content > * {
  max-width: 720px;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  color: #fde68a;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.26);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 0;
  color: var(--muted-strong);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

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

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

.hero-tags span,
.tag-row span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: var(--muted-strong);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

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

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ef4444);
  box-shadow: 0 18px 35px rgba(245, 158, 11, 0.28);
}

.btn-ghost {
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.btn-link {
  color: #fde68a;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(15, 23, 42, 0.44);
  border-radius: 999px;
  cursor: pointer;
  font-size: 34px;
  backdrop-filter: blur(14px);
}

.hero-prev {
  left: 28px;
}

.hero-next {
  right: 28px;
}

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

.hero-dot {
  width: 42px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--accent);
}

.search-panel {
  position: relative;
  z-index: 8;
  margin-top: -38px;
}

.large-search {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.large-search input {
  flex: 1;
  padding: 14px 18px;
}

.section {
  padding: 78px 0;
}

.section-dark {
  background: rgba(2, 6, 23, 0.48);
}

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

.section-head h2,
.rank-head h2,
.text-card h2 {
  margin: 12px 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-head p,
.rank-head p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-more,
.text-link {
  color: #fde68a;
  font-weight: 700;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.48);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.32);
}

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

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(2, 6, 23, 0.88));
}

.poster-play {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(245, 158, 11, 0.9);
  box-shadow: 0 14px 28px rgba(245, 158, 11, 0.25);
}

.card-content {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 10px;
  color: #fde68a;
  font-size: 12px;
}

.card-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
}

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

.movie-card h3 a:hover {
  color: #fde68a;
}

.movie-card p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.tag-row span {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 12px;
}

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

.category-tile {
  position: relative;
  min-height: 180px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #0f172a;
}

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

.category-tile:hover img {
  transform: scale(1.07);
  opacity: 0.82;
}

.category-tile span {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.1));
}

.category-tile strong,
.category-tile em {
  position: absolute;
  left: 16px;
  right: 16px;
  z-index: 2;
}

.category-tile strong {
  bottom: 48px;
  font-size: 18px;
}

.category-tile em {
  bottom: 18px;
  color: var(--muted-strong);
  font-size: 13px;
  font-style: normal;
}

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

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.86);
  box-shadow: var(--shadow);
}

.rank-head {
  margin-bottom: 18px;
}

.rank-head span {
  color: #fde68a;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rank-head a {
  color: #fde68a;
  font-weight: 700;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 34px 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
}

.rank-item:hover {
  background: rgba(245, 158, 11, 0.12);
}

.rank-number {
  color: #fde68a;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 48px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-score {
  color: #fde68a;
  font-weight: 800;
}

.page-main {
  padding-top: 76px;
}

.page-hero {
  position: relative;
  padding: 96px 0 72px;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.22), transparent 34rem),
    linear-gradient(135deg, #0f172a, #020617);
  border-bottom: 1px solid var(--line);
}

.small-hero {
  min-height: 340px;
  display: flex;
  align-items: center;
}

.page-hero h1 {
  margin: 16px 0 14px;
  font-size: clamp(36px, 6vw, 62px);
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.8;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--muted-strong);
  font-size: 14px;
}

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

.page-tools {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin-top: 28px;
}

.page-tools input {
  width: 100%;
  padding: 15px 18px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  border: 1px solid var(--line);
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.is-active {
  color: #fff;
  background: rgba(245, 158, 11, 0.82);
  border-color: rgba(245, 158, 11, 0.82);
}

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

.category-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.category-cover {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 4px;
  background: #020617;
}

.category-cover img {
  width: 100%;
  height: 132px;
  object-fit: cover;
  border-radius: 12px;
}

.category-body {
  padding: 24px;
}

.category-body h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.category-body p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

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

.rank-hero-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.rank-hero-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.rank-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), transparent 62%);
}

.rank-medal,
.rank-hero-card strong,
.rank-hero-card em {
  position: absolute;
  z-index: 2;
}

.rank-medal {
  top: 18px;
  left: 18px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ef4444);
  font-weight: 900;
}

.rank-hero-card strong {
  left: 22px;
  right: 22px;
  bottom: 56px;
  font-size: 24px;
}

.rank-hero-card em {
  left: 22px;
  bottom: 24px;
  color: #fde68a;
  font-style: normal;
  font-weight: 900;
}

.detail-main {
  background: var(--bg);
}

.detail-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 96px;
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(24px) saturate(1.16);
  transform: scale(1.08);
  opacity: 0.42;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.72)),
    linear-gradient(0deg, var(--bg), transparent 42%);
}

.detail-container {
  position: relative;
  z-index: 2;
}

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

.detail-poster {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

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

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

.detail-one-line {
  max-width: 800px;
  margin: 0 0 24px;
  color: var(--muted-strong);
  font-size: 20px;
  line-height: 1.8;
}

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

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

.player {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
  cursor: pointer;
}

.player-start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.16), rgba(2, 6, 23, 0.58));
}

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

.player-start span {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  color: #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ef4444);
  box-shadow: 0 20px 55px rgba(245, 158, 11, 0.34);
  font-size: 34px;
}

.player-message {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  padding: 14px 16px;
  color: #fff;
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 16px;
  background: rgba(127, 29, 29, 0.76);
}

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

.text-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.18);
}

.text-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.9;
  font-size: 16px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, #020617, #0f172a);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 38px;
}

.footer-brand p {
  max-width: 460px;
  color: var(--muted);
  line-height: 1.8;
}

.brand-footer .brand-text strong {
  color: #fff;
}

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

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

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

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

.footer-bottom {
  padding: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

[data-card].is-hidden {
  display: none;
}

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

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

  .two-column {
    grid-template-columns: 1fr;
  }

  .rank-panel {
    position: static;
  }
}

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

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

  .header-inner {
    height: 68px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    padding-top: 120px;
    justify-content: flex-start;
  }

  .hero-arrow {
    display: none;
  }

  .large-search {
    flex-direction: column;
    align-items: stretch;
  }

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

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-list-grid,
  .rank-hero-grid,
  .detail-text-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .detail-hero {
    padding: 110px 0 60px;
  }

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

@media (max-width: 560px) {
  .container,
  .header-inner,
  .mobile-nav,
  .footer-inner {
    width: min(100% - 24px, 1180px);
  }

  .brand-text em {
    display: none;
  }

  .hero h1,
  .detail-info h1 {
    letter-spacing: -0.04em;
  }

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

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-list-grid,
  .rank-hero-grid,
  .detail-text-grid {
    grid-template-columns: 1fr;
  }

  .category-tile {
    min-height: 150px;
  }

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

  .category-cover img {
    height: 92px;
  }

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

  .player-start span {
    width: 72px;
    height: 72px;
  }
}
