*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --sky-50: #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --emerald-600: #059669;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --shadow-card: 0 20px 25px -5px rgb(0 0 0 / 0.10), 0 8px 10px -6px rgb(0 0 0 / 0.10);
  --shadow-soft: 0 12px 30px rgb(2 132 199 / 0.16);
  --radius-xl: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #ffffff;
  color: var(--neutral-900);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

button,
input,
select {
  font: inherit;
}

.container-custom {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-500), var(--emerald-500));
  box-shadow: var(--shadow-soft);
}

.btn-secondary {
  color: var(--neutral-900);
  background: #ffffff;
  border: 1px solid rgb(255 255 255 / 0.70);
  box-shadow: 0 8px 20px rgb(15 23 42 / 0.08);
}

.card {
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgb(229 229 229 / 0.85);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgb(14 165 233 / 0.28);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgb(229 229 229 / 0.7);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--sky-500), var(--emerald-500));
  box-shadow: 0 10px 18px rgb(14 165 233 / 0.24);
  font-size: 14px;
}

.brand-text,
.footer-brand {
  background: linear-gradient(135deg, var(--sky-600), var(--emerald-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  color: var(--neutral-700);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--sky-600);
  background: var(--sky-50);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 290px;
}

.header-search input,
.mobile-search input,
.large-search input,
.filter-bar input,
.search-tools select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--neutral-200);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--neutral-900);
  background: #ffffff;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.filter-bar input:focus,
.search-tools select:focus {
  border-color: var(--sky-400);
  box-shadow: 0 0 0 4px rgb(14 165 233 / 0.12);
}

.header-search button,
.mobile-search button {
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  color: #ffffff;
  background: var(--sky-500);
  border-radius: 14px;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--sky-50);
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--sky-600);
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  padding: 14px 16px 22px;
  border-top: 1px solid var(--neutral-200);
  background: #ffffff;
}

.mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.hero-carousel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 45%, #d1fae5 100%);
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(6px) saturate(1.15);
  transform: scale(1.05);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(255 255 255 / 0.96), rgb(255 255 255 / 0.74), rgb(240 249 255 / 0.56));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  gap: 54px;
  padding-top: 52px;
  padding-bottom: 74px;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--sky-700, #0369a1);
  background: rgb(14 165 233 / 0.10);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  max-width: 760px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
  font-weight: 950;
}

.hero-one-line {
  max-width: 740px;
  margin: 0 0 14px;
  color: var(--neutral-800);
  font-size: clamp(19px, 2vw, 25px);
  font-weight: 800;
}

.hero-summary {
  max-width: 680px;
  margin: 0 0 22px;
  color: var(--neutral-600);
  font-size: 17px;
}

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

.hero-tags span,
.detail-meta span,
.detail-genres span,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--neutral-700);
  background: rgb(255 255 255 / 0.82);
  border: 1px solid rgb(229 229 229 / 0.76);
  font-size: 13px;
  font-weight: 700;
}

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

.hero-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--sky-100), #ffffff, #d1fae5);
  box-shadow: 0 30px 70px rgb(2 132 199 / 0.22);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  color: var(--sky-600);
  background: rgb(255 255 255 / 0.88);
  border-radius: 50%;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.18);
  font-size: 28px;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  color: var(--neutral-900);
  background: rgb(255 255 255 / 0.84);
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgb(15 23 42 / 0.20);
  border-radius: 99px;
  transition: width 0.2s ease, background 0.2s ease;
}

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

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

.search-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 560px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  background: #ffffff;
  border: 1px solid rgb(229 229 229 / 0.90);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgb(15 23 42 / 0.10);
}

.search-band-inner h2,
.section-head h2,
.rank-panel-head h2,
.watch-head h2,
.text-card h2,
.category-card-body h2 {
  margin: 8px 0 0;
  color: var(--neutral-900);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.2;
}

.large-search {
  display: flex;
  gap: 10px;
}

.large-search input {
  min-height: 52px;
  border-radius: 16px;
}

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

.soft-section {
  background: linear-gradient(180deg, var(--neutral-50), #ffffff);
}

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

.section-head p {
  max-width: 680px;
  margin: 8px 0 0;
  color: var(--neutral-600);
}

.section-link,
.filter-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  color: var(--sky-600);
  background: var(--sky-50);
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--sky-100), #ffffff, #d1fae5);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.64);
}

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

.category-tile:hover img {
  transform: scale(1.07);
  opacity: 0.72;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.06), rgb(0 0 0 / 0.54));
}

.category-tile span,
.category-tile em {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  color: #ffffff;
}

.category-tile span {
  bottom: 46px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile em {
  bottom: 18px;
  font-size: 13px;
  font-style: normal;
  opacity: 0.88;
}

.two-column-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

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

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

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

.movie-link {
  display: block;
  height: 100%;
}

.cover-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-100), #ffffff, #d1fae5);
}

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

.movie-card:hover .cover-image {
  transform: scale(1.06);
}

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.00), rgb(0 0 0 / 0.52));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .cover-shade {
  opacity: 1;
}

.duration-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgb(0 0 0 / 0.66);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
}

.duration-badge {
  right: 10px;
  padding: 5px 8px;
}

.rank-badge {
  left: 10px;
  padding: 5px 10px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.play-mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sky-600);
  background: rgb(255 255 255 / 0.92);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

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

.movie-card-meta,
.movie-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--neutral-500);
  font-size: 12px;
  font-weight: 800;
}

.movie-card-meta span:first-child {
  color: var(--sky-700, #0369a1);
  background: var(--sky-50);
  padding: 4px 8px;
  border-radius: 999px;
}

.movie-card h3 {
  min-height: 54px;
  margin: 12px 0 8px;
  color: var(--neutral-900);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-tags {
  margin-bottom: 14px;
}

.movie-tags .tag {
  background: var(--neutral-50);
  color: var(--neutral-600);
}

.rank-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: 24px;
  background: var(--neutral-900);
  color: #ffffff;
  box-shadow: 0 30px 70px rgb(15 23 42 / 0.24);
}

.rank-panel .eyebrow {
  background: rgb(56 189 248 / 0.16);
  color: #7dd3fc;
}

.rank-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.rank-item a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-areas:
    "no title"
    "no meta";
  gap: 2px 12px;
  padding: 13px 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.10);
}

.rank-no {
  grid-area: no;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sky-500), var(--emerald-500));
  border-radius: 12px;
  font-weight: 900;
}

.rank-title {
  grid-area: title;
  overflow: hidden;
  color: inherit;
  font-weight: 900;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-meta {
  grid-area: meta;
  overflow: hidden;
  color: rgb(255 255 255 / 0.58);
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-more {
  width: 100%;
  margin-top: 20px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #e0f2fe 0%, #ffffff 55%, #d1fae5 100%);
}

.simple-hero {
  text-align: left;
}

.page-hero h1 {
  margin: 16px 0 14px;
  max-width: 820px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 950;
}

.page-hero p {
  max-width: 760px;
  color: var(--neutral-600);
  font-size: 18px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.16;
  filter: blur(4px) saturate(1.2);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 70px 16px;
}

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

.category-card-cover {
  position: relative;
  display: block;
  min-height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-100), #d1fae5);
}

.category-card-cover img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  opacity: 0.68;
}

.category-card-cover span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: #ffffff;
  font-size: 26px;
  font-weight: 950;
  text-shadow: 0 4px 18px rgb(0 0 0 / 0.28);
}

.category-card-body {
  padding: 20px;
}

.category-card-body p {
  color: var(--neutral-600);
}

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

.category-samples a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--sky-600);
  background: var(--sky-50);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar,
.search-tools {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
}

.filter-bar input {
  max-width: 520px;
}

.search-tools select {
  max-width: 220px;
}

.featured-rank-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 34px;
}

.full-rank-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  color: var(--neutral-900);
}

.full-rank-list .rank-item a {
  border-bottom-color: var(--neutral-200);
}

.full-rank-list .rank-meta {
  color: var(--neutral-500);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background: radial-gradient(circle at top left, rgb(14 165 233 / 0.20), transparent 36%), linear-gradient(135deg, #f8fafc, #ffffff 50%, #ecfdf5);
}

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

.detail-cover {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--sky-100), #d1fae5);
  box-shadow: 0 26px 60px rgb(15 23 42 / 0.16);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--neutral-500);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--sky-600);
}

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 950;
}

.detail-one-line {
  max-width: 840px;
  color: var(--neutral-800);
  font-size: 22px;
  font-weight: 800;
}

.detail-meta,
.detail-genres,
.detail-tags {
  margin-top: 14px;
}

.watch-section {
  padding: 64px 0;
  background: var(--neutral-900);
  color: #ffffff;
}

.watch-head {
  margin-bottom: 22px;
}

.watch-head .eyebrow {
  color: #7dd3fc;
  background: rgb(56 189 248 / 0.14);
}

.watch-head h2 {
  color: #ffffff;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 24px;
  box-shadow: 0 28px 70px rgb(0 0 0 / 0.36);
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.40), rgb(0 0 0 / 0.72));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-play-icon {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--sky-600);
  background: #ffffff;
  font-size: 32px;
  box-shadow: 0 24px 54px rgb(0 0 0 / 0.30);
}

.player-overlay strong {
  max-width: 80%;
  font-size: clamp(20px, 3vw, 34px);
  line-height: 1.2;
}

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

.text-card {
  padding: 26px;
}

.text-card p {
  color: var(--neutral-600);
  font-size: 17px;
}

.site-footer {
  padding: 54px 0 24px;
  color: rgb(255 255 255 / 0.74);
  background: var(--neutral-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: start;
}

.footer-grid p {
  max-width: 620px;
  margin: 14px 0 0;
}

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

.footer-links a {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.06);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.10);
  color: rgb(255 255 255 / 0.48);
  font-size: 14px;
}

[data-movie-card].is-hidden {
  display: none;
}

@media (max-width: 1180px) {
  .header-search {
    display: none;
  }

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

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

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

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

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

  .hero-content,
  .search-band-inner,
  .two-column-layout,
  .detail-layout,
  .detail-text-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 28px;
    padding-top: 34px;
  }

  .hero-poster {
    max-width: 360px;
    margin: 0 auto;
  }

  .rank-panel {
    position: static;
  }

  .category-card-grid,
  .full-rank-list,
  .featured-rank-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container-custom {
    padding: 0 14px;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-carousel,
  .hero-content {
    min-height: 680px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .hero-one-line {
    font-size: 18px;
  }

  .large-search,
  .filter-bar,
  .search-tools,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

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

  .movie-grid,
  .archive-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .movie-card h3 {
    font-size: 16px;
  }

  .movie-card p,
  .movie-tags {
    display: none;
  }

  .detail-cover {
    max-width: 280px;
  }

  .player-shell {
    border-radius: 16px;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .archive-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-tile {
    min-height: 150px;
  }
}
