:root {
  color-scheme: dark;
  --bg-main: #020617;
  --bg-deep: #0f172a;
  --bg-card: rgba(30, 41, 59, 0.56);
  --bg-card-strong: rgba(30, 41, 59, 0.86);
  --line: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --soft: #cbd5e1;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --orange: #f97316;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-deep) 45%, #111827 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

body.no-scroll {
  overflow: hidden;
}

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

img {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.14), transparent 32rem),
    radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.12), transparent 30rem),
    linear-gradient(180deg, rgba(15, 23, 42, 0.55), rgba(2, 6, 23, 0));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(30, 41, 59, 0.95);
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
}

.header-inner,
.section-inner,
.footer-inner,
.page-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-row {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #0f172a;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.28);
}

.logo-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--amber-light), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #cbd5e1;
  font-weight: 600;
}

.desktop-nav a,
.dropdown-trigger {
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.dropdown:hover .dropdown-trigger {
  color: var(--amber-light);
}

.dropdown {
  position: relative;
}

.dropdown-trigger {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 600;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 220px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 14px;
}

.dropdown-panel a:hover {
  background: rgba(51, 65, 85, 0.78);
  color: var(--amber-light);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.72);
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-button:hover {
  border-color: rgba(245, 158, 11, 0.45);
  color: var(--amber-light);
  background: rgba(51, 65, 85, 0.86);
}

.menu-toggle {
  display: none;
}

.site-search {
  display: none;
  padding: 14px 0 18px;
  border-top: 1px solid rgba(30, 41, 59, 0.95);
}

.site-search.is-open {
  display: block;
}

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

.search-row input,
.tool-input,
.tool-select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.92);
  color: #e2e8f0;
  outline: none;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-row input:focus,
.tool-input:focus,
.tool-select:focus {
  border-color: rgba(245, 158, 11, 0.65);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}

.primary-button,
.ghost-button,
.search-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 12px 20px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.primary-button,
.search-row button {
  color: #0f172a;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
  box-shadow: 0 18px 34px rgba(245, 158, 11, 0.2);
}

.primary-button:hover,
.search-row button:hover {
  transform: translateY(-2px);
}

.ghost-button {
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber-light);
  background: rgba(15, 23, 42, 0.58);
}

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

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(30, 41, 59, 0.95);
  padding: 12px 0 18px;
}

.mobile-panel.is-open {
  display: block;
}

.mobile-panel a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: #cbd5e1;
  font-weight: 600;
}

.mobile-panel a:hover,
.mobile-panel a.active {
  background: rgba(30, 41, 59, 0.82);
  color: var(--amber-light);
}

.mobile-title {
  padding: 14px 12px 6px;
  color: var(--amber-light);
  font-size: 14px;
  font-weight: 800;
}

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

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

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.hero-slide.is-active .hero-image {
  transform: scale(1);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.52) 42%, rgba(2, 6, 23, 0.24) 100%),
    linear-gradient(0deg, #020617 0%, rgba(2, 6, 23, 0.4) 42%, rgba(2, 6, 23, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding: 110px 0 74px;
}

.hero-copy {
  width: min(700px, 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--amber-light);
  font-weight: 800;
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--amber-light);
  box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.16);
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: #fff;
}

.hero-subtitle {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 900;
  color: #fff;
}

.hero-text {
  max-width: 680px;
  margin: 0 0 26px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta,
.meta-list,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-meta {
  margin: 0 0 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 700;
}

.pill.hot {
  border-color: rgba(245, 158, 11, 0.28);
  color: var(--amber-light);
  background: rgba(245, 158, 11, 0.12);
}

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

.hero-control {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.72);
  border-color: rgba(245, 158, 11, 0.45);
  color: var(--amber-light);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.55);
  cursor: pointer;
  transition: all 0.2s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--amber-light);
}

.content-flow {
  padding: 64px 0 84px;
}

.section-block {
  margin-top: 72px;
}

.section-block:first-child {
  margin-top: 0;
}

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

.section-heading h2,
.page-heading h1,
.detail-title {
  margin: 0;
  color: #f8fafc;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading h2 {
  font-size: clamp(26px, 3.4vw, 38px);
}

.section-heading p,
.page-heading p {
  color: var(--muted);
  line-height: 1.8;
}

.section-link {
  flex: 0 0 auto;
  color: var(--amber-light);
  font-weight: 800;
}

.section-link:hover {
  color: #fde68a;
}

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

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

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

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.34);
  background: var(--bg-card-strong);
  box-shadow: 0 26px 56px rgba(0, 0, 0, 0.32);
}

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

.featured .movie-poster-link {
  aspect-ratio: 16 / 11;
}

.movie-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .movie-poster {
  transform: scale(1.06);
  filter: brightness(1.04);
}

.poster-layer {
  position: absolute;
  inset: auto 0 0;
  height: 54%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0));
}

.card-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: #0f172a;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
  font-size: 12px;
  font-weight: 900;
}

.movie-body {
  padding: 17px;
}

.movie-title {
  margin: 0 0 9px;
  color: #f1f5f9;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-title,
.list-card:hover h3,
.ranking-card:hover h3 {
  color: var(--amber-light);
}

.movie-desc {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.clamp-2,
.clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.clamp-2 {
  -webkit-line-clamp: 2;
}

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

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #94a3b8;
  font-size: 12px;
}

.card-meta span {
  padding: 5px 8px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
}

.spotlight-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.52), rgba(15, 23, 42, 0.78));
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
}

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

.list-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(30, 41, 59, 0.45);
  transition: all 0.25s ease;
}

.list-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(30, 41, 59, 0.82);
}

.list-card img {
  width: 180px;
  height: 116px;
  object-fit: cover;
  border-radius: 13px;
}

.list-card h3,
.ranking-card h3 {
  margin: 0 0 8px;
  color: #f1f5f9;
  font-size: 19px;
  font-weight: 900;
  transition: color 0.2s ease;
}

.list-card p,
.ranking-card p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 58px 92px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px 16px;
  background: rgba(30, 41, 59, 0.36);
  transition: all 0.25s ease;
}

.ranking-card:hover {
  transform: translateX(4px);
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(30, 41, 59, 0.74);
}

.rank-num {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #0f172a;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
  font-size: 24px;
  font-weight: 900;
}

.ranking-card img {
  width: 92px;
  height: 62px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-link {
  color: var(--amber-light);
  font-weight: 900;
}

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

.category-card {
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.14), transparent 12rem),
    rgba(30, 41, 59, 0.48);
  transition: all 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.36);
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.22), transparent 13rem),
    rgba(30, 41, 59, 0.82);
}

.category-card h2,
.category-card h3 {
  margin: 0 0 12px;
  font-size: 25px;
  font-weight: 900;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.category-card span {
  display: inline-flex;
  margin-top: 22px;
  color: var(--amber-light);
  font-weight: 900;
}

.page-hero {
  padding: 68px 0 34px;
}

.page-heading {
  max-width: 860px;
}

.page-heading h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.page-heading p {
  margin: 18px 0 0;
  font-size: 17px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #94a3b8;
  font-size: 14px;
}

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

.tool-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
  margin: 18px 0 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.56);
}

.filter-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  padding: 8px 12px;
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.58);
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  border-color: rgba(245, 158, 11, 0.48);
  color: #0f172a;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
}

.empty-state {
  display: none;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  color: var(--muted);
  background: rgba(30, 41, 59, 0.42);
  text-align: center;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.86fr);
  gap: 30px;
  align-items: start;
  padding-bottom: 84px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 20px;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(245, 158, 11, 0.16), transparent 18rem),
    linear-gradient(0deg, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.35));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.big-play {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #0f172a;
  background: linear-gradient(135deg, var(--amber-light), var(--orange));
  box-shadow: 0 22px 50px rgba(245, 158, 11, 0.3);
  font-size: 30px;
  cursor: pointer;
}

.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.player-box:hover .player-controls,
.player-controls.is-visible {
  opacity: 1;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.control-button {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  background: rgba(15, 23, 42, 0.7);
  cursor: pointer;
}

.control-button:hover {
  color: var(--amber-light);
  border-color: rgba(245, 158, 11, 0.38);
}

.player-message {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 5;
  display: none;
  max-width: calc(100% - 32px);
  border-radius: 12px;
  padding: 10px 12px;
  color: #fee2e2;
  background: rgba(127, 29, 29, 0.72);
  font-size: 14px;
}

.player-message.is-visible {
  display: block;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: rgba(30, 41, 59, 0.5);
}

.detail-title {
  margin-top: 24px;
  font-size: clamp(30px, 4vw, 48px);
}

.detail-intro {
  margin: 16px 0 20px;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.prose-block {
  margin-top: 24px;
}

.prose-block h2 {
  margin: 0 0 12px;
  color: #f8fafc;
  font-size: 24px;
  font-weight: 900;
}

.prose-block p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.9;
}

.side-poster {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 18px;
}

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

.side-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.46);
  transition: all 0.2s ease;
}

.side-item:hover {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(30, 41, 59, 0.72);
}

.side-item img {
  width: 84px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}

.side-item h3 {
  margin: 0 0 6px;
  color: #f1f5f9;
  font-size: 15px;
  line-height: 1.35;
}

.side-item span {
  color: #94a3b8;
  font-size: 12px;
}

.site-footer {
  border-top: 1px solid rgba(30, 41, 59, 0.95);
  background: rgba(15, 23, 42, 0.92);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(160px, 0.6fr));
  gap: 34px;
  padding: 42px 0;
}

.footer-inner h2,
.footer-inner h3 {
  margin: 0 0 14px;
  color: #f1f5f9;
  font-size: 18px;
  font-weight: 900;
}

.footer-inner p,
.footer-inner a {
  color: #94a3b8;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--amber-light);
}

.footer-bottom {
  border-top: 1px solid rgba(30, 41, 59, 0.9);
  padding: 16px 0;
  color: #64748b;
  text-align: center;
  font-size: 13px;
}

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

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

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

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

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

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

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

  .hero {
    min-height: 74vh;
  }

  .hero-content {
    min-height: 74vh;
    padding: 96px 0 72px;
  }

  .hero-control {
    top: auto;
    bottom: 80px;
    width: 40px;
    height: 40px;
  }

  .hero-prev {
    left: auto;
    right: 74px;
  }

  .hero-next {
    right: 24px;
  }

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

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

  .ranking-card {
    grid-template-columns: 44px 78px minmax(0, 1fr);
  }

  .ranking-card .ranking-link {
    grid-column: 3;
  }

  .rank-num {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .ranking-card img {
    width: 78px;
    height: 54px;
  }

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

@media (max-width: 620px) {
  .header-inner,
  .section-inner,
  .footer-inner,
  .page-inner {
    width: min(100% - 22px, 1180px);
  }

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

  .search-row {
    flex-direction: column;
  }

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

  .hero-subtitle {
    font-size: 28px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

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

  .list-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .list-card img {
    width: 116px;
    height: 88px;
  }

  .player-controls {
    opacity: 1;
  }
}
