
:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --emerald: #059669;
  --emerald-dark: #047857;
  --teal: #0d9488;
  --cyan: #0891b2;
  --blue: #2563eb;
  --pink: #db2777;
  --purple: #7c3aed;
  --orange: #ea580c;
  --amber: #d97706;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 46%, #f8fafc 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.08);
}

.site-nav {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.25);
}

.brand-text {
  font-size: 24px;
  background: linear-gradient(90deg, var(--emerald), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: #334155;
  font-weight: 650;
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #ecfdf5;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--emerald-dark);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #ffffff;
  padding: 12px 24px 20px;
}

.mobile-menu.is-open {
  display: grid;
  gap: 14px;
}

.hero-slider {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: #0f172a;
}

.hero-track {
  position: relative;
  min-height: 600px;
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 600px;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 35%, rgba(16, 185, 129, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.32) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.74), rgba(2, 6, 23, 0.08));
}

.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  max-width: 1180px;
}

.hero-eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 7px 13px;
  border-radius: 999px;
  color: #ecfdf5;
  background: rgba(5, 150, 105, 0.88);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.03em;
}

.eyebrow {
  color: var(--emerald-dark);
  background: #d1fae5;
}

.hero-content h1 {
  width: min(760px, 100%);
  margin: 22px 0 16px;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-summary {
  width: min(740px, 100%);
  color: #e2e8f0;
  font-size: 18px;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.hero-meta span,
.hero-meta strong,
.detail-meta span {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #e5e7eb;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 14px;
}

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

.btn-primary,
.btn-ghost,
.btn-filter-clear,
.global-search-box button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 750;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 14px 28px rgba(5, 150, 105, 0.24);
}

.btn-primary:hover,
.btn-ghost:hover,
.btn-filter-clear:hover,
.global-search-box button:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-controls {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  pointer-events: none;
}

.hero-arrow,
.hero-dot {
  pointer-events: auto;
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 44px;
  height: 44px;
  color: #ffffff;
  font-size: 32px;
  line-height: 1;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
}

.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

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

.hero-dot.is-active {
  width: 34px;
  background: #ffffff;
}

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

.intro-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  margin-top: -42px;
  padding: 30px;
  position: relative;
  z-index: 5;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-band h2 {
  margin: 16px 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
}

.intro-band p {
  margin: 0;
  color: var(--muted);
}

.section-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 26px;
}

.section-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 10px 20px rgba(5, 150, 105, 0.2);
}

.section-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
}

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

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

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

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

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

.movie-card {
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.movie-card-link {
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.24), transparent 34%),
    linear-gradient(135deg, #0f172a, #334155);
}

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

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

.score-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  color: #ffffff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(5, 150, 105, 0.92);
  backdrop-filter: blur(8px);
}

.score-badge {
  right: 12px;
}

.rank-badge {
  left: 12px;
  background: rgba(217, 119, 6, 0.94);
}

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

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.movie-card h3 {
  margin: 9px 0 8px;
  font-size: 18px;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-card p {
  min-height: 42px;
  margin: 0 0 12px;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span,
.tag-cloud span {
  padding: 4px 8px;
  color: var(--emerald-dark);
  background: #d1fae5;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.gradient-section {
  padding: 58px 0;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa 46%, #f8fafc);
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  border-radius: var(--radius);
  background: #0f172a;
  box-shadow: var(--soft-shadow);
}

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

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.16), rgba(15, 23, 42, 0.88));
}

.category-tile div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: #ffffff;
}

.category-tile span,
.category-overview-main span {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ecfdf5;
  background: rgba(5, 150, 105, 0.84);
  font-size: 12px;
  font-weight: 800;
}

.category-tile h3,
.category-overview-main h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-tile p,
.category-overview-main p {
  margin: 0;
  color: #dbeafe;
  font-size: 14px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 34px;
}

.rank-list,
.mini-card-list,
.category-preview-list {
  display: grid;
  gap: 12px;
}

.rank-row,
.mini-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
  transition: border 0.2s ease, transform 0.2s ease;
}

.rank-row:hover,
.mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 150, 105, 0.42);
}

.rank-number {
  width: 44px;
  color: var(--emerald);
  font-weight: 900;
  font-size: 20px;
}

.rank-row img,
.mini-card img {
  width: 58px;
  height: 76px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 10px;
  background: #e2e8f0;
  transition: transform 0.3s ease;
}

.rank-title {
  flex: 1;
  min-width: 0;
  font-weight: 800;
}

.rank-meta,
.mini-card small {
  color: var(--muted);
  font-size: 13px;
}

.mini-card span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.mini-card strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--emerald-dark);
  font-weight: 800;
}

.page-hero {
  padding: 58px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 20%, rgba(45, 212, 191, 0.34), transparent 28%),
    linear-gradient(135deg, var(--emerald), var(--teal));
}

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

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #ecfdf5;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.filter-panel,
.global-search-box {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 170px 170px auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-weight: 750;
  font-size: 14px;
}

.filter-panel input,
.filter-panel select,
.global-search-box input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  outline: none;
  background: #ffffff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-panel input:focus,
.filter-panel select:focus,
.global-search-box input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.btn-filter-clear,
.global-search-box button {
  color: #ffffff;
  background: #0f172a;
}

.filter-empty,
.search-stats {
  color: var(--muted);
  font-weight: 700;
}

.category-overview-card {
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.category-overview-main {
  display: block;
  padding: 22px;
  color: #ffffff;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
}

.category-overview-main p {
  color: #ecfdf5;
}

.category-overview-main strong {
  display: inline-flex;
  margin-top: 14px;
}

.category-preview-list {
  margin-top: 16px;
}

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

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

.search-shell {
  min-height: 520px;
}

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

.search-results {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.search-result-item img {
  width: 86px;
  height: 116px;
  object-fit: cover;
  border-radius: 12px;
  background: #e2e8f0;
}

.search-result-item h3 {
  margin: 0 0 7px;
}

.search-result-item p {
  margin: 0 0 9px;
  color: #475569;
}

.search-result-item small {
  color: var(--muted);
}

.detail-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.detail-bg,
.detail-bg-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(1px);
  transform: scale(1.03);
}

.detail-bg-mask {
  background:
    radial-gradient(circle at 80% 30%, rgba(16, 185, 129, 0.26), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.66)),
    linear-gradient(0deg, rgba(2, 6, 23, 0.82), transparent);
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 64px 0 72px;
}

.detail-hero h1 {
  max-width: 850px;
  margin: 18px 0 14px;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.08;
}

.detail-hero p {
  max-width: 820px;
  color: #e2e8f0;
  font-size: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 30px;
  padding: 44px 0 70px;
}

.detail-main,
.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
}

.player-card,
.detail-card,
.sidebar-card,
.prose-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 40%, rgba(16, 185, 129, 0.28), transparent 36%),
    #020617;
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #020617;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  color: #ffffff;
  border: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.65));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.player-start span {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--emerald), var(--teal));
  box-shadow: 0 16px 32px rgba(5, 150, 105, 0.35);
  font-size: 34px;
}

.js-player.is-playing .player-start {
  opacity: 0;
  pointer-events: none;
}

.player-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.detail-card h2,
.sidebar-card h2,
.prose-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-card p,
.prose-card p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.85;
}

.sidebar-card dl {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px 12px;
  margin: 0;
}

.sidebar-card dt {
  color: var(--muted);
  font-weight: 750;
}

.sidebar-card dd {
  margin: 0;
}

.sidebar-card a {
  color: var(--emerald-dark);
  font-weight: 800;
}

.sticky-card {
  position: sticky;
  top: 92px;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #020617, #111827 50%, #0f172a);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 52px 0 34px;
}

.footer-brand {
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 14px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.site-footer p {
  margin: 0;
  color: #94a3b8;
}

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

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #94a3b8;
  font-size: 14px;
}

.accent-cyan .category-overview-main,
.page-hero.accent-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}

.accent-blue .category-overview-main,
.page-hero.accent-blue {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.accent-pink .category-overview-main,
.page-hero.accent-pink {
  background: linear-gradient(135deg, var(--pink), #f97316);
}

.accent-purple .category-overview-main,
.page-hero.accent-purple {
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

.accent-orange .category-overview-main,
.page-hero.accent-orange {
  background: linear-gradient(135deg, var(--orange), var(--amber));
}

.accent-amber .category-overview-main,
.page-hero.accent-amber {
  background: linear-gradient(135deg, var(--amber), #ca8a04);
}

.accent-teal .category-overview-main,
.page-hero.accent-teal {
  background: linear-gradient(135deg, var(--teal), var(--emerald));
}

[hidden] {
  display: none !important;
}

@media (max-width: 1120px) {
  .featured-grid,
  .ranking-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .sticky-card {
    position: static;
  }
}

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

  .nav-toggle {
    display: block;
  }

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

  .hero-slider,
  .hero-track,
  .hero-image {
    min-height: 560px;
  }

  .hero-content {
    top: 48%;
  }

  .intro-band,
  .filter-panel,
  .global-search-box,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .filter-panel {
    display: grid;
  }

  .featured-grid,
  .ranking-grid,
  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .compact-grid,
  .category-page-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .search-result-item {
    grid-template-columns: 74px 1fr;
  }

  .search-result-item .btn-primary {
    grid-column: 1 / -1;
  }
}

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

  .hero-slider,
  .hero-track,
  .hero-image {
    min-height: 530px;
  }

  .hero-meta,
  .detail-meta {
    gap: 8px;
  }

  .hero-controls {
    bottom: 18px;
  }

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

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

  .rank-row {
    display: grid;
    grid-template-columns: 40px 58px 1fr;
  }

  .rank-meta,
  .rank-row strong {
    grid-column: 3;
  }

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

  .player-card,
  .detail-card,
  .sidebar-card,
  .prose-card {
    padding: 18px;
  }
}
