:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(148, 163, 184, 0.18);
  --muted: #94a3b8;
  --text: #e2e8f0;
  --white: #ffffff;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --gold: #facc15;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 10%, rgba(34, 211, 238, 0.16), transparent 30rem),
    radial-gradient(circle at 92% 2%, rgba(59, 130, 246, 0.18), transparent 32rem),
    linear-gradient(180deg, #020617 0%, #0f172a 46%, #020617 100%);
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #020617;
  box-shadow: 0 12px 34px rgba(34, 211, 238, 0.28);
}

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

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: auto;
  white-space: nowrap;
}

.nav-link {
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
}

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

.header-search input,
.large-search input,
.filter-search input {
  color: var(--white);
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  outline: 0;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 220px;
  height: 42px;
  padding: 0 14px;
}

.header-search input:focus,
.large-search input:focus,
.filter-search input:focus {
  border-color: rgba(34, 211, 238, 0.72);
  box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.header-search button,
.large-search button {
  height: 42px;
  border: 0;
  border-radius: 14px;
  padding: 0 16px;
  color: #03121c;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  font-weight: 800;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.75);
  padding: 10px;
  cursor: pointer;
}

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

.mobile-panel {
  display: none;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
}

.mobile-panel.open {
  display: grid;
  gap: 12px;
}

.hero-slider {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

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

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

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.94) 0%, rgba(2, 6, 23, 0.70) 45%, rgba(2, 6, 23, 0.34) 100%),
    linear-gradient(0deg, rgba(2, 6, 23, 0.96) 0%, transparent 45%);
}

.hero-content {
  position: absolute;
  inset: 0;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 330px;
  gap: 48px;
  align-items: center;
  padding: 88px 0 92px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.hero-copy h1,
.hero-copy .hero-site-title,
.page-hero h1,
.detail-info h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.hero-copy h2 {
  margin: 18px 0 12px;
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: #cbd5e1;
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-meta,
.meta-row,
.detail-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hero-meta span,
.meta-row span,
.detail-meta-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(15, 23, 42, 0.58);
}

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

.primary-button,
.secondary-button,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 16px;
  padding: 0 20px;
  font-weight: 900;
  transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease;
}

.primary-button {
  border: 0;
  color: #03121c;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  cursor: pointer;
}

.secondary-button,
.ghost-link {
  color: var(--white);
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.55);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow);
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.24), rgba(59, 130, 246, 0.08));
}

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

.hero-poster span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #03121c;
  background: var(--gold);
  font-weight: 950;
}

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

.hero-controls button {
  border: 1px solid rgba(148, 163, 184, 0.24);
  color: var(--white);
  background: rgba(15, 23, 42, 0.68);
  cursor: pointer;
}

.hero-controls > button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.4rem;
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  padding: 0;
}

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

.hero-channel-links {
  position: absolute;
  left: 50%;
  bottom: 84px;
  z-index: 4;
  width: min(1200px, calc(100% - 32px));
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-channel-links a,
.quick-tags a,
.sample-links a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.56);
  transition: color 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.hero-channel-links a,
.quick-tags a {
  min-height: 34px;
  padding: 0 13px;
}

.hero-channel-links a:hover,
.quick-tags a:hover,
.sample-links a:hover,
.footer-links a:hover {
  color: var(--cyan);
  border-color: rgba(34, 211, 238, 0.46);
  transform: translateY(-1px);
}

.content-section,
.page-main {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.content-section {
  padding: 58px 0;
}

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

.section-heading.tight {
  margin-bottom: 18px;
}

.section-heading h2,
.category-feature h2,
.article-panel h2,
.footer-grid h2 {
  margin: 0;
  color: var(--white);
  letter-spacing: -0.04em;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.40));
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.18);
  transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 211, 238, 0.44);
  box-shadow: 0 24px 72px rgba(2, 6, 23, 0.38);
}

.poster-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 18%, rgba(34, 211, 238, 0.22), transparent 45%),
    linear-gradient(145deg, #0f172a, #111827);
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.05);
}

.poster-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.9), transparent 58%);
}

.poster-badge,
.poster-rating {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.poster-badge {
  left: 12px;
  top: 12px;
  min-height: 28px;
  padding: 0 10px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.poster-rating {
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  color: #03121c;
  background: var(--gold);
}

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

.movie-card h2 {
  margin: 0 0 10px;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.movie-card h2 a:hover {
  color: var(--cyan);
}

.card-desc {
  min-height: 3.2em;
  margin: 0 0 12px;
  color: #a8b4c7;
  line-height: 1.6;
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-row {
  gap: 6px;
  margin-bottom: 12px;
}

.meta-row span {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 0.76rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  color: #bae6fd;
  font-size: 0.75rem;
  background: rgba(14, 116, 144, 0.18);
  border: 1px solid rgba(34, 211, 238, 0.18);
}

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

.category-feature,
.rank-panel,
.search-card,
.article-panel,
.channel-card,
.filter-panel {
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.58);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.18);
}

.category-feature,
.rank-panel,
.search-card,
.article-panel,
.filter-panel {
  padding: 24px;
}

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

.movie-card.compact .card-desc {
  min-height: 0;
  -webkit-line-clamp: 1;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

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

.rank-list.expanded {
  gap: 12px;
}

.rank-item {
  display: grid;
  grid-template-columns: 46px 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.26);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: transform 0.2s ease, border 0.2s ease;
}

.rank-item:hover {
  transform: translateX(3px);
  border-color: rgba(34, 211, 238, 0.38);
}

.rank-number {
  color: var(--cyan);
  font-size: 1rem;
  font-weight: 950;
}

.rank-cover {
  overflow: hidden;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.22), rgba(59, 130, 246, 0.12));
}

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

.rank-copy {
  min-width: 0;
}

.rank-copy strong,
.rank-copy em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-copy strong {
  color: var(--white);
}

.rank-copy em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  margin-top: 4px;
}

.rank-score {
  color: #03121c;
  background: var(--gold);
  border-radius: 999px;
  padding: 5px 9px;
  font-weight: 950;
}

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

.large-search input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
}

.large-search button {
  min-width: 96px;
  height: 52px;
}

.quick-tags,
.sample-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

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

.sample-links a,
.footer-links a {
  min-height: 30px;
  padding: 0 11px;
  font-size: 0.85rem;
}

.page-main {
  padding-top: 34px;
}

.page-hero {
  margin: 30px 0 22px;
  padding: 52px;
  overflow: hidden;
  border-radius: 32px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at 18% 20%, rgba(34, 211, 238, 0.18), transparent 32rem),
    linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.48));
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 1.05rem;
}

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

.channel-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 20px;
  padding: 18px;
}

.channel-cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.22), rgba(59, 130, 246, 0.12));
}

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

.channel-cover span {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.72);
  font-weight: 900;
}

.channel-card h2 {
  margin: 4px 0 10px;
  color: var(--white);
}

.channel-card p {
  margin: 0 0 16px;
  color: #cbd5e1;
  line-height: 1.7;
}

.filter-panel {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.filter-search input {
  width: 100%;
  height: 52px;
  padding: 0 18px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  color: #cbd5e1;
  background: rgba(2, 6, 23, 0.24);
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: #03121c;
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 28px;
  text-align: center;
  color: #cbd5e1;
  border-radius: var(--radius);
  border: 1px dashed rgba(148, 163, 184, 0.28);
}

.empty-state.show {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 18px 0 22px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--cyan);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
}

.player-shell {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 30px;
  background: #000;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.player-video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  background: #000;
}

.play-toggle {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 94px;
  height: 94px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  color: #03121c;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  box-shadow: 0 20px 70px rgba(34, 211, 238, 0.28);
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.play-toggle:hover {
  transform: translate(-50%, -50%) scale(1.06);
}

.play-toggle.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-icon {
  position: relative;
  left: 3px;
  font-size: 2.1rem;
}

.detail-info {
  padding: 30px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 30px;
  background: rgba(15, 23, 42, 0.62);
}

.detail-info h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.detail-one-line {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 1.05rem;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 22px 0;
}

.detail-meta-grid span {
  justify-content: space-between;
  border-radius: 16px;
}

.detail-meta-grid b {
  margin-right: 8px;
  color: var(--muted);
}

.tag-row.large .tag {
  min-height: 30px;
  font-size: 0.84rem;
}

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

.article-panel h2 {
  margin-bottom: 12px;
}

.article-panel p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.9;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(2, 6, 23, 0.76);
}

.footer-grid {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 44px 0 30px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}

.footer-grid p {
  max-width: 480px;
  color: var(--muted);
  line-height: 1.8;
}

.footer-grid h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-bottom {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  color: #64748b;
  text-align: center;
  font-size: 0.9rem;
}

.poster-frame.poster-empty,
.hero-poster.poster-empty,
.channel-cover.poster-empty,
.rank-cover.poster-empty {
  display: grid;
  place-items: center;
}

.poster-frame.poster-empty::after,
.hero-poster.poster-empty::after,
.channel-cover.poster-empty::after,
.rank-cover.poster-empty::after {
  content: attr(aria-label);
  padding: 18px;
  color: rgba(226, 232, 240, 0.72);
  font-weight: 900;
  text-align: center;
}

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

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

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

  .mobile-menu-button {
    display: block;
  }

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

  .hero-poster {
    display: none;
  }

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

  .category-showcase-grid,
  .channel-grid,
  .detail-copy {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: auto;
    min-height: 68px;
    gap: 12px;
  }

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

  .header-search {
    display: none;
  }

  .hero-slider {
    min-height: 78vh;
  }

  .hero-content {
    padding-top: 80px;
    padding-bottom: 130px;
  }

  .hero-copy h1,
  .hero-copy .hero-site-title {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .hero-copy h2 {
    font-size: clamp(1.6rem, 10vw, 2.6rem);
  }

  .hero-channel-links {
    bottom: 82px;
    max-height: 78px;
    overflow: hidden;
  }

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

  .movie-grid,
  .catalog-grid,
  .mini-grid,
  .side-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

  .card-desc {
    min-height: 0;
    -webkit-line-clamp: 2;
  }

  .page-hero,
  .detail-info,
  .category-feature,
  .rank-panel,
  .search-card,
  .article-panel,
  .filter-panel {
    padding: 22px;
  }

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

  .channel-cover {
    aspect-ratio: 16 / 9;
  }

  .large-search {
    flex-direction: column;
  }

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

  .player-shell,
  .player-video {
    min-height: 240px;
  }

  .play-toggle {
    width: 74px;
    height: 74px;
  }
}

@media (max-width: 480px) {
  .movie-grid,
  .catalog-grid,
  .mini-grid,
  .side-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 38px 50px minmax(0, 1fr);
  }

  .rank-score {
    display: none;
  }
}
