:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --blue-600: #2563eb;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 14px 34px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 55px rgba(15, 23, 42, 0.18);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-2xl: 34px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: linear-gradient(180deg, var(--sky-50) 0%, var(--white) 38%, #eff6ff 100%);
  font-family: 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,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(240, 249, 255, 0.88);
  border-bottom: 1px solid rgba(125, 211, 252, 0.45);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sky-600), var(--blue-600));
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.26);
}

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

.logo-name {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--sky-600), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-subtitle {
  color: var(--slate-500);
  font-size: 0.76rem;
  margin-top: 3px;
}

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

.nav-link,
.mobile-nav-link {
  color: var(--slate-700);
  font-weight: 700;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

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

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--sky-600);
  background: rgba(14, 165, 233, 0.1);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.1);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--sky-600);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(125, 211, 252, 0.4);
}

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

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

.hero-slider {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: var(--slate-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.88), transparent);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 48px;
  padding: 80px 0 86px;
}

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

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 14px;
  margin-bottom: 18px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.35);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 16px;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
}

.hero-copy h2 + h2 {
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: -0.03em;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2vw, 1.28rem);
}

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

.hero-tags span,
.card-tags span,
.detail-tags span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 700;
}

.card-tags span,
.detail-tags span {
  background: rgba(14, 165, 233, 0.1);
  color: var(--sky-600);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 16px 32px rgba(14, 165, 233, 0.28);
}

.btn-ghost {
  color: var(--slate-900);
  background: rgba(255, 255, 255, 0.92);
}

.btn-link-light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-search {
  display: flex;
  width: min(580px, 100%);
  margin-top: 28px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.hero-search input,
.search-control input,
.search-control select {
  width: 100%;
  min-height: 46px;
  border: 0;
  outline: none;
  border-radius: 999px;
}

.hero-search input {
  padding: 0 18px;
  color: var(--white);
  background: transparent;
}

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

.hero-search button {
  min-width: 92px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(90deg, var(--sky-500), var(--blue-600));
  cursor: pointer;
}

.hero-poster {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.34);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  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: var(--white);
}

.hero-category-strip {
  position: absolute;
  left: 50%;
  bottom: 64px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  transform: translateX(-50%);
}

.hero-category-strip a {
  padding: 7px 13px;
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.main-content {
  padding: 58px 0 34px;
}

.section {
  margin-bottom: 68px;
}

.section-soft {
  padding: 34px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(90deg, rgba(224, 242, 254, 0.92), rgba(219, 234, 254, 0.86));
  box-shadow: var(--shadow-sm);
}

.section-white {
  padding: 34px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.title-line {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sky-500), transparent);
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  border-color: rgba(14, 165, 233, 0.38);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.card-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--slate-200);
}

.card-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.76), transparent);
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--white);
  font-size: 1.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%) scale(0.84);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  display: grid;
  min-width: 36px;
  height: 36px;
  place-items: center;
  padding: 0 8px;
  color: var(--white);
  font-weight: 900;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 10px 24px rgba(14, 165, 233, 0.3);
}

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--slate-500);
  font-size: 0.78rem;
  font-weight: 800;
}

.card-meta a {
  color: var(--sky-600);
}

.card-meta span,
.card-meta a {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.08);
}

.card-title {
  margin: 0 0 9px;
  font-size: 1.08rem;
  line-height: 1.32;
  font-weight: 900;
}

.card-title a:hover {
  color: var(--sky-600);
}

.card-desc {
  display: -webkit-box;
  min-height: 3.15em;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--slate-500);
  font-size: 0.92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.horizontal-scroll {
  display: flex;
  gap: 18px;
  padding: 4px 4px 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.horizontal-scroll .movie-card {
  flex: 0 0 290px;
  scroll-snap-align: start;
}

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

.category-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-head {
  display: flex;
  gap: 14px;
}

.category-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
}

.category-card h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 900;
}

.category-card h2 a:hover {
  color: var(--sky-600);
}

.category-card p {
  margin: 0;
  color: var(--slate-500);
}

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

.compact-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--slate-200);
}

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

.compact-card span {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px 8px 8px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.84), transparent);
}

.text-link {
  color: var(--sky-600);
  font-weight: 900;
}

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

.card-horizontal {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
}

.card-horizontal .card-cover img {
  height: 100%;
  min-height: 230px;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 54px 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.ranking-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
}

.ranking-item img {
  width: 86px;
  height: 118px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-item h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 900;
}

.ranking-item p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--slate-500);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ranking-score {
  color: var(--sky-600);
  font-weight: 900;
  white-space: nowrap;
}

.page-hero {
  padding: 58px 0 36px;
}

.page-hero-card {
  padding: 40px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.92), rgba(37, 99, 235, 0.92));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 700;
}

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

.page-hero h1,
.detail-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.page-hero p,
.detail-hero p {
  max-width: 830px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.search-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.search-row {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 12px;
}

.search-control input,
.search-control select {
  padding: 0 16px;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  background: var(--white);
}

.no-results {
  display: none;
  padding: 24px;
  text-align: center;
  color: var(--slate-500);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
}

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

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--slate-700);
  font-size: 0.92rem;
  font-weight: 800;
  background: linear-gradient(90deg, rgba(224, 242, 254, 0.92), rgba(219, 234, 254, 0.9));
  box-shadow: 0 7px 16px rgba(14, 165, 233, 0.08);
  transition: transform 0.25s ease, color 0.25s ease;
}

.tag-cloud a:hover {
  color: var(--sky-600);
  transform: translateY(-2px);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-size: cover;
  background-position: center;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.9), rgba(2, 132, 199, 0.55), rgba(2, 6, 23, 0.42));
}

.detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
  padding: 68px 0;
}

.detail-cover {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

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

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span,
.detail-meta a {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.player-section {
  margin-top: 52px;
}

.player-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #020617;
  box-shadow: var(--shadow-lg);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.18), rgba(2, 6, 23, 0.72));
  cursor: pointer;
}

.player-overlay.is-hidden {
  display: none;
}

.play-button {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-size: 2.4rem;
  background: linear-gradient(135deg, var(--sky-500), var(--blue-600));
  box-shadow: 0 24px 42px rgba(14, 165, 233, 0.34);
  cursor: pointer;
  transition: transform 0.25s ease;
}

.play-button:hover {
  transform: scale(1.06);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 32px;
  margin-top: 42px;
}

.article-card,
.side-card {
  padding: 28px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.article-card h2,
.side-card h2 {
  margin: 0 0 16px;
  font-size: 1.45rem;
  font-weight: 900;
}

.article-card p {
  margin: 0 0 20px;
  color: var(--slate-700);
}

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

.related-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.related-item img {
  width: 72px;
  height: 100px;
  object-fit: cover;
  border-radius: 14px;
}

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

.related-item span {
  color: var(--slate-500);
  font-size: 0.85rem;
}

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

  .menu-toggle {
    display: block;
  }

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

  .hero-grid,
  .detail-hero-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .detail-cover {
    width: min(260px, 70%);
  }

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

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

  .ranking-item {
    grid-template-columns: 42px 72px minmax(0, 1fr);
  }

  .ranking-score {
    grid-column: 3;
  }
}

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

  .logo-subtitle {
    display: none;
  }

  .hero-slider {
    min-height: 720px;
  }

  .hero-grid {
    gap: 24px;
    padding-top: 56px;
  }

  .hero-category-strip {
    display: none;
  }

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

  .hero-prev {
    left: 10px;
  }

  .hero-next {
    right: 10px;
  }

  .hero-search {
    border-radius: 26px;
    flex-direction: column;
  }

  .hero-search button {
    min-height: 44px;
  }

  .grid-4,
  .grid-3,
  .category-grid,
  .search-row {
    grid-template-columns: 1fr;
  }

  .section-soft,
  .section-white,
  .page-hero-card,
  .article-card,
  .side-card {
    padding: 22px;
    border-radius: 24px;
  }

  .card-horizontal {
    grid-template-columns: 118px minmax(0, 1fr);
  }

  .card-horizontal .card-cover img {
    min-height: 100%;
  }

  .ranking-item {
    grid-template-columns: 38px 64px minmax(0, 1fr);
    gap: 10px;
  }

  .ranking-item img {
    width: 64px;
    height: 90px;
  }

  .detail-hero-grid {
    padding: 42px 0;
  }

  .detail-cover {
    width: min(210px, 76%);
  }

  .play-button {
    width: 76px;
    height: 76px;
    font-size: 2rem;
  }
}
