:root {
  --primary-50: #f0f7ff;
  --primary-100: #d8ecff;
  --primary-600: #006fc6;
  --primary-700: #0158a0;
  --primary-800: #064b84;
  --primary-900: #0b3f6e;
  --accent-300: #5feacf;
  --accent-500: #14b8a2;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --white: #ffffff;
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.12), 0 8px 10px -6px rgb(0 0 0 / 0.12);
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--neutral-50);
  color: var(--neutral-900);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--primary-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand:hover,
.footer-brand:hover {
  opacity: 0.85;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-600), var(--accent-500));
  color: var(--white);
  font-size: 0.85rem;
  box-shadow: 0 8px 18px rgb(0 0 0 / 0.18);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 600;
  color: rgb(255 255 255 / 0.9);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--accent-300);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.5rem;
  border: 0;
  border-radius: var(--radius-lg);
  background: transparent;
}

.menu-toggle span {
  width: 1.5rem;
  height: 2px;
  border-radius: 999px;
  background: var(--white);
}

.mobile-nav {
  display: none;
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 1rem;
}

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

.mobile-link {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-lg);
  color: rgb(255 255 255 / 0.9);
}

.mobile-link:hover,
.mobile-link.is-active {
  background: var(--primary-800);
  color: var(--accent-300);
}

.main-space,
.page-space {
  padding: 2rem 0 4rem;
}

.main-space {
  display: grid;
  gap: 4rem;
}

.page-space {
  display: grid;
  gap: 2rem;
}

.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--neutral-900);
  box-shadow: var(--shadow-xl);
}

.hero-track,
.hero-slide {
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.84), rgb(0 0 0 / 0.45), rgb(0 0 0 / 0.1));
}

.hero-content {
  position: absolute;
  left: clamp(1.5rem, 5vw, 3rem);
  right: clamp(1.5rem, 5vw, 3rem);
  bottom: clamp(2rem, 6vw, 4rem);
  z-index: 2;
  max-width: 760px;
  color: var(--white);
}

.hero-kicker,
.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--accent-300);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  font-weight: 900;
}

.hero p {
  margin: 0 0 1.2rem;
  max-width: 700px;
  color: rgb(255 255 255 / 0.92);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.hero-tags,
.tag-list,
.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-tags span,
.tag-list span,
.movie-tags span {
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  padding: 0.28rem 0.7rem;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.movie-tags span,
.tag-list span {
  background: var(--primary-50);
  color: var(--primary-700);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  padding: 0.85rem 1.25rem;
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: var(--primary-600);
  color: var(--white);
  box-shadow: 0 14px 26px rgb(0 111 198 / 0.25);
}

.btn-primary:hover {
  background: var(--primary-700);
}

.btn-ghost {
  border: 1px solid rgb(255 255 255 / 0.35);
  background: rgb(255 255 255 / 0.16);
  color: var(--white);
  backdrop-filter: blur(6px);
}

.btn.small {
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: rgb(0 0 0 / 0.5);
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background 0.2s ease;
}

.hero:hover .hero-arrow {
  opacity: 1;
}

.hero-arrow:hover {
  background: rgb(0 0 0 / 0.72);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

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

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.55);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 2rem;
  background: var(--white);
}

.search-hero-card,
.page-title-card,
.content-card,
.section-block,
.ranking-panel,
.category-overview-card,
.filter-panel {
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.search-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
}

.search-hero-card h2,
.section-head h2,
.page-title-card h1,
.content-card h1,
.ranking-panel h2,
.category-overview-card h2 {
  margin: 0;
  color: var(--neutral-900);
  font-weight: 900;
}

.search-hero-card h2,
.section-head h2,
.ranking-panel h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.search-hero-card p,
.section-head p,
.page-title-card p,
.category-overview-card p,
.footer-grid p {
  margin: 0.4rem 0 0;
  color: var(--neutral-600);
}

.quick-search,
.filter-row {
  display: flex;
  gap: 0.75rem;
}

.quick-search input,
.filter-row input,
.filter-row select {
  min-width: 0;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-lg);
  background: var(--white);
  padding: 0.85rem 1rem;
  color: var(--neutral-800);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.quick-search input,
.filter-row input {
  flex: 1;
}

.quick-search input:focus,
.filter-row input:focus,
.filter-row select:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 4px rgb(0 111 198 / 0.12);
}

.quick-search button,
.filter-row button {
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--primary-600);
  padding: 0.85rem 1.2rem;
  color: var(--white);
  font-weight: 800;
  transition: background 0.2s ease;
}

.quick-search button:hover,
.filter-row button:hover {
  background: var(--primary-700);
}

.section-block,
.ranking-panel,
.category-overview-card,
.filter-panel,
.content-card {
  padding: 2rem;
}

.section-head,
.category-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.section-head.compact {
  margin-bottom: 1rem;
}

.section-head a {
  color: var(--primary-600);
  font-weight: 800;
  white-space: nowrap;
}

.panel-block {
  background: var(--white);
}

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

.catalog-grid {
  align-items: start;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--neutral-200);
}

.movie-card-large .movie-cover {
  aspect-ratio: 16 / 10;
}

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

.movie-card:hover .movie-cover img {
  transform: scale(1.1);
}

.cover-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.6), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .cover-gradient {
  opacity: 1;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.22);
  color: var(--white);
  font-size: 1.4rem;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  backdrop-filter: blur(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.duration,
.channel-badge {
  position: absolute;
  z-index: 2;
  border-radius: 0.3rem;
  padding: 0.22rem 0.5rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 800;
}

.duration {
  right: 0.5rem;
  bottom: 0.5rem;
  background: rgb(0 0 0 / 0.7);
}

.channel-badge {
  left: 0.5rem;
  top: 0.5rem;
  background: var(--accent-500);
}

.movie-info {
  padding: 1rem;
}

.movie-info h3 {
  display: -webkit-box;
  min-height: 3rem;
  margin: 0 0 0.5rem;
  overflow: hidden;
  color: var(--neutral-900);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-info h3 a:hover {
  color: var(--primary-600);
}

.movie-desc {
  display: -webkit-box;
  min-height: 3.1rem;
  margin: 0 0 0.8rem;
  overflow: hidden;
  color: var(--neutral-600);
  font-size: 0.92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  color: var(--neutral-600);
  font-size: 0.82rem;
}

.movie-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 0.4rem;
  color: var(--neutral-300);
}

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

.category-card {
  display: grid;
  gap: 1rem;
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-xl);
  padding: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.category-card:hover {
  border-color: var(--primary-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

.category-thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0.45rem;
  object-fit: cover;
  background: var(--neutral-200);
}

.category-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1.1rem;
}

.category-card p {
  margin: 0;
  color: var(--neutral-600);
  font-size: 0.9rem;
}

.horizontal-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  scroll-snap-type: x proximity;
}

.scroll-item {
  flex: 0 0 18rem;
  scroll-snap-align: start;
}

.two-column-block {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.rank-list {
  display: grid;
  gap: 0.55rem;
}

.rank-item {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border-radius: var(--radius-lg);
  padding: 0.75rem;
  transition: background 0.2s ease;
}

.rank-item:hover {
  background: var(--primary-50);
}

.rank-item strong {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: var(--primary-600);
  color: var(--white);
  font-size: 0.9rem;
}

.rank-item span {
  overflow: hidden;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-item em {
  color: #ca8a04;
  font-style: normal;
  font-weight: 900;
}

.site-footer {
  background: var(--neutral-900);
  color: rgb(255 255 255 / 0.78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand {
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-grid h2 {
  margin: 0 0 1rem;
  color: var(--white);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a:hover {
  color: var(--accent-300);
}

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding: 1.2rem;
  text-align: center;
  color: rgb(255 255 255 / 0.62);
  font-size: 0.9rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  color: var(--neutral-600);
  font-size: 0.95rem;
}

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

.breadcrumb strong {
  color: var(--neutral-900);
}

.page-title-card {
  padding: clamp(1.8rem, 4vw, 3rem);
  background: linear-gradient(135deg, var(--white), var(--primary-50));
}

.page-title-card h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
}

.filter-panel {
  padding: 1rem;
}

.filter-row select {
  min-width: 9rem;
}

.movie-card[hidden],
.ranking-row[hidden] {
  display: none;
}

.category-overview-list {
  display: grid;
  gap: 1.5rem;
}

.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.compact-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
  border-color: var(--primary-600);
  background: var(--primary-50);
}

.compact-card img {
  width: 88px;
  aspect-ratio: 16 / 10;
  border-radius: 0.4rem;
  object-fit: cover;
  background: var(--neutral-200);
}

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

.compact-card strong {
  font-weight: 900;
}

.compact-card em {
  color: var(--neutral-600);
  font-size: 0.82rem;
  font-style: normal;
}

.ranking-table {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.ranking-row {
  display: grid;
  grid-template-columns: 3rem 92px minmax(0, 1fr) 4rem;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--neutral-200);
  transition: background 0.2s ease;
}

.ranking-row:hover {
  background: var(--primary-50);
}

.ranking-row strong {
  color: var(--primary-600);
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
}

.ranking-row img {
  width: 92px;
  aspect-ratio: 16 / 9;
  border-radius: 0.45rem;
  object-fit: cover;
  background: var(--neutral-200);
}

.ranking-row b,
.ranking-row em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-row b {
  font-size: 1rem;
}

.ranking-row em {
  color: var(--neutral-600);
  font-size: 0.85rem;
  font-style: normal;
}

.ranking-row i {
  color: #ca8a04;
  font-style: normal;
  font-weight: 900;
  text-align: right;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.55fr);
  gap: 1.5rem;
  align-items: start;
}

.player-card,
.detail-side-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000000;
}

.video-shell video {
  width: 100%;
  height: 100%;
  background: #000000;
  object-fit: contain;
}

.play-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  border: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 0.72), rgb(0 0 0 / 0.16));
  color: var(--white);
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.video-shell.is-playing .play-cover {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.22);
  font-size: 2rem;
  backdrop-filter: blur(4px);
}

.play-text {
  font-size: 1.1rem;
  font-weight: 900;
}

.detail-side-card {
  padding: 1rem;
}

.detail-side-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background: var(--neutral-200);
}

.detail-meta-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.detail-meta-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--neutral-200);
  padding-bottom: 0.75rem;
}

.detail-meta-list span {
  color: var(--neutral-600);
}

.detail-meta-list strong {
  color: var(--neutral-900);
  text-align: right;
}

.detail-content h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
}

.lead-text {
  margin: 0 0 1rem;
  color: var(--neutral-700);
  font-size: 1.12rem;
}

.detail-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.45rem;
}

.detail-content p {
  color: var(--neutral-700);
}

.related-block {
  margin-top: 0;
}

@media (min-width: 768px) {
  .hero {
    height: 500px;
  }
}

@media (min-width: 1024px) {
  .hero {
    height: 600px;
  }
}

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

  .two-column-block,
  .detail-hero {
    grid-template-columns: 1fr;
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .search-hero-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .quick-search,
  .filter-row {
    flex-direction: column;
  }

  .movie-grid,
  .category-grid,
  .two-grid,
  .hero-rank-grid,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head,
  .category-overview-head {
    flex-direction: column;
  }

  .ranking-row {
    grid-template-columns: 2.4rem 72px minmax(0, 1fr) 3rem;
    gap: 0.7rem;
  }

  .ranking-row img {
    width: 72px;
  }
}

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

  .main-space,
  .page-space {
    padding-top: 1rem;
  }

  .hero {
    height: 460px;
    border-radius: 0.9rem;
  }

  .hero-content {
    left: 1rem;
    right: 1rem;
    bottom: 2.8rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-arrow {
    opacity: 1;
  }

  .movie-grid,
  .category-grid,
  .two-grid,
  .hero-rank-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .section-block,
  .ranking-panel,
  .category-overview-card,
  .content-card,
  .page-title-card,
  .search-hero-card {
    padding: 1rem;
  }

  .scroll-item {
    flex-basis: 82vw;
  }

  .compact-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .compact-card img {
    width: 78px;
  }

  .ranking-row {
    grid-template-columns: 2rem 64px minmax(0, 1fr);
  }

  .ranking-row i {
    display: none;
  }
}
