:root {
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-hover: 0 24px 70px rgba(8, 145, 178, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--slate-800);
  background: linear-gradient(180deg, var(--slate-50), #ffffff 45%, #ffffff);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, #0891b2, #2563eb, #1d4ed8);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.16);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
}

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

.brand-icon {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

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

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

.nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.header-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.big-search input {
  border: 1px solid rgba(255, 255, 255, 0.25);
  outline: none;
  border-radius: 999px;
  padding: 10px 15px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

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

.header-search button,
.mobile-search button,
.big-search button,
.btn {
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.header-search button,
.mobile-search button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
}

.header-search button:hover,
.mobile-search button:hover,
.btn:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: none;
  border-radius: 12px;
  padding: 8px 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
}

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

.mobile-nav nav {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

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

.hero {
  position: relative;
  height: clamp(500px, 72vh, 700px);
  overflow: hidden;
  color: #ffffff;
  background: var(--slate-900);
}

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

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

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

.hero-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.58) 48%, rgba(15, 23, 42, 0.15));
}

.hero-content {
  position: absolute;
  inset: auto 0 0 0;
  padding-bottom: clamp(56px, 11vw, 110px);
}

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

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

.hero-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 700;
  background: rgba(6, 182, 212, 0.92);
}

.hero h1 {
  max-width: 780px;
  margin: 18px 0 16px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
}

.hero p {
  max-width: 720px;
  margin: 0 0 26px;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  color: #ffffff;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  box-shadow: 0 14px 32px rgba(6, 182, 212, 0.32);
}

.btn.glass {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
}

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

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

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

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

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

.section {
  padding: 54px 0;
}

.tinted {
  background: linear-gradient(90deg, #f0fdfa, #ecfeff);
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.section-title h2,
.category-overview-card h2,
.ranking-box h2,
.player-section h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--slate-800);
}

.section-more,
.text-link {
  color: var(--cyan-dark);
  font-weight: 800;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 470px);
  gap: 24px;
  align-items: center;
  border-radius: 28px;
  padding: 30px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.search-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 36px);
}

.search-panel p {
  margin: 0;
  color: var(--slate-500);
  line-height: 1.8;
}

.big-search input {
  flex: 1;
  color: var(--slate-800);
  border-color: var(--slate-200);
  background: var(--slate-50);
}

.big-search button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

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

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

.movie-card,
.rank-card {
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #155e75);
}

.card-cover img,
.feature-card img,
.rank-cover img,
.category-panel-cover img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover .card-cover img,
.feature-card:hover img,
.category-panel:hover img {
  transform: scale(1.08);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--cyan-dark);
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.cover-badge {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border-radius: 999px;
  padding: 5px 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.72);
}

.card-body {
  padding: 16px;
}

.card-meta,
.card-foot,
.detail-meta {
  color: var(--slate-500);
  font-size: 13px;
}

.card-meta span:first-child {
  color: var(--cyan-dark);
  font-weight: 800;
}

.card-body h3 {
  margin: 10px 0 8px;
  min-height: 48px;
  color: var(--slate-800);
  font-size: 18px;
  line-height: 1.35;
}

.card-body h3 a:hover,
.rank-info h3 a:hover,
.category-panel h2 a:hover {
  color: var(--cyan-dark);
}

.card-body p {
  min-height: 44px;
  margin: 0 0 12px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.6;
}

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

.tag {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 9px;
  color: #0e7490;
  font-size: 12px;
  font-weight: 700;
  background: #ecfeff;
}

.tag.strong {
  color: #ffffff;
  background: var(--cyan);
}

.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}

.movie-card-list {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.movie-card-list .card-cover {
  height: 100%;
  aspect-ratio: auto;
}

.movie-card-list .card-body h3 {
  min-height: 0;
  font-size: 22px;
}

.movie-card-list .card-body p {
  min-height: 0;
}

.list-stack {
  display: grid;
  gap: 18px;
}

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

.top-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 30px;
}

.feature-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 28px;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.feature-card img,
.feature-shade,
.feature-content {
  position: absolute;
  inset: 0;
}

.feature-shade {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.24));
}

.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 28px;
}

.feature-content strong {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.feature-content small {
  max-width: 90%;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.category-overview-card {
  border-radius: 30px;
  padding: 42px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-overview-card h2 {
  margin-bottom: 26px;
  text-align: center;
}

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

.category-tile {
  display: grid;
  gap: 10px;
  min-height: 150px;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(135deg, #ecfeff, #eff6ff);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  background: linear-gradient(135deg, #cffafe, #dbeafe);
  box-shadow: 0 18px 38px rgba(8, 145, 178, 0.16);
}

.category-tile strong {
  color: var(--cyan-dark);
  font-size: 20px;
}

.category-tile span {
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.65;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

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

.ranking-list.compact {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.ranking-list.compact a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--slate-50);
}

.ranking-list.compact span,
.rank-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 850;
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.ranking-list.compact strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.ranking-list.compact em {
  color: var(--slate-500);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  color: #ffffff;
  background: linear-gradient(90deg, #0891b2, #2563eb, #1d4ed8);
}

.small-hero h1,
.category-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 52px);
}

.small-hero p,
.category-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.75;
}

.category-hero {
  background-image: linear-gradient(90deg, rgba(8, 145, 178, 0.95), rgba(37, 99, 235, 0.84)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.crumb a:hover {
  color: #ffffff;
}

.filters {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 220px 180px;
  gap: 16px;
  align-items: end;
  margin-bottom: 28px;
  border-radius: 24px;
  padding: 22px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.filters.category-filter {
  grid-template-columns: minmax(280px, 1fr) 180px;
}

.filters label {
  display: grid;
  gap: 8px;
  color: var(--slate-700);
  font-weight: 750;
}

.filters input,
.filters select {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  color: var(--slate-800);
  background: var(--slate-50);
}

.filters input:focus,
.filters select:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

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

.category-panel {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.category-panel-cover {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--slate-900), #155e75);
}

.category-panel h2 {
  margin: 0 0 10px;
  color: var(--slate-800);
}

.category-panel p {
  margin: 0 0 14px;
  color: var(--slate-500);
  line-height: 1.7;
}

.ranking-list.full {
  display: grid;
  gap: 16px;
}

.rank-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.rank-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 12px;
}

.rank-cover {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--slate-900), #155e75);
}

.rank-info h3 {
  margin: 6px 0 8px;
  font-size: 20px;
}

.rank-info p {
  margin: 0 0 12px;
  color: var(--slate-500);
  line-height: 1.65;
}

.detail-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #ffffff;
  background: var(--slate-900);
}

.detail-bg,
.detail-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(12px);
  transform: scale(1.08);
  opacity: 0.62;
}

.detail-overlay {
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.76) 48%, rgba(8, 145, 178, 0.35));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 48px 0 64px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 2 / 3;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  background: linear-gradient(135deg, var(--slate-900), #155e75);
}

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

.detail-one-line {
  max-width: 820px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.75;
}

.detail-meta {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.74);
}

.tag-row.large .tag {
  padding: 8px 12px;
  font-size: 13px;
}

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

.player-section h2 {
  margin-bottom: 22px;
}

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

.player-shell video {
  display: block;
  width: 100%;
  height: 100%;
  background: #000000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  border: none;
  color: #ffffff;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.2));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

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

.player-play {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  color: var(--cyan-dark);
  font-size: 34px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
}

.player-overlay strong {
  max-width: 80%;
  font-size: clamp(22px, 3vw, 34px);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
}

.content-card {
  border-radius: 26px;
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.content-card h2 {
  margin: 0 0 14px;
  color: var(--slate-800);
}

.content-card p {
  margin: 0;
  color: var(--slate-600, #475569);
  line-height: 1.9;
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(180deg, var(--slate-800), var(--slate-900));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 48px 0 34px;
}

.footer-brand {
  margin-bottom: 14px;
  font-size: 18px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #67e8f9;
}

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

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 0 26px;
  text-align: center;
}

.is-filter-hidden {
  display: none !important;
}

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

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

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

  .menu-toggle {
    display: inline-grid;
  }

  .search-panel,
  .two-column-section,
  .detail-layout,
  .detail-content,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .category-panel-grid,
  .feature-grid,
  .top-three {
    grid-template-columns: 1fr;
  }

  .ranking-box {
    position: static;
  }

  .detail-poster {
    max-width: 300px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    height: 600px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-content {
    padding-bottom: 78px;
  }

  .search-panel,
  .category-overview-card,
  .content-card {
    padding: 22px;
    border-radius: 22px;
  }

  .big-search,
  .mobile-search {
    flex-direction: column;
    align-items: stretch;
  }

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

  .card-body {
    padding: 13px;
  }

  .card-body h3 {
    min-height: 42px;
    font-size: 16px;
  }

  .card-body p,
  .card-foot {
    font-size: 12px;
  }

  .filters,
  .filters.category-filter {
    grid-template-columns: 1fr;
  }

  .category-panel,
  .movie-card-list,
  .rank-card,
  .rank-row {
    grid-template-columns: 1fr;
  }

  .rank-num {
    margin-left: 4px;
  }

  .detail-info h1 {
    font-size: 36px;
  }

  .detail-one-line {
    font-size: 17px;
  }
}

@media (max-width: 460px) {
  .brand-text {
    display: none;
  }

  .movie-grid,
  .movie-grid.dense,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 34px;
  }

  .feature-card {
    min-height: 300px;
  }
}
