
:root {
  --bg: #07111f;
  --bg-soft: #0b1726;
  --panel: rgba(10, 21, 36, 0.78);
  --panel-2: rgba(16, 28, 46, 0.9);
  --line: rgba(148, 163, 184, 0.18);
  --text: #e5eefb;
  --muted: #8ea0bb;
  --brand: #38bdf8;
  --brand-2: #2dd4bf;
  --brand-3: #8b5cf6;
  --warn: #f59e0b;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", PingFang SC, "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 30%),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.13), transparent 24%),
    linear-gradient(180deg, #07111f 0%, #08111d 40%, #050b14 100%);
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0.82));
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  color: #fff; font-size: 20px; font-weight: 900;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 30px rgba(56, 189, 248, 0.35);
}
.brand-text {
  font-size: 1.08rem;
  line-height: 1.1;
  background: linear-gradient(90deg, #fff, #c8f2ff 35%, #9df0e5 70%, #c8f2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand-sub {
  display: block;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 600;
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #d7e4f8;
  font-weight: 600;
  font-size: .96rem;
  opacity: .88;
}
.nav-links a:hover { color: #fff; opacity: 1; }

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(520px, 100%);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(8, 15, 26, 0.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.search-bar input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  min-width: 0;
}
.search-bar input::placeholder { color: #7f93b3; }
.search-bar button, .btn {
  border: 0;
  outline: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 18px;
  color: #04111d;
  font-weight: 800;
  background: linear-gradient(135deg, #8be6ff, #7cf6df);
  box-shadow: 0 12px 26px rgba(56, 189, 248, 0.16);
}
.search-bar button:hover, .btn:hover { transform: translateY(-1px); }
.btn.secondary {
  background: linear-gradient(135deg, rgba(59, 130, 246, .2), rgba(45, 212, 191, .2));
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, .2);
}
.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, .18);
}

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .8);
  color: var(--text);
}

.hero {
  padding: 26px 0 8px;
}
.hero-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    linear-gradient(135deg, rgba(56, 189, 248, .20), rgba(45, 212, 191, .10) 35%, rgba(15, 23, 42, .92) 62%),
    radial-gradient(circle at right top, rgba(139, 92, 246, .18), transparent 28%);
  box-shadow: var(--shadow);
}
.hero-shell::before,
.hero-shell::after {
  content: '';
  position: absolute;
  inset: auto auto 0 0;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, .15), transparent 68%);
  transform: translate(-36%, 38%);
  pointer-events: none;
}
.hero-shell::after {
  inset: 0 0 auto auto;
  width: 360px; height: 360px;
  transform: translate(32%, -28%);
  background: radial-gradient(circle, rgba(45, 212, 191, .12), transparent 65%);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 24px;
  padding: 30px;
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 390px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  color: #dbf8ff;
  background: rgba(8, 17, 28, .4);
  border: 1px solid rgba(148, 163, 184, .18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
  font-size: .9rem;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: .96;
  letter-spacing: -.03em;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #ffffff, #8be6ff 35%, #7cf6df 65%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p {
  margin: 0;
  color: #d8e3f5;
  font-size: 1.02rem;
  line-height: 1.85;
  max-width: 62ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(7, 17, 31, .48);
  border: 1px solid rgba(148, 163, 184, .14);
}
.stat b {
  display: block;
  font-size: 1.18rem;
  color: #fff;
  margin-bottom: 6px;
}
.stat span { color: var(--muted); font-size: .88rem; }

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 24px;
  background: rgba(7, 17, 31, .56);
  border: 1px solid rgba(148, 163, 184, .14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.poster {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 250px;
  padding: 18px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
}
.poster::after {
  content: '';
  position: absolute;
  inset: auto -18% -16% auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,.11);
  filter: blur(4px);
}
.poster-top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}
.poster h2, .poster h3 {
  position: relative; z-index: 1;
  margin: 16px 0 8px;
  font-size: 1.55rem;
  line-height: 1.15;
}
.poster p {
  position: relative; z-index: 1;
  margin: 0;
  color: rgba(255,255,255,.92);
  line-height: 1.7;
  font-size: .95rem;
}
.poster .poster-meta {
  position: relative; z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 17, 28, .34);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
}

.section {
  padding: 18px 0 12px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.section-title {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.1;
}
.section-title small {
  display: block;
  font-size: .86rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 8px;
}
.section-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.small-input {
  min-width: min(330px, 100%);
  padding: 12px 16px;
  border-radius: 999px;
  outline: none;
  border: 1px solid rgba(148,163,184,.18);
  background: rgba(7,17,31,.55);
  color: var(--text);
}
.small-input::placeholder { color: #8091ac; }

.grid {
  display: grid;
  gap: 16px;
}
.grid.cards-6 { grid-template-columns: repeat(6, minmax(0,1fr)); }
.grid.cards-5 { grid-template-columns: repeat(5, minmax(0,1fr)); }
.grid.cards-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid.cards-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.cards-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }

.movie-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border-radius: 22px;
  border: 1px solid rgba(148,163,184,.14);
  background: linear-gradient(180deg, rgba(13,24,40,.95), rgba(7,14,24,.95));
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.movie-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,230,255,.32);
  box-shadow: 0 24px 48px rgba(0,0,0,.30);
}
.movie-card .thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  overflow: hidden;
}
.movie-card .thumb::before {
  content: '';
  position: absolute;
  inset: auto -10% -16% auto;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.09);
}
.movie-card .thumb::after {
  content: '▶';
  position: absolute;
  left: 16px; bottom: 16px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(8,17,31,.38);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  color: #fff;
}
.movie-card .content {
  padding: 14px 14px 16px;
}
.movie-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
}
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: .84rem;
  margin-bottom: 8px;
}
.meta-line span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(148,163,184,.08);
  border: 1px solid rgba(148,163,184,.12);
}
.movie-card p {
  margin: 0;
  color: #c7d5ea;
  line-height: 1.62;
  font-size: .9rem;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.tag {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(56,189,248,.09);
  color: #bfefff;
  font-size: .76rem;
  border: 1px solid rgba(56,189,248,.12);
}

.panel {
  border-radius: 24px;
  background: rgba(7, 17, 31, .66);
  border: 1px solid rgba(148,163,184,.14);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-inner { padding: 18px; }

.two-col {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}
.table th, .table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(148,163,184,.12);
  vertical-align: top;
}
.table th { width: 130px; color: #d7e4f8; font-weight: 700; }
.table td { color: #c4d2e6; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 14px;
}
.breadcrumb a { color: #d8ebff; }

.player-wrap {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 16px;
  align-items: start;
}
.player-box {
  border-radius: 24px;
  overflow: hidden;
  background: #020817;
  border: 1px solid rgba(148,163,184,.16);
  box-shadow: 0 22px 40px rgba(0,0,0,.32);
}
.player-box video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #020817;
}
.player-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px;
  border-top: 1px solid rgba(148,163,184,.12);
  background: rgba(7,17,31,.92);
}
.player-bar .btn { padding: 9px 14px; }

.notice {
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, .24);
  background: rgba(245, 158, 11, .08);
  color: #ffe2a8;
  line-height: 1.7;
  font-size: .92rem;
}

.footer {
  margin-top: 28px;
  border-top: 1px solid rgba(148,163,184,.14);
  background: linear-gradient(180deg, rgba(7,17,31,.1), rgba(7,17,31,.95));
}
.footer-inner {
  padding: 28px 0 34px;
  display: grid;
  gap: 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: #d3e0f3;
}
.footer small, .footer p { color: var(--muted); line-height: 1.8; }

.hide { display: none !important; }

@media (max-width: 1200px) {
  .grid.cards-6 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid.cards-5 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid.cards-4 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .two-col, .player-wrap, .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { min-height: auto; }
  .search-bar { min-width: 280px; }
}

@media (max-width: 860px) {
  .navbar { flex-wrap: wrap; padding: 12px 0; }
  .nav-links { display: none; width: 100%; padding: 10px 0 0; }
  .nav-links.open { display: flex; }
  .search-bar { width: 100%; order: 3; }
  .menu-btn { display: inline-grid; place-items: center; }
  .hero-grid { padding: 18px; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid.cards-6, .grid.cards-5, .grid.cards-4, .grid.cards-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 20px), var(--container)); }
  .grid.cards-6, .grid.cards-5, .grid.cards-4, .grid.cards-3, .grid.cards-2 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .search-bar { flex-direction: column; border-radius: 22px; }
  .search-bar button, .btn { width: 100%; }
}
