
:root{
  --bg:#050816;
  --bg-soft:#0b1020;
  --panel:#0f172a;
  --panel-2:#111827;
  --text:#e5eefc;
  --muted:#9ca3af;
  --line:rgba(255,255,255,.08);
  --accent:#dc2626;
  --accent-2:#f97316;
  --accent-3:#ec4899;
  --good:#22c55e;
  --shadow:0 20px 60px rgba(0,0,0,.36);
  --shadow-soft:0 12px 30px rgba(0,0,0,.2);
  --radius:24px;
  --radius-sm:16px;
  --container:1320px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:
    radial-gradient(circle at top left, rgba(220,38,38,.18), transparent 28%),
    radial-gradient(circle at top right, rgba(249,115,22,.14), transparent 26%),
    linear-gradient(180deg, #02040b 0%, #050816 30%, #08111f 100%);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.6;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(100% - 32px, var(--container)); margin-inline:auto}
header.site-header{
  position:sticky; top:0; z-index:60;
  backdrop-filter: blur(18px);
  background: rgba(4,8,20,.72);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; padding:14px 0;
}
.brand{display:flex; align-items:center; gap:12px; min-width:0}
.brand-mark{
  width:42px;height:42px; border-radius:14px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2) 60%,var(--accent-3));
  box-shadow:0 0 0 6px rgba(220,38,38,.12);
  position:relative; flex:none;
}
.brand-mark:before,.brand-mark:after{
  content:""; position:absolute; inset:10px 12px; border-radius:8px;
  border:2px solid rgba(255,255,255,.92); transform:skewX(-10deg);
}
.brand h1,.brand .logo{
  margin:0; font-size:1.08rem; letter-spacing:.02em; line-height:1.15; font-weight:800;
}
.brand p{margin:0; font-size:.82rem; color:var(--muted)}
.nav{
  display:flex; gap:14px; flex-wrap:wrap; align-items:center;
}
.nav a{
  padding:10px 14px; border-radius:999px; color:#dbe5f6;
  background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.05);
}
.nav a:hover,.nav a.active{
  background:linear-gradient(135deg, rgba(220,38,38,.25), rgba(249,115,22,.2));
  border-color:rgba(255,255,255,.12);
}
.menu-btn{
  display:none; border:1px solid var(--line); background:rgba(255,255,255,.04);
  color:var(--text); padding:10px 12px; border-radius:12px;
}
main{padding:28px 0 56px}
.hero{
  display:grid; grid-template-columns: 1.35fr .95fr; gap:22px; align-items:stretch;
}
.hero-panel, .side-panel, .section-card, .player-shell, .info-card{
  background:linear-gradient(180deg, rgba(15,23,42,.86), rgba(10,14,26,.92));
  border:1px solid rgba(255,255,255,.08);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero-panel{
  padding:26px;
  position:relative; overflow:hidden; min-height:420px;
}
.hero-panel:before{
  content:""; position:absolute; inset:-40px;
  background:
    radial-gradient(circle at 20% 10%, rgba(249,115,22,.28), transparent 22%),
    radial-gradient(circle at 90% 25%, rgba(236,72,153,.22), transparent 18%),
    radial-gradient(circle at 50% 90%, rgba(220,38,38,.18), transparent 24%);
  pointer-events:none;
}
.hero-kicker{
  display:inline-flex; align-items:center; gap:8px; padding:8px 12px;
  border-radius:999px; background:rgba(255,255,255,.06); border:1px solid var(--line);
  color:#dbeafe; font-size:.86rem; position:relative; z-index:1;
}
.hero-kicker i{width:8px; height:8px; border-radius:999px; background:var(--good); box-shadow:0 0 16px var(--good)}
.hero-title{
  font-size:clamp(2rem, 4vw, 4.1rem); line-height:1.02; margin:16px 0 14px;
  max-width:12ch; position:relative; z-index:1;
}
.hero-copy{font-size:1rem; color:#cbd5e1; max-width:60ch; position:relative; z-index:1}
.hero-actions{display:flex; gap:12px; flex-wrap:wrap; margin:22px 0 18px; position:relative; z-index:1}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 18px; border-radius:14px; border:1px solid transparent;
  font-weight:700;
}
.btn.primary{
  background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:#fff;
  box-shadow:0 14px 30px rgba(220,38,38,.28);
}
.btn.ghost{
  background:rgba(255,255,255,.04); border-color:rgba(255,255,255,.08);
}
.hero-stats{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:12px; position:relative; z-index:1; margin-top:auto;
}
.stat{
  padding:14px; border-radius:18px; background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}
.stat strong{display:block; font-size:1.3rem}
.stat span{color:var(--muted); font-size:.86rem}

.hero-spotlights{
  display:grid; gap:14px;
}
.spot-card{
  padding:18px; min-height:125px; position:relative; overflow:hidden;
  border-radius:var(--radius); border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
    linear-gradient(135deg, var(--c1), var(--c2) 52%, var(--c3));
  box-shadow:var(--shadow-soft);
}
.spot-card:after{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at top right, rgba(255,255,255,.24), transparent 28%);
  opacity:.4;
}
.spot-card h3{margin:0 0 8px; position:relative; z-index:1}
.spot-card p{margin:0; color:rgba(255,255,255,.85); position:relative; z-index:1; max-width:38ch}
.spot-card .spot-foot{margin-top:14px; display:flex; gap:8px; flex-wrap:wrap; position:relative; z-index:1}
.pill{
  display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px;
  background:rgba(0,0,0,.22); border:1px solid rgba(255,255,255,.12); font-size:.78rem;
}
.section-head{
  display:flex; align-items:end; justify-content:space-between; gap:16px;
  margin:30px 0 16px;
}
.section-head h2, .section-head h1{margin:0; font-size:1.45rem}
.section-head p{margin:0; color:var(--muted)}
.section-card{padding:18px}
.filter-bar{
  display:grid; grid-template-columns: 1.4fr repeat(3, minmax(0, .52fr)); gap:12px;
}
.filter-bar input, .filter-bar select{
  width:100%; padding:13px 14px; border-radius:14px;
  border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.04); color:var(--text);
  outline:none;
}
.filter-bar input::placeholder{color:#94a3b8}
.filter-bar .count-box{
  display:flex; align-items:center; justify-content:center; padding:13px 14px;
  border-radius:14px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1);
  color:#dbeafe; font-weight:700;
}
.grid{
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px;
}
.movie-card{
  min-width:0;
}
.card-link{
  display:flex; flex-direction:column; gap:0; height:100%;
  border-radius:22px; overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  box-shadow:var(--shadow-soft);
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card-link:hover{
  transform:translateY(-4px);
  border-color:rgba(255,255,255,.16);
  box-shadow:0 18px 40px rgba(0,0,0,.35);
}
.card-poster{
  min-height:210px;
  display:flex; flex-direction:column; justify-content:space-between;
  padding:16px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.34)),
    linear-gradient(135deg, var(--c1), var(--c2) 55%, var(--c3));
  position:relative;
}
.card-poster:before{
  content:""; position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.12), transparent 20%, transparent 80%, rgba(255,255,255,.08));
  mix-blend-mode:screen; opacity:.18;
}
.card-poster > *{position:relative; z-index:1}
.poster-top{display:flex; gap:8px; justify-content:space-between; align-items:center; margin-bottom:8px}
.poster-year,.poster-chip{
  display:inline-flex; align-items:center; justify-content:center; padding:6px 10px; border-radius:999px;
  background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.14); font-size:.78rem; font-weight:700;
}
.poster-title{
  font-size:1.2rem; font-weight:800; line-height:1.2; margin-top:auto;
  text-shadow:0 4px 20px rgba(0,0,0,.4);
}
.poster-meta{font-size:.88rem; color:rgba(255,255,255,.88); margin-top:8px}
.poster-footer{display:flex; gap:8px; flex-wrap:wrap; margin-top:12px}
.poster-footer .tag{
  display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; font-size:.76rem;
  background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.12);
}
.card-body{
  padding:16px;
}
.card-body h3{margin:0 0 8px; font-size:1.03rem; line-height:1.3}
.card-body p{margin:0; color:var(--muted); font-size:.92rem; min-height:3.2em}
.card-more{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; color:#dbeafe; font-size:.82rem}
.card-more span{
  padding:6px 10px; border-radius:999px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.07);
}
.small .card-poster{min-height:165px}
.small .card-body p{min-height:0}
.category-strip{
  display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px;
}
.category-card{
  padding:16px; border-radius:22px; border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03); box-shadow:var(--shadow-soft);
}
.category-card h3{margin:6px 0 8px}
.category-card p{margin:0; color:var(--muted); font-size:.92rem}
.category-card .meta{display:flex; justify-content:space-between; align-items:center; margin-top:14px; color:#dbeafe; font-size:.84rem}
.rank-list{
  display:grid; gap:10px;
}
.rank-item{
  display:grid; grid-template-columns:72px 1fr auto; gap:12px; align-items:center;
  padding:14px 16px; border-radius:18px; border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.rank-item:hover{border-color:rgba(255,255,255,.16); background:rgba(255,255,255,.05)}
.rank-no{
  display:inline-flex; align-items:center; justify-content:center; width:72px; height:44px;
  border-radius:14px; background:linear-gradient(135deg, var(--c1), var(--c2) 58%, var(--c3)); color:#fff; font-weight:800;
}
.rank-title{font-weight:700}
.rank-meta{color:var(--muted); font-size:.9rem}
.detail-hero{
  display:grid; grid-template-columns: .9fr 1.1fr; gap:18px; align-items:stretch;
}
.poster-shell{
  padding:22px; min-height:380px; border-radius:var(--radius); overflow:hidden; position:relative;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.16), transparent 18%),
    linear-gradient(135deg, var(--c1), var(--c2) 54%, var(--c3));
  box-shadow:var(--shadow);
  border:1px solid rgba(255,255,255,.08);
}
.poster-shell:after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.44));
}
.poster-shell > *{position:relative; z-index:1}
.poster-shell .year{
  display:inline-flex; padding:7px 11px; border-radius:999px;
  background:rgba(0,0,0,.26); border:1px solid rgba(255,255,255,.18); font-weight:800;
}
.poster-shell h1{margin:16px 0 10px; font-size:clamp(1.9rem, 3vw, 3.4rem); line-height:1.05}
.poster-shell .summary{color:rgba(255,255,255,.92); max-width:42ch}
.poster-shell .actions{margin-top:18px; display:flex; gap:10px; flex-wrap:wrap}
.meta-grid{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;
}
.info-card{
  padding:18px;
}
.info-card h2{margin:0 0 12px; font-size:1.18rem}
.info-list{
  display:grid; gap:10px;
}
.info-row{
  display:flex; justify-content:space-between; gap:12px;
  padding:10px 0; border-bottom:1px solid rgba(255,255,255,.06);
}
.info-row span:first-child{color:var(--muted)}
.tags{display:flex; flex-wrap:wrap; gap:10px}
.tags .tag{
  padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08);
}
.player-shell{
  padding:18px;
}
.player-shell video{
  width:100%; aspect-ratio:16/9; background:#000; border-radius:18px; border:1px solid rgba(255,255,255,.08);
}
.section{
  margin-top:22px;
}
.prose{
  color:#dbeafe;
}
.prose p{margin:0 0 12px}
.footer{
  margin-top:34px; padding:26px 0 10px; color:var(--muted);
}
.footer-inner{
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  border-top:1px solid var(--line); padding-top:18px;
}
.back-top{
  position:fixed; right:18px; bottom:18px; z-index:40; display:none;
  padding:12px 14px; border-radius:999px; background:linear-gradient(135deg, var(--accent), var(--accent-2));
  color:#fff; box-shadow:var(--shadow);
}
.mobile-only{display:none}
.hide{display:none !important}
.notice{
  padding:14px 16px; border-radius:16px; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.08); color:#dbeafe;
}
.breadcrumb{display:flex; flex-wrap:wrap; gap:8px; color:var(--muted); font-size:.9rem}
.breadcrumb a{color:#dbeafe}
@media (max-width: 1080px){
  .hero, .detail-hero{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .category-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .filter-bar{grid-template-columns:1fr 1fr}
}
@media (max-width: 760px){
  .nav{display:none}
  .nav.open{display:flex; flex-direction:column; align-items:stretch; width:100%; margin-top:12px}
  .header-inner{flex-wrap:wrap}
  .menu-btn{display:inline-flex}
  .hero-panel{padding:20px; min-height:auto}
  .hero-stats{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .category-strip{grid-template-columns:1fr}
  .filter-bar{grid-template-columns:1fr}
  .section-head{flex-direction:column; align-items:flex-start}
  .rank-item{grid-template-columns:1fr; justify-items:start}
  .rank-no{width:auto; padding:0 12px; height:36px}
  .meta-grid{grid-template-columns:1fr}
  .mobile-only{display:block}
}
@media (max-width: 480px){
  .grid{grid-template-columns:1fr}
  .brand h1,.brand .logo{font-size:.98rem}
  .hero-title{max-width:100%}
}
