:root {
  --cyan: #0891b2;
  --cyan-dark: #0e7490;
  --blue: #2563eb;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f8fafc;
  --line: #e5e7eb;
  --card: #ffffff;
  --dark: #0f172a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #f9fafb 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.header-inner {
  max-width: 1180px;
  height: 64px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 12px 28px rgba(8, 145, 178, 0.28);
  font-size: 14px;
}

.brand-text,
.footer-logo {
  font-size: 21px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.03em;
}

.desktop-nav,
.header-actions,
.top-search,
.mobile-search,
.mobile-nav {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link,
.mobile-link {
  font-weight: 650;
  color: #374151;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 12px;
  font-size: 14px;
}

.nav-link:hover,
.mobile-link:hover {
  color: var(--cyan-dark);
  background: #ecfeff;
}

.header-actions {
  gap: 12px;
}

.top-search,
.mobile-search,
.page-search {
  position: relative;
  gap: 8px;
}

.top-search input,
.mobile-search input,
.page-search input,
.filter-panel input {
  height: 40px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  outline: none;
  padding: 0 16px;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-search input {
  width: 230px;
}

.top-search input:focus,
.mobile-search input:focus,
.page-search input:focus,
.filter-panel input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.12);
}

.top-search button,
.mobile-search button,
.page-search button,
.primary-button,
.text-button,
.more-link {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(8, 145, 178, 0.22);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.top-search button,
.mobile-search button,
.page-search button {
  height: 40px;
  padding: 0 18px;
}

.primary-button,
.text-button,
.more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
}

.top-search button:hover,
.mobile-search button:hover,
.page-search button:hover,
.primary-button:hover,
.text-button:hover,
.more-link:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
  color: #111827;
  font-size: 22px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 14px 24px 18px;
  background: #ffffff;
}

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

.mobile-search input {
  flex: 1;
}

.mobile-nav {
  align-items: stretch;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.mobile-link {
  padding: 11px 12px;
}

.hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  overflow: hidden;
  background: #0f172a;
}

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

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.18) 100%);
}

.hero-content {
  position: absolute;
  left: 50%;
  bottom: 70px;
  width: min(1180px, calc(100% - 48px));
  transform: translateX(-50%);
  color: #ffffff;
}

.hero-content h1 {
  max-width: 780px;
  margin: 12px 0 16px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 20px;
  color: #e5e7eb;
  font-size: 19px;
  line-height: 1.75;
}

.hero-kicker,
.detail-kicker,
.page-hero-simple span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(8, 145, 178, 0.92);
  font-size: 14px;
  font-weight: 800;
}

.hero-meta,
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-meta {
  margin-bottom: 28px;
  color: #d1d5db;
}

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

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.search-band {
  margin-top: -42px;
  position: relative;
  z-index: 10;
  padding: 0 24px;
}

.search-band-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.14);
  display: grid;
  grid-template-columns: 1fr minmax(320px, 1.2fr);
  gap: 24px;
  align-items: center;
}

.search-band h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.search-band form,
.page-search {
  display: flex;
}

.search-band input,
.page-search input {
  flex: 1;
  min-width: 0;
}

.content-section,
.detail-container,
.footer-inner,
.page-main {
  width: min(1180px, calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

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

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

.section-title h2,
.home-ranking h2,
.related-panel h2,
.footer-links h2,
.search-heading h2 {
  margin: 0;
  color: #111827;
  font-size: 28px;
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.section-title a {
  color: var(--cyan-dark);
  font-weight: 800;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.95);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 16px 38px 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 24px 55px rgba(15, 23, 42, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe, #f8fafc);
}

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

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

.poster-badge,
.poster-score {
  position: absolute;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.poster-badge {
  left: 12px;
  background: rgba(8, 145, 178, 0.9);
}

.poster-score {
  right: 12px;
  background: rgba(17, 24, 39, 0.78);
}

.card-body {
  padding: 16px;
}

.card-meta,
.rank-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.card-body h2,
.rank-content h2 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
}

.card-body h2 a:hover,
.rank-content h2 a:hover,
.sample-links a:hover {
  color: var(--cyan-dark);
}

.card-body p,
.rank-content p,
.category-tile p,
.category-overview-card p,
.footer-brand p,
.page-hero-simple p,
.movie-article p {
  color: var(--muted);
  line-height: 1.72;
}

.card-body p {
  min-height: 52px;
  margin: 0 0 14px;
  font-size: 14px;
}

.tag-row,
.detail-tags,
.rank-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.detail-tags a,
.rank-stats span {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  border-radius: 999px;
  color: #0e7490;
  background: #ecfeff;
  font-size: 12px;
  font-weight: 800;
}

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

.category-tile,
.category-overview-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.category-tile {
  position: relative;
  min-height: 240px;
  padding: 22px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.08));
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.category-tile span {
  font-size: 23px;
  font-weight: 950;
}

.category-tile p {
  margin: 8px 0 0;
  color: #e5e7eb;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.home-ranking {
  position: sticky;
  top: 86px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.home-ranking h2 {
  margin-bottom: 18px;
}

.rank-item {
  display: grid;
  grid-template-columns: 42px 74px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #eef2f7;
}

.rank-number {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 900;
}

.rank-thumb {
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #f1f5f9;
}

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

.rank-content h2 {
  font-size: 16px;
}

.rank-content p {
  margin: 0 0 8px;
  font-size: 13px;
}

.more-link {
  width: 100%;
  margin-top: 18px;
}

.page-main {
  padding-bottom: 60px;
}

.page-hero-simple {
  margin: 40px auto 0;
  padding: 54px;
  border-radius: 34px;
  background: radial-gradient(circle at top left, rgba(8, 145, 178, 0.15), transparent 34%), linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.page-hero-simple h1 {
  max-width: 850px;
  margin: 14px 0 12px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.page-hero-simple p {
  max-width: 780px;
  margin: 0;
  font-size: 18px;
}

.page-search {
  max-width: 760px;
  margin-top: 28px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 18px;
}

.category-cover {
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 3 / 4;
  background: #f1f5f9;
}

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

.category-overview-card h2 {
  margin: 6px 0 8px;
  font-size: 24px;
  font-weight: 950;
}

.sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 18px;
}

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

.filter-panel {
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-button {
  height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #334155;
  background: #f1f5f9;
  font-weight: 800;
  cursor: pointer;
}

.filter-button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.filter-panel input {
  width: min(320px, 100%);
}

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

.ranking-page-list .rank-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
}

.search-heading {
  margin-bottom: 22px;
}

.detail-page {
  background: linear-gradient(180deg, #020617 0%, #0f172a 460px, #f8fafc 461px);
}

.detail-hero {
  padding: 34px 0 38px;
  color: #ffffff;
}

.breadcrumb {
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 26px;
  align-items: stretch;
}

.player-panel,
.detail-side,
.movie-article,
.related-panel {
  border: 1px solid rgba(226, 232, 240, 0.12);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.player-panel {
  padding: 16px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  cursor: pointer;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.28), rgba(0, 0, 0, 0.58));
  font-size: 19px;
  font-weight: 900;
  cursor: pointer;
}

.play-cover.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 16px 42px rgba(8, 145, 178, 0.45);
  font-size: 30px;
}

.detail-side {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-side img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 20px;
}

.detail-score {
  padding: 14px;
  border-radius: 18px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  font-weight: 800;
}

.detail-score strong {
  color: #ffffff;
  font-size: 26px;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 26px;
  align-items: start;
  padding: 34px 0 80px;
}

.movie-article,
.related-panel {
  color: var(--ink);
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.movie-article {
  padding: 32px;
}

.detail-title-row h1 {
  margin: 14px 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.detail-title-row p {
  margin: 0;
  font-size: 18px;
}

.detail-meta-grid {
  margin: 26px 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.detail-meta-grid div {
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
}

.detail-meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.detail-meta-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

.detail-tags {
  margin-bottom: 28px;
}

.movie-article h2 {
  margin: 28px 0 10px;
  font-size: 24px;
  font-weight: 950;
}

.movie-article p {
  margin: 0;
  font-size: 17px;
}

.related-panel {
  position: sticky;
  top: 86px;
  padding: 22px;
}

.related-panel h2 {
  margin-bottom: 18px;
}

.related-panel .small-grid {
  grid-template-columns: 1fr;
}

.related-panel .movie-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  border-radius: 18px;
}

.related-panel .poster-link {
  height: 100%;
  aspect-ratio: auto;
}

.related-panel .card-body p,
.compact-card .card-body p {
  min-height: 0;
}

.site-footer {
  margin-top: 72px;
  color: #d1d5db;
  background: #111827;
}

.footer-inner {
  padding: 54px 0 34px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 44px;
}

.footer-brand p {
  margin: 14px 0 0;
  color: #cbd5e1;
}

.footer-links h2 {
  color: #ffffff;
  margin-bottom: 14px;
  font-size: 18px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}

[data-hidden="true"] {
  display: none !important;
}

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

  .top-search {
    display: none;
  }

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

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

  .split-section,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .home-ranking,
  .related-panel {
    position: static;
  }

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

  .detail-side {
    display: none;
  }
}

@media (max-width: 780px) {
  .header-inner,
  .content-section,
  .detail-container,
  .footer-inner,
  .page-main {
    width: min(100% - 32px, 1180px);
    padding-left: 0;
    padding-right: 0;
  }

  .header-inner {
    height: 60px;
  }

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

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

  .hero-content {
    bottom: 76px;
    width: calc(100% - 36px);
  }

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

  .hero-content p {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

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

  .search-band form,
  .page-search,
  .filter-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .content-section {
    padding-top: 46px;
  }

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

  .movie-grid,
  .small-grid,
  .category-grid,
  .category-movie-grid,
  .category-overview-grid,
  .ranking-page-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

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

  .page-hero-simple {
    padding: 32px 24px;
    border-radius: 26px;
  }

  .detail-content {
    width: min(100% - 32px, 1180px);
  }

  .movie-article {
    padding: 24px;
  }

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

  .related-panel .movie-card {
    grid-template-columns: 92px 1fr;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .rank-item {
    grid-template-columns: 34px 64px 1fr;
    gap: 10px;
  }

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