:root {
  color-scheme: light;
  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --cyan-900: #164e63;
  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --red-500: #ef4444;
  --orange-500: #f97316;
  --yellow-400: #facc15;
  --gray-950: #0f172a;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow-lg: 0 10px 30px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 22px 50px rgba(15, 23, 42, 0.18);
  --radius-xl: 22px;
  --radius-lg: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
}

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;
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-600), var(--blue-700), var(--cyan-600));
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.24);
}

.header-inner {
  max-width: var(--container);
  height: 66px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.brand-text {
  font-size: 22px;
}

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

.nav-link {
  font-weight: 700;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #dbeafe;
  opacity: 1;
}

.header-search {
  display: flex;
  align-items: center;
  position: relative;
  width: 276px;
}

.header-search input,
.mobile-search input,
.hero-search-form input,
.page-filter input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 88px 10px 16px;
  outline: none;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

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

.header-search input:focus,
.mobile-search input:focus,
.hero-search-form input:focus {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.header-search button,
.mobile-search button,
.hero-search-form button {
  position: absolute;
  right: 4px;
  border: 0;
  color: var(--white);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 7px 14px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 22px 20px;
}

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

.mobile-nav,
.mobile-cats {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mobile-nav a,
.mobile-cats a {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.mobile-search {
  position: relative;
  max-width: var(--container);
  margin: 12px auto;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(115deg, var(--blue-900), var(--blue-800) 52%, var(--cyan-900));
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 25%, rgba(6, 182, 212, 0.28), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(59, 130, 246, 0.32), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.16));
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  min-height: 560px;
  margin: 0 auto;
  padding: 74px 22px 80px;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: 56px;
  align-items: center;
  animation: fadeUp 0.45s ease both;
}

.hero-slide.is-active {
  display: grid;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 4vw, 42px);
  color: #dbeafe;
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 22px;
  color: #dbeafe;
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #bfdbfe;
}

.eyebrow.dark {
  color: var(--blue-600);
}

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

.hero-tags span,
.tag-row span,
.detail-tags span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.tag-row span,
.detail-tags.muted span {
  background: var(--gray-100);
  color: var(--gray-700);
}

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

.primary-btn,
.ghost-btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  color: var(--white);
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
}

.primary-btn:hover,
.ghost-btn:hover,
.outline-btn:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.outline-btn {
  color: var(--blue-700);
  background: #eff6ff;
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 28px;
  isolation: isolate;
  transform: rotate(1deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
}

.hero-poster-glow {
  position: absolute;
  inset: 16px -12px -16px 22px;
  z-index: -1;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.42), rgba(6, 182, 212, 0.32));
  filter: blur(10px);
}

.hero-controls {
  position: absolute;
  left: 22px;
  bottom: 36px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 38px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--white);
}

.section,
.page-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 68px 22px;
}

.white-section {
  background: var(--white);
  max-width: none;
  padding-left: max(22px, calc((100% - var(--container)) / 2 + 22px));
  padding-right: max(22px, calc((100% - var(--container)) / 2 + 22px));
}

.soft-section {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  max-width: none;
  padding-left: max(22px, calc((100% - var(--container)) / 2 + 22px));
  padding-right: max(22px, calc((100% - var(--container)) / 2 + 22px));
}

.warm-section {
  background: linear-gradient(90deg, #fff7ed, #fef2f2);
  max-width: none;
  padding-left: max(22px, calc((100% - var(--container)) / 2 + 22px));
  padding-right: max(22px, calc((100% - var(--container)) / 2 + 22px));
}

.dark-section {
  background: var(--gray-900);
  color: var(--white);
  max-width: none;
  padding-left: max(22px, calc((100% - var(--container)) / 2 + 22px));
  padding-right: max(22px, calc((100% - var(--container)) / 2 + 22px));
}

.no-top {
  padding-top: 36px;
}

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

.section-head h2,
.center-head h2,
.category-panel-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}

.section-head a {
  color: var(--blue-600);
  font-weight: 800;
}

.section-head.inverse a,
.section-head.inverse .eyebrow {
  color: #bfdbfe;
}

.center-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 34px;
}

.center-head p:last-child,
.category-panel-head p,
.page-hero p {
  color: var(--gray-600);
}

.movie-grid,
.featured-grid,
.overlay-grid,
.cinematic-grid,
.mini-grid,
.category-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--gray-900);
}

.poster-link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.poster-shade {
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
}

.play-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.68);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-500), var(--orange-500));
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.28);
}

.card-body {
  padding: 16px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 800;
}

.card-body h2 {
  margin: 8px 0;
  font-size: 18px;
  line-height: 1.25;
}

.card-body p {
  display: -webkit-box;
  min-height: 45px;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card-featured .poster-link img {
  aspect-ratio: 16 / 10;
}

.movie-card-overlay .card-body,
.movie-card-cinematic .card-body {
  background: linear-gradient(180deg, var(--white), #f8fafc);
}

.movie-card-cinematic {
  background: #0f172a;
  color: var(--white);
}

.movie-card-cinematic .card-body {
  color: var(--white);
  background: linear-gradient(180deg, #111827, #0f172a);
}

.movie-card-cinematic .card-body p,
.movie-card-cinematic .card-meta {
  color: var(--gray-300);
}

.movie-card-cinematic .tag-row span {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
}

.category-tile {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-xl);
  color: var(--white);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-tile:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-xl);
}

.category-tile strong {
  font-size: 24px;
}

.category-tile em {
  margin-top: 8px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
}

.category-icon {
  font-size: 34px;
  margin-bottom: 12px;
}

.tile-1 { background: linear-gradient(135deg, #ef4444, #f97316); }
.tile-2 { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
.tile-3 { background: linear-gradient(135deg, #eab308, #fb923c); }
.tile-4 { background: linear-gradient(135deg, #ec4899, #8b5cf6); }
.tile-5 { background: linear-gradient(135deg, #16a34a, #14b8a6); }
.tile-6 { background: linear-gradient(135deg, #4f46e5, #0ea5e9); }

.two-col-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
}

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

.compact-card {
  display: grid;
  grid-template-columns: auto 92px 1fr;
  align-items: center;
  gap: 14px;
  border-radius: 14px;
  background: var(--white);
  padding: 10px;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
  transform: translateX(4px);
  background: #eff6ff;
}

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

.compact-card strong {
  display: block;
  line-height: 1.25;
}

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

.compact-rank {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--blue-600);
  font-weight: 800;
}

.page-hero {
  max-width: var(--container);
  margin: 28px auto 0;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(115deg, var(--blue-900), var(--blue-700), var(--cyan-900));
  padding: 58px 44px;
  box-shadow: var(--shadow-lg);
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 780px;
  color: #dbeafe;
  font-size: 18px;
}

.category-panels {
  display: grid;
  gap: 26px;
}

.category-panel {
  border-radius: var(--radius-xl);
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

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

.filter-bar {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

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

.quick-links a {
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-700);
  padding: 8px 14px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.quick-links a.is-current {
  color: var(--white);
  background: var(--blue-600);
}

.page-filter {
  min-width: 280px;
  display: grid;
  gap: 6px;
  color: var(--gray-600);
  font-weight: 800;
}

.page-filter input {
  border-color: var(--gray-200);
  color: var(--gray-900);
  background: var(--white);
  padding: 10px 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
}

.page-grid {
  max-width: var(--container);
  margin: 0 auto;
}

.table-wrap {
  overflow: auto;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.rank-table th,
.rank-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
}

.rank-table th {
  color: var(--gray-700);
  background: #f8fafc;
}

.rank-table a {
  color: var(--blue-700);
  font-weight: 800;
}

.hero-search-form {
  position: relative;
  max-width: 620px;
  margin-top: 24px;
}

.result-note {
  color: var(--gray-500);
  font-weight: 800;
}

.detail-main {
  background: var(--gray-50);
}

.breadcrumb {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 22px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--gray-500);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--blue-600);
  font-weight: 800;
}

.detail-hero {
  max-width: var(--container);
  margin: 22px auto 0;
  padding: 42px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(115deg, var(--gray-900), var(--blue-900), var(--cyan-900));
  box-shadow: var(--shadow-xl);
}

.detail-poster img {
  width: 260px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.32);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.detail-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  color: #dbeafe;
  font-weight: 800;
  font-size: 13px;
}

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

.detail-info .lead {
  color: #dbeafe;
  font-size: 18px;
}

.detail-info .primary-btn {
  margin-top: 24px;
}

.watch-section {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 22px;
}

.video-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  box-shadow: var(--shadow-xl);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.58));
  cursor: pointer;
}

.player-start span {
  width: 86px;
  height: 86px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.32);
  font-size: 34px;
  padding-left: 5px;
}

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

.watch-title {
  border-radius: 0 0 20px 20px;
  background: var(--white);
  padding: 20px 24px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.watch-title h2 {
  margin: 0 0 6px;
}

.watch-title p {
  margin: 0;
  color: var(--gray-600);
}

.detail-layout {
  max-width: var(--container);
  margin: 28px auto 0;
  padding: 0 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.detail-content,
.related-side {
  border-radius: var(--radius-xl);
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.detail-content h2,
.related-side h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.detail-content p {
  margin: 0 0 24px;
  color: var(--gray-700);
  font-size: 17px;
}

.related-side {
  align-self: start;
  position: sticky;
  top: 90px;
}

.detail-more {
  margin-top: 42px;
}

.site-footer {
  color: var(--gray-300);
  background: linear-gradient(90deg, var(--gray-900), var(--gray-800), var(--gray-900));
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 22px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 30px;
}

.footer-brand {
  color: var(--white);
  font-size: 22px;
}

.site-footer h2 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 18px;
}

.site-footer p,
.site-footer li {
  margin: 0 0 8px;
  color: var(--gray-300);
  font-size: 14px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 22px;
  text-align: center;
  color: var(--gray-400);
}

.is-filtered-out {
  display: none !important;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .hero-slide,
  .detail-hero,
  .detail-layout,
  .two-col-section,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-width: 420px;
    margin: 0 auto;
  }

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

  .related-side {
    position: static;
  }
}

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

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

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

  .hero-slide {
    gap: 30px;
  }

  .hero-controls {
    position: static;
    margin-top: 28px;
  }

  .section,
  .page-main,
  .white-section,
  .soft-section,
  .warm-section,
  .dark-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

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

  .movie-grid,
  .featured-grid,
  .overlay-grid,
  .cinematic-grid,
  .mini-grid,
  .category-grid,
  .category-sample {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .page-hero,
  .detail-hero {
    border-radius: 22px;
    padding: 34px 24px;
  }

  .detail-poster img {
    width: min(260px, 100%);
  }

  .page-filter {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .movie-grid,
  .featured-grid,
  .overlay-grid,
  .cinematic-grid,
  .mini-grid,
  .category-grid,
  .category-sample {
    grid-template-columns: 1fr;
  }

  .compact-card {
    grid-template-columns: auto 78px 1fr;
  }

  .compact-card img {
    width: 78px;
    height: 54px;
  }

  .player-start span {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }
}
