* {
  box-sizing: border-box;
}

:root {
  --bg: #0b1020;
  --bg-2: #121733;
  --panel: rgba(17, 24, 39, 0.82);
  --panel-solid: #151b31;
  --text: #f8fafc;
  --muted: #cbd5e1;
  --soft: #94a3b8;
  --line: rgba(255, 255, 255, 0.12);
  --purple: #7c3aed;
  --pink: #ec4899;
  --yellow: #f59e0b;
  --blue: #3b82f6;
  --green: #10b981;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(124, 58, 237, 0.3), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(236, 72, 153, 0.2), transparent 32%),
    linear-gradient(180deg, #070b17 0%, #111827 46%, #050816 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #ffffff;
  background: linear-gradient(90deg, rgba(49, 46, 129, 0.96), rgba(88, 28, 135, 0.96), rgba(157, 23, 77, 0.96));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #111827;
  background: linear-gradient(135deg, #fde047, #fb7185);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35);
}

.brand-text,
.footer-brand {
  background: linear-gradient(90deg, #fde047, #f9a8d4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 700;
}

.nav-link {
  position: relative;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #fde047;
}

.nav-link.active::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #fde047, #fb7185);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: -18px;
  width: 190px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(10, 15, 31, 0.96);
  box-shadow: var(--shadow);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a,
.mobile-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--muted);
}

.dropdown-panel a:hover,
.mobile-panel a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-search,
.wide-search {
  display: flex;
  align-items: center;
}

.site-search input,
.wide-search input,
.local-filter input {
  min-width: 210px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  outline: none;
  transition: 0.2s ease;
}

.site-search input {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px 0 0 999px;
}

.site-search input:focus,
.wide-search input:focus,
.local-filter input:focus {
  border-color: rgba(253, 224, 71, 0.65);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.site-search button,
.wide-search button {
  height: 42px;
  padding: 0 18px;
  color: #111827;
  font-weight: 900;
  cursor: pointer;
  border: 0;
  background: linear-gradient(135deg, #fde047, #fb7185);
  border-radius: 0 999px 999px 0;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  color: #ffffff;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

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

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

main {
  min-height: 65vh;
}

.hero-section {
  width: min(1280px, calc(100% - 32px));
  min-height: 70vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 24px;
  padding: 32px 0 18px;
}

.hero-stage {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
  background: #000000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 9, 20, 0.92) 0%, rgba(17, 24, 39, 0.72) 42%, rgba(17, 24, 39, 0.08) 100%),
    linear-gradient(0deg, rgba(6, 9, 20, 0.98) 0%, rgba(6, 9, 20, 0.18) 48%, rgba(6, 9, 20, 0.42) 100%);
}

.hero-content {
  position: absolute;
  left: clamp(24px, 6vw, 78px);
  bottom: clamp(42px, 8vw, 92px);
  width: min(660px, calc(100% - 48px));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #fde047;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fde047;
  box-shadow: 0 0 22px rgba(253, 224, 71, 0.8);
}

.hero-content h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 660px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 18px;
}

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

.hero-tags span,
.tag-row span,
.detail-tags span,
.detail-meta span,
.movie-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: #e9d5ff;
  font-size: 13px;
  border: 1px solid rgba(216, 180, 254, 0.2);
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.28);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  font-weight: 900;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #111827;
  background: linear-gradient(135deg, #fde047, #fb7185);
  box-shadow: 0 18px 40px rgba(236, 72, 153, 0.28);
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  color: #ffffff;
  font-size: 32px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  transform: translateY(-50%);
}

.hero-prev {
  left: 16px;
}

.hero-next {
  right: 16px;
}

.hero-dots {
  position: absolute;
  right: 28px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

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

.hero-dot.active {
  width: 32px;
  background: linear-gradient(90deg, #fde047, #fb7185);
}

.hero-side-list {
  align-self: stretch;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-side-list h2,
.side-ranking h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 22px;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  transition: 0.2s ease;
}

.mini-card:hover {
  border-color: rgba(253, 224, 71, 0.32);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.mini-card img {
  width: 70px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-info {
  min-width: 0;
}

.mini-info strong {
  display: block;
  overflow: hidden;
  color: #ffffff;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.mini-info em {
  display: block;
  color: var(--soft);
  font-size: 13px;
  font-style: normal;
}

.mini-rank {
  display: inline-flex;
  margin-bottom: 4px;
  padding: 1px 8px;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  border-radius: 999px;
  background: #fde047;
}

.content-section,
.detail-layout {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

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

.glass-panel,
.filter-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(15, 23, 42, 0.74);
  box-shadow: var(--shadow);
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 560px);
  gap: 24px;
  align-items: center;
  margin-top: 20px;
}

.search-panel h2,
.section-head h2,
.page-hero h1,
.detail-title-block h1 {
  margin: 0;
  letter-spacing: -0.04em;
}

.search-panel h2 {
  font-size: 30px;
}

.search-panel p,
.section-head p,
.page-hero span,
.movie-card p,
.detail-title-block p,
.detail-text-card p,
.footer-inner p,
.category-overview-card p {
  color: var(--muted);
}

.wide-search input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 999px 0 0 999px;
}

.wide-search button {
  height: 54px;
  padding: 0 28px;
}

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

.section-head p {
  margin: 0 0 6px;
  color: #fde047;
  font-weight: 900;
  letter-spacing: 0.1em;
}

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

.section-head a {
  color: #fde047;
  font-weight: 900;
}

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.82), rgba(15, 23, 42, 0.82));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transition: 0.22s ease;
}

.movie-card:hover {
  border-color: rgba(253, 224, 71, 0.32);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.32);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: rgba(255, 255, 255, 0.08);
}

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8));
}

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  border-radius: 999px;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  min-height: 30px;
  padding: 0 12px;
  color: #111827;
  background: linear-gradient(135deg, #fde047, #fb7185);
}

.rank-badge {
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  color: #111827;
  background: #fde047;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

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

.movie-card-body h3 {
  margin: 0 0 8px;
  overflow: hidden;
  font-size: 17px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.movie-card-body h3 a:hover {
  color: #fde047;
}

.movie-meta {
  margin-bottom: 10px;
}

.movie-meta span {
  min-height: 24px;
  padding: 2px 8px;
  color: #bfdbfe;
  font-size: 12px;
  border-color: rgba(147, 197, 253, 0.18);
  background: rgba(59, 130, 246, 0.18);
}

.movie-card p {
  min-height: 44px;
  margin: 0 0 12px;
  font-size: 14px;
}

.tag-row span {
  min-height: 24px;
  padding: 2px 8px;
  color: #fce7f3;
  font-size: 12px;
  border-color: rgba(244, 114, 182, 0.16);
  background: rgba(236, 72, 153, 0.18);
}

.movie-card-compact .movie-card-body p {
  display: none;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.category-tile {
  min-height: 270px;
  padding: 18px;
}

.category-tile:hover,
.category-overview-card:hover {
  border-color: rgba(253, 224, 71, 0.34);
  transform: translateY(-4px);
}

.category-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -50px;
  top: -50px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.32), transparent 68%);
}

.category-cover-stack {
  position: relative;
  height: 138px;
  margin-bottom: 22px;
}

.category-cover-stack img {
  position: absolute;
  width: 92px;
  height: 128px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}

.category-cover-stack img:nth-child(1) {
  left: 0;
  top: 8px;
  transform: rotate(-8deg);
}

.category-cover-stack img:nth-child(2) {
  left: 64px;
  top: 0;
  z-index: 2;
}

.category-cover-stack img:nth-child(3) {
  left: 128px;
  top: 12px;
  transform: rotate(8deg);
}

.category-tile strong,
.overview-main strong {
  display: block;
  font-size: 24px;
}

.category-tile em,
.overview-main em {
  color: #fde047;
  font-style: normal;
  font-weight: 900;
}

.page-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 32px auto 0;
  padding: clamp(36px, 7vw, 76px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(49, 46, 129, 0.85), rgba(88, 28, 135, 0.72), rgba(157, 23, 77, 0.64)),
    radial-gradient(circle at 90% 0%, rgba(253, 224, 71, 0.28), transparent 28%);
  box-shadow: var(--shadow);
}

.page-hero p {
  margin: 0 0 10px;
  color: #fde047;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.02;
}

.page-hero span {
  display: block;
  max-width: 760px;
  margin-top: 18px;
  font-size: 18px;
}

.category-overview-card {
  padding: 22px;
  transition: 0.2s ease;
}

.overview-main p {
  margin: 10px 0 18px;
}

.overview-links {
  display: grid;
  gap: 8px;
}

.overview-links a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  color: var(--muted);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.overview-links a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.local-filter {
  display: flex;
  align-items: center;
  gap: 16px;
}

.local-filter input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border-radius: 999px;
}

.local-filter span {
  white-space: nowrap;
  color: #fde047;
  font-weight: 900;
}

.category-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
}

.side-ranking {
  position: sticky;
  top: 100px;
  height: max-content;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: var(--shadow);
}

.ranking-split {
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 28px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  padding: 34px 0 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--soft);
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000000;
  cursor: pointer;
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  color: #111827;
  cursor: pointer;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde047, #fb7185);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.46);
  transform: translate(-50%, -50%);
  transition: 0.2s ease;
}

.player-start span {
  margin-left: 4px;
  font-size: 34px;
}

.player-start:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.player-start.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.detail-title-block,
.detail-text-card,
.side-card {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.78);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.detail-title-block h1 {
  font-size: clamp(32px, 5vw, 52px);
}

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

.detail-title-block p,
.detail-text-card p {
  margin: 0;
  font-size: 17px;
}

.detail-text-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.detail-tags {
  margin-top: 18px;
}

.detail-side {
  position: sticky;
  top: 100px;
  height: max-content;
}

.side-poster {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

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

.side-card dl {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px 14px;
  margin: 0;
}

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

.side-card dd {
  margin: 0;
  color: #ffffff;
}

.search-workspace {
  display: grid;
  gap: 22px;
}

.search-status {
  color: #fde047;
  font-weight: 900;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(0, 0, 0, 0.92));
}

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

.footer-inner h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

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

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

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

  .hero-section,
  .category-layout,
  .detail-layout,
  .ranking-split {
    grid-template-columns: 1fr;
  }

  .hero-side-list,
  .side-ranking,
  .detail-side {
    position: static;
  }

  .hero-side-list {
    display: none;
  }
}

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

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .mobile-panel .site-search {
    display: flex;
    margin-top: 14px;
  }

  .mobile-panel .site-search input {
    flex: 1;
    min-width: 0;
  }

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

  .hero-stage {
    min-height: 62vh;
    border-radius: 24px;
  }

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

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

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

@media (max-width: 700px) {
  .header-inner,
  .content-section,
  .detail-layout,
  .page-hero,
  .hero-section,
  .footer-inner {
    width: min(100% - 24px, 1280px);
  }

  .brand,
  .footer-brand {
    font-size: 22px;
  }

  .hero-stage {
    min-height: 560px;
  }

  .hero-content {
    left: 20px;
    bottom: 74px;
    width: calc(100% - 40px);
  }

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

  .hero-content p {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-dots {
    left: 20px;
    right: auto;
  }

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

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

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

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

  .section-head,
  .local-filter {
    align-items: stretch;
    flex-direction: column;
  }

  .wide-search {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .wide-search input,
  .wide-search button {
    border-radius: 999px;
  }

  .player-start {
    width: 68px;
    height: 68px;
  }

  .detail-title-block,
  .detail-text-card,
  .side-card {
    padding: 18px;
  }
}
