:root {
  --blue: #2563eb;
  --cyan: #06b6d4;
  --teal: #0d9488;
  --orange: #f97316;
  --red: #ef4444;
  --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;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  --soft-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--slate-800);
  background: linear-gradient(180deg, #eff6ff 0%, #ecfeff 38%, #ffffff 100%);
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: white;
  background: linear-gradient(105deg, #2563eb 0%, #0891b2 48%, #0d9488 100%);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.25);
}

.header-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 16px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.95) 0 32%, transparent 34%) 0 0 / 90px 24px repeat-x;
  pointer-events: none;
  opacity: 0.95;
}

.header-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

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

.brand-icon,
.footer-logo span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand-name {
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  display: block;
  color: #dbeafe;
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.nav-link {
  position: relative;
  padding: 8px 0;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: white;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-form,
.mobile-search,
.large-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 999px;
}

.search-form {
  width: 260px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
}

.search-form input,
.mobile-search input,
.large-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
}

.search-form input {
  padding: 11px 12px 11px 18px;
  color: white;
}

.search-form input::placeholder,
.mobile-search input::placeholder,
.large-search input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.search-form button,
.mobile-search button,
.large-search button {
  border: 0;
  cursor: pointer;
  color: inherit;
  background: transparent;
}

.search-form button {
  width: 46px;
  height: 42px;
  font-size: 20px;
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  position: relative;
  z-index: 2;
  padding: 0 16px 22px;
}

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

.mobile-search {
  background: rgba(255, 255, 255, 0.18);
  margin-bottom: 12px;
}

.mobile-search input {
  padding: 12px 16px;
  color: white;
}

.mobile-search button {
  padding: 0 18px;
  height: 46px;
  font-weight: 700;
}

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

.mobile-nav .nav-link {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-slider {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: #0f172a;
}

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

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-cover {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(6, 182, 212, 0.28), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.86) 0%, rgba(15, 23, 42, 0.62) 48%, rgba(15, 23, 42, 0.08) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-copy {
  max-width: 690px;
  color: white;
  padding-top: 24px;
}

.hero-label,
.detail-label {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 16px;
  color: white;
  font-weight: 800;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.32);
}

.hero-copy h1 {
  margin: 22px 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 22px;
  color: #e2e8f0;
  font-size: clamp(17px, 2vw, 22px);
}

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

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

.hero-tags span {
  color: #e0f2fe;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

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

.primary-btn,
.ghost-btn,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-btn {
  min-height: 48px;
  padding: 0 28px;
  color: white;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.3);
}

.ghost-btn {
  min-height: 48px;
  padding: 0 26px;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
  transform: translateY(-2px);
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.48);
  transition: width 0.25s ease, background 0.25s ease;
}

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

.search-strip {
  position: relative;
  z-index: 6;
  margin-top: -38px;
}

.search-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  color: white;
  border-radius: 24px;
  background: linear-gradient(90deg, #0891b2, #2563eb);
  box-shadow: var(--shadow);
}

.search-strip strong {
  display: block;
  font-size: 24px;
  line-height: 1.2;
}

.search-strip span {
  color: #dbeafe;
}

.search-strip form,
.large-search {
  flex: 0 1 520px;
  background: white;
  color: var(--slate-800);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.search-strip input,
.large-search input {
  padding: 15px 18px;
  color: var(--slate-800);
}

.search-strip input::placeholder,
.large-search input::placeholder {
  color: var(--slate-500);
}

.search-strip button,
.large-search button {
  height: 54px;
  padding: 0 24px;
  color: white;
  font-weight: 800;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

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

.section-soft {
  background: rgba(255, 255, 255, 0.52);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.heading-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 16px;
  color: white;
  font-size: 22px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: var(--soft-shadow);
}

.section-heading h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 50px rgba(37, 99, 235, 0.18);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 22;
  overflow: hidden;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

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

.poster-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), transparent);
}

.play-chip {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  background: rgba(6, 182, 212, 0.86);
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.32);
  backdrop-filter: blur(12px);
}

.poster-meta,
.rank-badge {
  position: absolute;
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.poster-meta {
  left: 14px;
  bottom: 14px;
}

.rank-badge {
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.32);
}

.card-body {
  padding: 18px;
}

.card-title {
  display: block;
  min-height: 52px;
  color: var(--slate-900);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.card-title:hover {
  color: var(--blue);
}

.card-body p {
  min-height: 50px;
  margin: 10px 0 14px;
  color: var(--slate-600);
  font-size: 14px;
}

.card-tags span {
  color: #0e7490;
  background: #ecfeff;
}

.card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: var(--slate-500);
  font-size: 13px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 100px;
  border-radius: var(--radius);
  padding: 24px;
  background: white;
  box-shadow: var(--shadow);
}

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

.ranking-title h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: 24px;
}

.ranking-title a,
.text-link {
  color: var(--blue);
  font-weight: 800;
}

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

.ranking-list a {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ranking-list a:hover {
  background: #e0f2fe;
  transform: translateX(4px);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.rank-title {
  overflow: hidden;
  color: var(--slate-900);
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info {
  color: var(--slate-500);
  font-size: 13px;
}

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

.category-card,
.overview-card,
.text-panel,
.detail-side,
.player-card,
.filter-bar,
.search-result-heading {
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--soft-shadow);
}

.category-card {
  display: block;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover,
.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.category-card span {
  display: block;
  color: var(--slate-900);
  font-size: 22px;
  font-weight: 900;
}

.category-card p {
  margin: 10px 0 16px;
  color: var(--slate-600);
}

.category-card div,
.overview-links {
  display: grid;
  gap: 6px;
}

.category-card div a,
.overview-links a {
  overflow: hidden;
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  color: white;
  background:
    radial-gradient(circle at 76% 18%, rgba(255, 255, 255, 0.16), transparent 25%),
    linear-gradient(115deg, #2563eb 0%, #0891b2 52%, #0d9488 100%);
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.18);
}

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

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

.overview-card {
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.overview-cover {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 170px;
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

.overview-body {
  padding: 22px;
}

.overview-body h2 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 24px;
}

.overview-body p {
  margin: 0 0 14px;
  color: var(--slate-600);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, 180px);
  gap: 14px;
  padding: 18px;
  margin-bottom: 30px;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  outline: 0;
  padding: 13px 14px;
  color: var(--slate-700);
  background: #f8fafc;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 120px 58px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-radius: var(--radius);
  padding: 14px;
  background: white;
  box-shadow: var(--soft-shadow);
}

.rank-row-poster {
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 22;
  background: #dbeafe;
}

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

.rank-row-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  color: white;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--red));
}

.rank-row-body h2 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 24px;
}

.rank-row-body p {
  margin: 0 0 12px;
  color: var(--slate-600);
}

.rank-row-meta span,
.detail-meta span {
  color: #0e7490;
  background: #ecfeff;
}

.detail-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: white;
  background: #020617;
}

.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(8px);
  transform: scale(1.05);
  opacity: 0.52;
}

.detail-hero-cover {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 22%, rgba(6, 182, 212, 0.24), transparent 28%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.62));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 54px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: #dbeafe;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: white;
}

.detail-intro {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 38px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 30px;
  aspect-ratio: 16 / 22;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  background: linear-gradient(135deg, #dbeafe, #cffafe);
}

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

.detail-copy h1 {
  margin: 22px 0 16px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-copy p {
  max-width: 780px;
  margin: 0 0 24px;
  color: #e2e8f0;
  font-size: 19px;
}

.player-section {
  padding: 58px 0 38px;
  background: var(--slate-950);
}

.player-card {
  position: relative;
  overflow: hidden;
  background: black;
  box-shadow: 0 28px 70px rgba(2, 6, 23, 0.38);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: white;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.16), rgba(2, 6, 23, 0.5));
}

.play-overlay.is-hidden {
  display: none;
}

.play-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  font-size: 34px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 18px 42px rgba(6, 182, 212, 0.35);
}

.detail-content-section {
  padding: 64px 0 78px;
}

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

.detail-main {
  display: grid;
  gap: 28px;
}

.text-panel {
  padding: 30px;
}

.text-panel h2,
.detail-side h2 {
  margin: 0 0 16px;
  color: var(--slate-900);
  font-size: 26px;
  line-height: 1.2;
}

.text-panel p {
  margin: 0;
  color: var(--slate-600);
  font-size: 17px;
}

.tag-panel div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-panel a {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 13px;
  color: #0e7490;
  font-weight: 800;
  background: #ecfeff;
}

.related-section {
  margin-top: 10px;
}

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

.compact-card .card-body p {
  min-height: auto;
}

.detail-side {
  position: sticky;
  top: 100px;
  padding: 24px;
}

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

.side-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.side-row img {
  width: 64px;
  height: 86px;
  border-radius: 14px;
  object-fit: cover;
  background: #dbeafe;
}

.side-row span {
  color: var(--slate-800);
  font-weight: 800;
  line-height: 1.35;
}

.large-search {
  max-width: 720px;
  margin-top: 26px;
}

.search-result-heading {
  padding: 24px;
  margin-bottom: 28px;
}

.search-result-heading h2 {
  margin: 0 0 8px;
  color: var(--slate-900);
}

.search-result-heading p {
  margin: 0;
  color: var(--slate-500);
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 36px;
  padding: 56px 0 36px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 24px;
  font-weight: 900;
}

.footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
  color: #94a3b8;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 6px;
  color: #22d3ee;
  font-size: 18px;
}

.footer-column a {
  color: #cbd5e1;
}

.footer-column a:hover {
  color: white;
}

.footer-tags div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-tags a {
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  padding: 18px 16px 24px;
  color: #94a3b8;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

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

  .ranking-panel,
  .detail-side {
    position: static;
  }

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

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

  .header-inner {
    min-height: 70px;
  }

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

  .brand-subtitle {
    font-size: 11px;
  }

  .search-form {
    display: none;
  }

  .hero-slider {
    height: 560px;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .search-strip-inner {
    flex-direction: column;
    align-items: stretch;
  }

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

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

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

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

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

  .rank-row-number {
    position: absolute;
    margin: -38px 0 0 8px;
  }

  .rank-row-body {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .content-section {
    padding: 52px 0;
  }

  .hero-slider {
    height: 530px;
  }

  .hero-copy {
    padding-top: 0;
  }

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

  .hero-copy p,
  .detail-copy p {
    font-size: 16px;
  }

  .hero-actions,
  .detail-actions {
    gap: 10px;
  }

  .primary-btn,
  .ghost-btn {
    width: 100%;
  }

  .movie-grid,
  .small-grid,
  .related-grid,
  .category-grid,
  .overview-grid,
  .top-rank-grid {
    grid-template-columns: 1fr;
  }

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

  .detail-hero-inner {
    padding-top: 34px;
  }

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

  .text-panel {
    padding: 22px;
  }

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