:root {
  --bg: #f9fafb;
  --panel: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f3f4f6;
  --line: #e5e7eb;
  --orange: #f97316;
  --red: #dc2626;
  --pink: #db2777;
  --blue: #2563eb;
  --green: #16a34a;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.logo-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35);
}

.logo-text {
  font-size: 24px;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  -webkit-background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  color: #374151;
  font-weight: 650;
  transition: color 0.2s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--orange);
  transition: right 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active,
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--orange);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  right: 0;
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 3px;
  border: 1px solid transparent;
  transition: border 0.2s ease, background 0.2s ease;
}

.header-search:focus-within,
.mobile-search:focus-within {
  border-color: rgba(249, 115, 22, 0.65);
  background: #ffffff;
}

.header-search input,
.mobile-search input {
  width: 180px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 9px 12px;
}

.header-search button,
.mobile-search button {
  border: 0;
  color: var(--orange);
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #374151;
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 16px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

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

main {
  padding-top: 76px;
}

.hero-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: radial-gradient(circle at 75% 20%, rgba(255, 255, 255, 0.24), transparent 28%), linear-gradient(135deg, #ea580c 0%, #dc2626 50%, #db2777 100%);
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-bg-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: 90px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(8px);
}

.hero-track {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  align-items: center;
  gap: 48px;
  opacity: 0;
  transform: translateY(22px);
  pointer-events: none;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero-copy {
  max-width: 690px;
  color: #ffffff;
}

.hero-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.hero-copy p {
  max-width: 700px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.hero-tags span,
.detail-tags span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn.primary {
  background: #ffffff;
  color: var(--orange);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.22);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn.line {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-art {
  position: relative;
  justify-self: end;
  width: min(380px, 100%);
  aspect-ratio: 3 / 4;
  border-radius: 32px;
  overflow: hidden;
  transform: rotate(3deg);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
  border: 8px solid rgba(255, 255, 255, 0.25);
}

.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 55%);
}

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

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

.hero-dot {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.active {
  background: #ffffff;
}

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

.blue-section {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
}

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

.cool-section {
  background: linear-gradient(135deg, #faf5ff, #fdf2f8);
}

.category-overview-band {
  background: #ffffff;
}

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

.section-head h2,
.category-block-head h2,
.rank-side h2,
.detail-article h2,
.detail-side-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  color: #111827;
}

.section-head p,
.category-block-head p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-link {
  color: var(--orange);
  font-weight: 800;
  white-space: nowrap;
}

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

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

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

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

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

.side-wide-grid {
  grid-template-columns: 1fr;
}

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

.movie-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-link:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.movie-thumb {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f97316, #dc2626);
}

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

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

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

.movie-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.08));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-link:hover .movie-overlay {
  opacity: 1;
}

.play-badge,
.big-play {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--orange);
  font-weight: 900;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}

.corner-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.movie-info {
  padding: 16px;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 46px;
  margin: 0 0 8px;
  overflow: hidden;
  color: #111827;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 850;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-info p {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-stats,
.movie-meta-line,
.rank-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

.pill {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.pill.green {
  background: #dcfce7;
  color: #15803d;
}

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

.category-tile {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  color: #ffffff;
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.1));
}

.category-tile div {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 22px;
}

.category-tile h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

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

.rank-item {
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.rank-link {
  display: grid;
  grid-template-columns: 48px 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
}

.rank-number {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111827;
  font-weight: 900;
}

.top-rank .rank-number {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #ffffff;
}

.rank-link img {
  width: 74px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-link h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.rank-link p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.page-hero {
  position: relative;
  padding: 88px 0 72px;
  color: #ffffff;
  background: linear-gradient(135deg, #ea580c, #dc2626 52%, #db2777);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -180px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

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

.page-hero h1 {
  max-width: 860px;
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.category-overview-list {
  display: grid;
  gap: 34px;
}

.category-overview-block {
  padding: 26px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.filter-panel {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.filter-panel input,
.filter-panel select,
.search-page-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: 0;
  padding: 13px 15px;
  background: #ffffff;
}

.filter-panel input:focus,
.filter-panel select:focus,
.search-page-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.empty-state {
  margin-top: 22px;
  padding: 22px;
  border-radius: 18px;
  background: #ffffff;
  color: var(--muted);
  text-align: center;
}

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

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

.rank-side {
  position: sticky;
  top: 100px;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.rank-side h2 {
  margin-bottom: 18px;
  font-size: 26px;
}

.search-page-form {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin-top: 28px;
}

.search-page-form button {
  border: 0;
  border-radius: 16px;
  padding: 0 24px;
  background: #ffffff;
  color: var(--orange);
  font-weight: 900;
  cursor: pointer;
}

.detail-hero {
  padding: 82px 0 66px;
  color: #ffffff;
  background: radial-gradient(circle at 76% 20%, rgba(255, 255, 255, 0.25), transparent 26%), linear-gradient(135deg, #111827 0%, #7c2d12 45%, #dc2626 100%);
}

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

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.35);
  border: 8px solid rgba(255, 255, 255, 0.18);
}

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

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

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

.detail-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.08;
}

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

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

.detail-meta-grid div {
  padding: 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-meta-grid span,
.detail-meta-grid strong {
  display: block;
}

.detail-meta-grid span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.detail-meta-grid strong {
  margin-top: 4px;
  color: #ffffff;
}

.player-section {
  padding-top: 48px;
  padding-bottom: 48px;
  background: #111827;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000000;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(1.1);
}

.big-play {
  position: absolute;
  width: 86px;
  height: 86px;
  font-size: 32px;
}

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

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

.detail-article,
.detail-side-card {
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.detail-article h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.detail-article p {
  margin: 0 0 24px;
  color: #374151;
  font-size: 17px;
}

.detail-side-card h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.detail-side-card dl {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px 16px;
  margin: 0;
}

.detail-side-card dt {
  color: var(--muted);
}

.detail-side-card dd {
  margin: 0;
  color: #111827;
  font-weight: 700;
}

.related-section {
  background: linear-gradient(135deg, #fff7ed, #fef2f2);
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937 55%, #111827);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(180px, 0.6fr));
  gap: 36px;
}

.footer-logo {
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 22px;
}

.footer-brand p {
  max-width: 460px;
  margin: 0;
  color: #9ca3af;
}

.footer-links {
  display: grid;
  gap: 9px;
  align-content: start;
}

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

.footer-links a {
  color: #9ca3af;
  transition: color 0.2s ease;
}

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

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

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 18px 35px rgba(249, 115, 22, 0.35);
  cursor: pointer;
}

.back-to-top.show {
  display: inline-grid;
  place-items: center;
}

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .header-search {
    display: none;
  }

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

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

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

  .rank-side {
    position: static;
  }
}

@media (max-width: 820px) {
  .hero-slider,
  .hero-track {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 22px;
    align-content: center;
    padding: 38px 0 82px;
  }

  .hero-art {
    justify-self: start;
    width: min(270px, 80vw);
    order: -1;
  }

  .featured-grid,
  .poster-grid,
  .wide-grid,
  .category-tile-grid,
  .home-rank-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .detail-cover {
    width: min(260px, 75vw);
  }

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

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

@media (max-width: 560px) {
  .header-inner {
    height: 66px;
  }

  main {
    padding-top: 66px;
  }

  .logo-text {
    font-size: 20px;
  }

  .hero-slider,
  .hero-track {
    min-height: 720px;
  }

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    letter-spacing: -0.03em;
  }

  .hero-actions,
  .page-actions,
  .search-page-form {
    flex-direction: column;
    align-items: stretch;
  }

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

  .section-head,
  .category-block-head {
    display: grid;
    gap: 12px;
  }

  .featured-grid,
  .poster-grid,
  .wide-grid,
  .six-grid,
  .mini-grid,
  .category-tile-grid,
  .home-rank-list {
    grid-template-columns: 1fr;
  }

  .rank-link {
    grid-template-columns: 40px 64px minmax(0, 1fr);
  }

  .rank-link img {
    width: 64px;
    height: 84px;
  }

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