:root {
  --ice-50: #f0f9ff;
  --ice-100: #e0f2fe;
  --ice-200: #bae6fd;
  --ice-300: #7dd3fc;
  --ice-400: #38bdf8;
  --ice-600: #0284c7;
  --ice-700: #0369a1;
  --ice-800: #075985;
  --ice-900: #0c4a6e;
  --glacier-50: #ecfeff;
  --glacier-600: #0891b2;
  --snow-50: #ffffff;
  --snow-100: #fafafa;
  --snow-200: #f4f4f5;
  --snow-300: #e4e4e7;
  --snow-400: #d4d4d8;
  --snow-500: #a1a1aa;
  --snow-600: #71717a;
  --snow-700: #52525b;
  --snow-800: #3f3f46;
  --snow-900: #27272a;
  --shadow-soft: 0 20px 55px rgba(2, 132, 199, 0.12);
  --shadow-card: 0 16px 38px rgba(39, 39, 42, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--snow-900);
  background: linear-gradient(180deg, var(--ice-50) 0%, #ffffff 38%, var(--glacier-50) 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--snow-200);
  box-shadow: 0 8px 24px rgba(39, 39, 42, 0.04);
  backdrop-filter: blur(18px);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--snow-900);
  white-space: nowrap;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--ice-600), var(--glacier-600));
  border-radius: 11px;
  box-shadow: 0 12px 24px rgba(2, 132, 199, 0.25);
  font-size: 13px;
}

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

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

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--snow-700);
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--ice-700);
  background: var(--ice-50);
}

.nav-link-soft {
  font-size: 14px;
  color: var(--snow-600);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-card input,
.filter-card select {
  min-width: 0;
  border: 1px solid var(--snow-300);
  border-radius: 999px;
  background: white;
  color: var(--snow-900);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 210px;
  padding: 10px 15px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-card input:focus,
.filter-card select:focus {
  border-color: var(--ice-400);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.18);
}

.header-search button,
.mobile-search button,
.button-primary,
.button-ghost,
.category-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.header-search button,
.mobile-search button,
.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--ice-600), var(--glacier-600));
  box-shadow: 0 16px 30px rgba(2, 132, 199, 0.22);
}

.header-search button {
  padding: 10px 16px;
}

.button-primary,
.button-ghost {
  min-height: 46px;
  padding: 0 22px;
}

.button-primary:hover,
.header-search button:hover,
.mobile-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(2, 132, 199, 0.30);
}

.button-ghost {
  color: var(--snow-900);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.button-ghost.light {
  color: white;
  background: rgba(255, 255, 255, 0.16);
}

.button-ghost:hover {
  color: var(--ice-700);
  background: white;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--snow-300);
  border-radius: 12px;
  background: white;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--snow-700);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--snow-200);
  padding: 12px 18px 18px;
  background: white;
}

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

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

.mobile-link:hover,
.mobile-link.is-active {
  color: var(--ice-700);
  background: var(--ice-50);
}

.mobile-search {
  margin-top: 10px;
}

.mobile-search input {
  flex: 1;
  padding: 11px 14px;
}

.mobile-search button {
  padding: 11px 16px;
}

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

.hero {
  padding: 32px 0 18px;
}

.hero-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
}

.hero-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 30px;
  background: var(--snow-900);
  box-shadow: var(--shadow-soft);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 330px;
  align-items: end;
  gap: 28px;
  padding: clamp(26px, 5vw, 56px);
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-backdrop,
.hero-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-backdrop {
  object-fit: cover;
  filter: saturate(1.12);
}

.hero-veil {
  background:
    radial-gradient(circle at 18% 16%, rgba(56, 189, 248, 0.30), transparent 35%),
    linear-gradient(90deg, rgba(7, 89, 133, 0.92), rgba(39, 39, 42, 0.54) 56%, rgba(39, 39, 42, 0.22)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 710px;
  color: white;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--ice-100);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 660px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.hero-poster {
  position: relative;
  z-index: 2;
  align-self: center;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 66px;
  height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: var(--ice-700);
  background: rgba(255, 255, 255, 0.92);
  font-size: 26px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.28);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  color: var(--snow-900);
  background: rgba(255, 255, 255, 0.88);
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.20);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: white;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-side-card,
.category-panel,
.category-tile,
.ranking-card,
.content-card,
.related-card,
.detail-info-card,
.filter-card,
.podium-card,
.rank-table {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--snow-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.hero-side-card {
  padding: 26px;
  background: linear-gradient(135deg, white, var(--ice-50));
}

.hero-side-card h2,
.ranking-head h2,
.content-card h2,
.related-card h2 {
  margin: 0;
  color: var(--snow-900);
}

.hero-side-card p {
  margin: 10px 0 18px;
  color: var(--snow-600);
  line-height: 1.7;
}

.hero-side-card a,
.category-panel-head a,
.ranking-head a {
  color: var(--ice-700);
  font-weight: 800;
}

.hero-mini-grid,
.compact-grid {
  display: grid;
  gap: 12px;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 58px 0 24px;
}

.section-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  border-radius: 13px;
  color: white;
  background: linear-gradient(135deg, var(--ice-600), var(--glacier-600));
  box-shadow: 0 12px 24px rgba(2, 132, 199, 0.18);
}

.section-heading h2 {
  margin: 0;
  color: var(--snow-900);
  font-size: clamp(27px, 4vw, 38px);
  letter-spacing: -0.035em;
}

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

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

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

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

.movie-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 10px 28px rgba(39, 39, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(39, 39, 42, 0.14);
}

.movie-cover {
  position: relative;
  height: 255px;
  overflow: hidden;
  background: var(--snow-200);
}

.movie-card-compact .movie-cover {
  height: 142px;
}

.movie-card-large .movie-cover {
  height: 460px;
}

.movie-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.64), transparent 60%);
}

.cover-year {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  color: white;
  background: rgba(0, 0, 0, 0.55);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ice-700);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-icon,
.player-cover:hover .start-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-body {
  padding: 15px;
}

.movie-card-large .movie-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 28px;
  color: white;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
}

.movie-body h3 {
  display: -webkit-box;
  min-height: 2.6em;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--snow-900);
  font-size: 18px;
  line-height: 1.3;
  font-weight: 850;
  letter-spacing: -0.015em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-large .movie-body h3 {
  color: white;
  font-size: clamp(28px, 4vw, 42px);
}

.movie-body p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--snow-600);
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-large .movie-body p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
}

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--snow-500);
  font-size: 13px;
  font-weight: 700;
}

.movie-meta span:first-child {
  padding: 5px 9px;
  border-radius: 8px;
  color: var(--ice-700);
  background: var(--ice-50);
}

.movie-card-large .movie-meta {
  justify-content: flex-start;
  color: var(--snow-200);
}

.movie-card-large .movie-meta span:first-child {
  color: white;
  background: rgba(255, 255, 255, 0.18);
}

.category-zone {
  margin-top: 26px;
  padding: 8px 0 58px;
  background: linear-gradient(135deg, var(--ice-50), var(--glacier-50));
}

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

.category-panel,
.category-tile {
  padding: 22px;
}

.category-panel-head,
.category-tile-head,
.ranking-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.category-panel h3,
.category-tile h2 {
  margin: 0 0 6px;
  color: var(--snow-900);
  font-size: 23px;
}

.category-panel p,
.category-tile p {
  margin: 0;
  color: var(--snow-600);
  line-height: 1.65;
}

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

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

.category-link {
  width: 100%;
  margin-top: 16px;
  padding: 13px 18px;
  color: var(--ice-700);
  background: var(--ice-50);
}

.category-link:hover {
  color: white;
  background: var(--ice-600);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.ranking-card {
  position: sticky;
  top: 92px;
  padding: 22px;
  margin-top: 58px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: var(--ice-50);
}

.rank-row span,
.rank-num,
.podium-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(135deg, var(--ice-600), var(--glacier-600));
  font-weight: 900;
}

.rank-row span {
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.rank-row strong {
  display: block;
  overflow: hidden;
  color: var(--snow-900);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row small {
  display: block;
  overflow: hidden;
  color: var(--snow-500);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row em {
  color: var(--snow-500);
  font-style: normal;
  font-weight: 800;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  padding: 32px;
  border-radius: 28px;
  color: white;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.26), transparent 30%),
    linear-gradient(135deg, var(--ice-700), var(--glacier-600));
  box-shadow: var(--shadow-soft);
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 32px;
}

.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  margin-bottom: 26px;
  color: white;
  background:
    radial-gradient(circle at 20% 10%, rgba(125, 211, 252, 0.34), transparent 30%),
    linear-gradient(135deg, var(--ice-800), var(--snow-900));
}

.slim-hero,
.category-hero,
.ranking-hero {
  padding: 56px 0;
}

.page-hero-content {
  max-width: 820px;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.page-hero p {
  margin: 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.8;
}

.filter-card {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 16px;
  padding: 18px;
  margin-bottom: 22px;
}

.compact-filter {
  grid-template-columns: minmax(0, 2fr) minmax(160px, 1fr);
}

.filter-card label {
  display: grid;
  gap: 8px;
  color: var(--snow-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-card input,
.filter-card select {
  width: 100%;
  height: 45px;
  padding: 0 14px;
}

.empty-state {
  display: none;
  margin: 36px auto;
  padding: 22px;
  border-radius: 18px;
  color: var(--snow-600);
  background: white;
  text-align: center;
  box-shadow: var(--shadow-card);
}

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

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 34px 0;
}

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
}

.podium-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.podium-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), transparent 58%);
}

.podium-card div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 3;
  color: white;
}

.podium-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.podium-card p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.podium-card small {
  color: var(--ice-100);
  font-weight: 800;
}

.podium-rank {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 4;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 26px;
}

.rank-table {
  padding: 18px;
}

.rank-table-row {
  display: grid;
  grid-template-columns: 64px 74px minmax(0, 1fr) 120px 80px;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-table-row:hover {
  background: var(--ice-50);
  transform: translateX(2px);
}

.rank-num {
  width: 46px;
  height: 38px;
  border-radius: 12px;
}

.rank-table-row img {
  width: 74px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-info strong {
  display: block;
  color: var(--snow-900);
  font-size: 16px;
}

.rank-info small {
  display: block;
  overflow: hidden;
  color: var(--snow-500);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-table-row em,
.rank-table-row b {
  color: var(--snow-600);
  font-style: normal;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  padding-bottom: 18px;
  color: var(--snow-500);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--ice-700);
  font-weight: 800;
}

.detail-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) 420px;
  gap: 24px;
  align-items: start;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  box-shadow: 0 28px 70px rgba(39, 39, 42, 0.28);
}

.movie-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: none;
  background: #000;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}

.player-dim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.20), transparent 24%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.70), rgba(0, 0, 0, 0.18));
}

.start-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.94);
  border-radius: 50%;
  color: var(--ice-700);
  background: rgba(255, 255, 255, 0.94);
  font-size: 34px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.36);
  transition: transform 0.2s ease;
}

.detail-info-card {
  padding: 26px;
}

.detail-info-card .eyebrow {
  color: var(--ice-800);
  background: var(--ice-50);
  border-color: var(--ice-200);
}

.detail-info-card h1 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-info-card p {
  margin: 0 0 18px;
  color: var(--snow-600);
  line-height: 1.8;
}

.detail-tags span {
  color: var(--ice-800);
  background: var(--ice-50);
  border: 1px solid var(--ice-200);
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.detail-facts div {
  padding: 14px;
  border-radius: 16px;
  background: var(--snow-100);
}

.detail-facts span,
.detail-facts strong {
  display: block;
}

.detail-facts span {
  color: var(--snow-500);
  font-size: 12px;
  font-weight: 800;
}

.detail-facts strong {
  margin-top: 4px;
  color: var(--snow-900);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  margin-top: 28px;
}

.content-card,
.related-card {
  padding: 26px;
}

.content-card h2,
.related-card h2 {
  margin-bottom: 14px;
  font-size: 25px;
}

.content-card h2:not(:first-child) {
  margin-top: 28px;
}

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

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

.movie-card-list {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  box-shadow: none;
  border: 1px solid var(--snow-200);
}

.movie-card-list:hover {
  transform: none;
  background: var(--ice-50);
}

.list-cover {
  height: 104px;
  border-radius: 0;
}

.movie-card-list .movie-body {
  min-width: 0;
  padding: 12px 12px 12px 0;
}

.movie-card-list .movie-body h3 {
  min-height: auto;
  margin-bottom: 5px;
  font-size: 15px;
}

.movie-card-list .movie-body p {
  min-height: auto;
  margin-bottom: 7px;
  font-size: 13px;
}

.site-footer {
  margin-top: 80px;
  color: var(--snow-300);
  background: var(--snow-900);
}

.footer-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 42px;
  padding: 46px 0;
}

.footer-logo {
  color: white;
  font-size: 22px;
}

.footer-brand p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--snow-400);
  line-height: 1.8;
}

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

.footer-links h3 {
  margin: 0 0 14px;
  color: white;
}

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

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a:hover {
  color: var(--ice-400);
}

.footer-bottom {
  padding: 18px;
  border-top: 1px solid var(--snow-800);
  color: var(--snow-500);
  text-align: center;
}

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

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

  .hero-side,
  .ranking-card {
    position: static;
    margin-top: 0;
  }

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

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

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

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

  .hero-slide {
    grid-template-columns: 1fr;
    align-items: end;
  }

  .hero-poster {
    width: min(280px, 70vw);
  }

  .hero-poster img {
    height: 340px;
  }

  .movie-grid-4,
  .movie-grid-5,
  .category-grid,
  .category-index-grid,
  .podium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-card,
  .compact-filter {
    grid-template-columns: 1fr 1fr;
  }

  .rank-table-row {
    grid-template-columns: 48px 64px minmax(0, 1fr);
  }

  .rank-table-row em,
  .rank-table-row b {
    display: none;
  }

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

@media (max-width: 640px) {
  .nav-shell,
  .section-shell,
  .hero-shell,
  .footer-shell {
    width: min(100% - 22px, 1240px);
  }

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

  .hero {
    padding-top: 16px;
  }

  .hero-slider {
    min-height: 680px;
    border-radius: 22px;
  }

  .hero-slide {
    padding: 22px;
  }

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

  .hero-content p,
  .page-hero p {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-side {
    display: none;
  }

  .movie-grid-4,
  .movie-grid-5,
  .category-grid,
  .category-index-grid,
  .podium-grid,
  .compact-grid,
  .compact-grid-3,
  .filter-card,
  .compact-filter,
  .detail-facts {
    grid-template-columns: 1fr;
  }

  .movie-cover {
    height: 230px;
  }

  .movie-card-large .movie-cover {
    height: 370px;
  }

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

  .list-cover {
    height: 98px;
  }

  .detail-info-card,
  .content-card,
  .related-card,
  .category-panel,
  .category-tile {
    padding: 18px;
    border-radius: 20px;
  }

  .start-button {
    width: 66px;
    height: 66px;
    font-size: 28px;
  }

  .cta-band {
    display: grid;
    padding: 24px;
  }

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