:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: rgba(15, 23, 42, 0.82);
  --border: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --cyan: #22d3ee;
  --cyan-soft: rgba(34, 211, 238, 0.16);
  --accent: #f97316;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius: 26px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.14), transparent 32rem),
    radial-gradient(circle at 85% 12%, rgba(249, 115, 22, 0.10), transparent 26rem),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  z-index: -1;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(18px);
}

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

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

.logo-mark,
.footer-logo span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #22d3ee, #2563eb 54%, #f97316);
  box-shadow: 0 12px 34px rgba(34, 211, 238, 0.28);
}

.logo-text {
  display: grid;
  line-height: 1.12;
}

.logo-text strong {
  font-size: 20px;
  letter-spacing: 0.03em;
}

.logo-text em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
}

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

.nav-link,
.mobile-nav-link {
  color: #cbd5e1;
  font-size: 15px;
  font-weight: 700;
  border-radius: 999px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover {
  color: #ffffff;
  background: rgba(34, 211, 238, 0.12);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

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

.mobile-nav-link {
  padding: 12px 14px;
}

main {
  padding-top: 72px;
}

.hero-section {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  padding: 86px 0 94px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 640ms ease, visibility 640ms ease;
}

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

.hero-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.98) 0%, rgba(2, 6, 23, 0.82) 38%, rgba(2, 6, 23, 0.46) 100%),
    var(--hero-image) center / cover no-repeat;
  opacity: 0.24;
  filter: blur(2px) saturate(1.2);
}

.hero-copy {
  max-width: 720px;
}

.hero-kicker,
.detail-kicker,
.section-heading span,
.page-hero span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border: 1px solid rgba(34, 211, 238, 0.28);
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.12);
  color: #67e8f9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 24px 0 18px;
  max-width: 800px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-desc {
  max-width: 720px;
  margin: 0;
  color: #cbd5e1;
  font-size: clamp(17px, 2.1vw, 22px);
  line-height: 1.75;
}

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

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

.hero-tags span,
.tag-row span {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.76);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  padding: 8px 12px;
}

.tag-row span {
  padding: 6px 9px;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
.ghost-button,
.section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.primary-button {
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.32);
}

.ghost-button,
.section-action {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
}

.primary-button:hover,
.ghost-button:hover,
.section-action:hover,
.movie-card:hover,
.category-tile:hover,
.category-card:hover {
  transform: translateY(-3px);
}

.hero-poster,
.detail-poster,
.mini-movie {
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0) 20%, rgba(2, 6, 23, 0.9) 100%),
    var(--poster-image) center / cover no-repeat;
}

.hero-poster {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
}

.hero-poster span,
.detail-poster span {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.76);
  color: #fde68a;
  font-weight: 900;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.hero-arrow,
.hero-dot {
  pointer-events: auto;
  cursor: pointer;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.68);
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.44);
}

.hero-dot.active {
  width: 28px;
  background: #22d3ee;
}

.home-search,
.content-section,
.split-section,
.page-main,
.detail-main,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.home-search {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: -42px;
  padding: 24px;
  position: relative;
  z-index: 5;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.home-search-copy span {
  color: #67e8f9;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-search-copy h2 {
  margin: 10px 0 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
}

.search-panel {
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.72);
}

.search-box span {
  color: #22d3ee;
  font-size: 22px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #ffffff;
  font-size: 16px;
}

.search-box input::placeholder {
  color: #64748b;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filter-chip {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(15, 23, 42, 0.7);
  color: #cbd5e1;
  font-weight: 700;
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: #ffffff;
  border-color: rgba(34, 211, 238, 0.42);
  background: rgba(34, 211, 238, 0.14);
}

.no-result {
  display: none;
  margin: 16px 0 0;
  color: #fca5a5;
  font-weight: 700;
}

.no-result.visible {
  display: block;
}

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

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

.section-heading.compact {
  align-items: center;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.detail-text-section h2 {
  margin: 12px 0 0;
  letter-spacing: -0.04em;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.section-heading p,
.page-hero p,
.detail-line,
.detail-text-section p,
.footer-brand p,
.category-card-main p {
  color: var(--muted);
  line-height: 1.75;
}

.section-heading p {
  max-width: 680px;
  margin: 10px 0 0;
}

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.movie-card:hover {
  border-color: rgba(34, 211, 238, 0.36);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.34);
}

.movie-card.is-hidden {
  display: none;
}

.poster-link {
  display: block;
}

.poster-frame {
  position: relative;
  min-height: 300px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(2, 6, 23, 0.92) 100%),
    var(--poster-image) center / cover no-repeat;
}

.compact-grid .poster-frame {
  min-height: 238px;
}

.poster-type,
.poster-year,
.rank-badge {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.poster-type {
  left: 12px;
  bottom: 12px;
  background: rgba(34, 211, 238, 0.88);
  color: #06222a;
}

.poster-year {
  right: 12px;
  bottom: 12px;
  background: rgba(2, 6, 23, 0.68);
  color: #e2e8f0;
}

.rank-badge {
  top: 12px;
  left: 12px;
  background: rgba(249, 115, 22, 0.92);
  color: #ffffff;
}

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

.movie-title {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-title:hover {
  color: #67e8f9;
}

.movie-meta,
.movie-desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.movie-meta {
  margin: 10px 0 8px;
  color: #67e8f9;
  font-size: 13px;
  font-weight: 800;
  -webkit-line-clamp: 1;
}

.movie-desc {
  min-height: 66px;
  margin: 0 0 14px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
  -webkit-line-clamp: 3;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  padding-top: 76px;
}

.wide-panel,
.ranking-panel,
.category-card,
.detail-text-section,
.player-section {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.wide-panel,
.ranking-panel {
  padding: 24px;
}

.category-grid,
.category-card-grid {
  display: grid;
  gap: 16px;
}

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

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

.category-tile,
.category-card-main {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 20px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(34, 211, 238, 0.16), transparent 50%),
    rgba(2, 6, 23, 0.56);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-tile span,
.category-card-main span {
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
}

.category-tile em,
.category-card-main p {
  color: #94a3b8;
  font-style: normal;
  line-height: 1.6;
}

.category-card {
  padding: 16px;
}

.category-samples {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.category-samples a {
  overflow: hidden;
  color: #cbd5e1;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-samples a:hover {
  color: #67e8f9;
}

.ranking-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-list a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.52);
}

.ranking-list strong {
  color: #f97316;
  font-size: 18px;
}

.ranking-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.ranking-list em {
  color: #fde68a;
  font-style: normal;
  font-weight: 900;
}

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

.page-hero {
  min-height: 320px;
  padding: 52px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 75% 0%, rgba(34, 211, 238, 0.18), transparent 52%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.72));
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.03;
}

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

.category-hero,
.ranking-hero {
  overflow: hidden;
  position: relative;
}

.mini-movie-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini-movie {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  overflow: hidden;
}

.mini-movie span {
  overflow: hidden;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-movie em {
  overflow: hidden;
  color: #cbd5e1;
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.detail-main {
  padding-top: 118px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 24px;
  color: #94a3b8;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #67e8f9;
}

.breadcrumb em {
  color: #e2e8f0;
  font-style: normal;
}

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

.detail-poster {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail-copy {
  padding: 44px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 0%, rgba(34, 211, 238, 0.14), transparent 48%),
    rgba(15, 23, 42, 0.72);
}

.detail-copy h1 {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.05;
}

.detail-line {
  margin: 18px 0 24px;
  font-size: 19px;
}

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

.detail-meta div {
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.46);
}

.detail-meta dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.detail-meta dd {
  margin: 6px 0 0;
  color: #ffffff;
  font-weight: 900;
}

.large-tags span {
  padding: 8px 12px;
}

.player-section,
.detail-text-section {
  margin-top: 34px;
  padding: 26px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 26px;
  background: #000000;
  aspect-ratio: 16 / 9;
}

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

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: radial-gradient(circle at center, rgba(34, 211, 238, 0.16), rgba(2, 6, 23, 0.76));
  color: #ffffff;
  cursor: pointer;
}

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

.video-play-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #22d3ee, #2563eb);
  box-shadow: 0 16px 48px rgba(34, 211, 238, 0.28);
  font-size: 30px;
}

.video-overlay strong {
  font-size: 18px;
}

.detail-text-section h2 {
  font-size: clamp(26px, 4vw, 38px);
}

.detail-text-section p {
  margin: 18px 0 0;
  font-size: 17px;
}

.related-section {
  padding-top: 42px;
}

.site-footer {
  margin-top: 86px;
  padding: 42px 0 36px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px 1fr;
  gap: 34px;
}

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.footer-column a {
  color: #94a3b8;
  font-size: 14px;
}

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

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

.footer-tags h2 {
  grid-column: 1 / -1;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-section,
  .detail-hero,
  .home-search {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    order: -1;
  }

  .detail-poster {
    min-height: 460px;
  }
}

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

  .menu-button {
    display: block;
  }

  .logo-text em {
    display: none;
  }

  .hero-section {
    min-height: 780px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 54px;
  }

  .hero-poster {
    min-height: 360px;
  }

  .hero-controls {
    bottom: 20px;
  }

  .home-search {
    margin-top: 24px;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-card-grid,
  .mini-movie-row,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero,
  .detail-copy {
    padding: 28px;
  }

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

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

  main {
    padding-top: 64px;
  }

  .site-logo strong {
    font-size: 17px;
  }

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

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-poster {
    min-height: 320px;
    border-radius: 26px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .home-search,
  .wide-panel,
  .ranking-panel,
  .player-section,
  .detail-text-section {
    padding: 18px;
    border-radius: 22px;
  }

  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-card-grid,
  .mini-movie-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .poster-frame,
  .compact-grid .poster-frame {
    min-height: 340px;
  }

  .page-main,
  .detail-main {
    padding-top: 96px;
  }

  .page-hero {
    min-height: auto;
    padding: 24px;
    border-radius: 24px;
  }

  .detail-poster {
    min-height: 420px;
  }

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