:root {
  color-scheme: light;
  --brand: #10b981;
  --brand-dark: #059669;
  --teal: #14b8a6;
  --cyan: #06b6d4;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f8fafc;
  --panel: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, rgba(236, 253, 245, 0.7) 46%, rgba(240, 253, 250, 0.85) 100%);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(229, 231, 235, 0.92);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1280px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.28);
  font-size: 15px;
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-title {
  font-weight: 900;
  font-size: 21px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--brand-dark), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

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

.nav-link,
.mobile-link {
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 700;
  font-size: 14px;
  color: #4b5563;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--brand-dark);
  background: rgba(16, 185, 129, 0.1);
}

.quick-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-search input,
.mobile-search input {
  width: 190px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 10px 14px;
  outline: none;
  background: #ffffff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.quick-search input:focus,
.mobile-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}

.quick-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  cursor: pointer;
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--brand-dark);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 16px 18px;
  background: #ffffff;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

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

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 5s ease;
}

.hero-slide.active > img {
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 28%, rgba(16, 185, 129, 0.22), transparent 34%), linear-gradient(90deg, rgba(2, 6, 23, 0.86), rgba(2, 6, 23, 0.62) 45%, rgba(2, 6, 23, 0.22));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  max-width: 1180px;
  color: #ffffff;
}

.hero-badge,
.detail-meta,
.card-meta,
.hero-tags,
.tag-row,
.genre-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.hero-badge span,
.tag-row span,
.detail-meta span,
.genre-links a {
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-badge span {
  color: #a7f3d0;
  background: rgba(6, 78, 59, 0.64);
  border: 1px solid rgba(167, 243, 208, 0.22);
}

.hero h1 {
  max-width: 760px;
  margin: 18px 0 20px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 20px;
  line-height: 1.8;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 850;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--teal));
  box-shadow: 0 18px 34px rgba(16, 185, 129, 0.32);
}

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

.ghost-btn.light {
  color: var(--brand-dark);
  border-color: rgba(16, 185, 129, 0.24);
  background: #ffffff;
}

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

.hero-tags {
  margin-top: 28px;
}

.hero-tags a {
  border-radius: 999px;
  padding: 8px 13px;
  color: #d1fae5;
  border: 1px solid rgba(209, 250, 229, 0.22);
  background: rgba(2, 6, 23, 0.28);
  font-size: 13px;
}

.hero-focus-card {
  position: absolute;
  right: max(32px, calc((100% - 1180px) / 2));
  bottom: 54px;
  z-index: 3;
  width: 330px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  padding: 22px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(16px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero-focus-card span {
  color: #a7f3d0;
  font-size: 13px;
  font-weight: 800;
}

.hero-focus-card strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
}

.hero-focus-card em {
  display: block;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  line-height: 1.7;
}

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

.hero-dot {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.hero-dot.active {
  width: 56px;
  background: var(--brand);
}

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

.home-wrap {
  padding: 64px 0 76px;
}

.inner-page,
.detail-page {
  padding: 42px 0 76px;
}

.content-section {
  margin-bottom: 64px;
}

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

.section-kicker {
  display: inline-block;
  margin-bottom: 9px;
  color: var(--brand-dark);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
}

.section-head h2,
.page-hero h1,
.story-card h2,
.side-card h2,
.genre-cloud h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
  letter-spacing: -0.04em;
}

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

.section-head p,
.page-hero p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-weight: 850;
}

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.card-poster {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.18), rgba(20, 184, 166, 0.2));
}

.card-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.poster-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.72));
}

.duration-badge,
.play-badge {
  position: absolute;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.72);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 850;
}

.duration-badge {
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
}

.play-badge {
  left: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--teal));
}

.card-content {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.eyebrow {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
}

.movie-card strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.card-desc {
  min-height: 45px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.card-meta span {
  color: #64748b;
  font-size: 12px;
}

.movie-card.compact .card-content {
  padding: 13px;
}

.movie-card.compact strong {
  font-size: 16px;
}

.movie-card.horizontal {
  flex-direction: row;
  min-height: 132px;
}

.movie-card.horizontal .card-poster {
  width: 190px;
  flex: 0 0 190px;
  aspect-ratio: auto;
}

.movie-card.horizontal .card-desc {
  min-height: auto;
}

.wide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.split-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 64px;
}

.showcase-card {
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px;
  color: #ffffff;
}

.emerald-card .showcase-head {
  background: linear-gradient(135deg, var(--brand), var(--teal));
}

.teal-card .showcase-head {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
}

.showcase-head h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 900;
}

.showcase-head a {
  font-weight: 800;
}

.showcase-list {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.rank-panel,
.page-hero,
.filter-bar,
.story-card,
.side-card,
.category-card,
.genre-cloud,
.player-shell,
.detail-info {
  border: 1px solid rgba(229, 231, 235, 0.82);
  background: var(--panel);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
}

.rank-panel {
  border-radius: 28px;
  padding: 30px;
  margin-bottom: 64px;
}

.compact-head {
  margin-bottom: 22px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  border-radius: 16px;
  padding: 12px;
  background: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: rgba(236, 253, 245, 0.88);
  transform: translateX(3px);
}

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

.rank-row strong {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-row em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.page-hero {
  border-radius: 28px;
  padding: 38px;
  margin-bottom: 30px;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.17), transparent 32%), rgba(255, 255, 255, 0.94);
}

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

.inline-actions {
  margin-top: 22px;
}

.filter-bar {
  position: sticky;
  top: 86px;
  z-index: 10;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 14px;
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 26px;
  backdrop-filter: blur(18px);
}

.filter-bar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  padding: 11px 12px;
  background: #ffffff;
  color: var(--ink);
  outline: none;
}

.empty-state {
  display: none;
  border-radius: 18px;
  padding: 28px;
  margin: 0 0 24px;
  text-align: center;
  color: var(--muted);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
}

.empty-state.show {
  display: block;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 50px 150px 1fr;
  gap: 18px;
  align-items: center;
  border-radius: 22px;
  padding: 14px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

.ranking-copy {
  display: grid;
  gap: 7px;
}

.ranking-copy strong {
  font-size: 20px;
}

.ranking-copy em,
.ranking-copy span {
  color: var(--muted);
  font-style: normal;
  line-height: 1.55;
}

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

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

.category-card {
  min-height: 164px;
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(135deg, #ffffff, rgba(236, 253, 245, 0.8));
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card span {
  color: var(--brand-dark);
  font-weight: 900;
}

.category-card strong {
  display: block;
  margin: 12px 0 18px;
  line-height: 1.5;
}

.category-card em {
  color: var(--teal);
  font-style: normal;
  font-weight: 850;
}

.genre-cloud {
  border-radius: 26px;
  padding: 28px;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.category-chip {
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--brand-dark);
  background: rgba(16, 185, 129, 0.1);
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.category-chip:hover {
  background: rgba(16, 185, 129, 0.18);
  transform: translateY(-2px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--brand-dark);
  font-weight: 800;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 26px;
  align-items: stretch;
  margin-bottom: 28px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
}

.movie-player {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  background: #020617;
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px 15px 18px;
  color: #ffffff;
  background: rgba(16, 185, 129, 0.92);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.player-start span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.player-start.hide {
  opacity: 0;
  pointer-events: none;
}

.detail-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 28px;
  padding: 34px;
}

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-line {
  margin: 0 0 20px;
  color: #374151;
  font-size: 18px;
  line-height: 1.75;
}

.detail-meta span {
  color: var(--brand-dark);
  background: rgba(16, 185, 129, 0.1);
}

.genre-links {
  margin-top: 20px;
}

.genre-links a {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--teal));
}

.tag-row {
  margin-top: 18px;
}

.tag-row span {
  color: #374151;
  background: #f3f4f6;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
  margin-bottom: 64px;
}

.story-card,
.side-card {
  border-radius: 26px;
  padding: 30px;
}

.story-card h2,
.side-card h2 {
  font-size: 28px;
  margin: 0 0 16px;
}

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

.story-card p {
  color: #374151;
  line-height: 2;
  font-size: 16px;
}

.side-rank {
  display: grid;
  gap: 10px;
}

.side-rank a {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 14px;
  padding: 9px;
  background: #ffffff;
}

.side-rank span {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.side-rank strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 14px;
}

.site-footer {
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  background: #ffffff;
}

.footer-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0;
  display: flex;
  justify-content: space-between;
  gap: 28px;
}

.footer-brand p {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.footer-links a {
  border-radius: 999px;
  padding: 9px 13px;
  color: #4b5563;
  background: #f3f4f6;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

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

@media (max-width: 1100px) {
  .main-nav,
  .quick-search {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

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

  .mobile-link {
    display: block;
  }

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

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

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

  .hero-focus-card {
    display: none;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    width: min(100% - 24px, 1280px);
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    height: 640px;
  }

  .hero-content {
    width: min(100% - 28px, 1180px);
  }

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

  .hero p {
    font-size: 16px;
  }

  .section-head {
    display: block;
  }

  .section-more {
    margin-top: 12px;
  }

  .movie-grid,
  .wide-grid,
  .rank-grid,
  .category-cards,
  .filter-bar {
    grid-template-columns: 1fr;
  }

  .movie-card.horizontal {
    flex-direction: column;
  }

  .movie-card.horizontal .card-poster {
    width: 100%;
    flex-basis: auto;
    aspect-ratio: 16 / 10;
  }

  .ranking-item {
    grid-template-columns: 40px 96px 1fr;
    gap: 12px;
  }

  .ranking-item img {
    width: 96px;
    height: 68px;
  }

  .ranking-copy em {
    display: none;
  }

  .page-hero,
  .rank-panel,
  .story-card,
  .side-card,
  .detail-info {
    padding: 22px;
    border-radius: 22px;
  }

  .movie-player {
    min-height: 280px;
  }

  .footer-inner {
    display: block;
  }

  .footer-links {
    margin-top: 22px;
  }
}

@media (max-width: 480px) {
  .page-wrap {
    width: min(100% - 22px, 1280px);
  }

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

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

  .movie-grid {
    gap: 16px;
  }
}
