:root {
  --cyan: #06b6d4;
  --cyan-dark: #0891b2;
  --teal: #14b8a6;
  --ink: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --soft: #f8fafc;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 35%, #ecfeff 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 253, 250, 0.92);
  border-bottom: 1px solid rgba(6, 182, 212, 0.18);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.08);
}

.header-inner {
  max-width: 1280px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--cyan-dark);
  letter-spacing: -0.02em;
}

.logo {
  min-width: max-content;
  font-size: 22px;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.25);
}

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

.nav-link {
  position: relative;
  padding: 24px 0;
  color: #334155;
  font-weight: 650;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan-dark);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.header-search input,
.mobile-search input,
.big-search input,
.filter-panel input {
  border: 1px solid rgba(6, 182, 212, 0.24);
  background: #ffffff;
  color: var(--ink);
  outline: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.filter-panel input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.15);
}

.header-search input {
  width: 230px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
}

.header-search button,
.mobile-search button,
.big-search button,
.btn-primary {
  border: 0;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan-dark), var(--teal));
  box-shadow: 0 14px 28px rgba(6, 182, 212, 0.24);
}

.header-search button,
.mobile-search button {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: #334155;
  background: rgba(6, 182, 212, 0.1);
  font-size: 22px;
}

.mobile-panel {
  display: none;
  padding: 16px 24px 22px;
  border-top: 1px solid rgba(6, 182, 212, 0.18);
  background: #ffffff;
}

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

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: #334155;
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--cyan-dark);
  background: rgba(6, 182, 212, 0.08);
}

.hero-carousel {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: #07111f;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

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

.hero-backdrop::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.32), transparent 34%),
    linear-gradient(90deg, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.78) 48%, rgba(3, 7, 18, 0.36) 100%),
    linear-gradient(180deg, rgba(20, 184, 166, 0.2), rgba(8, 145, 178, 0.12));
}

.hero-backdrop img {
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 680px;
  margin: 0 auto;
  padding: 92px 24px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 760px;
  color: #ffffff;
  animation: fadeUp 0.8s ease both;
}

.eyebrow,
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.9;
}

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

.hero-meta {
  margin: 24px 0 30px;
}

.hero-meta span,
.detail-meta span {
  padding: 8px 13px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

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

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

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

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

.btn-text {
  color: #67e8f9;
}

.btn.small {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.7));
}

.poster-badge {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  color: #0f172a;
  background: #67e8f9;
  font-weight: 900;
}

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

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

.hero-dots button.is-active {
  width: 32px;
  background: #67e8f9;
}

.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-soft {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  background:
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.12), transparent 32%),
    linear-gradient(135deg, #f0fdfa, #eff6ff);
}

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

.section-heading.centered {
  display: block;
  max-width: 820px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2,
.page-hero h1,
.detail-copy h1,
.detail-article h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.03em;
}

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

.section-heading p,
.page-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

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

.section-search-panel {
  padding-top: 54px;
  padding-bottom: 44px;
}

.big-search {
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.big-search input {
  flex: 1;
  min-width: 0;
  height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 17px;
}

.big-search button {
  height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 900;
}

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

.category-tile {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--radius);
  color: #ffffff;
  background: #0f172a;
  box-shadow: var(--shadow);
}

.category-tile img {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 18, 0.88) 100%);
}

.category-tile span,
.category-tile p {
  position: relative;
  z-index: 2;
}

.category-tile span {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.category-tile:hover img {
  opacity: 0.72;
  transform: scale(1.08);
}

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.15);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a, #164e63);
}

.movie-cover img {
  transition: transform 0.55s ease, filter 0.55s ease;
}

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

.movie-region,
.movie-type,
.movie-play-icon {
  position: absolute;
  z-index: 2;
}

.movie-region {
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--cyan);
  font-size: 12px;
  font-weight: 800;
}

.movie-type {
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 12px;
}

.movie-play-icon {
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--cyan);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  margin: 0 0 10px;
  color: #1e293b;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 850;
}

.movie-info h3 a:hover {
  color: var(--cyan-dark);
}

.movie-info p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.movie-meta {
  margin-bottom: 12px;
  color: #475569;
  font-size: 13px;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  color: #0e7490;
  background: rgba(6, 182, 212, 0.1);
  font-size: 12px;
  font-weight: 700;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.rank-panel,
.detail-side,
.category-showcase,
.filter-panel,
.rank-list-large {
  border: 1px solid rgba(6, 182, 212, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.rank-panel {
  position: sticky;
  top: 94px;
  padding: 20px;
}

.rank-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 900;
}

.rank-head a,
.rank-score {
  color: var(--cyan-dark);
}

.rank-item {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.rank-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  font-weight: 900;
}

.rank-title {
  overflow: hidden;
  color: #334155;
  font-weight: 750;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.page-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 84px 24px 42px;
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 16px;
  font-size: clamp(40px, 6vw, 64px);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
}

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

.category-showcase {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
}

.category-showcase-cover {
  min-height: 280px;
  background: #0f172a;
}

.category-showcase-body {
  padding: 28px;
}

.category-showcase-body h2 {
  margin: 0 0 12px;
  font-size: 30px;
  font-weight: 900;
}

.category-showcase-body p {
  color: var(--muted);
  line-height: 1.8;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.mini-list a {
  color: #334155;
  font-weight: 700;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 18px;
}

.filter-panel input {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  margin-bottom: 14px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.filter-row button {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: #475569;
  background: #f1f5f9;
  font-weight: 800;
}

.filter-row button.is-active,
.filter-row button:hover {
  color: #ffffff;
  background: var(--cyan-dark);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  background: #07111f;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  filter: blur(4px);
  transform: scale(1.04);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 7, 18, 0.96), rgba(3, 7, 18, 0.62)),
    radial-gradient(circle at 75% 30%, rgba(6, 182, 212, 0.28), transparent 38%);
}

.detail-layout {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  min-height: 560px;
  margin: 0 auto;
  padding: 70px 24px;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.detail-poster {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.detail-copy {
  color: #ffffff;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumb a:hover {
  color: #67e8f9;
}

.detail-copy h1 {
  color: #ffffff;
  font-size: clamp(38px, 6vw, 64px);
}

.detail-copy p {
  max-width: 760px;
  margin: 18px 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.9;
}

.detail-tags {
  margin: 22px 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 30px 70px rgba(2, 6, 23, 0.35);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.48));
  cursor: pointer;
}

.player-overlay span {
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 22px 48px rgba(6, 182, 212, 0.4);
  font-size: 42px;
  padding-left: 6px;
}

.player-shell.is-playing .player-overlay {
  display: none;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.detail-article,
.detail-side {
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-article {
  padding: 34px;
}

.detail-article h2 {
  margin: 0 0 18px;
  font-size: 30px;
}

.detail-article h2:not(:first-child) {
  margin-top: 30px;
}

.detail-article p {
  margin: 0 0 18px;
  color: #334155;
  font-size: 17px;
  line-height: 2;
}

.detail-side {
  position: sticky;
  top: 94px;
  padding: 24px;
}

.detail-side h2 {
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 900;
}

.detail-side dl {
  margin: 0;
}

.detail-side dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.detail-side dt {
  color: var(--muted);
}

.detail-side dd {
  margin: 0;
  color: #0f172a;
  font-weight: 800;
  text-align: right;
}

.side-link {
  display: block;
  margin-top: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  color: var(--cyan-dark);
  background: rgba(6, 182, 212, 0.1);
  font-weight: 850;
  text-align: center;
}

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

.rank-list-large {
  display: grid;
  gap: 0;
  padding: 16px;
}

.rank-line {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.rank-line > span {
  color: var(--cyan-dark);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

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

.movie-card-wide .movie-cover {
  aspect-ratio: 16 / 9;
}

.site-footer {
  color: #cbd5e1;
  background: linear-gradient(135deg, #020617, #0f172a 55%, #164e63);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 54px 24px 38px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  color: #67e8f9;
  font-size: 20px;
}

.site-footer p {
  margin: 14px 0 0;
  color: #94a3b8;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 16px;
  color: #67e8f9;
  font-size: 18px;
  font-weight: 900;
}

.site-footer a:not(.footer-logo) {
  display: block;
  margin: 8px 0;
  color: #cbd5e1;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  text-align: center;
}

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

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

@media (max-width: 1180px) {
  .header-search {
    display: none;
  }

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

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

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

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

  .hero-content,
  .detail-layout,
  .split-layout,
  .detail-content-grid,
  .footer-grid,
  .category-showcase-grid,
  .category-showcase {
    grid-template-columns: 1fr;
  }

  .hero-content {
    min-height: 720px;
    padding-top: 64px;
  }

  .hero-poster,
  .detail-poster {
    max-width: 300px;
    margin: 0 auto;
  }

  .rank-panel,
  .detail-side {
    position: static;
  }

  .category-showcase-cover {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 66px;
    padding: 0 16px;
  }

  .logo {
    font-size: 17px;
  }

  .logo-mark {
    width: 32px;
    height: 32px;
  }

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

  .hero-content,
  .section,
  .page-hero,
  .detail-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy h1,
  .detail-copy h1,
  .page-hero h1 {
    font-size: 38px;
  }

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

  .big-search input,
  .big-search button {
    width: 100%;
  }

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

  .movie-card-wide,
  .rank-line {
    grid-template-columns: 1fr;
  }

  .rank-line > span {
    text-align: left;
  }

  .detail-article {
    padding: 24px;
  }
}
