:root {
  --paper-50: #ffffff;
  --paper-100: #fafafa;
  --paper-200: #f4f7f8;
  --mist-50: #f8f9fa;
  --mist-100: #f1f3f5;
  --mist-200: #e9ecef;
  --mist-300: #dee2e6;
  --mist-400: #ced4da;
  --mist-500: #adb5bd;
  --mist-600: #868e96;
  --mist-700: #495057;
  --ink-700: #4f4f4f;
  --ink-800: #454545;
  --ink-900: #3d3d3d;
  --mountain-50: #e8f4f8;
  --mountain-100: #d1e9f1;
  --mountain-400: #47a7c7;
  --mountain-500: #2c8aa8;
  --mountain-600: #236e86;
  --mountain-700: #1a5264;
  --mountain-800: #123642;
  --shadow-soft: 0 12px 40px rgba(26, 82, 100, 0.12);
  --shadow-card: 0 12px 28px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", sans-serif;
  color: var(--ink-900);
  background: var(--paper-200);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--mist-200);
  box-shadow: 0 6px 22px rgba(18, 54, 66, 0.06);
  backdrop-filter: blur(12px);
}

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

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

.brand-icon,
.footer-brand span {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--mountain-500), var(--mountain-700));
  box-shadow: 0 10px 24px rgba(35, 110, 134, 0.24);
}

.brand:hover .brand-icon {
  transform: scale(1.05);
}

.brand-icon {
  transition: transform 0.2s ease;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand-text em {
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  color: var(--mist-600);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-weight: 650;
  color: var(--ink-700);
}

.desktop-nav a,
.nav-dropdown > a {
  padding: 26px 0;
  transition: color 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav .is-active {
  color: var(--mountain-600);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  left: -18px;
  top: 68px;
  width: 190px;
  padding: 10px;
  border: 1px solid var(--mist-200);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.18s ease;
}

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

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
}

.dropdown-panel a:hover {
  background: var(--mountain-50);
}

.nav-search {
  position: relative;
  width: 260px;
}

.nav-search input,
.mobile-search input,
.search-box input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--mist-300);
  outline: none;
  background: var(--mist-50);
  color: var(--ink-900);
  border-radius: 999px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-search input {
  height: 42px;
  padding: 0 50px 0 18px;
}

.nav-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--mountain-600);
  color: #ffffff;
}

.nav-search input:focus,
.mobile-search input:focus,
.search-box input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: transparent;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(71, 167, 199, 0.25);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--mist-100);
  color: var(--ink-900);
  font-size: 20px;
}

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

.mobile-panel.is-open {
  display: grid;
  gap: 12px;
}

.mobile-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 650;
}

.mobile-panel a:hover {
  background: var(--mountain-50);
  color: var(--mountain-700);
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.mobile-search input {
  height: 44px;
  padding: 0 16px;
}

.mobile-search button,
.primary-btn,
.secondary-btn,
.filter-panel button,
.search-box button {
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 760;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mobile-search button,
.primary-btn,
.filter-panel button,
.search-box button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--mountain-500), var(--mountain-700));
  box-shadow: 0 12px 30px rgba(35, 110, 134, 0.25);
}

.secondary-btn {
  color: var(--mountain-700);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.primary-btn:hover,
.secondary-btn:hover,
.filter-panel button:hover,
.search-box button:hover {
  transform: translateY(-2px);
}

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

.hero-carousel {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: #ffffff;
  background: var(--mountain-800);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(71, 167, 199, 0.42), transparent 34%),
    linear-gradient(90deg, rgba(18, 54, 66, 0.94) 0%, rgba(18, 54, 66, 0.78) 42%, rgba(18, 54, 66, 0.28) 100%),
    linear-gradient(0deg, rgba(18, 54, 66, 0.74), transparent 48%);
}

.hero-inner {
  position: relative;
  width: min(1280px, calc(100% - 32px));
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.7fr);
  align-items: center;
  gap: 58px;
  padding: 70px 0 112px;
}

.hero-kicker,
.section-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  padding: 7px 13px;
  border-radius: 999px;
  font-weight: 760;
  font-size: 13px;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
}

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

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.15;
}

.hero-copy p {
  max-width: 700px;
  margin: 0 0 26px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-meta,
.detail-meta,
.meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.detail-meta span,
.meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  font-size: 13px;
  font-weight: 680;
}

.hero-card-stack {
  display: grid;
  gap: 16px;
}

.hero-side-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-side-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-side-card img {
  width: 124px;
  height: 92px;
  object-fit: cover;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-side-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.hero-side-card em {
  display: block;
  margin-bottom: 10px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.hero-side-card span {
  color: #ffffff;
  font-size: 14px;
  font-weight: 750;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 36px;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #ffffff;
}

.section,
.detail-wrap,
.category-hero,
.search-hero {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 64px 0 0;
}

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

.section-title h2,
.category-hero h1,
.search-hero h1,
.detail-title h1 {
  margin: 0;
  color: var(--ink-900);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

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

.section-title p,
.category-hero p,
.search-hero p {
  margin: 12px 0 0;
  color: var(--mist-700);
  line-height: 1.8;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mountain-700);
  font-weight: 780;
}

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 54, 66, 0.07);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--mist-100);
}

.movie-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

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

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.58));
  opacity: 0.72;
}

.score-badge,
.rank-mark,
.play-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.score-badge {
  top: 12px;
  right: 12px;
  min-width: 48px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(18, 54, 66, 0.72);
  backdrop-filter: blur(10px);
}

.rank-mark {
  left: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  color: var(--mountain-800);
  border-radius: 12px;
  background: #ffffff;
}

.play-badge {
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--mountain-700);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.movie-info {
  padding: 16px 16px 18px;
}

.movie-info h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-info h3 a:hover {
  color: var(--mountain-600);
}

.movie-info p {
  margin: 0 0 14px;
  color: var(--mist-700);
  font-size: 14px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.movie-info .meta-row {
  gap: 8px;
  margin-bottom: 12px;
  color: var(--mist-600);
}

.movie-info .meta-row span {
  background: var(--mist-100);
  color: var(--mist-700);
}

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

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--mountain-700);
  background: var(--mountain-50);
  font-size: 12px;
  font-weight: 720;
}

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

.category-card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  border-radius: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--mountain-500), var(--mountain-800));
  box-shadow: var(--shadow-soft);
}

.category-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.category-card h2,
.category-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 24px;
}

.category-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
}

.category-card span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  font-weight: 800;
}

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

.rank-panel {
  display: grid;
  gap: 12px;
}

.rank-item {
  display: grid;
  grid-template-columns: 48px 84px 1fr;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(18, 54, 66, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card);
}

.rank-item img {
  width: 84px;
  height: 62px;
  object-fit: cover;
  border-radius: 14px;
  background: var(--mist-100);
}

.list-rank {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--mountain-500), var(--mountain-700));
}

.rank-copy strong,
.rank-copy em {
  display: block;
}

.rank-copy strong {
  line-height: 1.35;
}

.rank-copy em {
  margin-top: 5px;
  color: var(--mist-600);
  font-style: normal;
  font-size: 13px;
}

.side-box {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.side-box h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.side-box p {
  margin: 0 0 18px;
  color: var(--mist-700);
  line-height: 1.75;
}

.category-hero,
.search-hero {
  padding: 58px 0 18px;
}

.category-hero h1,
.search-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.filter-panel,
.search-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 160px auto;
  gap: 14px;
  margin: 26px 0 28px;
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filter-panel input,
.filter-panel select,
.search-box input {
  height: 46px;
  padding: 0 16px;
}

.search-box {
  grid-template-columns: minmax(0, 1fr) auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 22px;
  color: var(--mist-600);
  font-size: 14px;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(71, 167, 199, 0.22), transparent 42%),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  background: var(--mist-100);
  box-shadow: 0 18px 40px rgba(18, 54, 66, 0.16);
}

.detail-poster img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.detail-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-kicker {
  color: var(--mountain-700);
  background: var(--mountain-50);
  border-color: var(--mountain-100);
}

.detail-title h1 {
  margin: 18px 0;
  font-size: clamp(36px, 5vw, 64px);
}

.detail-title p {
  margin: 0 0 20px;
  color: var(--mist-700);
  font-size: 17px;
  line-height: 1.85;
}

.detail-meta span {
  background: var(--mist-100);
  color: var(--mist-700);
}

.player-section {
  margin-top: 34px;
  display: grid;
  gap: 22px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  aspect-ratio: 16 / 9;
}

.player-frame video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: #ffffff;
  background: #000000;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.56;
}

.player-cover span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 6px;
  color: var(--mountain-700);
  background: rgba(255, 255, 255, 0.94);
  font-size: 32px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

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

.copy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: 28px;
  margin-top: 34px;
}

.article-box,
.related-box {
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.article-box h2,
.related-box h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.article-box p {
  margin: 0 0 20px;
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.95;
}

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

.related-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 18px;
  background: var(--mist-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.related-card:hover {
  background: var(--mountain-50);
  transform: translateX(3px);
}

.related-card img {
  width: 84px;
  height: 66px;
  border-radius: 14px;
  object-fit: cover;
  background: var(--mist-100);
}

.related-card strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.35;
}

.related-card span {
  color: var(--mist-600);
  font-size: 13px;
}

.no-results {
  display: none;
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  color: var(--mist-700);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.no-results.is-visible {
  display: block;
}

.image-empty {
  opacity: 0;
}

.site-footer {
  margin-top: 86px;
  color: var(--mist-300);
  background: var(--ink-900);
}

.footer-grid {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr);
  gap: 42px;
}

.footer-brand {
  color: #ffffff;
  font-size: 22px;
}

.site-footer p {
  max-width: 440px;
  margin: 18px 0 0;
  line-height: 1.85;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.site-footer a:hover {
  color: var(--mountain-400);
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

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

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

  .hero-inner,
  .detail-hero,
  .rank-layout,
  .copy-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-side-card img {
    width: 100%;
    height: 140px;
  }

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

  .side-box {
    position: static;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    height: 66px;
  }

  .brand-text em {
    display: none;
  }

  .brand-icon,
  .footer-brand span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .hero-carousel,
  .hero-inner {
    min-height: 760px;
  }

  .hero-inner {
    padding: 46px 0 92px;
    gap: 34px;
  }

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

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

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

  .movie-info {
    padding: 13px;
  }

  .movie-info h3 {
    font-size: 16px;
  }

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

  .rank-item {
    grid-template-columns: 40px 72px 1fr;
  }

  .rank-item img {
    width: 72px;
    height: 56px;
  }

  .detail-hero {
    padding: 18px;
  }

  .detail-poster img {
    min-height: 360px;
  }

  .player-cover span {
    width: 70px;
    height: 70px;
    font-size: 26px;
  }

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

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

  .mobile-cats {
    grid-template-columns: 1fr;
  }
}
