:root {
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-soft: #f9fafb;
  --color-line: #e5e7eb;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --red: #ef4444;
  --pink: #ec4899;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --green: #16a34a;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 28px rgba(15, 23, 42, 0.1);
  --radius-xl: 24px;
  --radius-lg: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: #f3f4f6;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.container.narrow {
  width: min(980px, calc(100% - 32px));
}

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

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-text {
  font-size: 22px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.25);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: #374151;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.site-nav a:hover {
  color: var(--orange-dark);
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

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

.nav-search input,
.mobile-search input,
.filter-panel input {
  width: 230px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 10px 16px;
  outline: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.16);
}

.nav-search button,
.mobile-search button,
.primary-button,
.ghost-button,
.section-more,
.rank-play {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.nav-search button,
.mobile-search button,
.primary-button,
.rank-play {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);
}

.nav-search button,
.mobile-search button {
  padding: 10px 18px;
  font-weight: 700;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  font-weight: 800;
}

.ghost-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.nav-search button:hover,
.mobile-search button:hover,
.rank-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.3);
}

.primary-button.light {
  color: var(--orange-dark);
  background: #fff;
}

.ghost-button.light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

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

.mobile-panel {
  display: none;
  border-top: 1px solid #e5e7eb;
  padding: 16px;
  background: #fff;
}

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

.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.mobile-links a {
  padding: 10px 12px;
  border-radius: 12px;
  background: #f9fafb;
  font-weight: 700;
}

.hero-slider {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #111827;
}

.hero-track,
.hero-slide {
  min-height: 610px;
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(17, 24, 39, 0.95),
      rgba(127, 29, 29, 0.72),
      rgba(236, 72, 153, 0.22)
    ),
    linear-gradient(0deg, rgba(17, 24, 39, 0.84), rgba(17, 24, 39, 0.2));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 52px;
  min-height: 610px;
  color: #fff;
}

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

.hero-eyebrow,
.heading-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fed7aa;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.heading-kicker {
  color: var(--orange-dark);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-meta,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-meta span,
.detail-meta span,
.card-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-meta span,
.detail-meta span {
  padding: 7px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.hero-poster {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 480px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: rotate(2deg);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 38px rgba(239, 68, 68, 0.35);
}

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

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(17, 24, 39, 0.35);
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
}

.slider-control.prev {
  left: 22px;
}

.slider-control.next {
  right: 22px;
}

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

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  cursor: pointer;
}

.slider-dots button.is-active {
  width: 30px;
  background: #fff;
}

.section-block {
  padding: 62px 0;
  background: #f3f4f6;
}

.section-block.white {
  background: #fff;
}

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

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

.section-heading h2,
.page-hero h1,
.detail-info h1,
.player-block h2,
.content-card h2 {
  margin: 0;
  color: #111827;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading h2 {
  font-size: clamp(26px, 3vw, 38px);
}

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

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-dark);
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 22px;
  border-radius: 22px;
  color: #fff;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

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

.tile-shade {
  position: absolute;
  inset: 0;
}

.orange-red .tile-shade {
  background: linear-gradient(
    135deg,
    rgba(249, 115, 22, 0.92),
    rgba(239, 68, 68, 0.9)
  );
}

.blue-cyan .tile-shade {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.92),
    rgba(6, 182, 212, 0.9)
  );
}

.green-emerald .tile-shade {
  background: linear-gradient(
    135deg,
    rgba(22, 163, 74, 0.92),
    rgba(5, 150, 105, 0.9)
  );
}

.pink-rose .tile-shade {
  background: linear-gradient(
    135deg,
    rgba(236, 72, 153, 0.92),
    rgba(244, 63, 94, 0.9)
  );
}

.amber-orange .tile-shade {
  background: linear-gradient(
    135deg,
    rgba(245, 158, 11, 0.92),
    rgba(249, 115, 22, 0.9)
  );
}

.purple-pink .tile-shade {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.92),
    rgba(236, 72, 153, 0.9)
  );
}

.slate-stone .tile-shade {
  background: linear-gradient(
    135deg,
    rgba(51, 65, 85, 0.94),
    rgba(120, 113, 108, 0.9)
  );
}

.teal-lime .tile-shade {
  background: linear-gradient(
    135deg,
    rgba(13, 148, 136, 0.92),
    rgba(101, 163, 13, 0.9)
  );
}

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

.tile-icon {
  font-size: 30px;
  margin-bottom: 22px;
}

.category-tile strong {
  font-size: 22px;
  margin-bottom: 8px;
}

.category-tile em {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  font-size: 14px;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111827;
}

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

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

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: rgba(249, 115, 22, 0.92);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

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

.card-body {
  padding: 18px;
}

.card-body.compact {
  padding: 15px;
}

.card-meta {
  color: var(--color-muted);
  margin-bottom: 8px;
}

.card-meta span {
  padding: 0;
  color: var(--color-muted);
}

.card-meta span + span::before {
  content: "·";
  margin-right: 8px;
  color: #d1d5db;
}

.movie-card h3,
.rank-info h2 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h3 a:hover,
.rank-info h2 a:hover {
  color: var(--orange-dark);
}

.movie-card p,
.rank-info p {
  display: -webkit-box;
  margin: 0 0 12px;
  color: var(--color-muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-row span {
  padding: 4px 9px;
  color: var(--orange-dark);
  background: #fff7ed;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

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

.movie-card-list .poster-link {
  aspect-ratio: 4 / 3;
}

.movie-card-list .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.gradient-cta {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--red));
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 42px);
}

.cta-inner p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.mini-hero {
  padding: 86px 0;
  background: linear-gradient(135deg, #fff7ed, #ffe4e6);
  color: #111827;
}

.category-hero {
  padding: 110px 0;
}

.page-hero-shade,
.detail-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(17, 24, 39, 0.92),
    rgba(127, 29, 29, 0.62),
    rgba(17, 24, 39, 0.28)
  );
}

.page-hero .container,
.detail-layout {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 820px;
  color: inherit;
  font-size: clamp(34px, 5vw, 54px);
}

.page-hero p {
  max-width: 760px;
  margin: 14px 0 0;
  color: currentColor;
  opacity: 0.78;
  font-size: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.filter-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

.filter-panel input {
  width: 100%;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chips button {
  padding: 8px 13px;
  color: #374151;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.filter-chips button.is-active,
.filter-chips button:hover {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.empty-state {
  display: none;
  margin: 28px 0 0;
  padding: 24px;
  color: var(--color-muted);
  text-align: center;
  background: #fff;
  border-radius: 18px;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 72px 104px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.rank-number {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 18px;
  font-weight: 900;
}

.rank-thumb {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 5;
  background: #111827;
}

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

.rank-info h2 {
  font-size: 20px;
}

.rank-play {
  padding: 10px 18px;
  font-weight: 800;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: center;
  gap: 46px;
  min-height: 560px;
  padding: 54px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

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

.detail-info h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
}

.detail-one-line {
  max-width: 800px;
  margin: 18px 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

.detail-tags {
  margin-top: 16px;
}

.player-block {
  background: #111827;
  color: #fff;
}

.player-block h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(26px, 3vw, 36px);
}

.player-shell {
  position: relative;
  overflow: hidden;
  background: #000;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  aspect-ratio: 16 / 9;
}

.movie-player,
.player-cover,
.player-cover-bg,
.player-cover-bg img,
.player-cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-player {
  z-index: 1;
  background: #000;
}

.player-cover {
  z-index: 2;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

.player-cover-bg img {
  object-fit: cover;
}

.player-cover-shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.2));
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--red));
  border-radius: 50%;
  font-size: 30px;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 45px rgba(239, 68, 68, 0.36);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

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

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

.content-card h2 + p {
  margin-top: 0;
}

.content-card p {
  color: #374151;
  font-size: 17px;
}

.feature-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 220px;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
}

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

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

.feature-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent 70%);
}

.feature-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #fff;
  background: rgba(249, 115, 22, 0.95);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.feature-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
}

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

.feature-copy strong {
  font-size: 20px;
}

.feature-copy em {
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  padding: 46px 0;
}

.footer-brand {
  color: #fff;
  font-size: 22px;
}

.site-footer p {
  margin: 16px 0 0;
  color: #9ca3af;
}

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

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

.footer-links a {
  color: #9ca3af;
}

.footer-links a:hover {
  color: #fb923c;
}

.footer-bottom {
  padding: 20px;
  color: #9ca3af;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

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

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

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 54px 0 70px;
  }

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

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

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

  .category-grid,
  .movie-grid.four,
  .movie-grid.three,
  .movie-grid.two-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rank-row {
    grid-template-columns: 52px 84px minmax(0, 1fr);
  }

  .rank-play {
    display: none;
  }

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

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

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

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

  .brand-text {
    font-size: 19px;
  }

  .hero-copy h1,
  .hero-copy h2,
  .detail-info h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .hero-meta span,
  .detail-meta span {
    font-size: 12px;
  }

  .slider-control {
    display: none;
  }

  .category-grid,
  .movie-grid.four,
  .movie-grid.three,
  .movie-grid.two-list {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 44px 72px minmax(0, 1fr);
    gap: 10px;
  }

  .rank-number {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 13px;
  }

  .content-card {
    padding: 24px;
  }

  .player-start {
    width: 70px;
    height: 70px;
  }
}
