:root {
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --cyan: #0891b2;
  --blue: #2563eb;
  --orange: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.13);
  --shadow-strong: 0 28px 80px rgba(15, 23, 42, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--white);
  background: linear-gradient(90deg, var(--teal), var(--cyan), var(--blue));
  box-shadow: 0 14px 35px rgba(13, 148, 136, 0.28);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
}

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

.logo:hover,
.footer-logo:hover {
  opacity: 0.9;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--teal);
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

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

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

.nav-link:hover,
.nav-link.active {
  color: #d5fffb;
  transform: translateY(-1px);
}

.top-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.19);
  backdrop-filter: blur(10px);
}

.top-search input,
.mobile-search input {
  width: 190px;
  color: var(--white);
  border: 0;
  outline: 0;
  background: transparent;
}

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

.top-search button,
.mobile-search button {
  color: var(--white);
  border: 0;
  background: transparent;
  font-weight: 800;
}

.mobile-menu-button {
  display: none;
  color: var(--white);
  border: 0;
  background: transparent;
  font-size: 28px;
}

.mobile-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(13, 148, 136, 0.95);
}

.mobile-panel-inner {
  padding: 14px 0 20px;
}

.mobile-search {
  margin-bottom: 14px;
  border-radius: 18px;
}

.mobile-search input {
  width: 100%;
}

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

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(90deg, var(--teal-light), var(--cyan), var(--blue));
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.02);
  transform: scale(1.04);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 35%, rgba(20, 184, 166, 0.48), transparent 28%),
    linear-gradient(90deg, rgba(17, 24, 39, 0.92) 0%, rgba(17, 24, 39, 0.72) 42%, rgba(17, 24, 39, 0.18) 100%),
    linear-gradient(0deg, rgba(17, 24, 39, 0.82), transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  margin-bottom: 18px;
  color: #cffafe;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 750;
}

.eyebrow.dark {
  color: var(--teal);
  border-color: rgba(13, 148, 136, 0.18);
  background: #ecfeff;
}

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

.hero p {
  max-width: 720px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 24px);
}

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

.primary-button,
.ghost-button,
.text-link,
.search-panel button,
.detail-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--teal);
  background: var(--white);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.ghost-button {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.primary-button:hover,
.ghost-button:hover,
.search-panel button:hover,
.detail-actions button:hover {
  transform: translateY(-2px) scale(1.02);
}

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

.hero-dot {
  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-dot.is-active {
  width: 36px;
  background: var(--white);
}

.section {
  padding: 64px 0;
}

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

.section-title.compact {
  align-items: start;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.section-title span {
  color: var(--teal);
  font-weight: 850;
}

.section-title h2,
.page-hero h1,
.detail-card h1,
.cta-panel h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.section-title a,
.text-link {
  color: var(--teal);
}

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

.movie-card,
.wide-card,
.category-card,
.category-overview-card,
.ranking-card,
.detail-card,
.sidebar-card,
.search-panel,
.filter-bar,
.cta-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.84);
  box-shadow: var(--shadow);
}

.movie-card,
.category-card {
  overflow: hidden;
  border-radius: 22px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover,
.category-card:hover,
.wide-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  height: 285px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gray-200), #cffafe);
}

.poster-frame img,
.category-card img,
.category-cover img,
.wide-poster img,
.small-card img,
.ranking-row img,
.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .poster-frame img,
.category-card:hover img,
.wide-card:hover img {
  transform: scale(1.08);
}

.poster-year {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  color: var(--white);
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.72);
  font-size: 12px;
  font-weight: 800;
}

.movie-card-body {
  padding: 18px;
}

.pill {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 10px;
  color: var(--teal);
  border-radius: 999px;
  background: #ccfbf1;
  font-size: 12px;
  font-weight: 850;
}

.movie-card h2,
.wide-card h2,
.category-overview-card h2,
.sidebar-card h2 {
  margin: 0 0 8px;
  color: var(--gray-800);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 850;
}

.movie-card p,
.wide-card p,
.category-overview-card p,
.cta-panel p,
.page-hero p,
.site-footer p {
  margin: 0;
  color: var(--gray-600);
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--gray-500);
  font-size: 14px;
}

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

.wide-grid {
  display: grid;
  gap: 16px;
}

.wide-card {
  overflow: hidden;
  border-radius: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wide-card-link {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  min-height: 148px;
}

.wide-poster {
  position: relative;
  overflow: hidden;
  background: var(--gray-200);
}

.wide-poster span {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  color: var(--white);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.68);
  font-size: 12px;
}

.wide-info {
  padding: 18px;
}

.wide-info strong {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 13px;
}

.ranking-card {
  position: sticky;
  top: 96px;
  padding: 22px;
  border-radius: 24px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 34px 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: #ecfeff;
}

.rank-row img {
  width: 54px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
}

.rank-num {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--white);
  border-radius: 10px;
  background: linear-gradient(135deg, var(--orange), var(--teal));
  font-weight: 900;
}

.rank-row strong {
  display: block;
  overflow: hidden;
  color: var(--gray-800);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row em {
  display: block;
  overflow: hidden;
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.category-band {
  padding: 46px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.52);
}

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

.category-card {
  position: relative;
  min-height: 180px;
  color: var(--white);
  background: var(--gray-900);
}

.category-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.86), rgba(17, 24, 39, 0.18));
}

.category-card span {
  position: absolute;
  z-index: 2;
  inset: auto 18px 18px;
}

.category-card strong,
.category-card em {
  display: block;
}

.category-card strong {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 900;
}

.category-card em {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.83);
  font-size: 13px;
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cta-panel {
  margin-bottom: 64px;
  padding: 48px;
  color: var(--white);
  border: 0;
  border-radius: 34px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
  text-align: center;
}

.cta-panel h2,
.cta-panel p {
  color: var(--white);
}

.cta-panel p {
  margin: 12px auto 24px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
}

.chip-row {
  justify-content: center;
}

.chip-row a,
.tag-row a,
.filter-chips button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(13, 148, 136, 0.16);
  border-radius: 999px;
  color: var(--teal);
  background: #ecfeff;
  font-weight: 750;
}

.cta-panel .chip-row a {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
}

.page-hero {
  color: var(--white);
  background: linear-gradient(90deg, var(--teal), var(--blue));
  padding: 56px 0;
}

.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

.category-overview-grid {
  display: grid;
  gap: 28px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 28px;
  overflow: hidden;
  padding: 22px;
  border-radius: 28px;
}

.category-cover {
  overflow: hidden;
  min-height: 250px;
  border-radius: 22px;
  background: var(--gray-200);
}

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

.small-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.small-card:hover {
  background: #ecfeff;
}

.small-card img {
  width: 64px;
  height: 82px;
  border-radius: 12px;
  background: var(--gray-200);
}

.small-card strong,
.small-card em {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.small-card strong {
  color: var(--gray-800);
  font-size: 15px;
}

.small-card em {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

.filter-bar,
.search-panel {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  padding: 20px;
  border-radius: 22px;
}

.filter-bar label {
  display: grid;
  flex: 1;
  gap: 7px;
}

.filter-bar label span {
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 800;
}

.filter-bar input,
.search-panel input {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  outline: 0;
  background: var(--white);
}

.filter-bar input:focus,
.search-panel input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-chips button {
  border: 0;
}

.empty-state,
.search-status {
  padding: 30px;
  color: var(--gray-500);
  text-align: center;
}

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

.ranking-row a {
  display: grid;
  grid-template-columns: 56px 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.ranking-row a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.ranking-index {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  font-size: 18px;
  font-weight: 950;
}

.ranking-row img {
  width: 82px;
  height: 108px;
  border-radius: 14px;
  background: var(--gray-200);
}

.ranking-main strong,
.ranking-main em {
  display: block;
}

.ranking-main strong {
  margin-bottom: 6px;
  color: var(--gray-800);
  font-size: 20px;
}

.ranking-main em {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gray-600);
  font-style: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.ranking-meta {
  color: var(--teal);
  font-weight: 850;
}

.detail-shell {
  padding: 34px 0 70px;
}

.detail-breadcrumb {
  color: var(--gray-500);
}

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

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

.player-card {
  margin-bottom: 24px;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  background: #000;
  box-shadow: var(--shadow-strong);
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.42);
}

.player-overlay[hidden] {
  display: none;
}

.player-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  pointer-events: none;
}

.player-overlay::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.14));
}

.play-badge {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  padding-left: 7px;
  color: var(--teal);
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
  font-size: 34px;
  transition: transform 0.2s ease;
}

.player-overlay:hover .play-badge {
  transform: scale(1.08);
}

.detail-card,
.sidebar-card {
  padding: 26px;
  border-radius: 24px;
}

.detail-card h1 {
  margin-bottom: 14px;
}

.detail-meta {
  margin-bottom: 20px;
}

.detail-meta span {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--gray-100);
}

.detail-actions {
  margin-bottom: 24px;
}

.detail-actions button {
  min-height: 40px;
  color: var(--teal);
  border: 0;
  background: #ccfbf1;
}

.detail-actions button.is-active {
  color: var(--white);
  background: var(--teal);
}

.text-block {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--gray-200);
}

.text-block h2 {
  margin: 0 0 12px;
  color: var(--gray-800);
  font-size: 22px;
}

.text-block p {
  margin: 0 0 12px;
  color: var(--gray-700);
}

.lead-text {
  color: var(--gray-800) !important;
  font-size: 18px;
  font-weight: 750;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--gray-200);
}

.review-box {
  padding: 22px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(90deg, #ecfeff, #eff6ff);
}

.detail-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 20px;
}

.poster-card {
  text-align: center;
}

.poster-card img {
  width: 100%;
  height: 440px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: var(--gray-200);
}

.poster-card strong,
.poster-card span {
  display: block;
}

.poster-card strong {
  color: var(--gray-800);
  font-size: 22px;
}

.poster-card span {
  color: var(--gray-500);
}

.search-panel {
  align-items: center;
}

.search-panel input {
  flex: 1;
}

.search-panel button {
  color: var(--white);
  border: 0;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(90deg, var(--gray-900), #1f2937, var(--gray-900));
  padding-top: 52px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 34px;
}

.footer-logo {
  color: var(--white);
  margin-bottom: 12px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #5eead4;
  font-size: 18px;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.78);
}

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

.footer-bottom {
  margin-top: 36px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

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

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

  .split-section,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .ranking-card,
  .detail-sidebar {
    position: static;
  }

  .poster-card img {
    height: 360px;
  }
}

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .hero {
    height: 560px;
  }

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

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

  .category-overview-card,
  .wide-card-link {
    grid-template-columns: 1fr;
  }

  .filter-bar,
  .search-panel,
  .section-title {
    align-items: stretch;
    flex-direction: column;
  }

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

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

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

  .nav-wrap {
    min-height: 64px;
  }

  .logo {
    font-size: 20px;
  }

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

  .hero {
    height: 520px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .section {
    padding: 42px 0;
  }

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

  .poster-frame {
    height: 330px;
  }

  .category-band,
  .cta-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .page-hero {
    padding: 42px 0;
  }

  .detail-card,
  .sidebar-card {
    padding: 20px;
  }

  .play-badge {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
}
