:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --amber-400: #fbbf24;
  --rose-500: #f43f5e;
  --white: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
  --soft-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--slate-50), #ffffff 42%, var(--slate-50));
  line-height: 1.65;
}

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

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

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  box-shadow: 0 16px 40px rgba(2, 6, 23, 0.28);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo span:last-child,
.footer-logo span:last-child {
  background: linear-gradient(90deg, var(--emerald-400), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: var(--emerald-400);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.nav-dropdown {
  position: relative;
  padding: 22px 0;
}

.dropdown-panel {
  position: absolute;
  top: 64px;
  left: 0;
  min-width: 180px;
  padding: 10px 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.98);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.dropdown-panel a {
  display: block;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.82);
}

.dropdown-panel a:hover {
  color: var(--emerald-400);
  background: rgba(148, 163, 184, 0.12);
}

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

.header-search {
  position: relative;
  width: 270px;
}

.header-search input,
.mobile-search input {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 999px;
  padding: 10px 46px 10px 16px;
  color: #ffffff;
  background: rgba(51, 65, 85, 0.78);
  outline: none;
  transition: 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus {
  border-color: var(--emerald-400);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16);
}

.header-search button {
  position: absolute;
  right: 8px;
  top: 50%;
  width: 34px;
  height: 34px;
  border: 0;
  color: var(--emerald-400);
  background: transparent;
  transform: translateY(-50%);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  color: #ffffff;
  background: transparent;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 12px 16px 18px;
  background: var(--slate-900);
}

.mobile-panel a {
  display: block;
  padding: 10px 4px;
  color: rgba(255, 255, 255, 0.9);
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--emerald-600);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 88px 0 78px;
  color: #ffffff;
  background: linear-gradient(115deg, #0f172a 0%, #064e3b 48%, #0f172a 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, 0.24) 0, rgba(255, 255, 255, 0.24) 2px, transparent 2px);
  background-size: 58px 58px;
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 62%);
}

.hero-section::after {
  content: "";
  position: absolute;
  width: 440px;
  height: 440px;
  left: -120px;
  bottom: -220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.30), transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 880px;
  margin: 0 auto 36px;
  text-align: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.06;
  font-weight: 900;
  background: linear-gradient(90deg, var(--emerald-400), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(20px, 3vw, 28px);
}

.hero-text {
  max-width: 690px;
  margin: 14px auto 0;
  color: rgba(226, 232, 240, 0.82);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}

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

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--emerald-600), var(--cyan-500));
  box-shadow: 0 16px 34px rgba(5, 150, 105, 0.35);
}

.secondary-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(14px);
}

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

.hero-chip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.hero-chip-list a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(15, 23, 42, 0.28);
  transition: 0.2s ease;
}

.hero-chip-list a:hover {
  color: #ffffff;
  border-color: rgba(52, 211, 153, 0.55);
  background: rgba(5, 150, 105, 0.28);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1060px;
  margin: 0 auto;
}

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

.section-alt {
  background: #ffffff;
}

.section-soft {
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title span {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--emerald-600);
}

.section-title h2,
.page-hero h1,
.detail-card h2,
.side-card h2,
.rank-side h2 {
  margin: 0;
  color: var(--slate-900);
}

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

.section-more {
  color: var(--emerald-700);
  font-weight: 800;
}

.section-more span {
  font-size: 22px;
}

.section-lead {
  margin: -12px 0 24px;
  color: var(--muted);
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

.movie-grid.single {
  grid-template-columns: 1fr;
}

.movie-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.movie-card:hover {
  border-color: rgba(16, 185, 129, 0.36);
  box-shadow: var(--shadow);
  transform: translateY(-8px);
}

.movie-card-large {
  min-height: 378px;
  border: 0;
  color: #ffffff;
  box-shadow: 0 26px 64px rgba(2, 6, 23, 0.34);
}

.movie-card-large img,
.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.42s ease;
}

.movie-card-large:hover img,
.movie-card:hover .poster-wrap img {
  transform: scale(1.05);
}

.card-shade,
.hover-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.88));
}

.card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px;
}

.card-content h3,
.movie-info h3,
.row-body h3,
.compact-card h3 {
  margin: 0;
  font-weight: 850;
}

.card-content h3 {
  color: #ffffff;
  font-size: 25px;
  line-height: 1.25;
}

.card-content p,
.movie-info p,
.row-body p {
  display: -webkit-box;
  margin: 8px 0 14px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-content p {
  color: rgba(226, 232, 240, 0.88);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--slate-200);
}

.hover-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  background: rgba(2, 6, 23, 0.48);
  transition: opacity 0.2s ease;
}

.movie-card:hover .hover-cover {
  opacity: 1;
}

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 54px;
  overflow: hidden;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-info h3,
.movie-row:hover h3,
.compact-card:hover h3 {
  color: var(--emerald-700);
}

.movie-info p,
.row-body p {
  color: var(--muted);
  font-size: 14px;
}

.genre-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 11px;
  color: #ffffff;
  background: var(--emerald-600);
  font-size: 13px;
  font-weight: 800;
}

.genre-pill.soft {
  color: var(--emerald-700);
  background: #d1fae5;
}

.duration-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  border-radius: 999px;
  padding: 4px 9px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.play-ring {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--emerald-500);
  box-shadow: 0 14px 34px rgba(16, 185, 129, 0.36);
}

.play-ring svg {
  fill: currentColor;
  stroke: none;
  margin-left: 4px;
}

.play-ring.small {
  width: 52px;
  height: 52px;
}

.play-ring.huge {
  width: 76px;
  height: 76px;
  font-size: 34px;
}

.movie-card-large .play-ring {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  opacity: 0;
  transform: scale(0.92);
  transition: 0.2s ease;
}

.movie-card-large:hover .play-ring {
  opacity: 1;
  transform: scale(1);
}

.rank-badge {
  position: absolute;
  z-index: 3;
  left: 12px;
  top: 12px;
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose-500), var(--amber-400));
  font-weight: 900;
}

.meta-line {
  color: inherit;
  opacity: 0.74;
  font-size: 13px;
  font-weight: 700;
}

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

.movie-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-row:hover {
  box-shadow: var(--soft-shadow);
  transform: translateY(-4px);
}

.row-cover {
  position: relative;
  min-height: 138px;
  overflow: hidden;
}

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

.row-body {
  min-width: 0;
  padding: 18px 18px 18px 0;
}

.row-body h3 {
  margin-top: 10px;
  color: var(--slate-900);
  font-size: 20px;
}

.cta-section {
  padding: 56px 0 80px;
}

.cta-box {
  border-radius: 28px;
  padding: 58px 28px;
  color: #ffffff;
  text-align: center;
  background: linear-gradient(100deg, var(--emerald-600), var(--cyan-500));
  box-shadow: 0 28px 70px rgba(6, 182, 212, 0.24);
}

.cta-box h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.cta-box p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
}

.light-button {
  color: var(--emerald-700);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.page-shell {
  padding: 30px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 14px;
}

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

.page-hero.small {
  margin-bottom: 28px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  padding: 38px;
  background: linear-gradient(135deg, #ffffff 0%, #ecfdf5 100%);
  box-shadow: var(--soft-shadow);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.page-hero p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 17px;
}

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

.category-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.category-card h2 {
  margin: 0;
  font-size: 23px;
}

.category-card h2 a:hover {
  color: var(--emerald-700);
}

.category-card-head span {
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--emerald-700);
  background: #d1fae5;
  font-weight: 800;
}

.category-card p {
  color: var(--muted);
}

.category-link,
.side-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--emerald-700);
  font-weight: 850;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 12px;
  padding: 8px;
  background: var(--slate-50);
  transition: background 0.2s ease;
}

.compact-card:hover {
  background: #ecfdf5;
}

.compact-card img {
  width: 88px;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  object-fit: cover;
}

.compact-card h3 {
  display: -webkit-box;
  overflow: hidden;
  color: var(--slate-900);
  font-size: 15px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.compact-card p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.filter-bar,
.filter-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 16px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.filter-panel label,
.filter-bar label {
  display: grid;
  gap: 7px;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 800;
}

.filter-search {
  flex: 1 1 340px;
}

.filter-panel input,
.filter-panel select,
.filter-bar input {
  min-height: 44px;
  min-width: 190px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--text);
  background: var(--slate-50);
  outline: none;
}

.filter-panel input:focus,
.filter-panel select:focus,
.filter-bar input:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.reset-button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  color: #ffffff;
  background: var(--slate-800);
  font-weight: 800;
}

.filter-count,
.result-line {
  color: var(--muted);
  font-weight: 800;
}

.result-line {
  margin-bottom: 18px;
}

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

.rank-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.rank-side,
.side-card {
  position: sticky;
  top: 92px;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.rank-side h2,
.side-card h2 {
  margin-bottom: 16px;
  font-size: 22px;
}

.detail-page {
  padding: 28px 0 72px;
  background: var(--slate-50);
}

.player-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.player-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.player-title-row h1 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.18;
}

.player-title-row span {
  color: var(--muted);
  white-space: nowrap;
  font-weight: 800;
}

.video-box {
  position: relative;
  background: #000000;
}

.video-box video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.play-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.68));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-cover strong {
  font-size: 20px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  margin-top: 28px;
  align-items: start;
}

.detail-main {
  display: grid;
  gap: 22px;
}

.detail-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 24px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.detail-cover-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
}

.detail-cover-row img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--soft-shadow);
}

.detail-card h2 {
  margin: 10px 0 12px;
  font-size: 25px;
}

.detail-card p {
  margin: 0;
  color: #334155;
  font-size: 16px;
}

.prose-card p {
  white-space: normal;
  line-height: 1.9;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 0;
}

.meta-grid div {
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--slate-50);
}

.meta-grid dt {
  color: var(--muted);
  font-size: 13px;
}

.meta-grid dd {
  margin: 2px 0 0;
  color: var(--slate-900);
  font-weight: 850;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--slate-700);
  background: var(--slate-100);
  font-weight: 700;
}

.site-footer {
  color: rgba(226, 232, 240, 0.88);
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
}

.footer-grid p {
  max-width: 360px;
  color: rgba(226, 232, 240, 0.72);
}

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

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid li + li {
  margin-top: 8px;
}

.footer-grid a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding-top: 22px;
  color: rgba(226, 232, 240, 0.66);
  font-size: 14px;
}

@media (max-width: 1060px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

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

  .hero-grid,
  .movie-grid.three,
  .movie-grid.four,
  .category-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rank-side,
  .side-card {
    position: static;
  }
}

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

  .hero-section {
    padding: 58px 0 52px;
  }

  .hero-grid,
  .movie-grid.three,
  .movie-grid.four,
  .category-grid,
  .footer-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-large {
    min-height: 310px;
  }

  .movie-row {
    grid-template-columns: 128px 1fr;
  }

  .row-cover {
    min-height: 126px;
  }

  .row-body {
    padding: 12px 12px 12px 0;
  }

  .row-body h3 {
    font-size: 16px;
  }

  .row-body p {
    display: none;
  }

  .page-hero.small,
  .detail-card,
  .player-title-row {
    padding: 20px;
  }

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

  .detail-cover-row img {
    max-width: 260px;
  }

  .player-title-row {
    display: grid;
  }

  .player-title-row span {
    white-space: normal;
  }

  .filter-panel,
  .filter-bar {
    display: grid;
  }

  .filter-panel input,
  .filter-panel select,
  .filter-bar input {
    min-width: 0;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
