@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Noto+Sans+SC:wght@400;500;700;900&display=swap");

:root {
  --primary-50: #f0f4f8;
  --primary-100: #d9e2ec;
  --primary-300: #9fb3c8;
  --primary-500: #627d98;
  --primary-600: #486581;
  --primary-700: #334e68;
  --primary-800: #243b53;
  --primary-900: #102a43;
  --accent-400: #fbbf24;
  --accent-500: #f59e0b;
  --accent-600: #d97706;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-soft: 0 2px 15px -3px rgba(0, 0, 0, 0.07), 0 10px 20px -2px rgba(0, 0, 0, 0.04);
  --shadow-medium: 0 4px 20px -2px rgba(0, 0, 0, 0.12), 0 10px 30px -5px rgba(0, 0, 0, 0.08);
  --shadow-hard: 0 18px 50px rgba(15, 23, 42, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: var(--shadow-soft);
}

.nav-inner {
  width: min(100% - 32px, 80rem);
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-900));
  box-shadow: var(--shadow-medium);
}

.logo-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.brand-name {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--slate-900);
}

.footer-logo .brand-name {
  color: #ffffff;
}

.brand-subtitle {
  margin-top: 2px;
  font-size: 12px;
  color: var(--slate-500);
}

.footer-logo .brand-subtitle {
  color: var(--slate-400);
}

.desktop-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--primary-800);
  background: var(--primary-100);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-search input {
  width: 230px;
  border: 1px solid var(--slate-300);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--slate-700);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-input:focus,
.filter-select:focus,
.hero-search input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 4px rgba(98, 125, 152, 0.15);
}

.nav-search button,
.mobile-search button,
.hero-search button {
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  cursor: pointer;
  color: #ffffff;
  background: var(--primary-700);
  font-weight: 700;
}

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

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--slate-700);
}

.mobile-panel {
  border-top: 1px solid var(--slate-200);
  padding: 12px 16px 16px;
  background: #ffffff;
}

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

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--slate-600);
  font-weight: 700;
}

.mobile-link.active,
.mobile-link:hover {
  background: var(--primary-100);
  color: var(--primary-800);
}

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

.mobile-search input {
  width: 100%;
}

.home-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900), var(--primary-900), var(--slate-800));
}

.hero-bg,
.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-mask,
.detail-mask,
.ranking-hero-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.28), transparent 32%), linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.92));
}

.hero-layout {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 420px;
  align-items: center;
  gap: 54px;
  padding: 56px 0;
}

.hero-copy h1,
.detail-copy h1,
.ranking-hero-copy h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-kicker,
.ranking-hero-copy p,
.page-hero p {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.18);
  font-weight: 800;
  margin: 0 0 18px;
}

.hero-lead,
.detail-lead,
.ranking-hero-copy div {
  margin: 22px 0;
  max-width: 760px;
  color: #e2e8f0;
  font-size: 19px;
  line-height: 1.8;
}

.hero-feature {
  max-width: 760px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-hard);
}

.hero-feature h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 32px;
}

.hero-feature p {
  margin: 0 0 18px;
  color: #dbeafe;
  line-height: 1.8;
}

.hero-tags,
.detail-tags,
.card-tags,
.genre-row,
.page-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.card-tags span,
.genre-row span,
.page-chip-row a {
  border-radius: 999px;
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
}

.detail-tags span,
.genre-row span,
.page-chip-row a {
  color: var(--primary-800);
  background: var(--primary-100);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.btn-accent {
  color: var(--slate-900);
  background: var(--accent-500);
  box-shadow: 0 16px 32px rgba(245, 158, 11, 0.3);
}

.btn-accent:hover {
  background: var(--accent-400);
}

.btn-glass {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-meta,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: #e2e8f0;
  font-size: 14px;
}

.detail-meta {
  color: var(--slate-700);
}

.hero-meta span,
.detail-meta span {
  border-radius: 10px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.12);
}

.detail-meta span {
  background: var(--slate-100);
}

.hero-search {
  display: flex;
  max-width: 680px;
  gap: 12px;
  margin-top: 24px;
}

.hero-search input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  padding: 14px 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

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

.hero-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-category-links a {
  border-radius: 999px;
  padding: 8px 12px;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

.hero-panel {
  display: grid;
  gap: 16px;
}

.hero-poster {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--slate-800);
  box-shadow: var(--shadow-hard);
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  border-radius: 18px;
  padding: 14px 16px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.76);
  backdrop-filter: blur(14px);
  font-size: 20px;
  font-weight: 900;
}

.hero-mini-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.hero-mini-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.hero-mini-card img {
  width: 72px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
}

.hero-mini-card strong,
.hero-mini-card small {
  display: block;
}

.hero-mini-card small {
  margin-top: 3px;
  color: var(--slate-300);
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--primary-50);
}

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

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  color: var(--slate-900);
}

.section-heading p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.7;
}

.section-heading a,
.ranking-title a {
  color: var(--primary-700);
  font-weight: 900;
}

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

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

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

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

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

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

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

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

.movie-card.wide-card .card-poster {
  aspect-ratio: 16 / 9;
}

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

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

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.68));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.card-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
}

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

.card-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 48px;
  color: var(--slate-900);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
}

.card-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 44px;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.6;
}

.card-meta {
  margin-top: 0;
  color: var(--slate-500);
  font-size: 13px;
  justify-content: space-between;
}

.card-tags span {
  color: var(--primary-800);
  background: var(--primary-50);
}

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

.category-card,
.category-overview-card {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--slate-800);
  box-shadow: var(--shadow-soft);
}

.category-card img,
.category-overview-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.category-card:hover img,
.category-overview-card:hover img {
  transform: scale(1.06);
  opacity: 0.9;
}

.category-shade,
.category-overview-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.9));
}

.category-copy,
.category-overview-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  color: #ffffff;
}

.category-copy strong,
.category-overview-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 900;
}

.category-copy small,
.category-overview-copy small {
  display: block;
  color: #dbeafe;
  line-height: 1.6;
}

.category-overview-card {
  min-height: 280px;
}

.category-overview-card img {
  min-height: 280px;
}

.sample-titles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.sample-titles span {
  border-radius: 999px;
  padding: 5px 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 36px;
  align-items: start;
}

.ranking-card {
  position: sticky;
  top: 88px;
  border-radius: 24px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.ranking-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ranking-title h2 {
  margin: 0;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 46px 72px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--slate-50);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: var(--primary-50);
  transform: translateX(3px);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--slate-900);
  background: var(--accent-500);
  font-weight: 900;
}

.rank-item img {
  width: 72px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-copy strong,
.rank-copy em,
.rank-copy small {
  display: block;
}

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

.rank-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  color: var(--slate-600);
  font-size: 12px;
  font-style: normal;
}

.rank-copy small {
  margin-top: 2px;
  color: var(--slate-500);
  font-size: 12px;
}

.cta-band {
  padding: 82px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-900));
}

.cta-inner {
  max-width: 820px;
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 52px);
}

.cta-inner p {
  margin: 0 auto 28px;
  color: var(--primary-100);
  font-size: 18px;
  line-height: 1.8;
}

.page-hero,
.ranking-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--slate-900), var(--primary-900));
}

.page-hero {
  padding: 88px 0;
}

.page-hero h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.page-hero-text {
  margin-top: 18px;
  max-width: 760px;
  color: var(--slate-200);
  font-size: 18px;
  line-height: 1.8;
}

.page-chip-row {
  margin-top: 22px;
}

.filter-panel {
  margin-bottom: 28px;
  border: 1px solid var(--slate-200);
  border-radius: 22px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 14px;
  align-items: end;
}

.filter-search {
  display: grid;
  gap: 8px;
  color: var(--slate-700);
  font-weight: 800;
}

.filter-input,
.filter-select {
  width: 100%;
  border: 1px solid var(--slate-300);
  border-radius: 14px;
  padding: 13px 14px;
  outline: none;
  background: #ffffff;
  color: var(--slate-800);
}

.filter-empty {
  margin-top: 16px;
  padding: 18px;
  border-radius: 14px;
  color: var(--slate-600);
  background: var(--slate-100);
  text-align: center;
}

.ranking-hero {
  min-height: 520px;
}

.ranking-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.ranking-hero-copy {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.ranking-hero-copy h1 {
  max-width: 760px;
}

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

.detail-hero {
  min-height: 620px;
}

.detail-mask {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.9));
}

.detail-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 46px;
  align-items: center;
  padding: 72px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-hard);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--slate-300);
  font-size: 14px;
}

.breadcrumb a {
  color: #ffffff;
  font-weight: 800;
}

.detail-copy {
  max-width: 860px;
}

.player-section {
  padding-bottom: 48px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow-hard);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  opacity: 1;
  transition: opacity 0.25s ease;
}

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

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.play-ring {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 999px;
  color: var(--slate-900);
  background: var(--accent-500);
  box-shadow: 0 20px 55px rgba(245, 158, 11, 0.35);
  font-size: 38px;
  line-height: 1;
  transform: translateX(3px);
}

.detail-content {
  padding-top: 16px;
}

.content-card {
  border-radius: 24px;
  padding: 34px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.content-card h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

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

.genre-row {
  margin-top: 8px;
}

.site-footer {
  color: var(--slate-300);
  background: var(--slate-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr;
  gap: 48px;
  padding: 56px 0;
}

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--slate-400);
  line-height: 1.8;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  padding: 22px;
  color: var(--slate-500);
  text-align: center;
}

.is-filtered-out {
  display: none !important;
}

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

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

  .hero-panel {
    grid-template-columns: 290px 1fr;
    align-items: start;
  }

  .hero-poster,
  .hero-poster img {
    min-height: 360px;
  }

  .ranking-card {
    position: static;
  }

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

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

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

  .menu-toggle {
    display: block;
  }

  .brand-name {
    font-size: 18px;
  }

  .home-hero,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout,
  .detail-layout {
    padding: 42px 0;
  }

  .hero-feature {
    padding: 18px;
  }

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

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

  .hero-search,
  .mobile-search {
    flex-direction: column;
  }

  .section {
    padding: 48px 0;
  }

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

  .movie-grid,
  .latest-grid,
  .catalog-grid,
  .wide-grid,
  .large-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

  .brand-subtitle {
    display: none;
  }

  .hero-copy h1,
  .detail-copy h1,
  .ranking-hero-copy h1,
  .page-hero h1 {
    font-size: 36px;
  }

  .hero-lead,
  .detail-lead,
  .ranking-hero-copy div,
  .page-hero-text {
    font-size: 16px;
  }

  .movie-grid,
  .latest-grid,
  .catalog-grid,
  .wide-grid,
  .category-grid,
  .category-overview-grid,
  .large-rank-list {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 42px 64px 1fr;
  }

  .rank-item img {
    width: 64px;
    height: 50px;
  }

  .content-card {
    padding: 24px;
  }

  .play-ring {
    width: 74px;
    height: 74px;
    font-size: 30px;
  }
}
