:root{
  --bg:#070b16;
  --bg-2:#0b1020;
  --panel:rgba(15,23,42,.78);
  --panel-2:rgba(17,24,39,.94);
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(255,255,255,.14);
  --text:#e5e7eb;
  --muted:#94a3b8;
  --soft:#cbd5e1;
  --accent:#f97316;
  --accent-2:#fb923c;
  --shadow:0 20px 60px rgba(0,0,0,.35);
  --radius:22px;
  --radius-sm:16px;
  --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",Roboto,"Helvetica Neue",Arial,"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(249,115,22,.18), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(59,130,246,.14), transparent 20%),
    linear-gradient(180deg, #050816 0%, #090d1b 42%, #060913 100%);
  min-height:100vh;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,select{font:inherit}
::selection{background:rgba(249,115,22,.28)}
.container{width:min(100% - 32px, var(--container)); margin-inline:auto}
.shell{position:relative; overflow:hidden}
.shell::before,.shell::after{
  content:""; position:fixed; inset:auto; pointer-events:none; z-index:-1;
  width:520px; height:520px; border-radius:50%; filter:blur(70px); opacity:.15;
}
.shell::before{left:-120px; top:120px; background:#f97316}
.shell::after{right:-180px; bottom:-60px; background:#3b82f6}
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(18px);
  background:linear-gradient(180deg, rgba(6,9,19,.96), rgba(6,9,19,.72));
  border-bottom:1px solid var(--line);
}
.header-inner{
  height:76px; display:flex; align-items:center; gap:18px; justify-content:space-between;
}
.brand{
  display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.4px;
}
.brand__logo{
  width:44px; height:44px; border-radius:14px; display:grid; place-items:center;
  background:linear-gradient(135deg, rgba(249,115,22,.95), rgba(251,146,60,.68));
  box-shadow:0 12px 26px rgba(249,115,22,.25);
  color:white; font-size:20px;
}
.brand__text{display:flex; flex-direction:column; line-height:1.05}
.brand__text strong{font-size:18px}
.brand__text span{font-size:12px; color:var(--muted); font-weight:500}
.nav{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.nav a{
  padding:10px 14px; border-radius:999px; color:var(--soft); border:1px solid transparent;
  transition:.22s ease; font-size:14px;
}
.nav a:hover,.nav a.active{background:rgba(255,255,255,.04); border-color:var(--line-strong); color:#fff; transform:translateY(-1px)}
.header-actions{display:flex; align-items:center; gap:10px}
.top-search{
  width:min(340px, 32vw);
  display:flex; align-items:center; gap:10px;
  background:rgba(255,255,255,.04); border:1px solid var(--line);
  border-radius:999px; padding:10px 14px;
}
.top-search input{
  background:none;border:0;outline:none;color:#fff;width:100%;
}
.top-search svg{flex:none;opacity:.7}
.button{
  display:inline-flex; align-items:center; gap:10px; justify-content:center;
  border:0; cursor:pointer; border-radius:999px; padding:12px 18px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff; font-weight:700; box-shadow:0 14px 32px rgba(249,115,22,.28);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.button:hover{transform:translateY(-1px); filter:saturate(1.05); box-shadow:0 18px 40px rgba(249,115,22,.35)}
.button--ghost{
  background:rgba(255,255,255,.05); box-shadow:none; border:1px solid var(--line);
}
.button--ghost:hover{background:rgba(255,255,255,.08)}
.hero{
  padding:28px 0 18px;
}
.hero__grid{
  display:grid; grid-template-columns:1.25fr .75fr; gap:22px;
}
.panel{
  background:linear-gradient(180deg, rgba(17,24,39,.88), rgba(15,23,42,.82));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-main{
  position:relative;
  padding:32px;
  min-height:340px;
}
.hero-main::before{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(circle at 18% 20%, rgba(249,115,22,.22), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(59,130,246,.16), transparent 20%),
    radial-gradient(circle at 70% 92%, rgba(16,185,129,.12), transparent 20%);
  pointer-events:none;
}
.hero-kicker{
  display:inline-flex; align-items:center; gap:8px; padding:8px 12px;
  border-radius:999px; background:rgba(249,115,22,.12); border:1px solid rgba(249,115,22,.25);
  color:#fed7aa; font-size:13px; font-weight:700;
}
.hero h1{
  margin:16px 0 10px; font-size:clamp(32px, 4vw, 58px); line-height:1.02;
  letter-spacing:-.03em;
}
.hero p{
  margin:0; max-width:64ch; color:var(--soft); line-height:1.8; font-size:15px;
}
.hero-meta{
  display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 22px;
}
.pill{
  display:inline-flex; align-items:center; gap:8px; padding:9px 12px; border-radius:999px;
  background:rgba(255,255,255,.05); border:1px solid var(--line);
  color:#fff; font-size:13px;
}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.hero-grid-spot{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
  padding:14px;
}
.spot-card{
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  border-radius:18px; overflow:hidden;
  transition:.22s ease;
}
.spot-card:hover{transform:translateY(-2px); border-color:rgba(249,115,22,.38)}
.spot-card__cover{
  aspect-ratio: 16 / 10; display:block; width:100%;
  object-fit:cover;
}
.spot-card__body{padding:12px 12px 14px}
.spot-card__body h3{margin:0 0 6px; font-size:15px; line-height:1.35}
.spot-card__body p{margin:0; font-size:13px; color:var(--muted); line-height:1.6}
.side-stack{display:grid; gap:14px}
.side-panel{padding:18px}
.side-title{
  margin:0 0 10px; font-size:16px;
}
.side-list{display:grid; gap:10px}
.side-item{
  display:grid; grid-template-columns:auto 1fr; gap:12px; align-items:center;
  padding:10px; border-radius:16px; background:rgba(255,255,255,.03); border:1px solid transparent;
}
.side-item:hover{border-color:var(--line-strong); background:rgba(255,255,255,.05)}
.side-item__num{
  width:40px; height:40px; border-radius:14px; display:grid; place-items:center;
  background:rgba(249,115,22,.12); color:#fdba74; font-weight:800;
}
.side-item__title{font-weight:700; font-size:14px; margin:0}
.side-item__meta{font-size:12px; color:var(--muted); margin-top:4px}
.section{padding:18px 0 6px}
.section__head{
  display:flex; justify-content:space-between; align-items:end; gap:16px; margin-bottom:14px;
}
.section__head h2{margin:0; font-size:22px}
.section__head p{margin:0; color:var(--muted); font-size:14px; line-height:1.65}
.section__tools{display:flex; align-items:center; gap:10px; flex-wrap:wrap}
.search-box{
  display:flex; align-items:center; gap:10px; min-width:min(520px, 100%);
  background:rgba(255,255,255,.04); border:1px solid var(--line);
  border-radius:999px; padding:11px 14px;
}
.search-box input{background:none; border:0; outline:none; color:#fff; width:100%}
.chips{display:flex; gap:10px; flex-wrap:wrap}
.chip{
  border:1px solid var(--line); background:rgba(255,255,255,.03); color:var(--soft);
  padding:9px 12px; border-radius:999px; cursor:pointer; transition:.2s ease;
}
.chip:hover,.chip.active{border-color:rgba(249,115,22,.35); background:rgba(249,115,22,.12); color:#fff}
.grid{
  display:grid; gap:14px;
}
.movie-grid{
  grid-template-columns:repeat(6, minmax(0, 1fr));
}
.movie-grid--4{grid-template-columns:repeat(4, minmax(0, 1fr))}
.movie-card{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  box-shadow:0 10px 28px rgba(0,0,0,.16);
}
.movie-card:hover{
  transform:translateY(-3px);
  border-color:rgba(249,115,22,.32);
  box-shadow:0 18px 36px rgba(0,0,0,.28);
}
.movie-card__cover{
  aspect-ratio: 2 / 3;
  width:100%;
  object-fit:cover;
  background:#111827;
}
.movie-card__body{padding:12px}
.movie-card__title{
  margin:0 0 6px; font-size:14px; line-height:1.35; min-height:38px;
}
.movie-card__meta{
  display:flex; justify-content:space-between; gap:10px; color:var(--muted);
  font-size:12px; margin-bottom:10px;
}
.movie-card__tags{display:flex; gap:6px; flex-wrap:wrap}
.tag{
  display:inline-flex; align-items:center; max-width:100%;
  padding:4px 8px; border-radius:999px; background:rgba(255,255,255,.05);
  color:#cbd5e1; font-size:11px; border:1px solid rgba(255,255,255,.06);
}
.movie-card__actions{
  display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:12px;
}
.text-link{color:#fdba74; font-weight:700; font-size:13px}
.text-link:hover{color:#fff}
.section-panel{padding:18px}
.muted{color:var(--muted)}
.footer{
  margin-top:26px; padding:22px 0 40px; color:var(--muted); font-size:13px;
}
.footer .panel{padding:18px}
.category-grid{
  grid-template-columns:repeat(5, minmax(0, 1fr));
}
.category-card{
  padding:18px; border-radius:20px; border:1px solid var(--line); background:rgba(255,255,255,.03);
  transition:.2s ease;
}
.category-card:hover{transform:translateY(-2px); border-color:rgba(249,115,22,.35)}
.category-card h3{margin:0 0 6px; font-size:17px}
.category-card p{margin:0; color:var(--muted); font-size:13px; line-height:1.7}
.category-card .small{margin-top:12px; color:#fed7aa; font-weight:700}
.breadcrumb{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
  color:var(--muted); font-size:13px; margin:0 0 16px;
}
.breadcrumb a{color:#fff}
.detail-grid{
  display:grid; grid-template-columns:360px 1fr; gap:18px;
}
.detail-cover{
  padding:16px;
}
.detail-cover img{
  width:100%; aspect-ratio: 2 / 3; object-fit:cover; border-radius:18px; border:1px solid var(--line);
}
.detail-cover__actions{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap}
.detail-main{padding:18px}
.detail-title{margin:0 0 10px; font-size:30px; line-height:1.18}
.detail-lead{font-size:15px; color:#dbe4f0; line-height:1.9}
.stats-row{display:flex; gap:10px; flex-wrap:wrap; margin:16px 0 0}
.stat{
  padding:10px 12px; border-radius:14px; background:rgba(255,255,255,.04); border:1px solid var(--line);
  color:var(--soft); font-size:13px;
}
.panel-block{padding:18px}
.panel-block h3{margin:0 0 12px; font-size:18px}
.panel-block p{margin:0; color:var(--soft); line-height:1.9}
.player-wrap{
  position:relative; overflow:hidden; border-radius:20px; border:1px solid var(--line);
  background:#050816;
}
.player-wrap video{
  width:100%; display:block; background:#000; aspect-ratio:16/9;
}
.player-overlay{
  position:absolute; inset:0; display:grid; place-items:center;
  background:
    radial-gradient(circle at 50% 45%, rgba(249,115,22,.18), transparent 26%),
    linear-gradient(180deg, rgba(5,8,22,.5), rgba(5,8,22,.92));
  transition:opacity .25s ease;
}
.player-overlay.hidden{opacity:0; pointer-events:none}
.player-play{
  width:84px; height:84px; border-radius:50%; border:0; cursor:pointer;
  background:linear-gradient(135deg, rgba(249,115,22,.98), rgba(251,146,60,.68));
  color:#fff; font-size:26px; box-shadow:0 20px 42px rgba(249,115,22,.3);
}
.player-note{
  position:absolute; left:16px; bottom:16px; color:#cbd5e1; font-size:12px;
  background:rgba(15,23,42,.72); padding:8px 10px; border-radius:999px; border:1px solid var(--line);
}
.related-grid{grid-template-columns:repeat(6, minmax(0, 1fr))}
.empty{
  padding:24px; text-align:center; color:var(--muted); border:1px dashed var(--line);
  border-radius:20px; background:rgba(255,255,255,.02);
}
.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  position:fixed; left:16px; top:16px; width:auto; height:auto; z-index:100; background:#fff; color:#000; padding:10px 14px; border-radius:12px;
}
@media (max-width: 1180px){
  .hero__grid,.detail-grid{grid-template-columns:1fr}
  .movie-grid{grid-template-columns:repeat(4, minmax(0, 1fr))}
  .related-grid{grid-template-columns:repeat(4, minmax(0, 1fr))}
  .category-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}
  .top-search{width:280px}
}
@media (max-width: 760px){
  .header-inner{height:auto; padding:14px 0; flex-wrap:wrap}
  .nav{order:3; width:100%}
  .nav a{padding:8px 10px}
  .header-actions{width:100%; justify-content:space-between}
  .top-search{width:100%; min-width:0}
  .hero{padding-top:18px}
  .hero-main{padding:22px}
  .hero-grid-spot{grid-template-columns:1fr}
  .section__head{flex-direction:column; align-items:flex-start}
  .movie-grid,.movie-grid--4,.related-grid,.category-grid{grid-template-columns:repeat(2, minmax(0, 1fr))}
  .detail-title{font-size:24px}
}
