:root {
  --teal: #0f766e;
  --teal-2: #0891b2;
  --blue: #2563eb;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --amber: #f59e0b;
  --rose: #e11d48;
  --emerald: #059669;
  --violet: #7c3aed;
  --radius-xl: 24px;
  --shadow-soft: 0 10px 35px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 18px 50px rgba(15, 23, 42, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--slate-900);
  background: linear-gradient(135deg, var(--slate-50), var(--slate-100));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 18px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark,
.footer-brand span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  box-shadow: 0 12px 24px rgba(8, 145, 178, 0.25);
}

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

.brand-text strong {
  font-size: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--teal), var(--teal-2));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text small {
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 12px;
}

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

.nav-link {
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal);
  background: #ccfbf1;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--slate-700);
  background: var(--slate-100);
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 12px;
  padding: 12px;
  border-top: 1px solid var(--slate-200);
}

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

.mobile-nav-link {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--slate-700);
  background: rgba(248, 250, 252, 0.72);
  font-weight: 700;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #0891b2 45%, #2563eb);
}

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

.hero-section::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -120px;
  top: -130px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(4px);
}

.hero-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 620px;
  margin: 0 auto;
  padding: 88px 0;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: 44px;
}

.hero-main h1,
.page-hero h1 {
  margin: 14px 0 20px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero-main p,
.page-hero p {
  max-width: 720px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.75;
}

.hero-kicker,
.eyebrow,
.section-heading span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-section .hero-kicker,
.hero-section .eyebrow,
.page-hero .hero-kicker {
  color: #cffafe;
}

.hero-search {
  display: flex;
  width: min(560px, 100%);
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(14px);
}

.hero-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #fff;
  padding: 0 18px;
  background: transparent;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.74);
}

.hero-search a {
  flex: 0 0 auto;
  padding: 13px 22px;
  border-radius: 999px;
  color: var(--teal);
  background: #fff;
  font-weight: 900;
}

.hero-quick-links,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-quick-links a {
  padding: 9px 15px;
  border-radius: 999px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.hero-slider {
  position: relative;
  min-height: 520px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 22px;
  align-items: stretch;
  padding: 26px;
  border-radius: 30px;
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  pointer-events: none;
  transition: 0.55s ease;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(20px);
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-copy h2 {
  margin: 14px 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hero-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.75;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.hero-poster {
  display: block;
  overflow: hidden;
  min-height: 360px;
  border-radius: 24px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.3);
}

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

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-dots {
  position: absolute;
  left: 28px;
  bottom: 24px;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dot.active {
  width: 30px;
  background: #fff;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: 0.2s ease;
}

.primary-button {
  color: var(--teal);
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.16);
}

.detail-info .primary-button,
.soft-section .primary-button {
  color: #fff;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
}

.ghost-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.primary-button:hover,
.ghost-button:hover,
.movie-card:hover,
.category-tile:hover,
.category-overview-card:hover,
.ranking-item:hover {
  transform: translateY(-3px);
}

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

.section-shell {
  padding: 70px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 8px 0 0;
  color: var(--slate-900);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.03em;
}

.section-heading.between {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.section-heading.between > a {
  color: var(--teal);
  font-weight: 900;
}

.section-heading.center {
  text-align: center;
}

.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: 230px;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.category-tile::before,
.category-overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background: linear-gradient(135deg, var(--tile-a), var(--tile-b));
}

.category-tile strong,
.category-tile em,
.category-tile small,
.category-tile .tile-icon {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  display: block;
  margin-top: 16px;
  font-size: 21px;
}

.category-tile em {
  display: block;
  margin-top: 8px;
  color: var(--teal);
  font-style: normal;
  font-weight: 900;
}

.category-tile small {
  display: block;
  margin-top: 10px;
  color: var(--slate-500);
  line-height: 1.6;
}

.category-tile img {
  position: absolute;
  right: -16px;
  bottom: -24px;
  width: 116px;
  height: 154px;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.5;
  transform: rotate(8deg);
}

.tile-icon,
.overview-head span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--tile-a), var(--tile-b));
}

.tone-teal { --tile-a: #14b8a6; --tile-b: #0891b2; }
.tone-blue { --tile-a: #3b82f6; --tile-b: #2563eb; }
.tone-amber { --tile-a: #f59e0b; --tile-b: #ea580c; }
.tone-rose { --tile-a: #fb7185; --tile-b: #e11d48; }
.tone-cyan { --tile-a: #06b6d4; --tile-b: #2563eb; }
.tone-slate { --tile-a: #64748b; --tile-b: #0f172a; }
.tone-emerald { --tile-a: #10b981; --tile-b: #059669; }
.tone-violet { --tile-a: #8b5cf6; --tile-b: #7c3aed; }

.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));
}

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: 0.25s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow-hover);
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--slate-200), #fff);
}

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(15, 23, 42, 0.65));
  opacity: 0.78;
}

.poster-badge {
  position: absolute;
  z-index: 2;
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, 0.62);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(10px);
}

.poster-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding-left: 4px;
  color: var(--teal);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: 0.2s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
}

.movie-card-body strong {
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-card-body strong {
  color: var(--teal);
}

.card-desc {
  display: -webkit-box;
  overflow: hidden;
  color: var(--slate-500);
  line-height: 1.65;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.card-meta em {
  display: inline-flex;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--slate-700);
  background: var(--slate-100);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.soft-section {
  background: linear-gradient(135deg, #ecfeff, #f0fdfa);
}

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

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

.ranking-item {
  display: grid;
  grid-template-columns: 54px 74px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: 0.22s ease;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, #14b8a6, #0891b2);
  font-weight: 900;
}

.ranking-item img {
  width: 74px;
  height: 96px;
  object-fit: cover;
  border-radius: 14px;
}

.rank-copy {
  display: grid;
  min-width: 0;
  gap: 6px;
}

.rank-copy strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: var(--slate-900);
}

.rank-copy em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--slate-500);
  line-height: 1.5;
  font-size: 13px;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-copy small {
  color: var(--teal);
  font-weight: 800;
}

.page-hero {
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #0891b2, #2563eb);
}

.page-hero .section-shell {
  padding: 78px 0;
}

.small-hero .section-shell {
  padding: 64px 0;
}

.category-hero.tone-amber,
.ranking-hero {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.category-hero.tone-rose {
  background: linear-gradient(135deg, #fb7185, #e11d48);
}

.category-hero.tone-blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.category-hero.tone-cyan {
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.category-hero.tone-slate {
  background: linear-gradient(135deg, #64748b, #0f172a);
}

.category-hero.tone-emerald {
  background: linear-gradient(135deg, #10b981, #059669);
}

.category-hero.tone-violet {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.filter-panel strong {
  display: block;
  color: var(--slate-900);
  font-size: 18px;
}

.filter-panel span {
  display: block;
  margin-top: 3px;
  color: var(--slate-500);
  font-size: 13px;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.filter-controls input,
.filter-controls select {
  min-height: 42px;
  border: 1px solid var(--slate-200);
  border-radius: 13px;
  color: var(--slate-700);
  outline: none;
  background: #fff;
}

.filter-controls input {
  min-width: 260px;
  padding: 0 14px;
}

.filter-controls select {
  padding: 0 34px 0 12px;
}

.category-overview-card {
  display: grid;
  gap: 16px;
}

.overview-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.overview-head strong {
  font-size: 21px;
}

.category-overview-card p,
.category-overview-card em,
.overview-posters {
  position: relative;
  z-index: 1;
}

.category-overview-card p {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.7;
}

.category-overview-card em {
  color: var(--teal);
  font-style: normal;
  font-weight: 900;
}

.overview-posters {
  display: flex;
  gap: 8px;
}

.overview-posters img {
  width: 56px;
  height: 74px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

.detail-shell {
  padding: 36px 0 76px;
}

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

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

.detail-card {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.detail-top {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  padding: 34px;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
}

.detail-info {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.detail-tags span {
  color: var(--teal);
  background: #ccfbf1;
}

.detail-info h1 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-one-line {
  margin: 0;
  color: var(--slate-700);
  font-size: 20px;
  line-height: 1.75;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.detail-meta div {
  padding: 14px;
  border-radius: 18px;
  background: var(--slate-100);
}

.detail-meta dt {
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 900;
}

.detail-meta dd {
  margin: 6px 0 0;
  color: var(--slate-900);
  font-weight: 900;
}

.player-section,
.content-section,
.review-section {
  padding: 0 34px 34px;
}

.player-section h2,
.content-section h2,
.review-section h2,
.related-section h2 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: 26px;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(2, 6, 23, 0.42);
  cursor: pointer;
  transition: 0.25s ease;
}

.player-overlay span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  padding-left: 6px;
  border-radius: 999px;
  color: var(--teal);
  background: rgba(255, 255, 255, 0.92);
  font-size: 36px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

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

.player-status {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.content-section p,
.review-section p {
  margin: 0;
  color: var(--slate-700);
  font-size: 17px;
  line-height: 1.9;
}

.review-section {
  margin: 0 34px 34px;
  padding: 28px;
  border: 1px solid #fde68a;
  border-radius: 22px;
  background: linear-gradient(135deg, #fffbeb, #fff7ed);
}

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

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, var(--slate-800), var(--slate-900));
}

.footer-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 50px 0 30px;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-grid h2 {
  margin: 0 0 16px;
  font-size: 17px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: #cbd5e1;
  line-height: 1.75;
}

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

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

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  text-align: center;
  border-top: 1px solid rgba(203, 213, 225, 0.18);
  font-size: 14px;
}

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

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

  .hero-slider {
    min-height: 480px;
  }

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

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

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

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

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

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

  .hero-shell {
    min-height: auto;
    padding: 58px 0;
  }

  .hero-search,
  .filter-panel,
  .filter-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-search {
    border-radius: 24px;
  }

  .hero-search input {
    min-height: 46px;
  }

  .hero-search a {
    text-align: center;
  }

  .hero-slide {
    position: relative;
    display: none;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .hero-slide.active {
    display: grid;
  }

  .hero-slider {
    min-height: auto;
  }

  .hero-poster {
    min-height: 320px;
  }

  .hero-dots {
    position: static;
    margin-top: 16px;
  }

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

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

  .detail-top {
    grid-template-columns: 1fr;
    padding: 22px;
  }

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

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

  .player-section,
  .content-section,
  .review-section {
    padding: 0 22px 26px;
  }

  .review-section {
    margin: 0 22px 26px;
  }

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

@media (max-width: 520px) {
  .nav-shell,
  .mobile-nav,
  .section-shell,
  .detail-shell,
  .footer-shell {
    width: min(100% - 22px, 1180px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-text small {
    display: none;
  }

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

  .ranking-item {
    grid-template-columns: 42px 66px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-number {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .ranking-item img {
    width: 66px;
    height: 88px;
  }
}
