:root {
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.94);
  --line: rgba(148, 163, 184, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-soft: rgba(245, 158, 11, 0.16);
  --radius: 18px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(245, 158, 11, 0.10), transparent 28rem),
    radial-gradient(circle at 84% 2%, rgba(56, 189, 248, 0.09), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 48%, #020617 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.88);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 66px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #111827;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.36);
}

.brand-text {
  font-size: 1.22rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #cbd5e1;
}

.nav-link {
  position: relative;
  padding: 22px 0;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after,
.nav-link:hover::after {
  position: absolute;
  right: 0;
  bottom: 15px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--amber);
  border-radius: 999px;
}

.header-search,
.mobile-search,
.home-search-panel form,
.filter-panel {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search {
  min-width: 286px;
}

.header-search input,
.mobile-search input,
.home-search-panel input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  color: var(--text);
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input,
.mobile-search input,
.home-search-panel input {
  height: 42px;
  padding: 0 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.home-search-panel input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(245, 158, 11, 0.76);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16);
}

.header-search button,
.mobile-search button,
.home-search-panel button,
.filter-panel button {
  height: 42px;
  padding: 0 16px;
  color: #111827;
  cursor: pointer;
  background: var(--amber);
  border: 0;
  border-radius: 12px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.home-search-panel button:hover,
.primary-btn:hover {
  background: #fbbf24;
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  color: var(--text);
  cursor: pointer;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 18px;
  background: rgba(2, 6, 23, 0.96);
  border-top: 1px solid var(--line);
}

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

.mobile-search {
  margin: 16px auto;
  max-width: 560px;
}

.mobile-nav nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(560px, 100%);
  margin: 0 auto;
}

.mobile-link {
  padding: 12px 14px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.hero-carousel {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: #000000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.hero-slide.is-active .hero-image {
  transform: scale(1.0);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.55) 46%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.88) 0%, rgba(2, 6, 23, 0.08) 46%, rgba(2, 6, 23, 0.34) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 16px;
  padding: 7px 12px;
  color: #111827;
  font-size: 0.84rem;
  font-weight: 800;
  background: var(--amber);
  border-radius: 999px;
}

.hero-copy h1,
.page-hero h1,
.player-info h1 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  text-shadow: 0 10px 46px rgba(0, 0, 0, 0.5);
}

.hero-copy p {
  max-width: 620px;
  margin: 22px 0 0;
  color: #d1d5db;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.75;
}

.hero-meta,
.detail-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #cbd5e1;
}

.hero-meta {
  margin-top: 22px;
}

.hero-meta span,
.detail-meta span,
.card-meta span {
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
}

.hero-tags,
.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.hero-tags span,
.tag-row span,
.detail-tags a {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.13);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 999px;
}

.hero-tags span,
.detail-tags a {
  padding: 7px 11px;
}

.tag-row span {
  padding: 5px 8px;
  font-size: 0.76rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

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

.primary-btn {
  color: #111827;
  background: var(--amber);
  box-shadow: 0 14px 36px rgba(245, 158, 11, 0.22);
}

.primary-btn.full {
  width: 100%;
}

.secondary-btn {
  color: var(--text);
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.ghost-btn {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.secondary-btn:hover,
.ghost-btn:hover,
.text-link:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 158, 11, 0.62);
}

.hero-dots {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

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

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

.home-search-panel {
  margin-top: -54px;
  position: relative;
  z-index: 4;
}

.search-panel-inner {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  padding: 26px;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.20);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.search-panel-inner h2,
.section-heading h2,
.ranking-side h2,
.sticky-panel h2,
.site-footer h2,
.detail-panel h2 {
  margin: 0;
}

.search-panel-inner p,
.page-hero p,
.category-card-large p,
.detail-panel p,
.player-info p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.section-block {
  padding: 72px 0 0;
}

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

.section-heading h2,
.ranking-side h2,
.sticky-panel h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.035em;
}

.section-heading a,
.text-link {
  color: #fcd34d;
}

.grid {
  display: grid;
}

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

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

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

.movie-card {
  overflow: hidden;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.20);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px) scale(1.01);
  background: rgba(15, 23, 42, 0.86);
  border-color: rgba(245, 158, 11, 0.36);
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.34);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #020617;
}

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

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

.card-badge,
.rank-flag {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 999px;
}

.card-badge {
  right: 10px;
  color: #e5e7eb;
  background: rgba(2, 6, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.rank-flag {
  left: 10px;
  color: #111827;
  background: var(--amber);
}

.poster-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 2.8rem;
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-play {
  opacity: 1;
  transform: scale(1);
}

.card-body {
  padding: 15px;
}

.card-body h2 {
  min-height: 2.8em;
  margin: 0 0 10px;
  font-size: 1.02rem;
  line-height: 1.4;
}

.card-body h2 a {
  transition: color 0.2s ease;
}

.movie-card:hover h2 a {
  color: #fcd34d;
}

.card-body p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0 0 12px;
  overflow: hidden;
  color: #cbd5e1;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  gap: 7px;
  margin-bottom: 12px;
  font-size: 0.78rem;
}

.horizontal-row {
  display: grid;
  grid-auto-columns: minmax(210px, 1fr);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 4px 18px;
  scroll-snap-type: x proximity;
}

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

.slate-panel {
  padding: 34px;
  margin-top: 72px;
  background: rgba(15, 23, 42, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 24px;
}

.category-grid,
.category-overview-grid {
  display: grid;
  gap: 18px;
}

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

.category-tile,
.category-card-large {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 170px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.88), rgba(30, 41, 59, 0.64));
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.category-tile:hover,
.category-card-large:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 158, 11, 0.36);
}

.category-tile span,
.category-card-large h2 {
  color: #ffffff;
  font-size: 1.28rem;
  font-weight: 900;
}

.category-tile strong,
.category-card-large p,
.category-tile em {
  color: var(--muted);
  font-style: normal;
  font-weight: 400;
  line-height: 1.65;
}

.ranking-layout,
.category-content-layout,
.detail-layout {
  display: grid;
  gap: 28px;
}

.ranking-layout {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
  align-items: start;
}

.category-content-layout,
.page-ranking {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
}

.ranking-main,
.ranking-side,
.sticky-panel,
.detail-panel,
.player-card,
.category-card-large {
  background: rgba(15, 23, 42, 0.70);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 22px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.2);
}

.ranking-main,
.ranking-side,
.sticky-panel {
  padding: 24px;
}

.sticky-panel {
  position: sticky;
  top: 92px;
}

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

.wide-list.tight {
  gap: 10px;
}

.wide-item {
  display: grid;
  grid-template-columns: auto 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid transparent;
  border-radius: 16px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wide-item:hover {
  transform: translateX(2px);
  background: rgba(30, 41, 59, 0.76);
  border-color: rgba(245, 158, 11, 0.26);
}

.wide-rank {
  min-width: 34px;
  color: var(--amber);
  font-size: 1.55rem;
  font-weight: 900;
}

.wide-item img {
  width: 104px;
  height: 66px;
  object-fit: cover;
  border-radius: 12px;
}

.wide-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.wide-copy strong,
.wide-copy small,
.wide-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wide-copy strong {
  color: #ffffff;
}

.wide-copy small {
  color: var(--muted-2);
}

.wide-copy em {
  color: var(--muted);
  font-style: normal;
}

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

.page-main {
  padding: 46px 0 74px;
}

.page-hero {
  margin-bottom: 32px;
  padding: 38px;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.70)),
    radial-gradient(circle at right top, rgba(245, 158, 11, 0.16), transparent 26rem);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.small-hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
}

.small-hero p {
  max-width: 820px;
  margin: 18px 0 0;
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: #fcd34d;
}

.filter-panel {
  margin-bottom: 28px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.60);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 18px;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  padding: 0 14px;
}

.large-filter {
  grid-template-columns: 1fr 190px 160px;
}

.empty-state {
  display: none;
  margin: 42px 0;
  color: var(--muted);
  text-align: center;
}

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

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

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-samples a {
  padding: 7px 10px;
  color: #cbd5e1;
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: 999px;
}

.category-samples a:hover {
  color: #fcd34d;
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.detail-primary {
  min-width: 0;
}

.player-card {
  overflow: hidden;
  margin-bottom: 24px;
}

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

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

.play-layer {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at center, rgba(245, 158, 11, 0.16), transparent 22rem);
  border: 0;
}

.play-layer span {
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  padding-left: 7px;
  color: #111827;
  font-size: 3rem;
  background: var(--amber);
  border-radius: 999px;
  box-shadow: 0 20px 64px rgba(245, 158, 11, 0.42);
  transition: transform 0.2s ease, background 0.2s ease;
}

.play-layer:hover span {
  background: #fbbf24;
  transform: scale(1.08);
}

.play-layer.is-hidden {
  display: none;
}

.player-info,
.detail-panel {
  padding: 24px;
}

.player-info h1 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
}

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

.detail-panel {
  margin-bottom: 20px;
}

.detail-panel p {
  margin: 16px 0 0;
  color: #d1d5db;
  font-size: 1.02rem;
  text-align: justify;
}

.detail-tags {
  margin-top: 18px;
}

.detail-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 18px;
}

.side-meta {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.side-meta strong {
  font-size: 1.25rem;
}

.side-meta span {
  color: var(--muted);
}

.detail-side h2 {
  margin-top: 26px;
  margin-bottom: 18px;
}

.prev-next {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.prev-next a {
  flex: 1;
  padding: 14px 16px;
  color: #fcd34d;
  background: rgba(15, 23, 42, 0.68);
  border: 1px solid rgba(245, 158, 11, 0.18);
  border-radius: 14px;
}

.site-footer {
  margin-top: 84px;
  background: rgba(2, 6, 23, 0.92);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
  padding: 46px 0;
}

.footer-brand {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 1.3rem;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #fcd34d;
}

.footer-bottom {
  padding: 18px;
  color: var(--muted-2);
  text-align: center;
  border-top: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .cards-grid,
  .dense-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .ranking-layout,
  .category-content-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .sticky-panel {
    position: static;
  }

  .detail-side {
    max-width: 520px;
  }
}

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

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

  .hero-carousel {
    height: 580px;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, rgba(0, 0, 0, 0.48) 62%, rgba(0, 0, 0, 0.30) 100%);
  }

  .hero-content {
    align-items: end;
    padding-bottom: 86px;
  }

  .search-panel-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .large-filter,
  .filter-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .large-filter {
    display: flex;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero-carousel {
    height: 620px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 12vw, 4.1rem);
  }

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

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

  .cards-grid,
  .dense-grid,
  .featured-grid,
  .category-grid,
  .category-overview-grid,
  .mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .slate-panel,
  .page-hero,
  .ranking-main,
  .ranking-side,
  .sticky-panel,
  .detail-panel,
  .player-info {
    padding: 18px;
  }

  .wide-item {
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .wide-rank {
    display: none;
  }

  .wide-item img {
    width: 86px;
    height: 58px;
  }

  .prev-next {
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand-text {
    font-size: 1.02rem;
  }

  .hero-carousel {
    height: 590px;
  }

  .cards-grid,
  .dense-grid,
  .featured-grid,
  .category-grid,
  .category-overview-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .horizontal-row {
    grid-auto-columns: minmax(190px, 78vw);
  }

  .player-info h1,
  .small-hero h1 {
    font-size: 2rem;
  }

  .play-layer span {
    width: 74px;
    height: 74px;
    font-size: 2.2rem;
  }
}
