* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f8f7f4;
  --surface: #ffffff;
  --surface-soft: #f1f5f1;
  --text: #1f2933;
  --muted: #647067;
  --line: rgba(31, 41, 51, 0.1);
  --brand: #059669;
  --brand-dark: #047857;
  --brand-soft: #d1fae5;
  --gold: #fbbf24;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(135deg, #059669 0%, #047857 45%, #065f46 100%);
  box-shadow: 0 10px 28px rgba(5, 95, 70, 0.24);
}

.nav-shell {
  width: min(100% - 32px, var(--container));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
  transform: translateZ(0);
}

.brand:hover .brand-mark {
  transform: scale(1.08);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.93);
  font-weight: 650;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 99px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.search-wrap,
.mobile-search {
  position: relative;
}

.search-wrap input,
.mobile-search input,
.filter-row input {
  width: 260px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  outline: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  padding: 10px 16px;
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

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

.search-wrap input:focus,
.mobile-search input:focus {
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(209, 250, 229, 0.35);
}

.search-results {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(380px, calc(100vw - 32px));
  padding: 10px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: none;
  border: 1px solid var(--line);
}

.search-results.is-open {
  display: block;
}

.search-result-item {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  color: var(--text);
}

.search-result-item:hover {
  background: var(--surface-soft);
}

.search-result-thumb {
  width: 46px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, #d1fae5, #bbf7d0);
}

.search-result-title {
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2px;
}

.search-result-meta {
  color: var(--muted);
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  padding: 10px;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #ffffff;
  margin: 5px 0;
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 0 0 18px;
  color: #ffffff;
}

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

.mobile-panel nav {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.mobile-panel a {
  padding: 7px 0;
  font-weight: 700;
}

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

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

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.86) 0%, rgba(2, 6, 23, 0.54) 48%, rgba(2, 6, 23, 0.18) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.9) 0%, rgba(2, 6, 23, 0.06) 42%, rgba(2, 6, 23, 0.25) 100%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 68px;
  width: min(680px, calc(100vw - 48px));
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a7f3d0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero h1,
.hero h2,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-movie-title {
  display: block;
  margin-top: 14px;
  font-size: clamp(24px, 4vw, 42px);
}

.hero p,
.page-hero p,
.detail-one-line {
  margin: 18px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #10b981, #047857);
  box-shadow: 0 16px 28px rgba(4, 120, 87, 0.3);
}

.btn-light {
  color: #064e3b;
  background: rgba(255, 255, 255, 0.92);
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover,
.btn-light:hover,
.btn-ghost:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.btn-primary.small {
  min-height: 38px;
  padding: 0 16px;
  font-size: 14px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.16);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dots button {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: #ffffff;
}

.block-panel,
.content-section,
.breadcrumb,
.detail-hero,
.player-section {
  width: min(100% - 32px, var(--container));
  margin-left: auto;
  margin-right: auto;
}

.block-panel {
  margin-top: -46px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.2fr);
  gap: 24px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.block-panel h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.block-panel p {
  margin: 0;
  color: var(--muted);
}

.content-section {
  padding: 56px 0 0;
}

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

.section-heading h2 {
  position: relative;
  margin: 0;
  padding-left: 18px;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
}

.section-heading h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 7px;
  border-radius: 99px;
  background: var(--brand);
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 330px);
  gap: 22px;
  overflow-x: auto;
  padding: 4px 0 20px;
  scroll-snap-type: x proximity;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

.movie-grid,
.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 22px;
}

.mini-grid {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.movie-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.09);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #064e3b, #10b981);
}

.movie-card.small .poster-link {
  aspect-ratio: 16 / 11;
}

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

.movie-card:hover .poster-link img,
.category-tile:hover img,
.category-media:hover img {
  transform: scale(1.08);
}

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #064e3b;
  background: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
}

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

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.movie-card h3,
.rank-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.movie-card h3 a:hover,
.rank-card h3 a:hover,
.category-overview-card a:hover {
  color: var(--brand-dark);
}

.movie-card p,
.rank-card p,
.category-tile p,
.category-overview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: #065f46;
  font-size: 12px;
  font-weight: 800;
}

.two-column-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.rank-list,
.ranking-grid {
  display: grid;
  gap: 16px;
}

.rank-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.rank-cover {
  position: relative;
  display: block;
  height: 130px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #064e3b, #10b981);
}

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

.rank-number {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  font-weight: 900;
}

.rank-meta {
  margin-bottom: 6px !important;
  font-weight: 750;
  color: var(--brand-dark) !important;
}

.text-link {
  margin-top: 20px;
  color: #ffffff;
  background: var(--brand);
}

.category-grid,
.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.category-tile,
.category-overview-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
}

.category-tile {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  height: 130px;
  overflow: hidden;
}

.category-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  background: linear-gradient(135deg, #064e3b, #10b981);
  transition: transform 0.4s ease;
}

.category-tile h3,
.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.page-hero {
  position: relative;
  width: min(100% - 32px, var(--container));
  margin: 34px auto 0;
  min-height: 300px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 44px;
  color: #ffffff;
  background: linear-gradient(135deg, #064e3b, #059669);
  box-shadow: var(--shadow);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.28), transparent 28%);
}

.page-hero > * {
  position: relative;
  z-index: 2;
}

.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.page-hero::after,
.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.28));
}

.compact-hero::after {
  display: none;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 260px;
}

.category-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  padding: 10px;
  background: #064e3b;
}

.category-media img {
  width: 100%;
  height: 100%;
  min-height: 112px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.4s ease;
}

.category-overview-body {
  padding: 24px;
}

.category-overview-body ul {
  margin: 14px 0 20px;
  padding-left: 18px;
  color: var(--muted);
}

.category-subnav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.category-subnav a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-dark);
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}

.filter-panel {
  margin-bottom: 24px;
}

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

.filter-row input {
  min-width: min(100%, 320px);
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--line);
  backdrop-filter: none;
}

.filter-row input::placeholder {
  color: #94a3a0;
}

.filter-row button {
  border: 0;
  padding: 0 16px;
  min-height: 42px;
  border-radius: 999px;
  color: #065f46;
  background: #ffffff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.18);
}

.filter-row button.is-active {
  color: #ffffff;
  background: var(--brand);
}

.empty-state {
  display: none;
  margin: 24px 0 0;
  padding: 22px;
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--muted);
  background: #ffffff;
}

.empty-state.is-visible {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 26px;
  color: var(--muted);
  font-size: 14px;
}

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

.detail-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 34px;
  margin-top: 22px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: #052e2b;
  color: #ffffff;
  box-shadow: var(--shadow);
}

.detail-hero > * {
  position: relative;
  z-index: 2;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.44), transparent 30%);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #064e3b, #10b981);
}

.detail-info {
  align-self: center;
}

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

.detail-meta div {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.detail-meta dt {
  color: #a7f3d0;
  font-size: 13px;
  font-weight: 800;
}

.detail-meta dd {
  margin: 4px 0 0;
  font-weight: 850;
}

.player-section {
  padding-top: 32px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.28), rgba(2, 6, 23, 0.76));
  cursor: pointer;
  font-size: clamp(18px, 3vw, 30px);
  font-weight: 900;
}

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

.play-circle {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #064e3b;
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  font-size: 34px;
  padding-left: 4px;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
}

.article-card,
.side-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.article-card h2,
.side-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.article-card p {
  margin: 0 0 24px;
  color: #374151;
}

.side-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.side-card a {
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--brand-dark);
  font-weight: 800;
}

.related-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.site-footer {
  margin-top: 70px;
  background: #1f2933;
  color: #cbd5d1;
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 32px;
  padding: 46px 0 30px;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0;
  max-width: 420px;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: #34d399;
}

.footer-bottom {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  color: #94a3a0;
}

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

  .menu-toggle {
    display: block;
  }

  .nav-shell {
    gap: 14px;
  }

  .block-panel,
  .two-column-section,
  .detail-content,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    height: 560px;
  }

  .hero-content {
    bottom: 70px;
  }

  .hero p,
  .page-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .block-panel {
    margin-top: 18px;
    padding: 22px;
  }

  .content-section {
    padding-top: 42px;
  }

  .category-overview-card,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    max-width: 280px;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 28px;
    min-height: 260px;
  }

  .rank-card {
    grid-template-columns: 86px 1fr;
  }

  .rank-cover {
    height: 112px;
  }

  .movie-grid,
  .mini-grid {
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 16px;
  }

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

  .movie-card h3,
  .rank-card h3 {
    font-size: 17px;
  }

  .footer-inner {
    padding-top: 34px;
  }
}

@media (max-width: 480px) {
  .brand-text {
    font-size: 18px;
  }

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

  .hero {
    height: 520px;
  }

  .hero-content {
    left: 16px;
    width: calc(100vw - 32px);
  }

  .hero-actions,
  .detail-actions,
  .filter-row {
    gap: 9px;
  }

  .btn-primary,
  .btn-light,
  .btn-ghost {
    min-height: 40px;
    padding: 0 16px;
  }

  .category-thumbs {
    height: 100px;
  }
}
