:root {
  color-scheme: light;
  --purple: #7c3aed;
  --purple-dark: #4c1d95;
  --pink: #ec4899;
  --red: #ef4444;
  --yellow: #fde047;
  --blue: #0ea5e9;
  --cyan: #06b6d4;
  --green: #10b981;
  --amber: #f59e0b;
  --ink: #111827;
  --muted: #6b7280;
  --soft: #f8fafc;
  --card: #ffffff;
  --line: rgba(148, 163, 184, 0.32);
  --shadow: 0 20px 50px rgba(88, 28, 135, 0.16);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(236, 72, 153, 0.14), transparent 34rem),
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 30rem),
    linear-gradient(135deg, #fff7ed 0%, #faf5ff 42%, #eff6ff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--purple-dark), var(--purple), var(--pink), var(--red));
  box-shadow: 0 16px 40px rgba(76, 29, 149, 0.24);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--purple-dark);
  background: linear-gradient(135deg, #fef08a, #f0abfc);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52), 0 12px 24px rgba(0, 0, 0, 0.16);
}

.logo-text {
  font-size: 1.32rem;
  color: #ffffff;
}

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

.nav-link {
  padding: 10px 13px;
  border-radius: 999px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
  transition: 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.header-search {
  display: flex;
  width: min(300px, 28vw);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.header-search input {
  width: 100%;
  border: 0;
  color: #ffffff;
  padding: 10px 14px;
  outline: 0;
  background: transparent;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search button {
  border: 0;
  padding: 0 15px;
  color: var(--purple-dark);
  font-weight: 800;
  background: #ffffff;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  background: #ffffff;
}

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

.mobile-panel a {
  display: block;
  padding: 12px 0;
  font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.site-main {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.hero-section {
  margin: 18px 0 34px;
}

.hero-shell {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 36px;
  background: #111827;
  box-shadow: 0 30px 80px rgba(76, 29, 149, 0.28);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.64fr);
  gap: 42px;
  align-items: center;
  padding: clamp(28px, 6vw, 76px);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-slide::before,
.subpage-hero::before,
.detail-hero::before,
.feature-card::before,
.category-overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image), var(--feature-image);
  background-size: cover;
  background-position: center;
  opacity: 0.36;
  transform: scale(1.08);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 12%, rgba(253, 224, 71, 0.2), transparent 22rem),
    linear-gradient(90deg, rgba(17, 24, 39, 0.95), rgba(88, 28, 135, 0.76), rgba(17, 24, 39, 0.62));
}

.hero-content,
.hero-poster,
.hero-dots,
.detail-info,
.detail-poster {
  position: relative;
  z-index: 2;
}

.hero-kicker,
.section-kicker,
.subpage-hero span {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #7c2d12;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fef08a, #fdba74);
}

.hero-content h1 {
  max-width: 760px;
  margin: 22px 0 18px;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.07em;
}

.hero-content p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.8;
}

.hero-tags,
.tag-row,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-tags {
  margin: 24px 0;
}

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.hero-actions,
.search-band form,
.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.ghost-button,
.section-more,
.search-band button,
.filter-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.22s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.34);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover,
.search-band button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(88, 28, 135, 0.24);
}

.hero-poster {
  justify-self: end;
  width: min(380px, 100%);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

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

.hero-dots {
  position: absolute;
  right: 28px;
  bottom: 24px;
  left: 28px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.hero-dot {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  cursor: pointer;
  transition: 0.22s ease;
}

.hero-dot img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-dot span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-dot.is-active,
.hero-dot:hover {
  color: #ffffff;
  border-color: rgba(253, 224, 71, 0.8);
  background: rgba(255, 255, 255, 0.22);
}

.search-band,
.filter-panel,
.content-section,
.rank-panel,
.detail-article,
.side-panel,
.player-section {
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-band {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.65fr);
  gap: 24px;
  align-items: center;
  padding: 26px;
}

.search-band span {
  color: var(--purple);
  font-weight: 900;
}

.search-band h2 {
  margin: 6px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.search-band input,
.filter-controls input,
.filter-controls select {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  outline: 0;
  background: #ffffff;
}

.search-band input {
  flex: 1;
  min-width: 190px;
}

.search-band button,
.section-more {
  color: #ffffff;
  background: linear-gradient(90deg, var(--purple), var(--pink));
}

.content-section {
  margin-top: 28px;
  padding: clamp(18px, 3vw, 30px);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.section-header h2,
.filter-panel h2,
.detail-article h2,
.side-panel h2 {
  margin: 8px 0 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.section-header p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.category-tile,
.category-overview-card,
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  border-radius: 24px;
  padding: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  transition: 0.24s ease;
}

.category-tile:hover,
.category-overview-card:hover,
.feature-card:hover,
.movie-card:hover {
  transform: translateY(-5px);
}

.category-tile span,
.category-overview-card span,
.feature-card .feature-label {
  position: relative;
  z-index: 2;
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.2);
}

.category-tile strong,
.category-overview-card strong,
.feature-card strong {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 18px;
  font-size: 1.25rem;
}

.category-tile small,
.category-overview-card small,
.feature-card span:last-child {
  position: relative;
  z-index: 2;
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.category-tile.pink { background: linear-gradient(135deg, #ec4899, #be185d); }
.category-tile.blue { background: linear-gradient(135deg, #2563eb, #0ea5e9); }
.category-tile.cyan { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.category-tile.amber { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.category-tile.green { background: linear-gradient(135deg, #10b981, #047857); }

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transition: 0.24s ease;
}

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

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

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

.score-badge,
.play-chip {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  font-weight: 950;
}

.score-badge {
  top: 10px;
  left: 10px;
  padding: 6px 10px;
  color: #7c2d12;
  background: linear-gradient(135deg, #fef08a, #fdba74);
}

.play-chip {
  right: 10px;
  bottom: 10px;
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(14px);
}

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

.movie-meta {
  gap: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f1f5f9;
}

.movie-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.55em;
  margin: 10px 0 8px;
  font-size: 1.06rem;
  line-height: 1.28;
}

.movie-card h3 a:hover {
  color: var(--purple);
}

.movie-card p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.1em;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tag-row span {
  color: #475569;
  background: #f8fafc;
}

.rank-panel {
  position: sticky;
  top: 98px;
  padding: 20px;
}

.rank-panel-head span {
  color: var(--purple);
  font-weight: 900;
}

.rank-panel-head strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
}

.rank-list,
.ranking-list,
.side-card-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.rank-row {
  display: grid;
  grid-template-columns: 34px 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 16px;
  background: #ffffff;
  transition: 0.22s ease;
}

.rank-row:hover,
.ranking-card:hover {
  background: #faf5ff;
}

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

.rank-index {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red), var(--pink));
}

.rank-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.rank-score {
  color: #d97706;
  font-weight: 950;
}

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

.feature-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #111827;
}

.feature-card::after,
.category-overview-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.1), rgba(17, 24, 39, 0.92));
}

.feature-card strong,
.feature-card span,
.category-overview-card strong,
.category-overview-card span,
.category-overview-card small {
  position: relative;
  z-index: 3;
}

.subpage-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: clamp(32px, 5vw, 70px);
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #581c87);
  box-shadow: var(--shadow);
}

.subpage-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(88, 28, 135, 0.74), rgba(17, 24, 39, 0.66));
}

.subpage-hero > *,
.detail-hero > * {
  position: relative;
  z-index: 2;
}

.subpage-hero h1 {
  max-width: 900px;
  margin: 18px 0 12px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.subpage-hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.8;
}

.compact-hero {
  min-height: 260px;
}

.filter-panel {
  margin-top: 24px;
  padding: 24px;
}

.filter-controls {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, 0.28fr));
  gap: 12px;
  margin-top: 18px;
}

.filter-empty {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  color: #991b1b;
  font-weight: 900;
  background: #fee2e2;
}

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

.category-overview-card {
  min-height: 210px;
  background: #111827;
}

.ranking-card {
  display: grid;
  grid-template-columns: 56px 90px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  transition: 0.22s ease;
}

.ranking-card img {
  width: 90px;
  height: 124px;
  object-fit: cover;
  border-radius: 16px;
}

.ranking-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.ranking-card strong {
  font-size: 1.2rem;
}

.ranking-card p {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.6;
}

.ranking-card em {
  color: #d97706;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 950;
}

.pagination {
  justify-content: center;
  margin-top: 30px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 900;
  background: #ffffff;
}

.pagination a.is-current {
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 4px 0 18px;
  color: var(--muted);
  font-weight: 800;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

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

.detail-info h1 {
  margin: 18px 0 12px;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.detail-info p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  line-height: 1.8;
}

.detail-tag-row span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.player-section {
  margin-top: 24px;
  padding: 18px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.64));
  cursor: pointer;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.video-frame.is-playing .video-overlay,
.video-frame.is-ready .video-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-circle {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--purple);
  font-size: 1.9rem;
  background: #ffffff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
}

.video-status {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  pointer-events: none;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.detail-article,
.side-panel {
  padding: clamp(20px, 3vw, 32px);
}

.detail-article p {
  color: #334155;
  font-size: 1.04rem;
  line-height: 1.95;
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.info-list div {
  padding: 14px;
  border-radius: 16px;
  background: #f8fafc;
}

.info-list dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.info-list dd {
  margin: 6px 0 0;
  font-weight: 900;
}

.side-card-list .movie-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
}

.side-card-list .poster-link {
  aspect-ratio: 2 / 3;
}

.side-card-list .movie-card p,
.side-card-list .tag-row {
  display: none;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #111827, #581c87, #831843);
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
}

.footer-logo {
  color: #ffffff;
  font-size: 1.4rem;
}

.footer-inner p {
  max-width: 640px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 20px;
  font-size: 0.9rem;
}

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

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

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

  .hero-slide,
  .detail-hero,
  .search-band,
  .two-column-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    min-height: 760px;
  }

  .hero-poster {
    justify-self: start;
    width: min(260px, 70vw);
  }

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

  .rank-panel {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .site-main,
  .header-inner,
  .mobile-panel,
  .footer-inner {
    width: min(100% - 22px, 1280px);
  }

  .hero-shell {
    min-height: 700px;
    border-radius: 26px;
  }

  .hero-slide {
    padding: 26px;
    align-content: start;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-dots {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-dot:nth-child(n + 5) {
    display: none;
  }

  .search-band,
  .content-section,
  .filter-panel,
  .detail-article,
  .side-panel {
    padding: 18px;
    border-radius: 22px;
  }

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

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

  .ranking-card {
    grid-template-columns: 44px 70px minmax(0, 1fr);
  }

  .ranking-card em {
    grid-column: 3;
    font-size: 1.2rem;
  }

  .ranking-card img {
    width: 70px;
    height: 98px;
  }

  .detail-hero {
    padding: 24px;
  }

  .detail-poster {
    width: min(220px, 72vw);
  }

  .detail-info h1,
  .subpage-hero h1 {
    font-size: 2.5rem;
  }

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

@media (max-width: 480px) {
  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-dot:nth-child(n + 4) {
    display: none;
  }

  .side-card-list .movie-card {
    grid-template-columns: 86px minmax(0, 1fr);
  }
}
