:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --teal-700: #0f766e;
  --teal-600: #0d9488;
  --teal-500: #14b8a6;
  --teal-100: #ccfbf1;
  --cyan-600: #0891b2;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 22px 40px rgba(15, 23, 42, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--slate-50);
  color: var(--slate-900);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container-custom {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.text-gradient {
  background-image: linear-gradient(to right, var(--teal-600), var(--cyan-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 76px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--teal-500), var(--cyan-600));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.25rem;
  font-weight: 800;
}

.brand-copy small {
  color: var(--slate-500);
  font-size: 0.75rem;
  margin-top: 0.2rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-link {
  border-radius: 0.65rem;
  color: var(--slate-600);
  font-weight: 650;
  padding: 0.65rem 0.9rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: #f0fdfa;
  color: var(--teal-700);
}

.search-shell {
  position: relative;
  display: none;
  width: min(280px, 28vw);
}

.search-shell input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 0.8rem;
  background: var(--white);
  color: var(--slate-800);
  outline: none;
  padding: 0.75rem 0.9rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

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

.search-results {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: none;
  width: min(460px, 92vw);
  max-height: 480px;
  overflow: auto;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
}

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

.search-results a,
.search-results p {
  display: block;
  border-radius: 0.8rem;
  padding: 0.8rem;
}

.search-results a:hover {
  background: var(--slate-100);
}

.search-results strong {
  display: block;
  color: var(--slate-900);
}

.search-results small {
  color: var(--slate-500);
}

.menu-toggle {
  margin-left: auto;
  border: 0;
  border-radius: 0.7rem;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 1.4rem;
  padding: 0.45rem 0.7rem;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--slate-200);
  padding: 0.75rem 1rem 1rem;
}

.mobile-nav.is-open {
  display: grid;
  gap: 0.5rem;
}

.mobile-nav a {
  border-radius: 0.75rem;
  background: var(--slate-50);
  color: var(--slate-700);
  font-weight: 650;
  padding: 0.85rem 1rem;
}

.hero {
  position: relative;
  height: 60vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--slate-900);
}

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

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.15));
}

.hero-content {
  position: relative;
  display: flex;
  align-items: flex-end;
  height: 100%;
  padding-bottom: 5rem;
}

.hero-copy {
  max-width: 760px;
  color: var(--white);
}

.hero-kicker,
.section-kicker {
  color: var(--teal-500);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0.7rem 0 1rem;
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 900;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.8;
}

.hero-tags,
.detail-meta-line,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.hero-tags span,
.detail-meta-line span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  padding: 0.35rem 0.7rem;
  backdrop-filter: blur(8px);
}

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

.btn-primary,
.btn-secondary,
.btn-ghost,
.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
  border: 1px solid transparent;
  font-weight: 750;
  padding: 0.78rem 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--teal-600);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  background: var(--teal-700);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--teal-600);
  color: var(--white);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-ghost-dark {
  border-color: var(--slate-200);
  color: var(--slate-700);
  background: var(--white);
}

.full {
  width: 100%;
  margin-top: 0.6rem;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 2rem;
  backdrop-filter: blur(8px);
}

.hero-prev {
  left: 1.2rem;
}

.hero-next {
  right: 1.2rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  display: flex;
  gap: 0.5rem;
  transform: translateX(-50%);
}

.hero-dot {
  width: 2.2rem;
  height: 0.28rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hero-dot.is-active {
  background: var(--teal-500);
}

.content-section {
  margin-top: 4rem;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0.25rem 0;
  color: var(--slate-900);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.section-head p {
  max-width: 700px;
  margin: 0;
  color: var(--slate-500);
  line-height: 1.7;
}

.section-link {
  flex-shrink: 0;
  color: var(--teal-700);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

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

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

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

.video-card {
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 0.9rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border 0.3s ease;
}

.video-card:hover {
  transform: translateY(-0.25rem);
  border-color: rgba(20, 184, 166, 0.35);
  box-shadow: var(--shadow-lg);
}

.card-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: var(--slate-900);
}

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

.video-card:hover .card-thumb img {
  transform: scale(1.08);
}

.card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
  opacity: 0.9;
}

.card-duration,
.card-rating,
.rank-pin {
  position: absolute;
  z-index: 2;
  border-radius: 0.5rem;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.26rem 0.5rem;
}

.card-duration {
  top: 0.7rem;
  left: 0.7rem;
  background: rgba(0, 0, 0, 0.64);
}

.card-rating {
  top: 0.7rem;
  right: 0.7rem;
  background: var(--teal-600);
}

.rank-pin {
  left: 0.7rem;
  bottom: 0.7rem;
  background: rgba(15, 23, 42, 0.82);
}

.play-bubble {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-700);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  padding: 1rem;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 2.9em;
  margin: 0 0 0.45rem;
  overflow: hidden;
  color: var(--slate-900);
  font-size: 1.04rem;
  font-weight: 850;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-body p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 0.75rem;
  overflow: hidden;
  color: var(--slate-500);
  font-size: 0.9rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  color: var(--slate-500);
  font-size: 0.82rem;
}

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--slate-300);
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.tag-badge {
  display: inline-block;
  border-radius: 9999px;
  background: var(--teal-100);
  color: var(--teal-700);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1;
  padding: 0.35rem 0.65rem;
}

.category-grid,
.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}

.category-tile {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--slate-900);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.15));
}

.category-tile strong,
.category-tile small {
  position: absolute;
  left: 1rem;
  z-index: 2;
}

.category-tile strong {
  bottom: 2.4rem;
  font-size: 1.25rem;
}

.category-tile small {
  bottom: 1rem;
  color: rgba(255, 255, 255, 0.78);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.rank-panel,
.detail-card,
.quick-info,
.poster-panel,
.filter-bar,
.category-overview-card,
.ranking-list {
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: 1rem;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.rank-panel {
  padding: 1rem;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
}

.panel-head span {
  font-size: 1.1rem;
  font-weight: 850;
}

.panel-head a {
  color: var(--teal-700);
  font-size: 0.9rem;
  font-weight: 750;
}

.rank-item {
  display: grid;
  grid-template-columns: 2rem 64px 1fr;
  gap: 0.75rem;
  align-items: center;
  border-radius: 0.8rem;
  padding: 0.55rem;
}

.rank-item:hover {
  background: var(--slate-100);
}

.rank-number {
  color: var(--teal-700);
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  width: 64px;
  height: 48px;
  border-radius: 0.55rem;
  object-fit: cover;
}

.rank-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.rank-copy small {
  color: var(--slate-500);
}

.page-hero,
.detail-hero {
  background: radial-gradient(circle at 20% 10%, rgba(20, 184, 166, 0.2), transparent 30%), linear-gradient(135deg, var(--slate-800), var(--slate-950));
  color: var(--white);
  padding: 4.5rem 0;
}

.page-hero h1,
.detail-hero h1 {
  max-width: 920px;
  margin: 0.4rem 0 1rem;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.05;
}

.page-hero p,
.detail-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.1rem;
  line-height: 1.8;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-thumb-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.25rem;
}

.category-thumb-stack img {
  width: 100%;
  height: 70px;
  border-radius: 0.5rem;
  object-fit: cover;
}

.category-count {
  color: var(--teal-700);
  font-weight: 800;
}

.category-overview-card h2 {
  margin: 0.35rem 0;
  font-size: 1.4rem;
}

.category-overview-card p {
  margin: 0 0 0.8rem;
  color: var(--slate-500);
  line-height: 1.6;
}

.category-overview-card strong {
  color: var(--teal-700);
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.3rem;
  padding: 1rem;
}

.filter-bar label {
  display: block;
  color: var(--slate-500);
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.filter-bar p {
  color: var(--slate-500);
  font-weight: 700;
  margin: 0;
}

.ranking-list {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.5rem;
  padding: 0.75rem;
}

.ranking-row {
  display: grid;
  grid-template-columns: 3rem 1.4fr 2fr auto;
  gap: 1rem;
  align-items: center;
  border-radius: 0.8rem;
  padding: 0.85rem;
}

.ranking-row:hover {
  background: var(--slate-100);
}

.ranking-row span {
  color: var(--teal-700);
  font-size: 1.2rem;
  font-weight: 900;
}

.ranking-row strong {
  color: var(--slate-900);
}

.ranking-row em {
  color: var(--slate-500);
  font-style: normal;
}

.ranking-row b {
  color: var(--slate-700);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.player-shell video,
.player-cover,
.player-cover img {
  width: 100%;
  height: 100%;
}

.player-shell video {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.player-cover img {
  object-fit: cover;
  opacity: 0.72;
}

.player-cover span {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.18));
}

.player-start {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--teal-700);
  padding: 0.9rem 1.2rem;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-lg);
}

.player-start span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--teal-600);
  color: var(--white);
}

.player-status {
  position: absolute;
  z-index: 4;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
}

.player-shell.is-playing .player-cover,
.player-shell.is-playing .player-start,
.player-shell.is-playing .player-status {
  display: none;
}

.detail-main,
.detail-sidebar {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.detail-card,
.quick-info {
  padding: 1.25rem;
}

.detail-card h2,
.quick-info h2 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
}

.detail-card p {
  margin: 0;
  color: var(--slate-600);
  font-size: 1.02rem;
  line-height: 1.9;
}

.detail-meta-line span {
  background: var(--slate-100);
  color: var(--slate-700);
}

.detail-tags {
  margin-top: 1rem;
}

.poster-panel {
  overflow: hidden;
  margin: 0;
}

.poster-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.poster-panel figcaption {
  padding: 1rem;
  color: var(--slate-900);
  font-size: 1.15rem;
  font-weight: 850;
}

.quick-info ul {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-info li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px dashed var(--slate-200);
  padding-bottom: 0.7rem;
}

.quick-info li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.quick-info span {
  color: var(--slate-500);
}

.quick-info strong {
  color: var(--slate-900);
  text-align: right;
}

.site-footer {
  margin-top: 5rem;
  background: var(--slate-900);
  color: var(--slate-300);
}

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

.footer-brand {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 850;
  margin-bottom: 1rem;
}

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

.site-footer p {
  color: var(--slate-400);
  line-height: 1.75;
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--slate-400);
}

.footer-links a:hover {
  color: var(--teal-500);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--slate-500);
  font-size: 0.9rem;
  padding: 1.25rem;
}

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

@media (min-width: 640px) {
  .filter-bar {
    grid-template-columns: 1.4fr 220px auto;
  }

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

@media (min-width: 768px) {
  .container-custom {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero {
    height: 70vh;
  }

  .hero-arrow {
    display: flex;
  }

  .nav-links,
  .search-shell {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .split-section {
    grid-template-columns: minmax(0, 1fr) 360px;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1fr) 330px;
  }
}

@media (min-width: 1024px) {
  .container-custom {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 68px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content {
    padding-bottom: 4rem;
  }

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

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

  .ranking-row {
    grid-template-columns: 2rem 1fr;
  }

  .ranking-row em,
  .ranking-row b {
    grid-column: 2;
  }
}
