:root {
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.82);
  --panel-solid: #0f172a;
  --panel-soft: rgba(30, 41, 59, 0.72);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --line: rgba(148, 163, 184, 0.18);
  --blue: #38bdf8;
  --cyan: #22d3ee;
  --green: #22c55e;
  --amber: #f59e0b;
  --rose: #f43f5e;
  --violet: #8b5cf6;
  --shadow: 0 28px 80px rgba(15, 23, 42, 0.52);
  --radius: 22px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 8%, rgba(14, 165, 233, 0.28), transparent 30%),
    radial-gradient(circle at 85% 0%, rgba(34, 211, 238, 0.16), transparent 25%),
    linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 6, 23, 0.84);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1240px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #06111f;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.28);
}

.brand-text {
  font-size: 1.25rem;
  background: linear-gradient(135deg, #f8fafc, #67e8f9 62%, #38bdf8);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}

.nav-link {
  padding: 10px 12px;
  color: var(--muted-strong);
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: rgba(56, 189, 248, 0.16);
  transform: translateY(-1px);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}

.header-search input,
.mobile-search input {
  width: 220px;
  min-width: 0;
  padding: 10px 12px 10px 16px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}

.header-search button,
.mobile-search button {
  padding: 10px 14px;
  color: var(--text);
  background: transparent;
  border: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 11px 14px;
  color: var(--muted-strong);
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.mobile-link.active {
  color: white;
  border-color: rgba(56, 189, 248, 0.45);
}

.site-main {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.hero-carousel {
  position: relative;
  min-height: 560px;
  margin-bottom: 72px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.38), rgba(15, 23, 42, 0.94));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

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

.hero-slide {
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.96) 0%, rgba(2, 6, 23, 0.78) 42%, rgba(2, 6, 23, 0.22) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.24) 0%, rgba(2, 6, 23, 0.86) 100%);
}

.hero-copy {
  position: absolute;
  top: 50%;
  left: clamp(24px, 7vw, 82px);
  z-index: 2;
  width: min(650px, calc(100% - 48px));
  transform: translateY(-50%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #67e8f9;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.5rem, 8vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 24px;
  color: #dbeafe;
  font-size: clamp(1rem, 2vw, 1.28rem);
}

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

.hero-tags span,
.movie-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  color: #dbeafe;
  background: rgba(14, 165, 233, 0.18);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  font-size: 0.82rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #06111f;
  background: linear-gradient(135deg, #67e8f9, #38bdf8);
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.28);
}

.button-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: white;
  background: rgba(15, 23, 42, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  right: 36px;
  bottom: 32px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.48);
  border: 0;
  border-radius: 999px;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 30px;
  background: #67e8f9;
}

.content-section {
  margin-bottom: 72px;
}

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

.section-heading h2,
.page-hero h1,
.detail-panel h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-link {
  flex-shrink: 0;
  color: #67e8f9;
  font-weight: 800;
}

.category-grid,
.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 56px rgba(2, 6, 23, 0.32);
}

.category-card {
  min-height: 210px;
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before,
.category-overview-card::before,
.page-hero::before {
  position: absolute;
  inset: -1px;
  z-index: -1;
  content: "";
  opacity: 0.42;
  background: radial-gradient(circle at top left, var(--accent-color, #38bdf8), transparent 55%);
}

.category-card:hover {
  border-color: rgba(125, 211, 252, 0.42);
  box-shadow: 0 24px 70px rgba(56, 189, 248, 0.16);
  transform: translateY(-6px);
}

.category-icon {
  display: block;
  margin-bottom: 24px;
  font-size: 2.4rem;
}

.category-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.18rem;
}

.category-card em {
  display: block;
  margin-bottom: 12px;
  color: #67e8f9;
  font-style: normal;
  font-weight: 800;
}

.category-card p,
.category-overview-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

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

.movie-card {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.84), rgba(15, 23, 42, 0.94));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(2, 6, 23, 0.32);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(56, 189, 248, 0.42);
  box-shadow: 0 24px 70px rgba(56, 189, 248, 0.15);
  transform: translateY(-5px);
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.16), rgba(15, 23, 42, 0.88));
}

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

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

.movie-card:hover .movie-poster img,
.ranking-row:hover .ranking-thumb img {
  filter: saturate(1.12) brightness(1.08);
  transform: scale(1.06);
}

.quality-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  color: #06111f;
  background: #67e8f9;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.quality-badge {
  left: 12px;
}

.rank-badge {
  right: 12px;
  background: #fbbf24;
}

.poster-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: #06111f;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card-body {
  padding: 17px;
}

.movie-card-meta,
.movie-card-footer,
.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.movie-card h3 a:hover,
.ranking-content h3 a:hover,
.side-info-card a:hover {
  color: #67e8f9;
}

.movie-card p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 0.92rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card-footer {
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
}

.horizontal-list,
.ranking-list {
  display: grid;
  gap: 14px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 56px 88px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ranking-row:hover {
  border-color: rgba(56, 189, 248, 0.38);
  transform: translateX(4px);
}

.ranking-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--text);
  background: rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  font-weight: 900;
}

.rank-gold {
  color: #0f172a;
  background: linear-gradient(135deg, #fbbf24, #fde68a);
}

.rank-silver {
  color: #0f172a;
  background: linear-gradient(135deg, #cbd5e1, #f8fafc);
}

.rank-bronze {
  color: #0f172a;
  background: linear-gradient(135deg, #fb923c, #fed7aa);
}

.ranking-thumb {
  display: block;
  width: 88px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.72);
  border-radius: 13px;
}

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

.ranking-content h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.ranking-content p {
  display: -webkit-box;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.small-play-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  color: #06111f;
  background: #67e8f9;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
}

.rank-panel,
.detail-panel,
.side-cover-card,
.side-info-card,
.filter-panel,
.category-overview-card {
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(16px);
}

.rank-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
  border-radius: 22px;
}

.rank-panel h2 {
  margin: 0 0 16px;
}

.rank-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rank-panel a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  color: var(--muted-strong);
}

.rank-panel span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #06111f;
  background: #67e8f9;
  border-radius: 9px;
  font-weight: 900;
}

.page-hero {
  position: relative;
  z-index: 1;
  margin-bottom: 30px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(15, 23, 42, 0.88));
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.compact-hero,
.listing-hero {
  padding: clamp(28px, 5vw, 54px);
}

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

.breadcrumb a {
  color: #67e8f9;
}

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

.category-overview-card {
  position: relative;
  z-index: 1;
  padding: 24px;
}

.category-overview-main span {
  font-size: 2.4rem;
}

.category-overview-card h2 {
  margin: 12px 0 8px;
}

.category-overview-card strong {
  display: inline-flex;
  margin-top: 16px;
  color: #67e8f9;
}

.category-overview-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.category-overview-card li a {
  color: var(--muted-strong);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(150px, 0.45fr)) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: 22px;
}

.filter-group {
  display: grid;
  gap: 8px;
}

.filter-group.wide {
  min-width: 260px;
}

.filter-group label {
  color: var(--muted);
  font-size: 0.86rem;
}

.filter-group input,
.filter-group select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  color: var(--text);
  background: rgba(2, 6, 23, 0.42);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
}

.filter-group input:focus,
.filter-group select:focus {
  border-color: rgba(56, 189, 248, 0.58);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.filter-result {
  display: grid;
  min-height: 44px;
  place-items: center;
  padding: 0 16px;
  color: #67e8f9;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 14px;
  font-weight: 900;
}

.detail-shell {
  margin-bottom: 56px;
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card {
  position: relative;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

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

.player-start {
  position: absolute;
  inset: 0;
  display: grid;
  gap: 12px;
  place-items: center;
  align-content: center;
  color: #ffffff;
  background:
    radial-gradient(circle at center, rgba(56, 189, 248, 0.28), transparent 28%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.72));
  border: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-start span {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  color: #06111f;
  background: linear-gradient(135deg, #67e8f9, #38bdf8);
  border-radius: 50%;
  box-shadow: 0 18px 46px rgba(56, 189, 248, 0.36);
  font-size: 2rem;
}

.player-start strong {
  font-size: 1.18rem;
}

.player-card.is-playing .player-start {
  visibility: hidden;
  opacity: 0;
}

.player-status {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  min-height: 24px;
  color: #bae6fd;
  font-size: 0.88rem;
}

.detail-panel {
  padding: clamp(22px, 4vw, 34px);
  border-radius: 24px;
}

.detail-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.detail-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.detail-stat-grid span {
  display: grid;
  gap: 5px;
  padding: 14px;
  color: var(--muted);
  background: rgba(2, 6, 23, 0.34);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.detail-stat-grid strong {
  color: var(--text);
  font-size: 1.04rem;
}

.detail-panel h2 {
  margin: 28px 0 10px;
  font-size: 1.36rem;
}

.detail-panel p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 1.02rem;
}

.detail-sidebar {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.side-cover-card,
.side-info-card {
  overflow: hidden;
  border-radius: 22px;
}

.side-cover-card img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.side-cover-card h2,
.side-cover-card p,
.side-info-card {
  padding: 18px;
}

.side-cover-card h2 {
  margin: 0;
  padding-bottom: 0;
}

.side-cover-card p {
  margin: 0;
  color: var(--muted);
}

.side-info-card h2 {
  margin: 0 0 14px;
}

.side-info-card dl {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 10px 12px;
  margin: 0;
}

.side-info-card dt {
  color: var(--muted);
}

.side-info-card dd {
  margin: 0;
  color: var(--muted-strong);
}

.detail-neighbor {
  display: flex;
  justify-content: space-between;
  margin-top: -34px;
}

.detail-neighbor a {
  display: inline-flex;
  padding: 12px 18px;
  color: #67e8f9;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

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

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 28px;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.footer-inner h2 {
  margin: 0 0 14px;
  font-size: 1rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.footer-inner ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-inner a:hover {
  color: #67e8f9;
}

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

.accent-blue { --accent-color: #38bdf8; }
.accent-cyan { --accent-color: #22d3ee; }
.accent-violet { --accent-color: #8b5cf6; }
.accent-amber { --accent-color: #f59e0b; }
.accent-rose { --accent-color: #f43f5e; }
.accent-orange { --accent-color: #fb923c; }
.accent-slate { --accent-color: #64748b; }
.accent-indigo { --accent-color: #6366f1; }
.accent-emerald { --accent-color: #10b981; }
.accent-green { --accent-color: #22c55e; }

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

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

  .header-search {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

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

  .split-section,
  .detail-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .rank-panel,
  .detail-sidebar {
    position: static;
  }

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

@media (max-width: 760px) {
  .header-inner {
    height: 66px;
  }

  .header-search {
    display: none;
  }

  .site-main {
    width: min(100% - 24px, 1240px);
    padding-top: 24px;
  }

  .hero-carousel {
    min-height: 520px;
    border-radius: 22px;
  }

  .hero-copy {
    top: auto;
    bottom: 54px;
    left: 20px;
    width: calc(100% - 40px);
    transform: none;
  }

  .hero-copy h1 {
    font-size: 2.6rem;
  }

  .hero-control {
    display: none;
  }

  .hero-dots {
    right: auto;
    left: 20px;
    bottom: 22px;
  }

  .section-heading,
  .detail-title-row {
    display: grid;
    align-items: start;
  }

  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .featured-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 42px 72px minmax(0, 1fr);
  }

  .small-play-button {
    grid-column: 2 / -1;
  }

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

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

  .movie-grid {
    gap: 16px;
  }

  .ranking-content p {
    display: none;
  }

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