:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-50: #fff7ed;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --shadow: 0 20px 50px rgba(120, 53, 15, 0.14);
  --shadow-soft: 0 10px 28px rgba(120, 53, 15, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-900);
  background: linear-gradient(180deg, var(--amber-50), #fff7d6 45%, var(--orange-50));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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;
  background: rgba(255, 251, 235, 0.92);
  border-bottom: 1px solid rgba(245, 158, 11, 0.18);
  box-shadow: 0 10px 24px rgba(120, 53, 15, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1280px;
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-600));
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.35);
  transform: rotate(-7deg);
}

.brand-copy strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 900;
  background: linear-gradient(90deg, var(--amber-600), var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-copy em {
  display: block;
  margin-top: 2px;
  color: var(--amber-600);
  font-size: 12px;
  font-style: normal;
}

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

.desktop-nav a {
  color: var(--amber-900);
  font-weight: 700;
  transition: color 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--amber-500);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search input,
.mobile-search input,
.search-page-panel input,
.filter-panel input,
.filter-panel select {
  min-height: 42px;
  border: 2px solid var(--amber-200);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--gray-900);
  outline: none;
  padding: 0 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.search-page-panel input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.13);
}

.nav-search button,
.mobile-search button,
.search-page-panel button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(90deg, var(--amber-500), var(--amber-400));
  padding: 0 18px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.28);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: var(--amber-900);
  background: var(--amber-100);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 18px 24px 24px;
  border-top: 1px solid var(--amber-200);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.98), rgba(254, 243, 199, 0.98));
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--amber-900);
  font-weight: 800;
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 10px;
}

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #090909;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(12%);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--amber-900), var(--amber-500));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.93), rgba(0, 0, 0, 0.44) 48%, rgba(0, 0, 0, 0.12));
}

.hero-content {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 72px;
  width: min(1180px, calc(100% - 48px));
  transform: translateX(-50%);
  color: white;
}

.hero-kicker {
  display: inline-flex;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--amber-500);
  color: white;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

.hero-content h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
  max-width: 900px;
}

.hero-content p {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2.1vw, 23px);
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 28px;
}

.hero-meta span {
  color: white;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 8px 13px;
  backdrop-filter: blur(8px);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(90deg, var(--amber-500), var(--amber-400));
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(245, 158, 11, 0.3);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-button:hover {
  transform: scale(1.05);
  filter: brightness(1.06);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
  font-size: 42px;
  line-height: 0;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--amber-500);
}

.intro-band,
.content-section,
.page-shell {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 48px 0 10px;
}

.intro-card {
  min-height: 136px;
  padding: 28px;
  border-radius: 26px;
  color: white;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-600));
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.intro-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.intro-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 950;
}

.intro-card span {
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

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

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 950;
  color: var(--gray-900);
}

.section-head a {
  color: var(--amber-600);
  font-weight: 900;
}

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-900), var(--amber-500));
}

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

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

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.12) 60%, transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-frame::after {
  opacity: 1;
}

.duration {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 8px;
  color: white;
  background: var(--amber-500);
  font-size: 12px;
  font-weight: 900;
}

.play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: var(--amber-500);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.38);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.82);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  display: block;
  padding: 18px;
}

.card-body strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 52px;
  color: var(--gray-900);
  font-size: 19px;
  line-height: 1.35;
  font-weight: 950;
  transition: color 0.25s ease;
}

.movie-card:hover .card-body strong {
  color: var(--amber-600);
}

.card-body em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
  margin-top: 8px;
  color: var(--gray-600);
  font-style: normal;
  line-height: 1.55;
}

.card-meta,
.chip-row,
.detail-meta,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-meta {
  margin-top: 14px;
  color: var(--gray-500);
  font-size: 13px;
}

.card-meta span,
.chip-row b,
.detail-meta span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--amber-100);
  color: var(--amber-700);
  font-weight: 800;
  font-size: 12px;
}

.chip-row {
  margin-top: 12px;
}

.horizontal-strip {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 0 4px 16px;
  scroll-snap-type: x proximity;
}

.horizontal-strip .movie-card {
  flex: 0 0 330px;
  scroll-snap-align: start;
}

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

.movie-card-list {
  display: grid;
  grid-template-columns: 260px 1fr;
}

.movie-card-list .poster-frame {
  height: 160px;
  aspect-ratio: auto;
}

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

.category-tile,
.category-panel {
  display: block;
  min-height: 148px;
  padding: 24px;
  border-radius: 22px;
  color: white;
  background: linear-gradient(135deg, var(--amber-400), var(--orange-600));
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, filter 0.25s ease;
}

.category-tile:hover,
.category-panel:hover {
  transform: translateY(-5px) scale(1.02);
  filter: brightness(1.03);
}

.category-tile strong,
.category-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 22px;
  font-weight: 950;
}

.category-tile span,
.category-panel em {
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  line-height: 1.6;
}

.category-panel {
  min-height: 260px;
  background: white;
  color: var(--gray-900);
}

.category-panel em {
  color: var(--gray-600);
}

.panel-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  height: 96px;
  margin-bottom: 18px;
}

.panel-thumbs img {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--amber-900), var(--amber-500));
}

.page-shell {
  padding-top: 42px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 52px;
  color: white;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.25), transparent 34%), linear-gradient(135deg, var(--amber-500), var(--orange-600));
  box-shadow: var(--shadow);
}

.page-hero span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.page-hero h1 {
  max-width: 780px;
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.03em;
}

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

.filter-panel,
.search-page-panel {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 14px;
  margin: 28px 0 0;
  padding: 18px;
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.search-page-panel form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  width: 100%;
}

.search-page-panel {
  grid-template-columns: 1fr;
}

.rank-block {
  width: 100%;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 52px 112px 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 96px;
  padding: 14px;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-row:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
}

.rank-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  font-weight: 950;
}

.rank-row img {
  width: 112px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--amber-900), var(--amber-500));
}

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  font-weight: 950;
  color: var(--gray-900);
}

.rank-info em {
  margin-top: 4px;
  color: var(--gray-600);
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-score {
  color: var(--amber-600);
  font-weight: 950;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 22px;
  color: var(--amber-700);
  font-weight: 800;
}

.breadcrumb strong {
  color: var(--gray-700);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: white;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--amber-500);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.36);
  font-size: 38px;
  text-indent: 5px;
}

.play-overlay strong {
  font-size: 22px;
  font-weight: 950;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  margin-top: 32px;
}

.detail-cover,
.detail-info {
  border-radius: 28px;
  background: white;
  box-shadow: var(--shadow-soft);
}

.detail-cover {
  overflow: hidden;
}

.detail-cover img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--amber-900), var(--amber-500));
}

.detail-info {
  padding: 34px;
}

.detail-info h1 {
  margin: 0 0 12px;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  font-weight: 950;
}

.detail-lead {
  margin: 0 0 20px;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.75;
}

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

.tag-row {
  margin: 18px 0 28px;
}

.tag-row span {
  background: linear-gradient(90deg, var(--amber-100), #ffedd5);
}

.detail-info h2 {
  margin: 26px 0 12px;
  color: var(--amber-800);
  font-size: 24px;
  font-weight: 950;
}

.detail-info p {
  color: var(--gray-700);
  line-height: 1.95;
}

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

.site-footer {
  margin-top: 72px;
  color: var(--amber-50);
  background: linear-gradient(180deg, var(--amber-900), #3a1b08);
}

.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
}

.footer-inner h2 {
  margin: 0 0 12px;
  color: var(--amber-300);
  font-size: 26px;
  font-weight: 950;
}

.footer-inner p {
  max-width: 620px;
  margin: 0;
  color: var(--amber-100);
  line-height: 1.8;
}

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

.footer-links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--amber-100);
  background: rgba(255, 255, 255, 0.08);
}

.copyright {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0 34px;
  border-top: 1px solid rgba(252, 211, 77, 0.2);
  color: var(--amber-200);
  text-align: center;
  font-size: 14px;
}

.empty-state {
  padding: 40px;
  border-radius: 24px;
  background: white;
  color: var(--gray-600);
  box-shadow: var(--shadow-soft);
  text-align: center;
  font-weight: 800;
}

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

  .menu-toggle {
    display: grid;
    place-items: center;
  }

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

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

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

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

  .detail-cover img {
    max-height: 520px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: 72px;
    padding: 0 16px;
  }

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

  .brand-copy em {
    display: none;
  }

  .hero-slider {
    height: 560px;
  }

  .hero-content {
    bottom: 72px;
    width: min(100% - 32px, 680px);
  }

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

  .hero-arrow {
    display: none;
  }

  .intro-band,
  .movie-grid,
  .related-grid,
  .category-grid,
  .category-panels,
  .footer-inner,
  .filter-panel,
  .search-page-panel form,
  .movie-card-list,
  .rank-row {
    grid-template-columns: 1fr;
  }

  .movie-grid,
  .related-grid {
    gap: 18px;
  }

  .intro-band,
  .content-section,
  .page-shell {
    width: min(100% - 28px, 680px);
  }

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

  .page-hero {
    padding: 34px 24px;
    border-radius: 24px;
  }

  .filter-panel {
    gap: 10px;
  }

  .horizontal-strip .movie-card {
    flex-basis: 280px;
  }

  .movie-card-list .poster-frame {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .rank-row {
    gap: 12px;
  }

  .rank-row img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .rank-score {
    justify-self: start;
  }

  .detail-info {
    padding: 24px;
  }

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

@media (max-width: 520px) {
  .movie-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-meta span:nth-child(n + 3) {
    display: none;
  }
}
