:root {
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --card: #ffffff;
  --text: #111827;
  --muted: #64748b;
  --line: #e5e7eb;
  --dark: #0f172a;
  --dark-soft: #1f2937;
  --accent: #111827;
  --accent-soft: #334155;
  --radius: 22px;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(135deg, #f8fafc 0%, #f3f4f6 45%, #f5f5f4 100%);
  color: var(--text);
  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 {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #475569);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  font-size: 16px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 20px;
  letter-spacing: -0.03em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1;
}

.nav-link {
  position: relative;
  color: #475569;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: right 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #111827;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

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

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #111827;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 8px 20px 18px;
  border-top: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.95);
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  color: #334155;
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.is-active {
  background: #f1f5f9;
  color: #111827;
}

main {
  max-width: 100%;
  overflow: hidden;
}

.hero-shell {
  max-width: 1280px;
  margin: 30px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 22px;
}

.hero-slider {
  position: relative;
  min-height: 560px;
  border-radius: 34px;
  overflow: hidden;
  background: #111827;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

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

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(255, 255, 255, 0.22), transparent 26%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.72) 45%, rgba(15, 23, 42, 0.14) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.68), rgba(15, 23, 42, 0.16));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 710px;
  padding: 72px;
  align-self: center;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-content h1 {
  max-width: 780px;
  font-size: clamp(42px, 7vw, 86px);
}

.hero-summary {
  max-width: 650px;
  margin: 24px 0 0;
  color: #e2e8f0;
  font-size: 18px;
}

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

.hero-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.primary-btn,
.ghost-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: #111827;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.20);
}

.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.10);
}

.hero-dots {
  position: absolute;
  left: 72px;
  bottom: 44px;
  z-index: 5;
  display: flex;
  gap: 10px;
}

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

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

.hero-side {
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.hero-side h2 {
  margin: 0 0 18px;
  font-size: 20px;
}

.hero-side a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #f8fafc;
  color: #1f2937;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-side a::after {
  content: "→";
  color: #64748b;
}

.hero-side a:hover {
  transform: translateX(4px);
  background: #e2e8f0;
}

.stats-grid,
.content-section,
.search-panel,
.page-hero,
.breadcrumb,
.detail-hero,
.watch-section,
.detail-section,
.category-overview-grid,
.top-rank-grid {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.stat-card {
  padding: 24px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.stat-card strong {
  display: block;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.search-panel {
  margin-top: 34px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 0 22px;
  border: 1px solid #dbe3ee;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.07);
}

.search-box span {
  color: #64748b;
  font-size: 24px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
  font-size: 17px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.filter-row button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #ffffff;
  color: #475569;
  font-weight: 800;
  cursor: pointer;
}

.filter-row button:hover,
.filter-row button.is-active {
  color: #ffffff;
  border-color: #111827;
  background: #111827;
}

.content-section {
  margin-top: 48px;
}

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

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

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

.section-more {
  min-height: 42px;
  color: #ffffff;
  background: #111827;
  white-space: nowrap;
}

.movie-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x proximity;
}

.movie-row::-webkit-scrollbar {
  height: 8px;
}

.movie-row::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbd5e1;
}

.movie-grid,
.category-grid,
.category-overview-grid,
.top-rank-grid {
  display: grid;
  gap: 20px;
}

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

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

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

.movie-card {
  min-width: 0;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 22px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-row .movie-card {
  flex: 0 0 188px;
  scroll-snap-align: start;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #cbd5e1, #f8fafc);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.74), transparent 46%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.movie-card:hover .poster-shade {
  opacity: 1;
}

.play-chip {
  position: absolute;
  left: 14px;
  bottom: 14px;
  min-height: 34px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #111827;
  background: #ffffff;
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-chip {
  opacity: 1;
  transform: translateY(0);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  min-width: 42px;
  height: 34px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #111827;
  background: #ffffff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

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

.movie-card-body h3 {
  margin: 0;
  min-height: 3.1em;
  font-size: 16px;
  line-height: 1.45;
}

.movie-card-body h3 a:hover {
  color: #475569;
}

.card-meta,
.card-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.card-desc {
  display: -webkit-box;
  min-height: 3.1em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

.tag-row span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

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

.category-card {
  position: relative;
  min-height: 190px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 24px;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
  box-shadow: var(--shadow);
}

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

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

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

.category-card strong,
.category-card small {
  position: relative;
  z-index: 1;
}

.category-card strong {
  font-size: 21px;
}

.category-card small {
  margin-top: 3px;
  color: #cbd5e1;
  font-weight: 700;
}

.page-hero {
  margin-top: 30px;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.20), transparent 24%),
    linear-gradient(135deg, #111827, #334155 58%, #0f172a);
  box-shadow: var(--shadow);
}

.slim-hero {
  padding-top: 64px;
  padding-bottom: 64px;
}

.page-hero > div:first-child {
  max-width: 760px;
}

.page-hero h1 {
  font-size: clamp(40px, 7vw, 72px);
}

.page-hero p:not(.eyebrow) {
  margin: 20px 0 0;
  color: #e2e8f0;
  font-size: 18px;
}

.category-hero {
  min-height: 420px;
  padding-top: 60px;
  padding-bottom: 60px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: center;
}

.mini-poster-stack {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  min-height: 240px;
}

.mini-poster-stack a {
  position: relative;
  display: block;
  border: 4px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  transform: rotate(var(--rotate, -4deg));
}

.mini-poster-stack a:nth-child(2) {
  --rotate: 3deg;
  transform: translateY(-20px) rotate(var(--rotate));
}

.mini-poster-stack a:nth-child(3) {
  --rotate: -2deg;
  transform: translateY(-38px) rotate(var(--rotate));
}

.mini-poster-stack a:nth-child(4) {
  --rotate: 4deg;
  transform: translateY(-18px) rotate(var(--rotate));
}

.mini-poster-stack a:nth-child(5) {
  --rotate: -3deg;
}

.mini-poster-stack img {
  aspect-ratio: 2 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.mini-poster-stack span {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: -webkit-box;
  overflow: hidden;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.category-overview-grid {
  margin-top: 34px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.category-overview-card a {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  min-height: 220px;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-overview-card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(15, 23, 42, 0.12);
}

.category-overview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  background: #e2e8f0;
}

.category-overview-card h2 {
  margin: 8px 0 8px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

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

.category-overview-card span {
  display: inline-flex;
  margin-top: 18px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: #111827;
  font-weight: 800;
}

.top-rank-grid {
  margin-top: 34px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.top-rank-card {
  position: relative;
  min-height: 360px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 30px;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
  box-shadow: var(--shadow);
}

.top-rank-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  transition: transform 0.28s ease;
}

.top-rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.94), transparent 65%);
}

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

.top-rank-card span,
.top-rank-card h2,
.top-rank-card p {
  position: relative;
  z-index: 1;
}

.top-rank-card span {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  color: #111827;
  background: #ffffff;
  font-weight: 900;
}

.top-rank-card h2 {
  margin: 16px 0 8px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.top-rank-card p {
  margin: 0;
  color: #e2e8f0;
}

.breadcrumb {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 14px;
}

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

.detail-hero {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 38px;
  border-radius: 34px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #111827, #334155 62%, #0f172a);
  box-shadow: var(--shadow);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 8px solid rgba(255, 255, 255, 0.15);
  border-radius: 28px;
  background: #334155;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.32);
}

.detail-copy h1 {
  max-width: 840px;
  font-size: clamp(38px, 7vw, 78px);
}

.detail-one-line {
  max-width: 850px;
  margin: 20px 0 0;
  color: #e2e8f0;
  font-size: 19px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.detail-tags a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.watch-section {
  margin-top: 34px;
}

.player-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  overflow: hidden;
  background: #000000;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.22);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.24));
  cursor: pointer;
}

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

.play-circle {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #111827;
  background: #ffffff;
  font-size: 28px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.play-overlay strong {
  font-size: 20px;
  letter-spacing: 0.08em;
}

.detail-section {
  margin-top: 30px;
  padding-top: 32px;
  padding-bottom: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.detail-section h2 {
  margin: 0 0 14px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

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

.related-section {
  margin-bottom: 40px;
}

.site-footer {
  margin-top: 70px;
  color: #cbd5e1;
  background: linear-gradient(135deg, #111827, #1f2937 56%, #0f172a);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 52px 24px 36px;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.footer-logo {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.footer-brand p {
  max-width: 460px;
  margin: 14px 0 0;
  color: #cbd5e1;
}

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

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

.footer-group li {
  margin: 9px 0;
}

.footer-group a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 28px;
  border-top: 1px solid rgba(226, 232, 240, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #94a3b8;
  font-size: 14px;
}

[data-movie-card].is-hidden {
  display: none;
}

@media (max-width: 1100px) {
  .hero-shell,
  .category-hero,
  .detail-hero {
    grid-template-columns: 1fr;
  }

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

  .hero-side h2 {
    grid-column: 1 / -1;
  }

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

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

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

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

  .nav-toggle {
    display: block;
  }

  .header-inner {
    padding: 0 18px;
  }

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

  .hero-shell,
  .stats-grid,
  .content-section,
  .search-panel,
  .page-hero,
  .breadcrumb,
  .detail-hero,
  .watch-section,
  .detail-section,
  .category-overview-grid,
  .top-rank-grid {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-slider {
    min-height: 560px;
    border-radius: 26px;
  }

  .hero-content {
    padding: 48px 26px 88px;
    align-self: end;
  }

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

  .hero-dots {
    left: 28px;
    bottom: 34px;
  }

  .hero-side,
  .stats-grid,
  .category-overview-grid,
  .top-rank-grid {
    grid-template-columns: 1fr;
  }

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

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

  .category-card {
    min-height: 150px;
  }

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

  .category-hero,
  .slim-hero {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .mini-poster-stack {
    grid-template-columns: repeat(5, minmax(54px, 1fr));
    min-height: 170px;
  }

  .category-overview-card a {
    grid-template-columns: 118px minmax(0, 1fr);
    min-height: 170px;
    gap: 14px;
  }

  .category-overview-card h2 {
    font-size: 21px;
  }

  .detail-hero {
    padding-top: 22px;
    padding-bottom: 32px;
  }

  .detail-poster {
    max-width: 240px;
    margin: 0 auto;
  }

  .detail-copy h1 {
    font-size: 38px;
  }

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

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

@media (max-width: 520px) {
  .movie-grid,
  .wide-grid,
  .ranking-grid,
  .category-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .movie-card-body h3 {
    font-size: 14px;
  }

  .card-desc {
    display: none;
  }

  .tag-row span:nth-child(n + 3) {
    display: none;
  }

  .hero-side {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .play-circle {
    width: 66px;
    height: 66px;
  }
}
