:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --dark: #0f172a;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", 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;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #fff;
  background: linear-gradient(90deg, #0f172a, #1e3a8a, #0f172a);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.22);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #60a5fa, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  background: linear-gradient(135deg, #60a5fa, #67e8f9);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.28);
  font-size: 14px;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.desktop-nav > a,
.nav-dropdown > button {
  border: 0;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.desktop-nav > a.is-active,
.nav-dropdown:hover > button {
  color: #67e8f9;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: 170px;
  padding: 10px;
  border-radius: 16px;
  color: #1e293b;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  color: #334155;
}

.nav-dropdown-panel a:hover {
  color: #2563eb;
  background: #eff6ff;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, transform 0.2s ease;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.mobile-only {
  display: none;
}

.header-search {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 14px 0;
}

.header-search.is-open {
  display: block;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input,
.search-board input,
.filter-card input,
.search-board select,
.filter-card select {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 14px;
  padding: 12px 14px;
  color: #0f172a;
  background: #fff;
  outline: none;
}

.search-form input {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.search-form button,
.primary-button,
.small-button {
  border: 0;
  border-radius: 14px;
  padding: 12px 20px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-form button:hover,
.primary-button:hover,
.small-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.28);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  padding: 12px 20px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.ghost-button:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.mobile-nav a {
  padding: 11px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.mobile-nav a:hover {
  color: #67e8f9;
  background: rgba(255, 255, 255, 0.08);
}

.hero-slider {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1d4ed8 48%, #0891b2);
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  opacity: 0.24;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 3s ease;
}

.hero-bg-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-bg-layer::after,
.detail-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(30, 58, 138, 0.72), rgba(15, 23, 42, 0.94));
}

.hero-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(72px);
  opacity: 0.28;
}

.hero-glow-left {
  left: -110px;
  top: 72px;
  background: #22d3ee;
}

.hero-glow-right {
  right: -120px;
  bottom: 20px;
  background: #3b82f6;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 54px;
  padding: 88px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #67e8f9;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 18px currentColor;
}

.hero-copy h1,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p,
.page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 42px;
}

.hero-stats span {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stats strong,
.hero-stats em {
  display: block;
}

.hero-stats strong {
  font-size: 24px;
  color: #fff;
}

.hero-stats em {
  margin-top: 4px;
  color: #bae6fd;
  font-style: normal;
  font-size: 14px;
}

.hero-panel,
.rank-panel,
.content-card,
.side-card,
.filter-card,
.search-board,
.category-card-large {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 18px;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.hero-panel-title,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-panel-title {
  margin-bottom: 12px;
  color: #334155;
  font-weight: 800;
}

.hero-panel-title a,
.section-link {
  color: #2563eb;
  font-weight: 800;
}

.hero-feature {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-feature + .hero-feature {
  margin-top: 8px;
}

.hero-feature:hover,
.hero-feature.is-active {
  background: #eff6ff;
  transform: translateX(4px);
}

.hero-feature img {
  width: 92px;
  height: 62px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-feature strong,
.hero-feature em,
.compact-movie strong,
.compact-movie em {
  display: block;
}

.hero-feature strong {
  font-size: 16px;
  line-height: 1.35;
}

.hero-feature em,
.compact-movie em {
  margin-top: 4px;
  color: #64748b;
  font-style: normal;
  font-size: 13px;
}

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

.hero-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
}

.hero-dots button.is-active {
  width: 26px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}

.section {
  padding: 72px 0;
}

.light-section {
  background: linear-gradient(180deg, #f8fafc, #eef6ff);
}

.blue-section {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #0f172a);
}

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

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.03em;
}

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

.blue-section .section-heading p,
.blue-section .section-link {
  color: #bae6fd;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

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

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

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

.movie-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.62));
}

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.year-badge {
  right: 12px;
  background: rgba(37, 99, 235, 0.86);
}

.rank-badge {
  left: 12px;
  background: rgba(239, 68, 68, 0.92);
}

.play-circle {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: all 0.25s ease;
}

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

.movie-card-body {
  padding: 18px;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

.card-meta span,
.detail-meta span {
  border-radius: 999px;
  padding: 4px 9px;
  background: #f1f5f9;
}

.movie-card h2 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-card h2 a:hover {
  color: #2563eb;
}

.movie-card p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: #64748b;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-row span {
  border-radius: 999px;
  padding: 5px 9px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 700;
}

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

.category-tile,
.category-card-large {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-card-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.12);
}

.category-tile strong,
.category-tile span {
  display: block;
}

.category-tile strong {
  color: #0f172a;
  font-size: 20px;
}

.category-tile span,
.category-card-large p {
  margin-top: 8px;
  color: #64748b;
  line-height: 1.6;
}

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

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 20px;
  color: #0f172a;
}

.rank-panel h2 {
  margin: 0 0 14px;
}

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

.compact-movie {
  display: grid;
  grid-template-columns: auto 62px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.compact-movie:hover {
  background: #eff6ff;
  transform: translateX(4px);
}

.compact-movie img {
  width: 62px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}

.compact-rank {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ef4444, #f97316);
  font-size: 13px;
  font-weight: 800;
}

.page-hero {
  padding: 78px 0;
  color: #fff;
  background: linear-gradient(135deg, #1e3a8a, #2563eb, #06b6d4);
}

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

.category-page-hero,
.search-hero {
  background: linear-gradient(135deg, #0f172a, #1d4ed8, #0891b2);
}

.ranking-hero {
  background: linear-gradient(135deg, #7f1d1d, #dc2626, #f97316);
}

.back-link,
.breadcrumbs a {
  color: #bae6fd;
  font-weight: 800;
}

.category-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.category-card-head span {
  font-size: 24px;
  font-weight: 800;
}

.category-card-head strong {
  min-width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.category-samples a {
  border-radius: 999px;
  padding: 6px 10px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 13px;
}

.filter-card,
.search-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
}

.search-board {
  grid-template-columns: minmax(0, 1fr) 220px 180px auto;
  align-items: end;
}

.filter-card label,
.search-board label {
  display: grid;
  gap: 8px;
  color: #334155;
  font-weight: 800;
}

.search-result-count {
  min-width: 120px;
  color: #64748b;
  font-weight: 800;
}

.empty-state {
  display: none;
  margin: 28px 0 0;
  padding: 28px;
  border-radius: 18px;
  color: #64748b;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

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

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

.ranking-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.ranking-main {
  display: grid;
  grid-template-columns: 42px 88px 1fr;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.ranking-number {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  font-weight: 900;
}

.ranking-main img {
  width: 88px;
  height: 58px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-main strong,
.ranking-main em {
  display: block;
}

.ranking-main strong {
  font-size: 18px;
}

.ranking-main em {
  margin-top: 4px;
  color: #64748b;
  font-style: normal;
}

.small-button {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 12px;
  font-size: 14px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0f172a;
}

.detail-bg {
  position: absolute;
  inset: 0;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.44;
}

.detail-head {
  position: relative;
  z-index: 1;
  padding: 40px 0 64px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.72);
}

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

.detail-poster {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

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

.detail-one-line {
  max-width: 850px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
}

.detail-meta {
  margin-top: 22px;
}

.detail-meta span {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.1);
}

.detail-tags span {
  color: #cffafe;
  background: rgba(255, 255, 255, 0.12);
}

.player-section {
  background: #020617;
}

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

.player-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.4), rgba(2, 6, 23, 0.74));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play-icon {
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #2563eb;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.34);
  font-size: 28px;
}

.player-overlay strong {
  max-width: 82%;
  font-size: clamp(20px, 3vw, 32px);
}

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

.content-card,
.side-card {
  padding: 28px;
}

.content-card h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

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

.content-card p {
  color: #334155;
  font-size: 17px;
  line-height: 1.9;
}

.inline-links a {
  color: #2563eb;
  font-weight: 800;
}

.side-card dl {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.side-card dt {
  color: #64748b;
  font-weight: 800;
}

.side-card dd {
  margin: 0;
  color: #0f172a;
}

.side-card a {
  color: #2563eb;
  font-weight: 800;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding: 46px 0 30px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 460px;
  color: #94a3b8;
  line-height: 1.8;
}

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

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
}

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

  .mobile-only {
    display: inline-block;
  }

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

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

  .rank-panel {
    position: static;
  }

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

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

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

  .header-inner {
    height: 64px;
  }

  .brand {
    font-size: 18px;
  }

  .hero-slider {
    min-height: auto;
  }

  .hero-grid {
    padding: 54px 0;
    gap: 28px;
  }

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

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

  .hero-stats,
  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid,
  .filter-card,
  .search-board,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

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

  .ranking-row,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .ranking-main {
    grid-template-columns: 36px 76px 1fr;
  }

  .ranking-main img {
    width: 76px;
    height: 56px;
  }

  .player-card {
    border-radius: 18px;
  }

  .content-card,
  .side-card {
    padding: 20px;
  }
}
