:root {
  --bg: #fff7ed;
  --surface: #ffffff;
  --surface-strong: #fffaf4;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --border: #fde2c6;
  --brand: #ea580c;
  --brand-dark: #c2410c;
  --brand-light: #fb923c;
  --accent: #f59e0b;
  --dark: #111827;
  --shadow: 0 20px 45px rgba(180, 83, 9, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 34%, #fff7ed 100%);
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(253, 186, 116, 0.35);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  color: #ffffff;
  font-size: 17px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 12px 28px rgba(234, 88, 12, 0.28);
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  color: #111827;
  font-size: 20px;
  line-height: 1.15;
}

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

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

.nav-link,
.mobile-nav-link {
  color: #4b5563;
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--brand-dark);
  background: #ffedd5;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #ffedd5;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 5px;
}

.mobile-nav {
  display: none;
  padding: 12px 16px 18px;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
}

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

.mobile-nav-link {
  padding: 12px 14px;
}

.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #111827;
}

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

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

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

.hero-bg img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 30%, rgba(251, 146, 60, 0.36), transparent 28%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.72) 48%, rgba(17, 24, 39, 0.24) 100%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.34) 0%, rgba(17, 24, 39, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  min-height: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 360px;
  align-items: center;
  gap: 68px;
  padding: 92px 0 88px;
}

.hero-copy {
  color: #ffffff;
}

.hero-kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 8px 13px;
  border-radius: 999px;
  color: #9a3412;
  background: #ffedd5;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #fed7aa;
  background: rgba(251, 146, 60, 0.18);
  border: 1px solid rgba(251, 146, 60, 0.32);
}

.hero-copy h1 {
  margin: 22px 0 12px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  max-width: 860px;
  letter-spacing: -0.06em;
}

.hero-copy h2 {
  margin: 0 0 18px;
  color: #fed7aa;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.08;
}

.hero-copy p {
  margin: 0;
  max-width: 720px;
  color: #f3f4f6;
  font-size: 18px;
}

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

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  border: 1px solid rgba(255, 237, 213, 0.28);
  background: rgba(255, 255, 255, 0.1);
  padding: 7px 10px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 14px 30px rgba(234, 88, 12, 0.32);
}

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

.btn-soft {
  color: var(--brand-dark);
  background: #ffedd5;
}

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4.12;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.34);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.66) 100%);
}

.hero-poster span {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.38);
}

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

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

.hero-dot.is-active {
  width: 36px;
  background: #fb923c;
}

.quick-search-panel {
  position: relative;
  z-index: 8;
  margin-top: -42px;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(253, 186, 116, 0.45);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: var(--text);
  background: #fff7ed;
  outline: none;
}

.search-box input:focus {
  border-color: var(--brand-light);
  box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.18);
}

.search-box button {
  height: 50px;
  min-width: 92px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  cursor: pointer;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.quick-links a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #9a3412;
  font-size: 13px;
  font-weight: 800;
  background: #ffedd5;
}

.section-block {
  padding: 74px 0 0;
}

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

.section-heading h2,
.page-hero h1,
.detail-copy h1 {
  margin: 12px 0 0;
  color: #111827;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--muted);
}

.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--brand-dark);
  font-weight: 900;
  background: #ffedd5;
}

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

.category-tile,
.category-overview-card {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(253, 186, 116, 0.55);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 16px 38px rgba(180, 83, 9, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile {
  grid-template-columns: 170px 1fr;
  align-items: center;
  padding: 18px;
}

.category-tile:hover,
.category-overview-card:hover,
.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 52px rgba(180, 83, 9, 0.15);
}

.tile-covers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tile-covers img {
  aspect-ratio: 1 / 1.18;
  border-radius: 12px;
  background: #fdebd7;
}

.category-tile span,
.category-overview-head span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-tile h3,
.card-body h3,
.rank-info h3,
.category-overview-head h2 {
  margin: 6px 0 6px;
  color: #111827;
  line-height: 1.25;
}

.category-tile h3 {
  font-size: 24px;
}

.category-tile p,
.card-body p,
.rank-info p,
.category-overview-head p {
  margin: 0;
  color: var(--muted);
}

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(253, 186, 116, 0.5);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(180, 83, 9, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.1;
  overflow: hidden;
  background: #fff0db;
}

.card-cover img {
  transition: transform 0.35s ease;
}

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

.play-chip {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  padding: 8px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(234, 88, 12, 0.92);
  backdrop-filter: blur(10px);
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 4;
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, #ef4444, #f59e0b);
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.24);
}

.card-body {
  padding: 15px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.card-meta a {
  color: var(--brand-dark);
}

.card-body h3 {
  font-size: 17px;
}

.card-body h3 a:hover,
.rank-info h3 a:hover,
.side-panel a:hover {
  color: var(--brand-dark);
}

.card-body p {
  display: -webkit-box;
  min-height: 44px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
}

.tag-row {
  margin-top: 12px;
}

.tag-row span {
  padding: 5px 8px;
  color: #6b7280;
  background: #f3f4f6;
}

.page-hero {
  position: relative;
  padding: 86px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 20%, rgba(251, 146, 60, 0.28), transparent 30%),
    linear-gradient(135deg, #fff7ed 0%, #ffffff 52%, #ffedd5 100%);
  border-bottom: 1px solid rgba(253, 186, 116, 0.45);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 32px;
  align-items: end;
}

.page-search {
  padding: 12px;
  border: 1px solid rgba(253, 186, 116, 0.58);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow);
}

.filter-strip,
.advanced-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
}

.filter-strip button,
.advanced-filter select {
  min-height: 42px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: #9a3412;
  background: #ffffff;
  cursor: pointer;
}

.filter-strip button {
  padding: 0 16px;
  font-weight: 900;
}

.filter-strip button.is-active,
.filter-strip button:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.advanced-filter {
  align-items: center;
}

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

.advanced-filter select {
  min-width: 190px;
  padding: 0 14px;
  outline: none;
}

.category-overview-card {
  padding: 24px;
}

.mini-cover-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.mini-cover-grid a {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 13px;
  background: #fff0db;
}

.mini-cover-grid span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 8px 8px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}

.rank-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-row {
  display: grid;
  grid-template-columns: 56px 84px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid rgba(253, 186, 116, 0.45);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(180, 83, 9, 0.06);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.rank-thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: #fff0db;
}

.rank-info h3 {
  margin-top: 0;
  font-size: 18px;
}

.rank-info div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.rank-info div span,
.rank-info div a {
  padding: 4px 8px;
  border-radius: 999px;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
  background: #ffedd5;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.36;
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 26%, rgba(251, 146, 60, 0.34), transparent 30%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.94), rgba(17, 24, 39, 0.64)),
    linear-gradient(180deg, rgba(17, 24, 39, 0.1), #111827);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 42px 0 58px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 34px;
  color: #fed7aa;
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb strong {
  color: #ffffff;
}

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

.detail-cover {
  aspect-ratio: 3 / 4.12;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 30px 68px rgba(0, 0, 0, 0.4);
}

.detail-copy h1 {
  color: #ffffff;
  font-size: clamp(36px, 6vw, 64px);
}

.detail-copy p {
  max-width: 780px;
  color: #f3f4f6;
  font-size: 18px;
}

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

.detail-tags span {
  padding: 7px 10px;
  color: #ffffff;
  border: 1px solid rgba(255, 237, 213, 0.22);
  background: rgba(255, 255, 255, 0.1);
}

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

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.24);
  aspect-ratio: 16 / 9;
}

.video-player {
  display: block;
  width: 100%;
  height: 100%;
  background: #000000;
  cursor: pointer;
}

.player-poster {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: #000000;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(234, 88, 12, 0.1), rgba(0, 0, 0, 0.58));
}

.player-poster.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-start {
  position: relative;
  z-index: 4;
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  font-size: 28px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  cursor: pointer;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding-top: 42px;
}

.detail-article,
.side-panel,
.detail-meta-box {
  border: 1px solid rgba(253, 186, 116, 0.45);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(180, 83, 9, 0.07);
}

.detail-article {
  padding: 28px;
}

.detail-text-block + .detail-text-block,
.detail-meta-box {
  margin-top: 26px;
}

.detail-text-block h2,
.side-panel h2,
.detail-meta-box h2 {
  margin: 0 0 12px;
  color: #111827;
  font-size: 24px;
}

.detail-text-block p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
}

.detail-meta-box {
  padding: 22px;
}

.detail-meta-box dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-meta-box dl div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
}

.detail-meta-box dt {
  color: var(--muted);
  font-weight: 900;
}

.detail-meta-box dd {
  margin: 0;
  color: #111827;
}

.detail-meta-box a {
  color: var(--brand-dark);
  font-weight: 900;
}

.side-panel {
  align-self: start;
  padding: 24px;
  position: sticky;
  top: 94px;
}

.side-panel ol {
  display: grid;
  gap: 13px;
  margin: 0;
  padding-left: 20px;
}

.side-panel li {
  color: var(--brand-dark);
  font-weight: 900;
}

.side-panel li span {
  float: right;
  color: var(--muted);
  font-weight: 700;
}

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

.site-footer {
  margin-top: 86px;
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 40px;
  padding: 52px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
}

.site-footer p {
  max-width: 560px;
  color: #9ca3af;
}

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

.site-footer ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #fb923c;
}

.footer-bottom {
  padding: 18px 16px;
  color: #9ca3af;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

  .menu-toggle {
    display: inline-flex;
  }

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

  .hero-content {
    min-height: 720px;
    gap: 34px;
  }

  .hero-poster {
    width: min(320px, 72vw);
    justify-self: start;
  }

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

  .quick-links {
    justify-content: flex-start;
  }

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

  .side-panel {
    position: static;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    height: 66px;
  }

  .brand-text em {
    display: none;
  }

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

  .hero-content {
    padding-top: 54px;
  }

  .hero-copy p,
  .detail-copy p {
    font-size: 16px;
  }

  .search-box,
  .page-search {
    border-radius: 22px;
  }

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

  .search-box button {
    width: 100%;
  }

  .section-heading {
    display: grid;
  }

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

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

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

  .rank-row {
    grid-template-columns: 44px 70px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-info p {
    display: none;
  }

  .detail-grid {
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 18px;
  }

  .detail-cover {
    border-radius: 18px;
  }

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

  .detail-article,
  .side-panel,
  .detail-meta-box {
    padding: 18px;
  }

  .player-start {
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 520px) {
  .movie-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

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

  .detail-cover {
    width: min(220px, 72vw);
  }

  .hero-copy h1 {
    letter-spacing: -0.04em;
  }
}
