:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --rose-500: #f43f5e;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.10);
  --shadow-card: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 54%, var(--gray-50) 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.site-header__inner {
  width: min(100% - 32px, var(--max-width));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky-500), #2563eb);
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.28);
}

.brand__text {
  font-size: 1.25rem;
  color: var(--gray-900);
}

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

.nav-link {
  padding: 10px 14px;
  color: var(--gray-600);
  border-radius: 999px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link--active {
  color: var(--sky-600);
  background: var(--sky-50);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 14px;
  background: var(--gray-100);
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 10px;
  background: var(--gray-700);
}

.mobile-nav {
  display: none;
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  color: var(--gray-700);
  border-radius: 14px;
}

.mobile-nav a:hover {
  color: var(--sky-600);
  background: var(--sky-50);
}

.hero {
  position: relative;
  min-height: 560px;
  height: 70vh;
  overflow: hidden;
  background: linear-gradient(120deg, var(--slate-950), var(--slate-800));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s ease;
}

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

.hero-slide__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.hero-slide__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(14, 165, 233, 0.25), transparent 30%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.58) 45%, rgba(15, 23, 42, 0.18) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.08) 55%);
}

.hero-slide__content {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 56px 0 72px;
}

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

.eyebrow,
.page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  color: var(--white);
  background: rgba(14, 165, 233, 0.92);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.22);
}

.hero h1 {
  margin: 18px 0 14px;
  color: var(--white);
  font-size: clamp(2.6rem, 8vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

.hero p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2.1vw, 1.25rem);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-meta span {
  padding: 8px 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(12px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

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

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

.btn--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--sky-500), #2563eb);
  box-shadow: 0 16px 34px rgba(14, 165, 233, 0.30);
}

.btn--glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 6;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.66);
  transform: translateY(-50%) scale(1.05);
}

.hero-arrow--prev {
  left: 24px;
  transform: translateY(-50%);
}

.hero-arrow--next {
  right: 24px;
  transform: translateY(-50%);
}

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

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

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

.section {
  padding: 64px 0;
}

.section + .section {
  padding-top: 26px;
}

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

.section-heading h2 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

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

.section-link {
  color: var(--sky-600);
  font-weight: 800;
}

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

.movie-grid--wide {
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.84);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.35);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(145deg, var(--slate-900), var(--gray-800));
}

.movie-card__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover .movie-card__poster img {
  transform: scale(1.06);
  filter: saturate(1.08);
}

.movie-card__play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.90);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.movie-card__body {
  padding: 14px 14px 16px;
}

.movie-card__meta,
.rank-meta,
.detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.86rem;
}

.movie-card__meta span,
.rank-meta span,
.detail-facts span {
  display: inline-flex;
  align-items: center;
}

.movie-card__meta span + span::before,
.rank-meta span + span::before,
.detail-facts span + span::before {
  content: "•";
  margin-right: 8px;
  color: var(--gray-300);
}

.movie-card h3 {
  margin: 8px 0 8px;
  color: var(--gray-900);
  font-size: 1rem;
  line-height: 1.32;
}

.movie-card h3 a:hover {
  color: var(--sky-600);
}

.movie-card p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.9rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.movie-card__tags span,
.tag-row span {
  padding: 4px 8px;
  color: var(--sky-600);
  background: var(--sky-50);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.category-band {
  border: 1px solid rgba(186, 230, 253, 0.9);
  border-radius: 32px;
  background: linear-gradient(135deg, var(--sky-50), #eff6ff 48%, var(--white));
  padding: clamp(24px, 4vw, 42px);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.category-tile {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(14, 165, 233, 0.16);
}

.category-tile span {
  color: var(--sky-500);
  font-weight: 900;
}

.category-tile h2,
.category-tile h3 {
  margin: 10px 0 8px;
  color: var(--gray-900);
  font-size: 1.35rem;
}

.category-tile p {
  margin: 0;
  color: var(--gray-600);
}

.shelf {
  overflow: hidden;
}

.shelf-track {
  display: grid;
  grid-auto-columns: minmax(220px, 240px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x proximity;
}

.shelf-track .movie-card {
  scroll-snap-align: start;
}

.rank-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-list--grid {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.rank-item {
  display: grid;
  grid-template-columns: 50px 86px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.rank-number {
  color: var(--sky-600);
  font-size: 1.4rem;
  font-weight: 900;
  text-align: center;
}

.rank-cover {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  background: var(--slate-900);
}

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

.rank-copy h3 {
  margin: 0 0 6px;
  font-size: 1.03rem;
  line-height: 1.35;
}

.rank-copy h3 a:hover {
  color: var(--sky-600);
}

.rank-copy p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 0.92rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-hero {
  padding: 66px 0 42px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 20%, rgba(14, 165, 233, 0.30), transparent 28%),
    linear-gradient(135deg, var(--slate-950), var(--slate-800));
}

.page-hero h1 {
  max-width: 900px;
  margin: 18px 0 12px;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.filter-panel {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.filter-panel__row {
  display: flex;
  gap: 12px;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--gray-900);
  background: var(--gray-50);
  outline: none;
}

.filter-panel select {
  max-width: 230px;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.12);
}

.filter-empty {
  display: none;
  margin: 14px 0 0;
  color: var(--gray-500);
}

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

.detail-hero {
  padding: 42px 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.14), transparent 26%),
    linear-gradient(180deg, var(--white), var(--gray-50));
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(220px, 310px) 1fr;
  gap: clamp(24px, 5vw, 54px);
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  background: var(--slate-900);
  box-shadow: var(--shadow-soft);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--gray-500);
  font-size: 0.92rem;
}

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

.detail-copy h1 {
  margin: 0 0 14px;
  color: var(--gray-900);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.detail-copy p {
  max-width: 780px;
  margin: 0 0 20px;
  color: var(--gray-600);
  font-size: 1.08rem;
}

.detail-facts {
  margin-bottom: 18px;
}

.player-section {
  padding-top: 36px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: var(--slate-950);
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.22);
}

.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--slate-950);
}

.player-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  padding: 0;
  color: var(--white);
  background: var(--slate-950);
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

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

.player-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(14, 165, 233, 0.24), transparent 25%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.20), rgba(2, 6, 23, 0.80));
}

.player-button {
  position: relative;
  z-index: 2;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--sky-500), #2563eb);
  box-shadow: 0 24px 50px rgba(14, 165, 233, 0.32);
  font-size: 2rem;
}

.article-block {
  max-width: 940px;
}

.article-block h2 {
  margin: 0 0 14px;
  color: var(--gray-900);
  font-size: 1.8rem;
}

.article-block p {
  margin: 0 0 20px;
  color: var(--gray-700);
  font-size: 1.04rem;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--gray-200);
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
}

.site-footer__inner {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 42px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  max-width: 560px;
  margin: 14px 0 0;
  color: var(--gray-600);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-end;
  gap: 14px 22px;
}

.footer-links a {
  color: var(--gray-600);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--sky-600);
}

.site-footer__bar {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
  font-size: 0.92rem;
}

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

  .menu-toggle {
    display: flex;
  }

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

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

  .hero-slide__content {
    padding: 110px 0 72px;
  }

  .hero-arrow {
    display: none;
  }

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

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

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

  .site-footer__inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container,
  .site-header__inner,
  .mobile-nav,
  .site-footer__inner,
  .site-footer__bar {
    width: min(100% - 24px, var(--max-width));
  }

  .brand__text {
    font-size: 1.08rem;
  }

  .hero-slide__content {
    padding: 96px 0 70px;
  }

  .hero-meta span {
    font-size: 0.85rem;
  }

  .button-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

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

  .movie-card__body {
    padding: 12px;
  }

  .movie-card p,
  .movie-card__tags {
    display: none;
  }

  .category-band {
    border-radius: 24px;
    padding: 20px;
  }

  .filter-panel__row {
    flex-direction: column;
  }

  .filter-panel select {
    max-width: none;
  }

  .rank-list--grid {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 42px 72px 1fr;
    gap: 12px;
  }

  .rank-copy p {
    -webkit-line-clamp: 1;
  }

  .player-button {
    width: 68px;
    height: 68px;
    font-size: 1.55rem;
  }
}
