:root {
  --bg: #070b14;
  --bg-elevated: rgba(16, 22, 38, 0.82);
  --panel: rgba(13, 18, 31, 0.92);
  --panel-soft: rgba(19, 26, 44, 0.7);
  --line: rgba(135, 162, 214, 0.18);
  --text: #f3f7ff;
  --muted: #97a7cb;
  --primary: #6ce4ff;
  --primary-strong: #1ec6ff;
  --accent: #ff6f91;
  --accent-soft: rgba(255, 111, 145, 0.18);
  --gold: #ffd37a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1320px;
}

/* Template 43 shared layer */
.icon-svg {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: middle;
}

html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 143, 184, 0.72) rgba(255, 255, 255, 0.08);
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 143, 184, 0.92) 0%, rgba(255, 95, 149, 0.72) 100%);
  border: 2px solid rgba(13, 13, 24, 0.85);
}

body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(255, 156, 192, 1) 0%, rgba(255, 95, 149, 0.84) 100%);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 130;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(120, 220, 255, 0.92) 0%, rgba(255, 143, 184, 0.96) 62%, rgba(255, 231, 146, 0.94) 100%);
  box-shadow: 0 0 16px rgba(255, 143, 184, 0.42);
  transform-origin: left center;
  transition: width .12s linear;
}

.page-transition-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 160;
  width: 100%;
  height: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.page-transition-bar::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(120, 220, 255, 0.96) 0%, rgba(255, 143, 184, 0.98) 58%, rgba(255, 231, 146, 0.96) 100%);
  box-shadow: 0 0 18px rgba(255, 143, 184, 0.42);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .72s cubic-bezier(.22, 1, .36, 1);
}

body.page-is-transitioning .page-transition-bar,
body.page-is-loading .page-transition-bar {
  opacity: 1;
}

body.page-is-transitioning .page-transition-bar::before {
  transform: scaleX(.72);
}

body.page-is-loading .page-transition-bar::before {
  transform: scaleX(.92);
}

.glass-card {
  background: rgba(36, 36, 52, 0.4);
  backdrop-filter: blur(12px);
}

.page-shell {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(.99);
  transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1);
}

.page-shell.is-ready {
  opacity: 1;
  transform: none;
}

.page-shell.is-leaving {
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(.985);
  filter: saturate(.92) blur(3px);
  transition: opacity .34s cubic-bezier(.22, 1, .36, 1), transform .34s cubic-bezier(.22, 1, .36, 1), filter .34s ease;
}

.page-shell[data-page-stage="entering"] {
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(.99);
}

.page-shell[data-page-stage="entered"] {
  opacity: 1;
  transform: none;
}

.nav-link-animated,
.chip-animated,
.card-animated,
.panel-animated,
.button-pop,
.episode-chip,
.meta-chip {
  transition: all .28s cubic-bezier(.22, 1, .36, 1);
}

.nav-link-animated {
  position: relative;
}

.nav-link-animated::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 143, 184, 0.95), transparent);
  transform: scaleX(0);
  opacity: 0;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

.nav-link-animated:hover::after,
.nav-link-animated:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.nav-more-shell {
  position: relative;
}

.nav-more-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(203, 213, 225, 0.92);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all .28s cubic-bezier(.22, 1, .36, 1);
}

.nav-more-toggle:hover,
.nav-more-toggle:focus-visible,
.nav-more-toggle.is-active,
.nav-more-shell.is-open .nav-more-toggle {
  color: #ffe4ee;
  border-color: rgba(255, 143, 184, 0.38);
  background: rgba(255, 95, 152, 0.16);
  box-shadow: 0 0 20px rgba(255, 95, 152, 0.18);
}

.nav-more-caret {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform .24s cubic-bezier(.22, 1, .36, 1);
}

.nav-more-shell.is-open .nav-more-caret {
  transform: rotate(225deg) translateY(-1px);
}

.nav-more-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 220px;
  padding: 12px;
  display: grid;
  gap: 8px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(18, 18, 30, 0.96), rgba(11, 12, 21, 0.98));
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 8px, 0);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s cubic-bezier(.22, 1, .36, 1), visibility .22s ease;
}

.nav-more-shell.is-open .nav-more-menu {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

@media (hover: hover) {
  .nav-more-shell:hover .nav-more-menu,
  .nav-more-shell:focus-within .nav-more-menu {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }
}

.nav-more-menu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 14px;
  color: rgba(226, 232, 240, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  transition: all .22s cubic-bezier(.22, 1, .36, 1);
}

.nav-more-menu a:hover,
.nav-more-menu a:focus-visible {
  color: #fff3f8;
  background: rgba(255, 143, 184, 0.12);
  transform: translateX(2px);
}

.button-pop:hover,
.button-pop:focus-visible,
.chip-animated:hover,
.chip-animated:focus-visible,
.episode-chip:hover,
.episode-chip:focus-visible,
.meta-chip:hover,
.panel-animated:hover,
.card-animated:hover {
  transform: translateY(-3px);
}

.card-animated img,
.panel-animated img {
  transition: transform .55s cubic-bezier(.22, 1, .36, 1);
}

.card-animated:hover img,
.panel-animated:hover img {
  transform: scale(1.05);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: .06s; }
.reveal-delay-2 { transition-delay: .12s; }
.reveal-delay-3 { transition-delay: .18s; }
.reveal-delay-4 { transition-delay: .24s; }
.reveal-delay-5 { transition-delay: .3s; }

.hide-scrollbar {
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.soft-scrollbar-y::-webkit-scrollbar {
  width: 8px;
}

.soft-scrollbar-y::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

.soft-scrollbar-y::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(255, 143, 184, 0.58);
}

.soft-scrollbar-y::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 156, 192, 0.78);
}

.side-card {
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(24, 26, 38, 0.9);
  padding: 24px;
}

.media-frame {
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}

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

.media-frame-16x10 {
  aspect-ratio: 16 / 10;
}

.media-frame-4x5 {
  aspect-ratio: 4 / 5;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-shade {
  background:
    radial-gradient(circle at top right, rgba(255, 143, 184, 0.14), transparent 26%),
    radial-gradient(circle at top left, rgba(120, 220, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(7, 8, 14, 0.55) 0%, rgba(7, 8, 14, 0.88) 62%, #0d0d18 100%);
}

.year-chip-active {
  color: #2d0a18;
  background: linear-gradient(135deg, rgba(255, 231, 146, 0.96), rgba(255, 143, 184, 0.96));
  border-color: rgba(255, 231, 146, 0.9);
  box-shadow: 0 16px 40px rgba(255, 143, 184, 0.24);
}

.page-chip-active {
  border-color: rgba(255, 143, 184, 0.6);
  color: #fff4f8;
  background: rgba(255, 143, 184, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(30, 198, 255, 0.14), transparent 34%),
    radial-gradient(circle at top right, rgba(255, 111, 145, 0.12), transparent 28%),
    linear-gradient(180deg, #09101d 0%, #060810 48%, #06070d 100%);
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .page-transition-bar,
  .page-transition-bar::before,
  .page-shell,
  .page-shell.is-leaving,
  .page-shell[data-page-stage="entering"],
  .page-shell[data-page-stage="entered"] {
    transition: none !important;
    animation: none !important;
    filter: none !important;
    transform: none !important;
  }
}

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

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

input,
button {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: -1;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  pointer-events: none;
}

.page-shell::before {
  top: -180px;
  left: -140px;
  background: #1cb5ff;
}

.page-shell::after {
  right: -140px;
  bottom: -180px;
  background: #ff4d7a;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(6, 9, 16, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.brand-mark {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--primary);
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--muted);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  color: rgba(243, 247, 255, 0.76);
  font-size: 0.95rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--primary);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-form {
  display: flex;
  align-items: center;
  min-width: 280px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.search-form input {
  width: 100%;
  min-width: 0;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
  padding: 12px 14px 12px 18px;
}

.search-form input::placeholder {
  color: rgba(151, 167, 203, 0.72);
}

.search-form button {
  min-width: 48px;
  min-height: 48px;
  border-radius: 999px;
  color: #07111d;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 10px 24px rgba(30, 198, 255, 0.26);
}

.hero {
  padding: 34px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: stretch;
}

.hero-card {
  position: relative;
  min-height: 620px;
  padding: 48px;
  border-radius: 34px;
  overflow: hidden;
  background: #0b1120;
  box-shadow: var(--shadow);
}

.hero-media,
.hero-overlay,
.hero-shade {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.92) 0%, rgba(5, 8, 15, 0.74) 42%, rgba(5, 8, 15, 0.22) 100%);
}

.hero-shade {
  background:
    radial-gradient(circle at top right, rgba(108, 228, 255, 0.18), transparent 34%),
    linear-gradient(180deg, transparent 0%, rgba(7, 11, 20, 0.42) 46%, rgba(7, 11, 20, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #ffd4df;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero-title {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-title em {
  color: var(--primary);
  font-style: normal;
}

.hero-desc {
  margin: 22px 0 0;
  max-width: 58ch;
  font-size: 1.02rem;
  color: rgba(243, 247, 255, 0.78);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(243, 247, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #08131d;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
  box-shadow: 0 16px 32px rgba(30, 198, 255, 0.26);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-side {
  display: grid;
  gap: 20px;
}

.glass-panel {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(17, 24, 40, 0.94) 0%, rgba(12, 17, 28, 0.86) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.panel-title h2,
.section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-head p,
.panel-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.mini-item {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mini-thumb {
  width: 78px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 14px;
  background: #0a0f1a;
}

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

.mini-item h3,
.media-card h3,
.feature-copy h3,
.rank-info h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.mini-item p,
.media-card p,
.feature-copy p,
.rank-info p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 26px 0;
}

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

.section-link {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

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

.media-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(16, 22, 38, 0.88), rgba(12, 17, 29, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.media-card:hover,
.media-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(108, 228, 255, 0.34);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.32);
}

.media-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

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

.media-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 14px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 14, 0.18) 16%, rgba(6, 8, 14, 0.92) 100%);
}

.card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(7, 11, 20, 0.72);
  color: #d9efff;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
}

.score-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(255, 211, 122, 0.14);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 211, 122, 0.18);
}

.media-body {
  padding: 18px 16px 20px;
}

.media-body h3 {
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
  gap: 20px;
}

.feature-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.08fr) minmax(0, 1fr);
  overflow: hidden;
  min-height: 400px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(17, 25, 44, 0.95) 0%, rgba(11, 16, 28, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.feature-visual {
  position: relative;
  min-height: 100%;
}

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

.feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 11, 20, 0.18) 30%, rgba(7, 11, 20, 0.68) 100%);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.feature-copy h3 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.feature-copy h3 em {
  color: var(--accent);
  font-style: normal;
}

.feature-copy p {
  font-size: 0.98rem;
  line-height: 1.75;
}

.feature-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.feature-side {
  display: grid;
  gap: 16px;
}

.feature-side .mini-item {
  min-height: 120px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 54px 88px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-no {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.26);
  text-align: center;
}

.rank-thumb {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 3 / 4;
}

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

.category-section {
  margin-top: 8px;
}

.footer {
  padding: 54px 0 80px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.empty-note {
  padding: 22px;
  border-radius: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

@media (max-width: 1180px) {
  .hero-grid,
  .feature-grid,
  .feature-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .side-card {
    border-radius: 22px;
    padding: 18px;
  }

  .site-header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    order: 3;
  }

  .header-actions {
    width: 100%;
  }

  .search-form {
    min-width: 0;
    width: 100%;
  }

  .hero-card {
    min-height: 540px;
    padding: 30px 24px;
  }

  .glass-panel,
  .feature-copy {
    padding: 22px;
  }

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

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

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .brand-mark {
    font-size: 1.2rem;
  }

  .brand-sub,
  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 20px;
  }

  .hero-card {
    min-height: 500px;
    border-radius: 26px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .media-grid {
    gap: 14px;
  }

  .feature-copy h3 {
    font-size: 2rem;
  }

  .rank-item,
  .mini-item {
    gap: 10px;
  }
}

.nav-more-shell-mobile {
  position: relative;
}

.nav-more-toggle-mobile {
  min-height: auto;
  padding: 8px 12px;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
}

.nav-more-menu-mobile {
  left: 0;
  right: auto;
  min-width: 180px;
  top: calc(100% + 10px);
  z-index: 80;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
