:root {
  color-scheme: dark;
  --bg: #030712;
  --bg-soft: #0b1120;
  --panel: rgba(17, 24, 39, 0.78);
  --panel-solid: #111827;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --accent: #10b981;
  --accent-2: #34d399;
  --accent-deep: #047857;
  --danger: #fb7185;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 0%, rgba(16, 185, 129, 0.18), transparent 30%), radial-gradient(circle at 85% 8%, rgba(52, 211, 153, 0.08), transparent 24%), var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(3, 7, 18, 0.72);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #06281e;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.34);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
}

.nav-link {
  padding: 9px 12px;
  border-radius: 999px;
  color: #cbd5e1;
  font-size: 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ecfdf5;
  background: rgba(16, 185, 129, 0.14);
}

.nav-search {
  margin-left: auto;
  width: 240px;
}

.nav-search input,
.mobile-nav input,
.hero-search input,
.local-search {
  width: 100%;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.18);
  outline: none;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.88);
  padding: 10px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.mobile-nav input:focus,
.hero-search input:focus,
.local-search:focus {
  border-color: rgba(52, 211, 153, 0.7);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.86);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: #e2e8f0;
}

.mobile-nav {
  display: none;
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 580px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.66) 42%, rgba(3, 7, 18, 0.22)), linear-gradient(0deg, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.08) 45%, rgba(3, 7, 18, 0.35));
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 108px;
  width: min(660px, calc(100% - 48px));
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
  margin: 0 0 16px;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.hero-content h1 {
  font-size: clamp(40px, 6vw, 74px);
}

.hero-content p {
  margin: 0 0 24px;
  max-width: 620px;
  color: #cbd5e1;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.tag-list span {
  padding: 5px 10px;
  border-radius: 999px;
  color: #d1fae5;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 12px;
}

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

.btn,
.hero-search button,
.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.hero-search button:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.btn.primary,
.hero-search button {
  color: #022c22;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 18px 40px rgba(16, 185, 129, 0.26);
}

.btn.ghost,
.hero-search a,
.section-more,
.text-link {
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.74);
}

.hero-controls {
  position: absolute;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 48px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #ecfdf5;
  background: rgba(15, 23, 42, 0.78);
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 22px;
  height: 6px;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.36);
}

.hero-dot.active {
  width: 34px;
  background: var(--accent-2);
}

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 5;
  width: min(760px, calc(100% - 32px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 22px;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-search a {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 14px;
}

.quick-cats {
  border-block: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(15, 23, 42, 0.48);
}

.quick-cats-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 18px 0;
}

.quick-cats a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #d1fae5;
  border: 1px solid rgba(16, 185, 129, 0.18);
  font-size: 14px;
}

.content-section,
.featured-section,
.ranking-home,
.page-main,
.detail-main {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.content-section,
.featured-section,
.ranking-home {
  padding: 72px 0;
}

.dark-band {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - var(--container)) / 2));
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(3, 7, 18, 0));
}

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

.section-head h2,
.page-hero h1,
.story-section h2,
.ranking-home h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.18;
}

.section-head p,
.page-hero p,
.ranking-home p,
.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

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

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

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

.movie-card {
  display: block;
  min-width: 0;
}

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 16px;
  background: var(--panel-solid);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28);
}

.card-cover.wide {
  aspect-ratio: 16 / 9;
}

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

.movie-card:hover .card-cover img,
.category-card:hover img,
.featured-main:hover img,
.rank-row:hover img,
.category-overview-card:hover img,
.ranking-card:hover img {
  transform: scale(1.08);
}

.cover-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .cover-gradient {
  opacity: 1;
}

.type-pill,
.rank-badge {
  position: absolute;
  top: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  color: #ecfdf5;
  background: rgba(3, 7, 18, 0.74);
  backdrop-filter: blur(12px);
}

.type-pill {
  left: 10px;
}

.rank-badge {
  right: 10px;
  color: #022c22;
  background: var(--accent-2);
  font-weight: 800;
}

.card-title {
  display: -webkit-box;
  margin-top: 12px;
  color: #f8fafc;
  font-weight: 700;
  line-height: 1.35;
  min-height: 2.7em;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover .card-title {
  color: var(--accent-2);
}

.card-meta,
.card-desc {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.card-desc {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.scroll-row {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}

.scroll-row .movie-card {
  width: 292px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

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

.featured-main {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

.featured-main img,
.category-card img,
.rank-row img,
.category-overview-card img,
.ranking-card img {
  transition: transform 0.55s ease;
}

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

.featured-main span {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent 65%);
}

.featured-main strong,
.featured-main em {
  position: absolute;
  left: 28px;
  right: 28px;
  z-index: 2;
}

.featured-main strong {
  bottom: 78px;
  font-size: 30px;
  line-height: 1.2;
}

.featured-main em {
  bottom: 28px;
  color: #cbd5e1;
  font-style: normal;
}

.featured-list,
.rank-panel {
  display: grid;
  gap: 12px;
}

.rank-row {
  display: grid;
  grid-template-columns: auto 82px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 10px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  overflow: hidden;
}

.row-rank {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #022c22;
  background: var(--accent-2);
  font-weight: 800;
}

.rank-row img {
  width: 82px;
  height: 62px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-row strong {
  display: -webkit-box;
  color: #f8fafc;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-row em {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

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

.category-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.68);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(52, 211, 153, 0.34);
  background: rgba(15, 23, 42, 0.92);
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.category-thumbs img {
  height: 112px;
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.category-card strong {
  font-size: 20px;
}

.category-card em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.ranking-home {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
  align-items: start;
}

.page-main {
  padding-top: 104px;
}

.page-hero {
  padding: 54px 0 32px;
}

.page-hero.compact {
  max-width: 860px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 14px;
}

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

.library-tools {
  display: grid;
  gap: 14px;
  padding: 16px;
  margin: 12px 0 20px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.66);
}

.sticky-tools {
  position: sticky;
  top: 76px;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.filter-chips {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.filter-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.72);
  cursor: pointer;
  padding: 8px 13px;
}

.filter-chip.active,
.filter-chip:hover {
  color: #022c22;
  border-color: transparent;
  background: var(--accent-2);
}

.flush {
  padding-top: 24px;
}

.movie-card.is-hidden,
.ranking-card.is-hidden {
  display: none;
}

.category-overview {
  display: grid;
  gap: 20px;
  padding: 18px 0 72px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.66);
}

.category-cover-set {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.category-cover-set img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 14px;
}

.category-overview-card h2 {
  margin: 4px 0 8px;
}

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.inline-links a {
  color: #d1fae5;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 56px 120px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.72);
}

.ranking-number {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #022c22;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  font-size: 18px;
  font-weight: 900;
}

.ranking-cover {
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

.ranking-cover img {
  width: 120px;
  height: 164px;
  object-fit: cover;
}

.ranking-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.ranking-card h2 a:hover {
  color: var(--accent-2);
}

.ranking-card p {
  margin: 0 0 12px;
  color: #cbd5e1;
}

.detail-main {
  padding-top: 96px;
}

.detail-hero {
  padding: 32px 0 46px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: end;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  background: var(--panel-solid);
  box-shadow: var(--shadow);
}

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

.detail-info h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.detail-one-line {
  margin: 0 0 18px;
  color: #dbeafe;
  font-size: 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.detail-meta span {
  padding: 7px 11px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.72);
}

.player-section {
  padding: 36px 0 56px;
}

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

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  color: #ecfdf5;
  background: radial-gradient(circle at center, rgba(16, 185, 129, 0.2), rgba(0, 0, 0, 0.68) 42%, rgba(0, 0, 0, 0.86));
}

.player-cover.is-hidden {
  display: none;
}

.play-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding-left: 5px;
  color: #022c22;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 20px 48px rgba(16, 185, 129, 0.34);
  font-size: 32px;
}

.story-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  padding: 10px 0 54px;
}

.story-section article {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.62);
}

.story-section h2 {
  margin-bottom: 12px;
  font-size: 24px;
}

.story-section p {
  margin: 0;
  color: #cbd5e1;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(3, 7, 18, 0.72);
}

.footer-inner {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  color: #cbd5e1;
}

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

@media (max-width: 1100px) {
  .movie-grid.poster {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

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

  .menu-toggle {
    display: block;
  }

  .mobile-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 72px;
    z-index: 49;
    display: none;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 20px;
    background: rgba(3, 7, 18, 0.96);
    box-shadow: var(--shadow);
  }

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

  .mobile-nav .nav-link {
    border-radius: 14px;
  }

  .hero-carousel {
    min-height: 640px;
  }

  .hero-content {
    bottom: 160px;
  }

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

  .hero-controls {
    left: 24px;
    right: auto;
    bottom: 104px;
  }

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

  .featured-layout,
  .ranking-home,
  .story-section,
  .footer-inner,
  .detail-layout,
  .category-overview-card {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .header-inner,
  .content-section,
  .featured-section,
  .ranking-home,
  .page-main,
  .detail-main,
  .footer-inner {
    width: min(100% - 24px, var(--container));
  }

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

  .hero-carousel {
    min-height: 620px;
  }

  .hero-content {
    left: 16px;
    right: 16px;
    bottom: 172px;
    width: auto;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

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

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

  .category-thumbs img {
    height: 96px;
  }

  .ranking-card {
    grid-template-columns: 42px 88px 1fr;
    gap: 12px;
  }

  .ranking-number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 15px;
  }

  .ranking-cover img {
    width: 88px;
    height: 122px;
  }

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

  .ranking-card p {
    display: none;
  }

  .category-cover-set {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-cover-set img {
    height: 128px;
  }

  .detail-main {
    padding-top: 84px;
  }

  .detail-info h1 {
    font-size: 32px;
  }

  .player-shell {
    border-radius: 16px;
  }

  .play-icon {
    width: 62px;
    height: 62px;
    font-size: 26px;
  }
}
