:root {
  color-scheme: light;
  --bg: #f8fafc;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --cyan: #0891b2;
  --cyan-dark: #0e7490;
  --blue: #2563eb;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(8, 145, 178, 0.28);
}

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

.nav-link {
  padding: 9px 13px;
  color: #334155;
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.header-search input,
.mobile-search input {
  width: 190px;
  border: 0;
  outline: 0;
  padding: 10px 14px;
  background: transparent;
}

.header-search button,
.mobile-search button,
.search-page-box button {
  border: 0;
  color: #fff;
  padding: 10px 18px;
  font-weight: 800;
  background: var(--cyan);
  cursor: pointer;
}

.header-search button:hover,
.mobile-search button:hover,
.search-page-box button:hover {
  background: var(--cyan-dark);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #ecfeff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--cyan-dark);
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
}

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

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.mobile-panel a {
  padding: 10px 12px;
  color: #334155;
  background: #f8fafc;
  border-radius: 12px;
}

.hero {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  background: linear-gradient(180deg, #0f172a, #1e293b);
}

.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.25), transparent 34%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.88) 0%, rgba(15, 23, 42, 0.48) 52%, rgba(15, 23, 42, 0.22) 100%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100% - 1180px) / 2));
  bottom: 74px;
  width: min(660px, calc(100% - 48px));
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-content h2,
.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.06em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.36);
}

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

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

.hero-tags span,
.detail-meta span {
  padding: 7px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

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

.primary-btn,
.ghost-btn,
.section-action,
.filter-search a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-weight: 900;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  color: #fff;
  background: var(--cyan);
  box-shadow: 0 12px 28px rgba(8, 145, 178, 0.32);
}

.primary-btn:hover {
  background: var(--cyan-dark);
  transform: translateY(-2px);
}

.ghost-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

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

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.hero-arrow.prev {
  left: 22px;
}

.hero-arrow.next {
  right: 22px;
}

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

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

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

.page-hero {
  position: relative;
  padding: 82px max(24px, calc((100% - 1180px) / 2));
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.28), transparent 28%),
    linear-gradient(135deg, #0f172a, #164e63 58%, #0f172a);
}

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

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

.search-band {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 520px);
  gap: 28px;
  align-items: center;
  margin-top: -42px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-band h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.search-band p {
  margin: 0;
  color: var(--muted);
}

.search-band form,
.search-page-box form {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.search-band input,
.search-page-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 16px 20px;
  background: transparent;
}

.search-band button {
  border: 0;
  color: #fff;
  padding: 0 24px;
  font-weight: 900;
  background: var(--cyan);
  cursor: pointer;
}

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

.content-section.soft-bg {
  width: 100%;
  padding: 70px max(16px, calc((100% - 1180px) / 2)) 0;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

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

.section-head h2,
.rank-panel h2,
.related-section h2,
.detail-article h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.04em;
}

.section-head p,
.rank-panel p {
  margin: 6px 0 0;
  color: var(--muted);
}

.section-action,
.filter-search a {
  min-height: 38px;
  color: var(--cyan-dark);
  background: #ecfeff;
}

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

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

.movie-card {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.7);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.movie-card:hover {
  border-color: rgba(8, 145, 178, 0.32);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.13);
  transform: translateY(-5px);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #0f172a;
}

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

.movie-card:hover img {
  transform: scale(1.06);
}

.poster-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--cyan);
  border-radius: 999px;
}

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

.card-body strong {
  display: block;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  white-space: nowrap;
  text-overflow: ellipsis;
}

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

.card-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  color: #64748b;
  font-size: 12px;
}

.card-meta em {
  overflow: hidden;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.movie-card.feature {
  position: relative;
  min-height: 460px;
  border: 0;
  border-radius: 26px;
  box-shadow: var(--soft-shadow);
}

.movie-card.feature .poster-wrap {
  position: absolute;
  inset: 0;
  height: auto;
  aspect-ratio: auto;
}

.movie-card.feature .poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.05) 65%);
}

.movie-card.feature .card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  padding: 24px;
}

.movie-card.feature .card-line,
.movie-card.feature .card-meta {
  color: #e2e8f0;
}

.movie-card.wide {
  display: grid;
  grid-template-columns: 138px 1fr;
}

.movie-card.wide .poster-wrap {
  height: 100%;
  min-height: 190px;
}

.movie-card.rail-card {
  flex: 0 0 160px;
  border-radius: 16px;
}

.movie-card.mini .card-line {
  display: none;
}

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

.category-tile,
.category-overview {
  display: block;
  min-height: 180px;
  padding: 22px;
  background:
    radial-gradient(circle at 88% 12%, rgba(34, 211, 238, 0.28), transparent 36%),
    linear-gradient(135deg, #ffffff, #eff6ff);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-overview:hover {
  box-shadow: var(--soft-shadow);
  transform: translateY(-4px);
}

.category-tile span,
.category-overview strong {
  display: block;
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 900;
}

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

.thumb-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.thumb-stack img {
  aspect-ratio: 2 / 3;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.rail-stack {
  display: grid;
  gap: 30px;
}

.rail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.rail-title h3 {
  margin: 0;
  font-size: 22px;
}

.rail-title button {
  width: 38px;
  height: 38px;
  border: 0;
  margin-left: 8px;
  color: var(--cyan-dark);
  font-size: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.movie-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 14px;
  scrollbar-width: none;
}

.movie-rail::-webkit-scrollbar {
  display: none;
}

.year-stack {
  display: grid;
  gap: 30px;
}

.year-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  align-items: start;
}

.year-badge {
  display: grid;
  height: 76px;
  place-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  border-radius: 18px;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.22);
}

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

.latest-rank {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
}

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

.rank-panel,
.side-card,
.filter-panel,
.search-page-box,
.detail-article,
.related-section {
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.rank-panel {
  align-self: start;
  position: sticky;
  top: 88px;
  padding: 24px;
}

.compact-card {
  display: grid;
  grid-template-columns: 34px 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.compact-card:last-child {
  border-bottom: 0;
}

.rank-no {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--cyan);
  border-radius: 10px;
}

.compact-card img {
  width: 58px;
  height: 78px;
  object-fit: cover;
  border-radius: 10px;
}

.compact-card strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.compact-card em {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.tag-cloud a,
.tag-list a {
  padding: 8px 14px;
  color: var(--cyan-dark);
  font-weight: 800;
  background: #ecfeff;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tag-cloud a:hover,
.tag-list a:hover {
  background: #cffafe;
  transform: translateY(-2px);
}

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

.filter-search {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.filter-search input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  outline: 0;
  padding: 13px 16px;
  border-radius: 999px;
}

.filter-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
}

.filter-row span {
  color: var(--muted);
  font-weight: 900;
}

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

.filter-chip {
  border: 0;
  padding: 7px 12px;
  color: #334155;
  background: #f1f5f9;
  border-radius: 999px;
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: #fff;
  background: var(--cyan);
}

.empty-state {
  display: none;
  padding: 40px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border-radius: var(--radius);
}

.empty-state.is-visible {
  display: block;
}

.search-title {
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 900;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
}

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

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

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

.player-video,
.player-cover,
.player-cover img {
  width: 100%;
  height: 100%;
}

.player-video {
  display: block;
  background: #020617;
}

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

.player-cover img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0.52;
  filter: saturate(0.9);
}

.player-cover span {
  position: relative;
  z-index: 3;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: #fff;
  font-size: 34px;
  background: rgba(8, 145, 178, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 20px 45px rgba(8, 145, 178, 0.35);
}

.player-card.is-playing .player-cover {
  display: none;
}

.detail-article,
.related-section {
  margin-top: 24px;
  padding: 30px;
}

.detail-article h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

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

.detail-article .detail-meta span {
  color: #0f172a;
  background: #f1f5f9;
  border-color: #e2e8f0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.detail-article p {
  color: #334155;
  font-size: 17px;
}

.detail-side {
  align-self: start;
  position: sticky;
  top: 88px;
}

.detail-poster {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.side-card {
  margin-top: 18px;
  padding: 22px;
}

.side-card h2 {
  margin: 0 0 10px;
  font-size: 24px;
}

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

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

.rank-page,
.rank-list-full {
  padding-top: 24px;
}

.rank-list-full {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  background: #fff;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  padding: 22px;
}

.site-footer {
  margin-top: 80px;
  color: #cbd5e1;
  background: #0f172a;
}

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

.footer-brand {
  color: #fff;
}

.footer-inner p {
  max-width: 520px;
  color: #94a3b8;
}

.footer-inner h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 20px;
}

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

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

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

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-card].is-hidden {
  display: none;
}

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

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

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

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

  .rank-panel,
  .detail-side {
    position: static;
  }
}

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

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

  .hero {
    min-height: 640px;
  }

  .hero-content {
    bottom: 82px;
  }

  .hero-arrow {
    display: none;
  }

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

  .feature-grid,
  .year-grid,
  .latest-list,
  .rank-list-full {
    grid-template-columns: 1fr;
  }

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

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

  .year-row {
    grid-template-columns: 1fr;
  }

  .year-badge {
    width: 96px;
  }

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

@media (max-width: 560px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    font-size: 18px;
  }

  .hero-content h2,
  .page-hero h1 {
    font-size: 38px;
  }

  .hero-copy,
  .page-hero p {
    font-size: 16px;
  }

  .search-band,
  .content-section {
    width: calc(100% - 24px);
  }

  .search-band form,
  .search-page-box form,
  .filter-search {
    flex-direction: column;
    overflow: visible;
    border: 0;
    border-radius: 0;
  }

  .search-band input,
  .search-page-box input,
  .filter-search input {
    border: 1px solid var(--line);
    border-radius: 999px;
  }

  .search-band button,
  .search-page-box button {
    min-height: 48px;
    border-radius: 999px;
  }

  .movie-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .movie-card.wide {
    grid-template-columns: 110px 1fr;
  }

  .card-line {
    min-height: 0;
  }

  .detail-layout {
    width: calc(100% - 24px);
  }

  .detail-article,
  .related-section {
    padding: 22px;
  }

  .player-card {
    border-radius: 18px;
  }
}
