:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --yellow-100: #fef9c3;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.12);
  --shadow-strong: 0 24px 55px rgba(17, 24, 39, 0.18);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(135deg, var(--amber-50), var(--orange-50), #fffdf5);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(249, 115, 22, 0.12);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-icon,
.footer-brand span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.28);
}

.brand-text strong,
.footer-brand strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  font-weight: 800;
  color: transparent;
  background: linear-gradient(90deg, var(--amber-600), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-text em {
  display: block;
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  border-radius: 999px;
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--orange-500);
}

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

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: var(--gray-800);
  background: var(--orange-50);
  border-radius: 12px;
  cursor: pointer;
}

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

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

.mobile-link {
  padding: 12px 14px;
  color: var(--gray-700);
  background: var(--white);
  border-radius: 12px;
}

.mobile-link.is-active {
  color: var(--orange-600);
  background: var(--orange-50);
}

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(110deg, var(--orange-500), var(--amber-500));
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 18%), radial-gradient(circle at 88% 14%, rgba(255, 255, 255, 0.16), transparent 16%), radial-gradient(circle at 42% 88%, rgba(255, 255, 255, 0.12), transparent 20%);
  content: "";
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) blur(1px);
  transform: scale(1.04);
}

.hero-background::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.94), rgba(245, 158, 11, 0.72), rgba(17, 24, 39, 0.58));
  content: "";
}

.hero-content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 54px;
  align-items: center;
  min-height: 600px;
  padding: 54px 0;
}

.hero-copy {
  max-width: 720px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 16px;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero h1 span {
  display: block;
  margin-top: 10px;
  color: #fef3c7;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
}

.hero p {
  max-width: 620px;
  margin: 0 0 22px;
  color: var(--orange-50);
  font-size: clamp(18px, 2.2vw, 26px);
}

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

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  color: var(--orange-700);
  background: var(--orange-50);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

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

.primary-button,
.secondary-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--orange-600);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(255, 255, 255, 0.22);
}

.secondary-button {
  color: var(--white);
  background: rgba(194, 65, 12, 0.72);
  box-shadow: 0 14px 28px rgba(17, 24, 39, 0.16);
}

.primary-button:hover,
.secondary-button:hover,
.text-button:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--orange-100), var(--yellow-100));
  border: 10px solid rgba(255, 255, 255, 0.2);
  border-radius: 34px;
  box-shadow: var(--shadow-strong);
}

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

.hero-poster span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  color: var(--orange-500);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.2);
}

.hero-poster:hover img {
  transform: scale(1.08);
}

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

.hero-controls button {
  border: 0;
  cursor: pointer;
}

.hero-controls > button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  font-size: 28px;
  backdrop-filter: blur(8px);
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 999px;
}

.hero-dots button.is-active {
  width: 32px;
  background: var(--white);
}

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

.quick-search-panel {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.search-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.search-box input {
  min-height: 52px;
  padding: 0 18px;
  color: var(--gray-800);
  background: var(--gray-50);
  border: 1px solid var(--orange-100);
  border-radius: 999px;
  outline: none;
}

.search-box input:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

.search-box button {
  min-height: 52px;
  padding: 0 24px;
  color: var(--white);
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.quick-chips,
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-chips a,
.filter-bar button {
  padding: 9px 14px;
  color: var(--orange-700);
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.filter-bar button {
  cursor: pointer;
}

.filter-bar button.is-active {
  color: var(--white);
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  border-color: transparent;
}

.service-strip,
.white-section {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 56px 0;
  text-align: center;
}

.service-grid article {
  padding: 24px;
  background: linear-gradient(135deg, #fff, var(--orange-50));
  border: 1px solid var(--orange-100);
  border-radius: 22px;
}

.service-grid span {
  display: block;
  margin-bottom: 12px;
  font-size: 38px;
}

.service-grid h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.service-grid p {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

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

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

.section-heading h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 900;
}

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

.section-link,
.text-button {
  color: var(--orange-600);
  font-weight: 800;
}

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

.movie-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--orange-100), var(--yellow-100));
}

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

.movie-card:hover .poster-wrap img,
.category-tile:hover img,
.category-covers:hover img {
  transform: scale(1.08);
}

.play-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(17, 24, 39, 0);
  font-size: 42px;
  opacity: 0;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.movie-card:hover .play-mark {
  background: rgba(17, 24, 39, 0.3);
  opacity: 1;
}

.year-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--orange-500);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  right: auto;
  left: 10px;
  display: grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  padding: 0 8px;
  background: var(--gray-900);
}

.card-body {
  padding: 16px;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.card-meta span,
.detail-meta span {
  padding: 4px 9px;
  color: var(--orange-600);
  background: var(--orange-50);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.card-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.card-body h3 a:hover,
.ranking-info h2 a:hover,
.detail-side a:hover {
  color: var(--orange-500);
}

.card-body p {
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 14px;
}

.score-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.score-row span {
  color: var(--amber-600);
  font-weight: 900;
}

.score-row a {
  color: var(--orange-600);
  font-size: 13px;
  font-weight: 900;
}

.ranking-section {
  padding: 72px 0;
  color: var(--white);
  background: linear-gradient(110deg, var(--orange-500), var(--amber-500));
}

.ranking-section .section-heading h2,
.ranking-section .section-heading p,
.ranking-section .section-link {
  color: var(--white);
}

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

.movie-card-compact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  min-height: 158px;
}

.movie-card-compact .poster-wrap {
  aspect-ratio: auto;
  height: 100%;
}

.movie-card-compact .card-body p {
  min-height: auto;
}

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  padding: 22px;
  color: var(--white);
  background: var(--gray-900);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

.category-tile::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.82));
  content: "";
}

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

.category-tile span {
  display: block;
  margin-top: 82px;
  font-size: 24px;
  font-weight: 900;
}

.category-tile p {
  margin: 10px 0 0;
  color: #f9fafb;
  font-size: 14px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(110deg, var(--orange-500), var(--amber-500));
}

.compact-hero .container {
  padding: 72px 0;
}

.page-hero h1 {
  max-width: 800px;
  margin: 0 0 14px;
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 900;
  line-height: 1.05;
}

.page-hero p {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--orange-50);
  font-size: 18px;
}

.page-search {
  max-width: 820px;
  margin-bottom: 16px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  background: var(--white);
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(17, 24, 39, 0.08);
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  overflow: hidden;
  min-height: 150px;
  border-radius: 18px;
}

.category-covers img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-overview-card h2 {
  margin: 6px 0 10px;
  font-size: 24px;
}

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

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

.ranking-row {
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  background: var(--white);
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.ranking-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
}

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

.ranking-poster span {
  position: absolute;
  top: 8px;
  left: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--white);
  background: var(--orange-500);
  border-radius: 50%;
  font-weight: 900;
}

.ranking-info h2 {
  margin: 3px 0 6px;
  font-size: 24px;
}

.ranking-info p {
  margin: 0 0 8px;
  color: var(--gray-600);
}

.sub-meta {
  color: var(--orange-600) !important;
  font-size: 14px;
  font-weight: 800;
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) saturate(1.1);
  transform: scale(1.05);
}

.detail-bg::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(234, 88, 12, 0.94), rgba(245, 158, 11, 0.72), rgba(17, 24, 39, 0.7));
  content: "";
}

.detail-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  min-height: 560px;
  padding: 58px 0;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 8px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--orange-50);
  font-size: 14px;
}

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

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.04;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--orange-50);
  font-size: 20px;
}

.detail-copy .primary-button {
  margin-top: 26px;
}

.player-section {
  padding: 62px 0 32px;
  background: var(--white);
}

.player-section h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 42px);
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #050505;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #050505;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.58));
  border: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-button {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  padding-left: 5px;
  color: var(--orange-500);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  font-size: 40px;
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.28);
}

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

.detail-article,
.detail-side {
  padding: 28px;
  background: var(--white);
  border: 1px solid rgba(249, 115, 22, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  color: var(--gray-800);
  font-size: 26px;
}

.detail-article h2:not(:first-child) {
  margin-top: 28px;
}

.detail-article p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 10px 14px;
  margin: 0;
}

.detail-side dt {
  color: var(--gray-500);
  font-weight: 800;
}

.detail-side dd {
  margin: 0;
  color: var(--gray-800);
}

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

.empty-state {
  display: none;
  margin: 28px 0 0;
  padding: 20px;
  color: var(--gray-600);
  text-align: center;
  background: var(--white);
  border-radius: 16px;
}

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

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

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

  .hero-content {
    gap: 28px;
  }

  .hero-poster,
  .detail-poster {
    width: min(320px, 76vw);
  }

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

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

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

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

  .header-inner {
    min-height: 68px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-text em {
    display: none;
  }

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

  .hero-content {
    padding: 38px 0 76px;
  }

  .hero-poster,
  .detail-poster {
    width: min(260px, 70vw);
  }

  .hero-actions,
  .section-heading,
  .score-row {
    align-items: stretch;
    flex-direction: column;
  }

  .quick-search-section {
    margin-top: -24px;
  }

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

  .service-grid,
  .movie-grid,
  .category-grid,
  .ranking-row,
  .category-overview-card,
  .movie-card-compact,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-compact .poster-wrap {
    aspect-ratio: 3 / 4;
  }

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

  .ranking-section {
    padding: 48px 0;
  }

  .detail-layout {
    min-height: auto;
    padding: 42px 0;
  }

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

  .player-shell {
    border-radius: 18px;
  }

  .play-button {
    width: 68px;
    height: 68px;
    font-size: 30px;
  }
}
