:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --red: #ef4444;
  --orange: #f97316;
  --rose: #f43f5e;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --green: #22c55e;
  --violet: #7c3aed;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-strong: 0 30px 80px rgba(2, 6, 23, 0.38);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: var(--slate-50);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.28);
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--orange));
  color: var(--white);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.35);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(-2deg);
}

.brand-text {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #fb7185, #fb923c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 auto;
  overflow: hidden;
}

.desktop-nav a {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.desktop-nav a:hover {
  color: #fb7185;
}

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

.header-search input,
.mobile-search input {
  width: 220px;
  border: 0;
  outline: 0;
  color: var(--white);
  background: rgba(51, 65, 85, 0.92);
  border-radius: 999px;
  padding: 10px 14px;
}

.header-search input:focus,
.mobile-search input:focus {
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.3);
}

.header-search button,
.mobile-search button {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  color: var(--white);
  border: 0;
  border-radius: 12px;
  background: rgba(51, 65, 85, 0.86);
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 10px 0 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.mobile-nav a {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.86);
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

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

.hero-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.35), transparent 34%), linear-gradient(135deg, #020617 0%, #1e3a8a 55%, #155e75 100%);
  padding: 86px 0 72px;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.55) 1px, transparent 0);
  background-size: 34px 34px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: 46px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: #a5f3fc;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, #a5f3fc, #60a5fa, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  max-width: 720px;
  margin: 0;
  color: #cffafe;
  font-size: clamp(18px, 2.5vw, 24px);
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 22px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: 0 16px 36px rgba(249, 115, 22, 0.32);
}

.secondary-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.hero-search {
  display: grid;
  grid-template-columns: 1fr auto;
  max-width: 680px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(12px);
}

.hero-search input {
  min-width: 0;
  color: var(--white);
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 16px;
}

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

.hero-search button {
  border: 0;
  color: var(--slate-950);
  background: var(--white);
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 900;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hero-stats span {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(15, 23, 42, 0.28);
}

.hero-stats strong {
  color: var(--white);
}

.hero-visual {
  position: relative;
}

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

.hero-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: 22px;
  background: var(--slate-900);
  box-shadow: var(--shadow-strong);
  transform: translateY(0);
  transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
}

.hero-card:nth-child(2),
.hero-card:nth-child(3) {
  transform: translateY(24px);
}

.hero-card:hover {
  transform: translateY(-5px) scale(1.02);
}

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

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

.hero-card-shade,
.category-overlay,
.category-summary-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 15%, rgba(0, 0, 0, 0.84));
}

.hero-card-info {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
}

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

.hero-card-info strong {
  font-size: 17px;
  line-height: 1.25;
}

.hero-card-info small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dots button.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--white);
}

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

.no-padding-top {
  padding-top: 0;
}

.bg-white {
  background: var(--white);
}

.warm-section {
  background: linear-gradient(135deg, #fff7ed, #fff1f2);
}

.dark-feature {
  color: var(--white);
  background: radial-gradient(circle at top right, rgba(217, 70, 239, 0.28), transparent 36%), linear-gradient(135deg, #312e81, #701a75);
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.dark-feature .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.section-more {
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

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

.movie-card {
  overflow: hidden;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.16);
}

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

.movie-card-poster .card-poster,
.poster-strip .card-poster {
  aspect-ratio: 3 / 4;
}

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

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

.duration {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.play-mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 28px;
  opacity: 0;
  background: rgba(2, 6, 23, 0.28);
  transition: opacity 0.2s ease;
}

.movie-card:hover .play-mark {
  opacity: 1;
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: var(--white);
  border-radius: 999px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--rose));
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.36);
}

.card-body {
  padding: 16px;
}

.card-meta,
.card-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

.card-meta span {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--slate-100);
}

.card-body h3,
.wide-body h3 {
  margin: 10px 0 8px;
  color: var(--slate-900);
  font-size: 18px;
  line-height: 1.35;
  font-weight: 900;
}

.card-body h3 a:hover,
.wide-body h3 a:hover {
  color: var(--orange);
}

.card-body p,
.wide-body p {
  margin: 0 0 12px;
  color: var(--slate-600);
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  color: #047857;
  background: #dcfce7;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
}

.card-stats {
  justify-content: space-between;
  margin-top: 12px;
}

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

.wide-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 214px;
}

.wide-poster {
  position: relative;
  overflow: hidden;
  background: var(--slate-900);
}

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

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

.wide-body {
  padding: 18px;
}

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

.poster-strip .movie-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.poster-strip .card-body h3,
.poster-strip .card-body p,
.poster-strip .card-meta,
.poster-strip .card-stats {
  color: var(--white);
}

.poster-strip .card-meta span {
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.12);
}

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

.category-tile,
.category-summary-card {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 24px;
  color: var(--white);
  background: var(--slate-900);
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-summary-card {
  min-height: 260px;
}

.category-tile:hover,
.category-summary-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.category-tile img,
.category-summary-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.category-title,
.category-summary-copy {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
}

.category-title,
.category-summary-copy strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
}

.category-tile small,
.category-summary-copy small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.category-count {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  color: var(--slate-950);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-weight: 900;
}

.sub-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, #0f172a, #1e3a8a 55%, #164e63);
  padding: 64px 0;
}

.sub-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.sub-hero p {
  max-width: 820px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.category-hero,
.ranking-hero {
  background: radial-gradient(circle at right, rgba(249, 115, 22, 0.3), transparent 32%), linear-gradient(135deg, #111827, #881337);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

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

.filter-panel {
  margin-bottom: 26px;
  padding: 18px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.filter-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.filter-title strong {
  font-size: 18px;
}

.filter-title span {
  color: var(--slate-500);
  font-size: 14px;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(130px, 160px)) auto;
  gap: 10px;
}

.filter-controls input,
.filter-controls select {
  width: 100%;
  min-height: 42px;
  color: var(--slate-900);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: var(--slate-50);
  padding: 0 12px;
  outline: 0;
}

.filter-controls input:focus,
.filter-controls select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.16);
}

.filter-controls button {
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: var(--slate-900);
  padding: 0 14px;
  font-weight: 900;
}

.top-rank-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
  transform: translateY(-36px);
}

.top-rank-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--slate-900);
  box-shadow: var(--shadow-strong);
}

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

.top-rank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.88));
}

.top-rank-number {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--rose));
  font-size: 24px;
  font-weight: 900;
}

.top-rank-info {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
}

.top-rank-info strong,
.top-rank-info small {
  display: block;
}

.top-rank-info strong {
  color: var(--white);
  font-size: 26px;
  line-height: 1.2;
}

.top-rank-info small {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.74);
}

.detail-hero {
  padding: 48px 0 64px;
  background: var(--slate-950);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(22px);
  opacity: 0.22;
  transform: scale(1.08);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.76));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
}

.detail-main {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-strong);
  background: var(--slate-900);
}

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

.detail-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 860px;
  margin: 0;
  color: #dbeafe;
  font-size: 20px;
}

.detail-tags .tag-row,
.detail-tags {
  margin-top: 18px;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.detail-content {
  display: grid;
  gap: 22px;
}

.player-card,
.article-card,
.info-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.video-player {
  position: relative;
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--slate-950);
}

.video-player video,
.player-poster {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.player-poster {
  opacity: 0.72;
  filter: saturate(1.1);
}

.video-player::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.56));
  pointer-events: none;
}

.player-start {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 8px;
  width: 142px;
  height: 142px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-strong);
}

.player-start span {
  font-size: 38px;
  line-height: 1;
}

.player-status {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.article-card,
.info-card {
  padding: 24px;
}

.article-card h2,
.info-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 900;
}

.article-card p {
  margin: 0;
  color: var(--slate-700);
  font-size: 17px;
}

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

.info-card li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e2e8f0;
}

.info-card li:last-child {
  border-bottom: 0;
}

.info-card strong {
  color: var(--slate-500);
}

.info-card span {
  color: var(--slate-900);
  font-weight: 800;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
  padding: 38px 0;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.footer-inner p {
  max-width: 620px;
  margin: 0;
}

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

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

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: none;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--orange));
  box-shadow: var(--shadow-soft);
  font-size: 20px;
  font-weight: 900;
}

.back-to-top.is-visible {
  display: grid;
  place-items: center;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .desktop-nav {
    gap: 12px;
  }

  .header-search input {
    width: 180px;
  }

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

  .poster-strip,
  .category-grid,
  .category-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

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

  .hero-inner,
  .detail-main,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-grid {
    display: flex;
    overflow: hidden;
  }

  .hero-card {
    display: none;
    min-width: 100%;
  }

  .hero-card.is-active {
    display: block;
  }

  .hero-card:nth-child(2),
  .hero-card:nth-child(3) {
    transform: none;
  }

  .hero-dots {
    display: flex;
  }

  .wide-grid,
  .top-rank-grid {
    grid-template-columns: 1fr;
  }

  .top-rank-grid {
    transform: none;
  }

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

  .filter-controls input {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .header-inner {
    min-height: 62px;
  }

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

  .hero-section,
  .sub-hero,
  .detail-hero {
    padding: 48px 0;
  }

  .hero-search {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

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

  .hero-search button {
    width: 100%;
  }

  .section-heading,
  .footer-inner {
    display: grid;
    align-items: start;
  }

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

  .movie-grid,
  .poster-strip,
  .category-grid,
  .category-summary-grid {
    grid-template-columns: 1fr;
  }

  .wide-card {
    grid-template-columns: 120px minmax(0, 1fr);
    min-height: 170px;
  }

  .wide-body {
    padding: 14px;
  }

  .wide-body p,
  .wide-card .tag-row {
    display: none;
  }

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

  .video-player,
  .video-player video,
  .player-poster {
    min-height: 260px;
  }

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

  .mobile-search {
    grid-template-columns: 1fr;
  }
}
