:root {
  --stone-950: #1c1917;
  --stone-900: #292524;
  --stone-800: #44403c;
  --stone-700: #57534e;
  --stone-600: #78716c;
  --stone-500: #a8a29e;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(68, 64, 60, 0.18);
  --shadow-card: 0 12px 30px rgba(68, 64, 60, 0.16);
  --radius-lg: 18px;
  --radius-xl: 26px;
  color-scheme: light;
}

* {
  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;
  background: linear-gradient(180deg, #fafaf9 0%, rgba(254, 243, 199, 0.36) 52%, #fafaf9 100%);
  color: var(--stone-800);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.88);
  border-bottom: 1px solid rgba(214, 211, 209, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--stone-900);
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-500));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.3);
}

.brand-text {
  font-size: 20px;
}

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

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--stone-700);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--amber-700);
  background: var(--amber-100);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--stone-100);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--stone-800);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px 16px;
}

.hero {
  position: relative;
  height: 78vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--stone-900);
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 24%, rgba(245, 158, 11, 0.34), transparent 28%),
    linear-gradient(0deg, rgba(28, 25, 23, 0.96) 0%, rgba(28, 25, 23, 0.66) 42%, rgba(28, 25, 23, 0.18) 100%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  bottom: 72px;
  z-index: 2;
  max-width: 780px;
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.92);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.28);
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: rgba(245, 245, 244, 0.92);
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.primary-button,
.ghost-button,
.section-more,
.filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  background: var(--amber-600);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(217, 119, 6, 0.34);
}

.primary-button:hover,
.filter-reset:hover {
  background: var(--amber-700);
  transform: translateY(-2px);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.ghost-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  color: var(--white);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.54);
  transform: translateY(-50%) scale(1.06);
}

.hero-control.prev {
  left: 24px;
}

.hero-control.next {
  right: 24px;
}

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

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

.hero-dot.active {
  width: 54px;
  background: var(--amber-500);
}

.content-section,
.page-main,
.detail-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 22px;
}

.content-section + .content-section {
  padding-top: 8px;
}

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

.section-heading h2,
.panel-title h2,
.detail-article h2,
.detail-side h2,
.player-section h2 {
  margin: 0;
  color: var(--stone-900);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--stone-600);
  line-height: 1.7;
}

.section-more,
.panel-title a {
  color: var(--amber-700);
  background: var(--amber-100);
}

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

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

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

.movie-card {
  min-width: 0;
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--stone-200), var(--amber-100));
  box-shadow: var(--shadow-card);
  transform: translateZ(0);
}

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

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

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(28, 25, 23, 0.86));
}

.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.type-badge {
  top: 10px;
  right: 10px;
  background: rgba(217, 119, 6, 0.92);
}

.rank-badge {
  left: 10px;
  bottom: 10px;
  background: rgba(28, 25, 23, 0.82);
}

.movie-info {
  padding: 12px 2px 0;
}

.movie-info h3 {
  margin: 0;
  color: var(--stone-900);
  font-size: 16px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-info h3 a:hover {
  color: var(--amber-700);
}

.movie-meta {
  margin: 6px 0 0;
  color: var(--stone-600);
  font-size: 13px;
  line-height: 1.5;
}

.movie-line {
  margin: 8px 0 0;
  color: var(--stone-700);
  font-size: 14px;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag-row span {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 800;
}

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

.category-tile,
.category-card-large {
  border: 1px solid rgba(214, 211, 209, 0.84);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 36px rgba(68, 64, 60, 0.1);
  overflow: hidden;
}

.category-tile {
  padding: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover,
.category-card-large:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.category-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.category-images img {
  aspect-ratio: 2 / 3;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  background: var(--stone-200);
}

.category-tile strong {
  display: block;
  color: var(--stone-900);
  font-size: 20px;
}

.category-tile em {
  display: block;
  margin-top: 8px;
  color: var(--stone-600);
  font-size: 14px;
  line-height: 1.65;
  font-style: normal;
}

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

.ranking-panel,
.detail-side,
.detail-article,
.filter-panel,
.player-section {
  border: 1px solid rgba(214, 211, 209, 0.84);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 38px rgba(68, 64, 60, 0.11);
}

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

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-card {
  display: grid;
  grid-template-columns: auto 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  background: rgba(245, 245, 244, 0.72);
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-card:hover {
  background: var(--amber-100);
  transform: translateX(3px);
}

.mini-card img {
  width: 54px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--stone-200);
}

.mini-card b {
  display: block;
  color: var(--stone-900);
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-card em {
  display: block;
  margin-top: 4px;
  color: var(--stone-600);
  font-size: 12px;
  line-height: 1.35;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-rank {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--amber-600);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

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

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 34px;
  padding: 52px;
  border-radius: 32px;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 30%, rgba(245, 158, 11, 0.45), transparent 24%),
    linear-gradient(135deg, var(--stone-950), var(--stone-800));
  box-shadow: var(--shadow-soft);
}

.page-hero span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.92);
  font-weight: 900;
}

.page-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(245, 245, 244, 0.86);
  font-size: 18px;
  line-height: 1.78;
}

.category-list-large {
  display: grid;
  gap: 22px;
}

.category-card-large {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card-media {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.category-card-media img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  background: var(--stone-200);
}

.category-card-large h2 {
  margin: 4px 0 10px;
  color: var(--stone-900);
  font-size: 28px;
}

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

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px 180px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 26px;
  padding: 18px;
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--stone-700);
  font-size: 13px;
  font-weight: 900;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--stone-200);
  border-radius: 14px;
  background: var(--white);
  color: var(--stone-900);
  outline: none;
  padding: 0 14px;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.filter-reset {
  height: 46px;
  border: 0;
  background: var(--amber-600);
  color: var(--white);
  cursor: pointer;
}

.empty-state {
  margin: 24px 0;
  padding: 28px;
  border-radius: 22px;
  background: var(--amber-100);
  color: var(--amber-700);
  text-align: center;
  font-weight: 900;
}

.top-rank-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 20px;
}

.top-rank-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

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

.top-rank-card:hover img {
  transform: scale(1.06);
}

.top-rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(28, 25, 23, 0.92));
}

.top-rank-card span,
.top-rank-card strong,
.top-rank-card em {
  position: absolute;
  z-index: 2;
  left: 22px;
}

.top-rank-card span {
  top: 22px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--amber-600);
  font-weight: 900;
}

.top-rank-card strong {
  right: 22px;
  bottom: 56px;
  font-size: 24px;
  line-height: 1.25;
}

.top-rank-card em {
  right: 22px;
  bottom: 24px;
  color: rgba(245, 245, 244, 0.86);
  font-style: normal;
}

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

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

.detail-main {
  padding-top: 34px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 34px;
  align-items: end;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.28), transparent 28%),
    linear-gradient(135deg, var(--stone-950), var(--stone-800));
  color: var(--white);
  box-shadow: var(--shadow-soft);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  background: var(--stone-200);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.detail-intro h1 {
  margin: 18px 0 14px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.detail-one-line {
  max-width: 840px;
  color: rgba(245, 245, 244, 0.9);
  font-size: 18px;
  line-height: 1.76;
}

.detail-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.detail-meta-grid span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.detail-tags span {
  background: rgba(245, 158, 11, 0.2);
  color: #fed7aa;
}

.player-section {
  margin-top: 34px;
  padding: 22px;
}

.player-section h2 {
  margin-bottom: 18px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  aspect-ratio: 16 / 9;
}

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

.player-video {
  object-fit: contain;
  background: #000;
}

.player-cover {
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  color: var(--white);
  cursor: pointer;
  background: transparent;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

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

.player-cover-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.26), transparent 28%),
    linear-gradient(180deg, rgba(28, 25, 23, 0.26), rgba(28, 25, 23, 0.86));
}

.play-icon {
  position: relative;
  z-index: 4;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--amber-600);
  box-shadow: 0 18px 42px rgba(217, 119, 6, 0.35);
  font-size: 34px;
  text-indent: 5px;
}

.play-text {
  position: relative;
  z-index: 4;
  margin-top: 112px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

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

.detail-article,
.detail-side {
  padding: 28px;
}

.detail-article h2 + p {
  margin-top: 12px;
}

.detail-article p {
  margin: 0 0 26px;
  color: var(--stone-700);
  font-size: 17px;
  line-height: 1.9;
}

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

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

.detail-side dd {
  margin: 0;
  color: var(--stone-800);
  line-height: 1.55;
}

.related-section {
  padding-left: 0;
  padding-right: 0;
}

.site-footer {
  margin-top: 42px;
  background: var(--stone-950);
  color: rgba(245, 245, 244, 0.78);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 38px 22px;
  display: flex;
  justify-content: space-between;
  gap: 34px;
}

.footer-brand {
  color: var(--white);
  font-size: 22px;
}

.footer-inner p {
  max-width: 520px;
  margin: 12px 0 0;
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 460px;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-links a:hover {
  background: rgba(245, 158, 11, 0.24);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 22px;
  text-align: center;
  color: rgba(245, 245, 244, 0.58);
}

@media (max-width: 1180px) {
  .movie-grid,
  .archive-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .split-section,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }

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

  .filter-panel .search-field {
    grid-column: 1 / -1;
  }
}

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

  .mobile-menu-button {
    display: block;
  }

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

  .hero {
    height: 70vh;
    min-height: 520px;
  }

  .hero-content {
    left: 22px;
    right: 22px;
    bottom: 72px;
  }

  .hero-control {
    display: none;
  }

  .content-section,
  .page-main,
  .detail-main {
    padding-left: 16px;
    padding-right: 16px;
  }

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

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

  .category-card-large,
  .detail-hero {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    display: grid;
  }

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

@media (max-width: 620px) {
  .header-inner {
    padding: 12px 16px;
  }

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

  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    -webkit-line-clamp: 3;
  }

  .hero-actions {
    display: grid;
  }

  .section-heading,
  .panel-title {
    display: grid;
    align-items: start;
  }

  .movie-grid,
  .archive-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .page-hero,
  .detail-hero {
    padding: 28px;
    border-radius: 26px;
  }

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

  .movie-info h3 {
    font-size: 15px;
  }

  .movie-line {
    font-size: 13px;
  }

  .player-section,
  .detail-article,
  .detail-side {
    padding: 18px;
  }

  .play-icon {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
