:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --rose: #e11d48;
  --rose-soft: #fff1f2;
  --pink-soft: #fdf2f8;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #fee2e2;
  --bg: #fff7f8;
  --card: #ffffff;
  --shadow: 0 20px 50px rgba(185, 28, 28, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.container,
.header-inner,
.footer-inner {
  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(16px);
  border-bottom: 1px solid rgba(254, 226, 226, 0.8);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 32px rgba(127, 29, 29, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

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

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--rose));
  box-shadow: 0 12px 24px rgba(220, 38, 38, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 20px;
  color: #111827;
  letter-spacing: 0.02em;
}

.brand-text em {
  font-size: 12px;
  font-style: normal;
  color: var(--muted);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link,
.mobile-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--red);
  background: var(--rose-soft);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.header-search input {
  width: 190px;
  border: 0;
  outline: 0;
  padding: 8px 10px;
  color: var(--text);
  background: transparent;
}

.header-search button,
.btn {
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button {
  padding: 8px 16px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--rose));
}

.btn {
  min-height: 46px;
  padding: 0 24px;
}

.btn:hover,
.header-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.2);
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--rose));
}

.btn.secondary {
  color: #111827;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.btn.ghost {
  color: var(--red);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--rose-soft);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

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

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

.hero {
  position: relative;
  min-height: 700px;
  padding-top: 74px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff7f8 0%, #fff1f2 45%, #fdf2f8 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image: linear-gradient(rgba(225, 29, 72, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(225, 29, 72, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.35;
}

.orb-one {
  width: 170px;
  height: 170px;
  top: 130px;
  left: 7%;
  background: #fca5a5;
  animation: float 7s ease-in-out infinite;
}

.orb-two {
  width: 230px;
  height: 230px;
  right: 9%;
  bottom: 90px;
  background: #fda4af;
  animation: float 9s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-24px);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 626px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  align-items: center;
  gap: 58px;
}

.hero-copy {
  position: relative;
}

.hero-slide {
  display: none;
  animation: fadeUp 0.45s ease both;
}

.hero-slide.active {
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 22px;
  color: #374151;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(254, 226, 226, 0.9);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(127, 29, 29, 0.08);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 10px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  color: #111827;
}

.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.12;
  color: transparent;
  background: linear-gradient(135deg, var(--red), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero p {
  max-width: 690px;
  margin: 0 0 24px;
  color: #4b5563;
  font-size: 18px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-meta span,
.hero-category-links a,
.detail-meta span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-meta span {
  padding: 7px 13px;
  color: #9f1239;
  background: #ffe4e6;
}

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

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 34px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: #fecdd3;
  transition: width 0.2s ease, background 0.2s ease;
}

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

.hero-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-category-links a {
  padding: 8px 14px;
  color: #7f1d1d;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(248, 113, 113, 0.25);
}

.hero-visual {
  position: relative;
  height: 520px;
}

.hero-poster-stack {
  position: absolute;
  inset: 0;
}

.hero-poster-card {
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(127, 29, 29, 0.22);
  transform: scale(0.88) translateY(40px);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-poster-card.active {
  inset: 0 16px 0 16px;
  opacity: 1;
  transform: scale(1) translateY(0);
}

.hero-poster-card:not(.active):nth-child(2) {
  inset: 34px 0 34px 82px;
  opacity: 0.35;
}

.hero-poster-card:not(.active):nth-child(3) {
  inset: 74px 120px 74px 0;
  opacity: 0.25;
}

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

.hero-poster-card span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 14px 16px;
  color: #ffffff;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.62);
  backdrop-filter: blur(12px);
  font-size: 20px;
  font-weight: 800;
}

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

.white-section {
  background: #ffffff;
}

.tint-section {
  background: linear-gradient(135deg, #fff7f8, #fff1f2);
}

.soft-section {
  background: #f9fafb;
}

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

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

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

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

.section-heading a {
  padding: 10px 18px;
  border-radius: 999px;
  color: #111827;
  background: #f3f4f6;
  font-weight: 700;
}

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

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

.movie-card-link {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card-link:hover {
  transform: translateY(-6px);
  border-color: #fecdd3;
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
}

.movie-card-link:hover .poster-shade {
  background: rgba(0, 0, 0, 0.26);
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.92);
  font-weight: 800;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.type-pill {
  padding: 4px 10px;
  color: var(--red);
  border-radius: 999px;
  background: var(--rose-soft);
  font-weight: 800;
}

.movie-card strong {
  display: block;
  min-height: 30px;
  color: #111827;
  font-size: 18px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card-link:hover strong {
  color: var(--red);
}

.card-line {
  display: -webkit-box;
  min-height: 44px;
  margin-top: 8px;
  overflow: hidden;
  color: var(--muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag-row span {
  padding: 4px 8px;
  color: #4b5563;
  background: #f3f4f6;
}

.movie-card.compact .movie-card-body {
  padding: 14px;
}

.movie-card.compact strong {
  font-size: 16px;
}

.feature-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.brand-band {
  padding: 64px 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red), var(--rose));
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
}

.band-grid div {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.band-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 23px;
}

.band-grid span {
  color: #ffe4e6;
}

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

.category-card,
.category-tile {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 220px;
  border-radius: 28px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.category-card img,
.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.category-card span,
.category-tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.18), rgba(255, 255, 255, 0.05));
}

.category-card strong,
.category-card em {
  position: absolute;
  left: 20px;
  right: 20px;
  color: #ffffff;
}

.category-card strong {
  bottom: 44px;
  font-size: 24px;
}

.category-card em {
  bottom: 20px;
  font-style: normal;
  color: #fecdd3;
}

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

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

.rank-row {
  display: grid;
  grid-template-columns: 44px 64px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid #f3f4f6;
  border-radius: 20px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.rank-num {
  color: var(--red);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.rank-row img {
  width: 64px;
  height: 84px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

.rank-copy strong {
  color: #111827;
  font-size: 17px;
}

.rank-copy em {
  margin-top: 3px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.spotlight-box {
  position: sticky;
  top: 100px;
  padding: 34px;
  color: #ffffff;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--red), var(--rose));
  box-shadow: var(--shadow);
}

.spotlight-box h2 {
  margin: 0 0 12px;
  font-size: 32px;
}

.spotlight-box p {
  margin: 0 0 24px;
  color: #ffe4e6;
}

.page-hero {
  padding: 148px 0 66px;
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 32%), linear-gradient(135deg, var(--red), var(--rose));
}

.page-hero span {
  display: inline-flex;
  padding: 6px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
}

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

.filter-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.filter-label {
  min-width: max-content;
  color: #111827;
  font-weight: 800;
}

.filter-input {
  width: 100%;
  padding: 14px 16px;
  outline: 0;
  border: 1px solid #fee2e2;
  border-radius: 18px;
  background: #fff7f8;
}

.filter-input:focus {
  border-color: #fda4af;
  box-shadow: 0 0 0 4px #ffe4e6;
}

.empty-result {
  display: none;
  grid-column: 1 / -1;
  padding: 34px;
  color: var(--muted);
  text-align: center;
  border: 1px dashed #fecdd3;
  border-radius: 24px;
  background: #fff7f8;
}

.empty-result.show {
  display: block;
}

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

.category-tile-copy {
  position: absolute;
  inset: auto 22px 22px 22px;
  color: #ffffff;
}

.category-tile-copy em,
.category-tile-copy strong,
.category-tile-copy small {
  display: block;
}

.category-tile-copy em {
  color: #fecdd3;
  font-style: normal;
  font-weight: 800;
}

.category-tile-copy strong {
  margin: 4px 0 6px;
  font-size: 26px;
}

.category-tile-copy small {
  color: #e5e7eb;
  font-size: 14px;
}

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

.rank-card a {
  display: grid;
  grid-template-columns: 70px 96px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.rank-large {
  color: transparent;
  background: linear-gradient(135deg, var(--red), var(--rose));
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 38px;
  font-weight: 900;
  text-align: center;
}

.rank-card img {
  width: 96px;
  height: 128px;
  border-radius: 18px;
  object-fit: cover;
}

.rank-info strong,
.rank-info em,
.rank-info span {
  display: block;
}

.rank-info strong {
  color: #111827;
  font-size: 22px;
}

.rank-info em {
  margin: 4px 0 8px;
  color: var(--red);
  font-style: normal;
  font-weight: 700;
}

.rank-info span {
  color: var(--muted);
}

.detail-page {
  background: #ffffff;
}

.detail-hero {
  padding: 118px 0 66px;
  background: linear-gradient(135deg, #fff7f8, #fff1f2 52%, #fdf2f8);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 34px;
  align-items: center;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 28px 70px rgba(127, 29, 29, 0.18);
  aspect-ratio: 16 / 9;
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #111827;
}

.play-trigger {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.58));
  z-index: 2;
}

.play-trigger span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--red), var(--rose));
  box-shadow: 0 22px 45px rgba(225, 29, 72, 0.35);
  font-size: 30px;
  padding-left: 5px;
}

.play-trigger.hidden {
  display: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--red);
  font-weight: 800;
}

.detail-copy h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
}

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

.detail-meta,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta {
  margin-bottom: 16px;
}

.detail-meta span {
  padding: 8px 13px;
  color: #9f1239;
  background: #ffe4e6;
}

.detail-tags span {
  padding: 7px 12px;
  color: #374151;
  background: #ffffff;
  border: 1px solid #fee2e2;
}

.detail-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.text-card {
  padding: 30px;
  border: 1px solid #f3f4f6;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.04);
}

.text-card h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 26px;
}

.text-card p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
}

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

.site-footer {
  background: linear-gradient(180deg, #fff7f8, #ffffff);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 0.8fr 0.8fr;
  gap: 40px;
  padding: 56px 0 34px;
}

.footer-brand p {
  max-width: 520px;
  color: var(--muted);
}

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

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

.footer-block a {
  color: #4b5563;
}

.footer-block a:hover {
  color: var(--red);
}

.footer-bottom {
  padding: 18px;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}

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

  .menu-toggle {
    display: inline-flex;
  }

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

  .hero-inner {
    padding: 80px 0 54px;
  }

  .hero-visual {
    height: 420px;
  }

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

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

  .spotlight-box {
    position: static;
  }
}

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

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

  .hero {
    min-height: auto;
    padding-top: 66px;
  }

  .hero-inner {
    min-height: 0;
    gap: 34px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero h2 {
    font-size: 28px;
  }

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

  .hero-actions,
  .filter-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-visual {
    height: 360px;
  }

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

  .section-heading {
    display: block;
  }

  .section-heading a {
    display: inline-flex;
    margin-top: 14px;
  }

  .movie-grid,
  .category-grid,
  .category-tile-grid,
  .feature-three,
  .band-grid,
  .detail-text-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .movie-card strong {
    font-size: 16px;
  }

  .card-line,
  .tag-row {
    display: none;
  }

  .rank-card a {
    grid-template-columns: 44px 72px minmax(0, 1fr);
  }

  .rank-large {
    font-size: 28px;
  }

  .rank-card img {
    width: 72px;
    height: 98px;
  }

  .rank-info strong {
    font-size: 17px;
  }

  .rank-info span {
    display: none;
  }

  .detail-hero {
    padding-top: 98px;
  }

  .text-card {
    padding: 22px;
  }
}

@media (max-width: 480px) {
  .container,
  .header-inner,
  .footer-inner,
  .hero-inner,
  .mobile-nav {
    width: min(100% - 22px, 1180px);
  }

  .movie-grid,
  .category-grid,
  .category-tile-grid,
  .feature-three,
  .band-grid,
  .detail-text-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

  .rank-row img {
    width: 54px;
    height: 72px;
  }
}
