
:root{
  --bg:#070b15;
  --bg2:#0b1220;
  --panel:#0f172a;
  --panel2:#101a30;
  --panel3:#16213a;
  --text:#e5eefc;
  --muted:#93a4c6;
  --soft:#c8d4f0;
  --line:rgba(148,163,184,.16);
  --line2:rgba(103,232,249,.18);
  --accent:#22d3ee;
  --accent2:#60a5fa;
  --accent3:#a78bfa;
  --shadow:0 24px 80px rgba(2,8,23,.48);
  --shadow2:0 12px 40px rgba(15,23,42,.36);
  --radius:26px;
  --radius2:18px;
  --max:1240px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  background:
    radial-gradient(circle at top left, rgba(96,165,250,.18), transparent 28%),
    radial-gradient(circle at top right, rgba(34,211,238,.16), transparent 24%),
    linear-gradient(180deg,#050816 0%, #0a1020 38%, #070b15 100%);
  color:var(--text);
  min-height:100vh;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea,select{font:inherit}
::selection{background:rgba(34,211,238,.25)}
.container{max-width:var(--max);margin:0 auto;padding:0 20px}
.site-shell{position:relative;overflow:hidden}
.site-shell::before,
.site-shell::after{
  content:"";
  position:fixed;
  inset:auto;
  pointer-events:none;
  filter:blur(60px);
  opacity:.28;
  z-index:0;
}
.site-shell::before{
  width:320px;height:320px;left:-120px;top:120px;
  background:radial-gradient(circle, rgba(96,165,250,.65), transparent 60%);
}
.site-shell::after{
  width:260px;height:260px;right:-90px;top:40%;
  background:radial-gradient(circle, rgba(34,211,238,.55), transparent 62%);
}
.topbar{
  position:sticky;
  top:0;
  z-index:60;
  backdrop-filter:blur(20px);
  background:rgba(5,9,20,.74);
  border-bottom:1px solid rgba(148,163,184,.12);
}
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:72px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:.02em;
}
.brand-mark{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg, rgba(34,211,238,.9), rgba(96,165,250,.85));
  box-shadow:0 12px 30px rgba(34,211,238,.26);
  color:#fff;
  position:relative;
  overflow:hidden;
}
.brand-mark::after{
  content:"";
  position:absolute;inset:-30%;
  background:linear-gradient(135deg, transparent 30%, rgba(255,255,255,.32) 50%, transparent 70%);
  transform:rotate(20deg) translateX(-40%);
}
.brand-text{
  font-size:1.05rem;
  background:linear-gradient(90deg,#c8f8ff,#7dd3fc 45%,#c4b5fd 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.nav-links a{
  color:var(--soft);
  padding:10px 14px;
  border-radius:999px;
  transition:all .2s ease;
}
.nav-links a:hover,
.nav-links a.active{
  color:#fff;
  background:rgba(148,163,184,.12);
}
.nav-right{
  display:flex;
  align-items:center;
  gap:12px;
}
.search-pill{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border:1px solid rgba(148,163,184,.18);
  border-radius:999px;
  background:rgba(15,23,42,.62);
  min-width:240px;
}
.search-pill input{
  background:transparent;
  border:none;
  outline:none;
  color:#fff;
  width:100%;
}
.search-pill input::placeholder{color:#7890b3}
.icon-btn,
.ghost-btn,
.primary-btn{
  border:none;
  border-radius:999px;
  padding:11px 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  cursor:pointer;
  transition:transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.icon-btn{
  background:rgba(148,163,184,.12);
  color:#fff;
  border:1px solid rgba(148,163,184,.18);
}
.icon-btn:hover,
.ghost-btn:hover,
.primary-btn:hover{transform:translateY(-1px)}
.primary-btn{
  color:#04111e;
  background:linear-gradient(135deg, #6ee7ff, #60a5fa 55%, #a78bfa);
  box-shadow:0 16px 36px rgba(96,165,250,.28);
  font-weight:800;
}
.ghost-btn{
  color:#fff;
  background:rgba(15,23,42,.5);
  border:1px solid rgba(148,163,184,.18);
}
.mobile-toggle{display:none}
.mobile-menu{
  display:none;
  border-top:1px solid rgba(148,163,184,.12);
  padding:14px 0 18px;
}
.mobile-menu .search-pill{min-width:0;width:100%;margin-bottom:12px}
.mobile-menu a{
  display:block;
  padding:12px 0;
  color:var(--soft);
}

.hero{
  position:relative;
  z-index:1;
  padding:30px 0 12px;
}
.hero-panel{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(148,163,184,.16);
  background:
    linear-gradient(135deg, rgba(15,23,42,.96), rgba(11,18,32,.84)),
    radial-gradient(circle at top right, rgba(96,165,250,.22), transparent 30%),
    radial-gradient(circle at bottom left, rgba(34,211,238,.16), transparent 28%);
  border-radius:32px;
  box-shadow:var(--shadow);
}
.hero-slider{
  position:relative;
  min-height:560px;
}
.hero-slide{
  position:absolute;
  inset:0;
  padding:36px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:26px;
  opacity:0;
  transform:translateY(14px);
  pointer-events:none;
  transition:opacity .55s ease, transform .55s ease;
}
.hero-slide.active{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.hero-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
  padding:28px 8px 28px 18px;
}
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#d8f7ff;
  background:rgba(34,211,238,.1);
  border:1px solid rgba(103,232,249,.18);
  border-radius:999px;
  width:max-content;
  padding:8px 14px;
}
.hero-title{
  margin:0;
  font-size:clamp(2.1rem, 4vw, 4.4rem);
  line-height:1.02;
  letter-spacing:-.03em;
}
.hero-title span{
  display:block;
  background:linear-gradient(90deg, #ffffff, #9fe8ff 45%, #c4b5fd 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-desc{
  margin:0;
  color:var(--muted);
  max-width:62ch;
  font-size:1.02rem;
  line-height:1.85;
}
.hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.stat-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(148,163,184,.08);
  border:1px solid rgba(148,163,184,.14);
  color:#dbe6fb;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:4px;
}
.hero-right{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px 10px 18px 0;
}
.hero-feature{
  width:100%;
  height:100%;
  min-height:470px;
  border-radius:28px;
  border:1px solid rgba(148,163,184,.16);
  background:
    linear-gradient(160deg, rgba(2,6,23,.1), rgba(15,23,42,.45)),
    radial-gradient(circle at top right, rgba(96,165,250,.18), transparent 25%),
    radial-gradient(circle at bottom left, rgba(34,211,238,.16), transparent 28%);
  box-shadow:var(--shadow2);
  overflow:hidden;
  position:relative;
  padding:20px;
}
.hero-feature::before{
  content:"";
  position:absolute;
  inset:-10% -8% auto auto;
  width:240px;height:240px;
  background:radial-gradient(circle, rgba(255,255,255,.18), transparent 60%);
  pointer-events:none;
}
.hero-feature-card{
  position:relative;
  z-index:1;
  border-radius:24px;
  overflow:hidden;
  background:rgba(7,11,21,.74);
  border:1px solid rgba(148,163,184,.14);
  box-shadow:0 18px 40px rgba(2,8,23,.34);
  display:grid;
  grid-template-columns:1fr;
  height:100%;
}
.poster{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.22), transparent 20%),
    linear-gradient(135deg, var(--c1), var(--c2));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
}
.poster::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.2), transparent 18%),
    radial-gradient(circle at 18% 80%, rgba(255,255,255,.12), transparent 20%),
    linear-gradient(160deg, rgba(255,255,255,.06), rgba(0,0,0,.2));
  mix-blend-mode:screen;
  pointer-events:none;
}
.poster-inner{
  position:relative;
  z-index:1;
  height:100%;
  min-height:100%;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:18px;
}
.poster-top{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.poster-badge,
.poster-year,
.poster-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 10px;
  border-radius:999px;
  font-size:.8rem;
  background:rgba(8,15,28,.28);
  color:#fff;
  border:1px solid rgba(255,255,255,.14);
  backdrop-filter:blur(10px);
}
.poster-title{
  font-size:1.9rem;
  font-weight:900;
  line-height:1.05;
  max-width:10ch;
  text-wrap:balance;
  margin:0;
}
.poster-sub{
  margin:0;
  color:rgba(255,255,255,.86);
  line-height:1.65;
  max-width:24ch;
}
.poster-bottom{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.poster-bottom .poster-tag{background:rgba(15,23,42,.45)}
.hero-mini-list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:16px;
}
.mini-card{
  border-radius:18px;
  padding:14px;
  border:1px solid rgba(148,163,184,.14);
  background:rgba(15,23,42,.55);
  box-shadow:var(--shadow2);
}
.mini-card h3{
  margin:0 0 8px;
  font-size:.98rem;
  line-height:1.35;
}
.mini-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  font-size:.92rem;
}
.hero-controls{
  position:absolute;
  right:22px;
  bottom:18px;
  z-index:3;
  display:flex;
  align-items:center;
  gap:8px;
}
.dot{
  width:10px;height:10px;border-radius:50%;
  border:none;
  background:rgba(148,163,184,.35);
  cursor:pointer;
}
.dot.active{background:linear-gradient(135deg,#6ee7ff,#a78bfa);transform:scale(1.2)}
.section{
  position:relative;
  z-index:1;
  padding:26px 0 10px;
}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:18px;
  margin-bottom:18px;
}
.section-title{
  margin:0;
  font-size:clamp(1.4rem, 2.2vw, 2.15rem);
  letter-spacing:-.02em;
}
.section-sub{
  margin:10px 0 0;
  color:var(--muted);
  line-height:1.75;
  max-width:72ch;
}
.section-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.pill-link{
  padding:9px 13px;
  border-radius:999px;
  background:rgba(148,163,184,.08);
  border:1px solid rgba(148,163,184,.14);
  color:#dfe8fb;
  transition:.2s ease;
}
.pill-link:hover{background:rgba(103,232,249,.12);border-color:rgba(103,232,249,.24)}
.grid-hero,
.grid-list{
  display:grid;
  gap:18px;
}
.grid-list{grid-template-columns:repeat(4,minmax(0,1fr))}
.card{
  display:flex;
  flex-direction:column;
  gap:12px;
  height:100%;
  border-radius:24px;
  border:1px solid rgba(148,163,184,.14);
  background:linear-gradient(180deg, rgba(15,23,42,.85), rgba(15,23,42,.62));
  box-shadow:var(--shadow2);
  overflow:hidden;
  transition:transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.card:hover{
  transform:translateY(-4px);
  border-color:rgba(103,232,249,.24);
  box-shadow:0 18px 44px rgba(2,8,23,.42);
}
.card .poster{
  border-radius:0;
  aspect-ratio:16/10;
}
.card-body{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding:2px 16px 18px;
}
.meta-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:.86rem;
}
.meta-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(148,163,184,.08);
  border:1px solid rgba(148,163,184,.12);
  color:#dbe6fb;
}
.card h3{
  margin:0;
  font-size:1.02rem;
  line-height:1.4;
}
.clamp-2,.clamp-3,.clamp-4{
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
}
.clamp-2{-webkit-line-clamp:2}
.clamp-3{-webkit-line-clamp:3}
.clamp-4{-webkit-line-clamp:4}
.card p{margin:0;color:var(--muted);line-height:1.72;font-size:.94rem}
.tag-row{display:flex;flex-wrap:wrap;gap:8px}
.tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 10px;
  border-radius:999px;
  background:rgba(96,165,250,.1);
  color:#dff7ff;
  border:1px solid rgba(103,232,249,.14);
  font-size:.82rem;
}
.link-more{
  color:#a5f3fc;
  font-weight:700;
}
.breadcrumb{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  color:var(--muted);
  margin:0 0 16px;
  font-size:.92rem;
}
.breadcrumb a{color:#dbeafe}
.hero-banner{
  border-radius:30px;
  border:1px solid rgba(148,163,184,.16);
  background:linear-gradient(135deg, rgba(15,23,42,.92), rgba(7,11,21,.86));
  box-shadow:var(--shadow);
  padding:24px;
  overflow:hidden;
}
.hero-banner .title-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:16px;
}
.hero-banner h1{
  margin:0;
  font-size:clamp(1.9rem,3.4vw,3rem);
  line-height:1.08;
}
.hero-banner p{color:var(--muted);line-height:1.75}
.hero-banner .banner-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.layout{
  display:grid;
  grid-template-columns:1fr 330px;
  gap:22px;
  align-items:start;
}
.panel{
  border-radius:28px;
  border:1px solid rgba(148,163,184,.14);
  background:linear-gradient(180deg, rgba(15,23,42,.88), rgba(15,23,42,.62));
  box-shadow:var(--shadow2);
  overflow:hidden;
}
.panel-pad{padding:22px}
.movie-meta-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px 14px;
  margin-top:16px;
}
.meta-box{
  padding:14px;
  border-radius:18px;
  background:rgba(148,163,184,.06);
  border:1px solid rgba(148,163,184,.12);
}
.meta-box strong{display:block;margin-bottom:4px;color:#fff}
.player-wrap{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.player-stage{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  background:#000;
  border:1px solid rgba(148,163,184,.14);
  box-shadow:var(--shadow2);
}
.player-stage video{
  width:100%;
  display:block;
  aspect-ratio:16/9;
  background:#000;
}
.player-overlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:linear-gradient(180deg, rgba(2,6,23,.08), rgba(2,6,23,.38));
  transition:opacity .2s ease, visibility .2s ease;
}
.player-overlay.hidden{opacity:0;visibility:hidden}
.play-bubble{
  width:92px;height:92px;border-radius:50%;
  display:grid;place-items:center;
  border:none;
  cursor:pointer;
  background:linear-gradient(135deg, #6ee7ff, #60a5fa 60%, #a78bfa);
  box-shadow:0 18px 50px rgba(96,165,250,.35);
}
.play-bubble svg{width:32px;height:32px;color:#04111e;margin-left:4px}
.player-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.player-status{
  color:#b9c7e4;
  font-size:.92rem;
  line-height:1.6;
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
.footer{
  margin-top:42px;
  border-top:1px solid rgba(148,163,184,.12);
  background:rgba(5,9,20,.82);
  position:relative;
  z-index:1;
}
.footer-inner{
  padding:28px 0 34px;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.footer-top{
  display:flex;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  align-items:flex-start;
}
.footer p{margin:0;color:var(--muted);line-height:1.8}
.footer-links{display:flex;gap:10px;flex-wrap:wrap}
.footer-links a{
  padding:8px 12px;
  border-radius:999px;
  background:rgba(148,163,184,.08);
  border:1px solid rgba(148,163,184,.12);
  color:#dbeafe;
}
.catalog-tools{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  margin:8px 0 18px;
}
.select{
  min-width:170px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.18);
  background:rgba(15,23,42,.62);
  color:#fff;
  outline:none;
}
.notice{
  padding:14px 16px;
  border-radius:18px;
  background:rgba(34,211,238,.08);
  border:1px solid rgba(103,232,249,.12);
  color:#d9fbff;
  line-height:1.7;
}
.search-page{
  display:grid;
  gap:18px;
}
.search-field{
  display:flex;
  gap:10px;
}
.search-field input{
  flex:1;
  border-radius:999px;
  padding:14px 16px;
  border:1px solid rgba(148,163,184,.16);
  background:rgba(15,23,42,.7);
  color:#fff;
  outline:none;
}
.search-result-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
  flex-wrap:wrap;
}
.result-count{color:#c7d2fe}
.toplist{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.topitem{
  display:grid;
  grid-template-columns:72px 1fr auto;
  gap:14px;
  align-items:center;
  padding:14px;
  border-radius:20px;
  border:1px solid rgba(148,163,184,.12);
  background:rgba(15,23,42,.7);
}
.rank-num{
  width:48px;height:48px;border-radius:16px;
  display:grid;place-items:center;
  font-weight:900;
  color:#fff;
  background:linear-gradient(135deg, rgba(34,211,238,.82), rgba(96,165,250,.72));
}
.topitem h3{margin:0 0 6px;font-size:1rem}
.topitem p{margin:0;color:var(--muted);line-height:1.6;font-size:.92rem}
.topitem .actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.small-link{
  padding:8px 11px;
  border-radius:999px;
  background:rgba(148,163,184,.08);
  border:1px solid rgba(148,163,184,.12);
  color:#dbeafe;
  font-size:.9rem;
}
.mobile-only{display:none}

@media (max-width: 1120px){
  .grid-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  .layout{grid-template-columns:1fr}
  .hero-slide{grid-template-columns:1fr}
  .hero-right{padding:0 0 0 8px}
}
@media (max-width: 860px){
  .nav-links,.nav-right .search-pill{display:none}
  .mobile-toggle{display:inline-flex}
  .mobile-menu.open{display:block}
  .hero-panel{border-radius:26px}
  .hero-slider{min-height:auto}
  .hero-slide{position:relative;opacity:1;transform:none;pointer-events:auto;padding:24px}
  .hero-controls{position:static;padding:0 24px 18px;justify-content:flex-start}
  .hero-mini-list{grid-template-columns:1fr}
  .grid-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .topitem{grid-template-columns:56px 1fr}
  .topitem .actions{grid-column:1 / -1;justify-content:flex-start}
}
@media (max-width: 640px){
  .container{padding:0 14px}
  .hero{padding-top:18px}
  .hero-slide{padding:18px}
  .hero-copy{padding:10px 0 0}
  .hero-title{font-size:2rem}
  .hero-feature{min-height:auto}
  .grid-list{grid-template-columns:1fr}
  .related-grid{grid-template-columns:1fr}
  .movie-meta-grid{grid-template-columns:1fr}
  .section-head,.hero-banner .title-row,.footer-top{flex-direction:column;align-items:flex-start}
  .search-field{flex-direction:column}
  .search-page .primary-btn,.search-page .ghost-btn{width:100%}
}
