:root {
  --dark-950: #0b0d10;
  --dark-900: #141618;
  --dark-850: #1a1d23;
  --dark-800: #24272c;
  --dark-750: #2c3036;
  --dark-700: #353940;
  --primary-600: #096dd9;
  --primary-500: #1890ff;
  --primary-400: #40a9ff;
  --secondary-500: #13c2c2;
  --secondary-400: #36cfc9;
  --text-100: #ffffff;
  --text-200: #e5e7eb;
  --text-300: #d1d5db;
  --text-400: #9ca3af;
  --text-500: #6b7280;
  --line: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 4%, rgba(24, 144, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 16%, rgba(19, 194, 194, 0.12), transparent 26rem),
    linear-gradient(180deg, var(--dark-900), var(--dark-950));
  color: var(--text-200);
  min-height: 100vh;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(20, 22, 24, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 16px 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--text-100);
  letter-spacing: 0.04em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
  box-shadow: 0 12px 28px rgba(24, 144, 255, 0.28);
}

.brand-text {
  white-space: nowrap;
  font-size: 19px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
}

.nav-link,
.mobile-link {
  color: var(--text-300);
  font-size: 15px;
  font-weight: 650;
  transition: color 0.24s ease, transform 0.24s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.active,
.mobile-link.active {
  color: var(--primary-400);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-search {
  position: relative;
  display: flex;
  align-items: center;
  width: min(360px, 34vw);
  background: rgba(53, 57, 64, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}

.search-input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-100);
  padding: 9px 12px 9px 16px;
}

.search-input::placeholder {
  color: var(--text-500);
}

.search-submit,
.btn,
.ghost-btn,
.play-action {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
  color: var(--text-100);
  font-weight: 800;
  padding: 10px 18px;
  box-shadow: 0 12px 30px rgba(24, 144, 255, 0.24);
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}

.search-submit:hover,
.btn:hover,
.play-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(24, 144, 255, 0.34);
  filter: brightness(1.08);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  box-shadow: none;
}

.ghost-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.search-panel {
  display: none;
  position: absolute;
  top: 52px;
  right: 0;
  width: min(520px, 92vw);
  max-height: 430px;
  overflow: auto;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: rgba(36, 39, 44, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.search-panel.active {
  display: grid;
  gap: 8px;
}

.search-result {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.search-thumb,
.rank-cover {
  background-image: linear-gradient(135deg, rgba(24, 144, 255, 0.48), rgba(19, 194, 194, 0.26)), var(--cover-image);
  background-size: cover;
  background-position: center;
}

.search-thumb {
  width: 52px;
  height: 70px;
  border-radius: 12px;
}

.search-result strong {
  color: var(--text-100);
  display: block;
  margin-bottom: 4px;
}

.search-result em {
  color: var(--text-500);
  font-style: normal;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text-100);
  border-radius: 4px;
}

.mobile-menu {
  display: none;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px 16px;
}

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

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: min(780px, 86vh);
  background: var(--dark-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
  background-image:
    linear-gradient(90deg, rgba(11, 13, 16, 0.96), rgba(11, 13, 16, 0.62), rgba(11, 13, 16, 0.18)),
    linear-gradient(0deg, rgba(11, 13, 16, 1), rgba(11, 13, 16, 0.15) 42%, rgba(11, 13, 16, 0.82)),
    var(--cover-image);
  background-size: cover;
  background-position: center;
}

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

.hero-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  min-height: min(780px, 86vh);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 420px;
  gap: 32px;
  align-items: center;
  padding: 100px 24px 64px;
}

.hero-copy {
  max-width: 760px;
  animation: fadeIn 0.6s ease both;
}

.hero-badge,
.eyebrow,
.poster-badge,
.detail-chip,
.tag-row span,
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  color: var(--primary-400);
  background: rgba(24, 144, 255, 0.13);
  border: 1px solid rgba(24, 144, 255, 0.28);
  font-weight: 800;
}

.hero-badge,
.eyebrow {
  padding: 8px 13px;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 22px;
  color: var(--text-100);
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero p {
  margin: 0 0 24px;
  color: var(--text-300);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.7;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.meta-pill {
  padding: 9px 12px;
  color: var(--text-200);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
}

.hero-panel {
  position: relative;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: rgba(36, 39, 44, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-panel h2 {
  margin: 0 0 16px;
  color: var(--text-100);
}

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

.hero-mini {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.hero-mini:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.08);
}

.hero-mini-cover {
  height: 96px;
  border-radius: 12px;
  background-image: linear-gradient(135deg, rgba(24, 144, 255, 0.5), rgba(19, 194, 194, 0.32)), var(--cover-image);
  background-size: cover;
  background-position: center;
}

.hero-mini strong {
  color: var(--text-100);
  display: block;
  margin-bottom: 6px;
}

.hero-mini span {
  color: var(--text-500);
  font-size: 13px;
}

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

.hero-dot {
  width: 34px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.hero-dot.active {
  background: var(--primary-400);
}

.content-wrap,
.detail-wrap {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
}

.content-wrap {
  padding: 56px 0 72px;
}

.section-block {
  margin-bottom: 62px;
  animation: slideUp 0.55s ease both;
}

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

.section-title h2,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  color: var(--text-100);
  letter-spacing: -0.03em;
}

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

.section-title p,
.page-hero p,
.detail-title p {
  margin: 10px 0 0;
  color: var(--text-400);
  line-height: 1.75;
}

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

.movie-card {
  background: rgba(36, 39, 44, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(64, 169, 255, 0.44);
  box-shadow: 0 26px 64px rgba(24, 144, 255, 0.16);
}

.poster-link {
  display: block;
}

.poster {
  position: relative;
  height: 300px;
  background-image: linear-gradient(140deg, rgba(24, 144, 255, 0.46), rgba(19, 194, 194, 0.18), rgba(0, 0, 0, 0.28)), var(--cover-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.compact .poster {
  height: 250px;
}

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

.poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 10px;
  color: var(--text-100);
  background: rgba(20, 22, 24, 0.72);
}

.poster-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(0.86);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary-600);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  padding: 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-500);
  font-size: 13px;
  margin-bottom: 10px;
}

.card-body h3 {
  margin: 0 0 10px;
  color: var(--text-100);
  font-size: 19px;
  line-height: 1.35;
}

.card-body h3 a:hover,
.text-link:hover {
  color: var(--primary-400);
}

.card-body p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--text-400);
  font-size: 14px;
  line-height: 1.7;
}

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

.tag-row span,
.detail-chip {
  padding: 5px 10px;
  font-size: 12px;
  color: var(--secondary-400);
  background: rgba(19, 194, 194, 0.12);
  border-color: rgba(19, 194, 194, 0.24);
}

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

.category-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(64, 169, 255, 0.2), transparent 14rem),
    linear-gradient(135deg, rgba(36, 39, 44, 0.96), rgba(53, 57, 64, 0.78));
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(64, 169, 255, 0.42);
}

.category-card strong {
  color: var(--text-100);
  font-size: 22px;
}

.category-card p {
  margin: 12px 0 0;
  color: var(--text-400);
  line-height: 1.65;
  font-size: 14px;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(36, 39, 44, 0.9);
  border: 1px solid var(--line);
  transition: transform 0.24s ease, background 0.24s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  background: rgba(53, 57, 64, 0.92);
}

.rank-no {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--text-100);
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
}

.rank-cover {
  width: 58px;
  height: 78px;
  border-radius: 12px;
}

.rank-info strong {
  display: block;
  color: var(--text-100);
  margin-bottom: 6px;
}

.rank-info em {
  color: var(--text-500);
  font-style: normal;
  font-size: 13px;
}

.rank-score {
  color: var(--secondary-400);
  font-weight: 900;
}

.page-hero {
  background:
    linear-gradient(180deg, rgba(36, 39, 44, 0.95), rgba(20, 22, 24, 0.96)),
    radial-gradient(circle at 18% 0%, rgba(24, 144, 255, 0.2), transparent 24rem);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 70px 0 44px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-500);
  margin-bottom: 18px;
}

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

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

.filter-strip a {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text-300);
}

.filter-strip a.active,
.filter-strip a:hover {
  color: var(--text-100);
  background: rgba(24, 144, 255, 0.18);
  border-color: rgba(24, 144, 255, 0.38);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 38px;
}

.pagination a,
.pagination span {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  color: var(--text-300);
}

.pagination a.current,
.pagination a:hover {
  color: var(--text-100);
  background: var(--primary-500);
  border-color: var(--primary-500);
}

.detail-hero {
  position: relative;
  min-height: 470px;
  background-image:
    linear-gradient(90deg, rgba(11, 13, 16, 0.95), rgba(11, 13, 16, 0.7), rgba(11, 13, 16, 0.28)),
    linear-gradient(0deg, rgba(11, 13, 16, 1), transparent 60%),
    var(--cover-image);
  background-size: cover;
  background-position: center;
}

.detail-hero-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  padding: 84px 0 80px;
}

.detail-title {
  max-width: 820px;
}

.detail-title h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.detail-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 380px;
  gap: 28px;
  padding: 42px 0 76px;
}

.detail-main,
.detail-side,
.player-card,
.info-card {
  border-radius: var(--radius-xl);
  background: rgba(36, 39, 44, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.2);
}

.player-card {
  overflow: hidden;
}

.player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(24, 144, 255, 0.24), transparent 19rem),
    rgba(0, 0, 0, 0.18);
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.player-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--primary-600);
  background: rgba(255, 255, 255, 0.92);
  font-size: 34px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
}

.player-status {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 5;
  min-height: 24px;
  color: var(--text-300);
  font-size: 13px;
  pointer-events: none;
}

.detail-main {
  padding: 26px;
  margin-top: 24px;
}

.detail-main h2,
.info-card h2,
.detail-side h2 {
  color: var(--text-100);
  margin: 0 0 14px;
}

.detail-main p,
.info-card p {
  color: var(--text-300);
  line-height: 1.9;
}

.detail-main section + section {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.info-card,
.detail-side {
  padding: 22px;
}

.detail-side {
  align-self: start;
  position: sticky;
  top: 92px;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  color: var(--text-400);
}

.info-list strong {
  color: var(--text-100);
  font-weight: 750;
  text-align: right;
}

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

.related-card {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  transition: background 0.24s ease, transform 0.24s ease;
}

.related-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.related-poster {
  height: 88px;
  border-radius: 12px;
  background-image: linear-gradient(135deg, rgba(24, 144, 255, 0.42), rgba(19, 194, 194, 0.22)), var(--cover-image);
  background-size: cover;
  background-position: center;
}

.related-card strong {
  display: block;
  color: var(--text-100);
  margin-bottom: 6px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(11, 13, 16, 0.82);
}

.footer-inner {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 28px;
  padding: 38px 0;
}

.footer-inner p {
  color: var(--text-500);
  line-height: 1.75;
  max-width: 560px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: flex-end;
  gap: 12px;
}

.footer-links a {
  color: var(--text-400);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.footer-links a:hover {
  color: var(--text-100);
  background: rgba(24, 144, 255, 0.18);
}

.footer-bottom {
  padding: 18px 24px 26px;
  color: var(--text-500);
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-850);
}

::-webkit-scrollbar-thumb {
  background: #464c56;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5b6370;
}

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

  .menu-toggle {
    display: block;
  }

  .header-inner {
    gap: 14px;
  }

  .nav-search {
    width: min(460px, 48vw);
    margin-left: auto;
  }

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

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

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

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

  .rank-board,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

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

@media (max-width: 680px) {
  .header-inner {
    padding: 12px 16px;
  }

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

  .nav-search {
    order: 3;
    width: 100%;
    flex-basis: 100%;
  }

  .mobile-menu {
    padding: 0 16px 14px;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 76px 18px 70px;
  }

  .content-wrap,
  .detail-wrap,
  .detail-hero-inner,
  .page-hero-inner,
  .footer-inner {
    width: calc(100% - 32px);
  }

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

  .poster {
    height: 360px;
  }

  .rank-item {
    grid-template-columns: 34px 52px 1fr;
  }

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

  .detail-hero-inner {
    padding: 64px 0 62px;
  }

  .detail-main,
  .info-card,
  .detail-side {
    padding: 18px;
  }
}
