:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --teal-500: #14b8a6;
  --amber-400: #fbbf24;
  --white: #ffffff;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 26px rgba(15, 23, 42, 0.10);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-800);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f8fafc 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", 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(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 14px 30px rgba(2, 6, 23, 0.24);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
  box-shadow: 0 0 22px rgba(6, 182, 212, 0.45);
  font-size: 14px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
}

.nav-link {
  color: #dbeafe;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cyan-400);
}

.nav-search,
.mobile-search,
.search-page-form {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.72);
}

.nav-search input,
.mobile-search input,
.search-page-form input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.nav-search input {
  width: 210px;
  padding: 10px 12px;
}

.nav-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
}

.nav-search button {
  padding: 10px 15px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.10);
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-panel.is-open {
  display: grid;
  gap: 12px;
}

.mobile-link {
  color: #dbeafe;
  padding: 10px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.mobile-link.is-active {
  color: var(--cyan-400);
}

.mobile-search input {
  flex: 1;
  padding: 12px;
}

.mobile-search button {
  padding: 12px 16px;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--slate-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.hero-slide img.is-missing {
  opacity: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(34, 211, 238, 0.20), transparent 32%),
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.65) 42%, rgba(2, 6, 23, 0.24) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.08) 0%, rgba(2, 6, 23, 0.72) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
  z-index: 3;
  pointer-events: none;
}

.hero-content > * {
  max-width: 720px;
  pointer-events: auto;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--cyan-500);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(6, 182, 212, 0.28);
}

.hero h1,
.hero h2 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  font-weight: 900;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hero h2 + p,
.hero h1 + h2 + p {
  margin-top: 6px;
}

.hero p {
  margin: 0 0 20px;
  color: #e5e7eb;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.8;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  color: #dbeafe;
}

.hero-meta span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 12px;
  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(--cyan-500), var(--teal-500));
  box-shadow: 0 14px 32px rgba(20, 184, 166, 0.30);
}

.btn-soft {
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.92);
}

.btn-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.55);
  font-size: 34px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(2, 6, 23, 0.78);
  transform: translateY(-50%) scale(1.05);
}

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

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

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

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: var(--cyan-500);
}

.channel-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: -58px;
  position: relative;
  z-index: 8;
}

.category-tile,
.category-card {
  position: relative;
  min-height: 152px;
  overflow: hidden;
  border-radius: var(--radius-md);
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-900), var(--cyan-600));
  box-shadow: var(--shadow-card);
}

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

.category-tile img.is-missing,
.category-card img.is-missing {
  opacity: 0;
}

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

.category-tile span,
.category-card span,
.category-tile em,
.category-card p {
  position: relative;
  z-index: 2;
}

.category-tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
}

.category-tile span,
.category-card span {
  font-size: 22px;
  font-weight: 900;
}

.category-tile em {
  margin-top: 4px;
  color: #e0f2fe;
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

.main-stack {
  display: grid;
  gap: 58px;
  padding-top: 58px;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.section-head h2,
.content-section > h2,
.detail-card h1,
.detail-side h2 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.2;
  font-weight: 900;
}

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

.more-link {
  color: var(--cyan-600);
  font-weight: 800;
}

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame,
.ranking-poster,
.rank-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(34, 211, 238, 0.35), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #155e75 52%, #0f766e 100%);
}

.poster-frame {
  aspect-ratio: 3 / 4.05;
}

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

.poster-frame img.is-missing,
.ranking-poster img.is-missing,
.rank-cover img.is-missing {
  opacity: 0;
}

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

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: rgba(6, 182, 212, 0.9);
  box-shadow: 0 14px 30px rgba(6, 182, 212, 0.30);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

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

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

.card-desc {
  display: -webkit-box;
  min-height: 44px;
  margin: 0;
  overflow: hidden;
  color: var(--slate-500);
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--slate-500);
  font-size: 12px;
}

.card-meta span:first-child {
  color: #b45309;
  font-weight: 800;
}

.card-category {
  justify-self: start;
  padding: 4px 9px;
  border-radius: 999px;
  color: #0e7490;
  background: #ecfeff;
  font-size: 12px;
  font-weight: 800;
}

.split-section {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f1f5f9, #ecfeff);
  box-shadow: var(--shadow-card);
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 50px 110px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.rank-number {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  color: #0e7490;
  background: #cffafe;
  font-size: 20px;
  font-weight: 900;
}

.rank-cover {
  height: 72px;
  border-radius: 12px;
}

.rank-info {
  min-width: 0;
}

.rank-info strong {
  display: block;
  overflow: hidden;
  color: var(--slate-900);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em {
  display: block;
  margin-top: 5px;
  overflow: hidden;
  color: var(--slate-500);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sub-page {
  min-height: 70vh;
}

.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.26), transparent 32%),
    linear-gradient(135deg, var(--slate-900), #075985 58%, #0f766e);
  padding: 72px 0;
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #a5f3fc;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.1;
  font-weight: 900;
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #e0f2fe;
  font-size: 18px;
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  padding: 48px 0;
}

.category-card {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-card p {
  margin: 8px 0 0;
  color: #e0f2fe;
  font-size: 14px;
}

.filter-panel {
  margin-top: -28px;
  position: relative;
  z-index: 3;
}

.filter-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(120px, 180px)) auto;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.filter-toolbar input,
.filter-toolbar select,
.filter-toolbar button,
.search-page-form input {
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  outline: 0;
}

.filter-toolbar input,
.filter-toolbar select {
  padding: 12px 13px;
  color: var(--slate-800);
  background: var(--white);
}

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

.filter-toolbar button {
  padding: 12px 16px;
  border: 0;
  color: var(--white);
  background: var(--slate-900);
  font-weight: 800;
}

.category-list-section {
  padding: 44px 0;
}

.empty-state {
  margin: 22px 0;
  padding: 28px;
  border-radius: var(--radius-md);
  color: var(--slate-500);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.ranking-list {
  display: grid;
  gap: 18px;
  padding: 42px 0;
}

.ranking-item {
  display: grid;
  grid-template-columns: 70px 140px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.ranking-num {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
  font-size: 24px;
  font-weight: 900;
}

.ranking-poster {
  height: 104px;
  border-radius: 14px;
}

.ranking-body h2 {
  margin: 0 0 8px;
  color: var(--slate-900);
  font-size: 23px;
  line-height: 1.25;
}

.ranking-body p {
  margin: 0 0 12px;
  color: var(--slate-500);
}

.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--slate-500);
  font-size: 13px;
}

.ranking-meta span,
.ranking-meta a {
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--slate-100);
}

.search-page-form {
  max-width: 720px;
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.10);
}

.search-page-form input {
  flex: 1;
  padding: 16px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.search-page-form button {
  align-self: stretch;
  padding: 0 28px;
}

.detail-page {
  padding-top: 26px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--slate-500);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--cyan-600);
  font-weight: 800;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  padding-top: 24px;
}

.detail-main {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000000;
  box-shadow: 0 26px 60px rgba(2, 6, 23, 0.28);
}

.player-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(2, 6, 23, 0.26), rgba(2, 6, 23, 0.62));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-overlay span {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan-500), var(--teal-500));
  box-shadow: 0 18px 42px rgba(6, 182, 212, 0.36);
  font-size: 34px;
}

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

.detail-card,
.detail-side {
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.detail-card {
  padding: 28px;
}

.detail-one-line {
  margin: 12px 0 20px;
  color: var(--slate-600);
  font-size: 18px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.detail-meta li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 14px;
  background: var(--slate-100);
}

.detail-meta strong {
  color: var(--slate-500);
  font-size: 12px;
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 8px 0 24px;
}

.tag-list span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #0e7490;
  background: #ecfeff;
  font-size: 13px;
  font-weight: 800;
}

.detail-card h2 {
  margin: 26px 0 10px;
  color: var(--slate-900);
  font-size: 23px;
}

.detail-card p {
  color: var(--slate-600);
}

.detail-side {
  align-self: start;
  padding: 20px;
  position: sticky;
  top: 92px;
}

.detail-side h2 {
  margin-bottom: 16px;
  font-size: 25px;
}

.detail-side .rank-row {
  grid-template-columns: 40px 82px minmax(0, 1fr);
  padding: 9px;
}

.detail-side .rank-number {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.detail-side .rank-cover {
  height: 58px;
}

.site-footer {
  margin-top: 80px;
  color: #cbd5e1;
  background: var(--slate-900);
}

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

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 19px;
}

.site-footer p {
  margin: 0;
  color: #94a3b8;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  padding: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  text-align: center;
  color: #94a3b8;
}

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

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

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

  .channel-strip,
  .category-card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .detail-side {
    position: static;
  }
}

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

  .hero {
    height: 76vh;
    min-height: 560px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-actions {
    gap: 10px;
  }

  .btn {
    min-height: 42px;
    padding: 0 16px;
  }

  .channel-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
  }

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

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

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

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

  .rank-cover {
    height: 64px;
  }

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

  .ranking-item {
    grid-template-columns: 48px 96px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .ranking-num {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .ranking-poster {
    height: 82px;
  }

  .ranking-body h2 {
    font-size: 18px;
  }

  .ranking-body p {
    display: none;
  }

  .detail-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-card {
    padding: 20px;
  }

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

@media (max-width: 430px) {
  .hero h1,
  .hero h2 {
    font-size: 34px;
  }

  .hero p {
    font-size: 15px;
  }

  .movie-grid {
    gap: 12px;
  }

  .card-body {
    padding: 12px;
  }

  .card-desc {
    min-height: 40px;
  }

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