
:root {
  --bg: #f3f4f6;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --primary: #0d9488;
  --primary-2: #14b8a6;
  --border: #e5e7eb;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Noto Sans CJK SC, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(20,184,166,.12), transparent 32%),
    radial-gradient(circle at top right, rgba(13,148,136,.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 34%, #eef2f7 100%);
}
a { color: inherit; text-decoration: none; }
img { display:block; max-width:100%; }
button, input { font: inherit; }
.container { width:min(1200px, calc(100% - 32px)); margin:0 auto; }
.site-header { position: sticky; top:0; z-index:40; backdrop-filter: blur(18px); background: rgba(255,255,255,.84); border-bottom: 1px solid rgba(229,231,235,.85); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap: 20px; min-height: 72px; }
.brand { display:flex; align-items:center; gap:14px; }
.brand strong { display:block; font-size: 1.02rem; line-height: 1.1; }
.brand small { display:block; color:var(--muted); margin-top:2px; }
.brand-mark { width: 42px; height:42px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), #34d399); color:#fff; display:grid; place-items:center; font-weight:800; box-shadow: var(--shadow-soft); }
.nav { display:flex; gap: 22px; align-items:center; }
.nav a { color:#374151; font-weight:600; padding: 10px 0; }
.nav a:hover { color: var(--primary); }
.menu-btn { display:none; border:0; background:var(--card); border:1px solid var(--border); padding: 10px 12px; border-radius: 14px; box-shadow: var(--shadow-soft); }
.mobile-nav { display:none; padding: 10px 16px 18px; border-top:1px solid var(--border); background: rgba(255,255,255,.95); }
.mobile-nav a { display:block; padding: 10px 0; color:#374151; font-weight:600; }
.hero-shell { position:relative; padding: 22px 0 8px; }
.hero-track { position:relative; width:min(1200px, calc(100% - 32px)); margin:0 auto; min-height: 640px; border-radius: 34px; overflow:hidden; box-shadow: var(--shadow); background:#0f172a; }
.hero-slide { position:absolute; inset:0; opacity:0; transform: scale(1.02); transition: opacity .8s ease, transform 1s ease; }
.hero-slide.active { opacity:1; transform: scale(1); }
.hero-slide img { width:100%; height:100%; object-fit:cover; filter:saturate(1.05); }
.hero-overlay { position:absolute; inset:0; background: linear-gradient(90deg, rgba(2,6,23,.88) 0%, rgba(2,6,23,.56) 40%, rgba(2,6,23,.08) 100%), linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.12)); }
.hero-copy { position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; gap: 18px; color:#fff; padding-top: 22px; }
.hero-copy h1 { max-width: 760px; font-size: clamp(2.4rem, 6vw, 4.7rem); line-height: 1.05; margin: 0; font-weight: 800; letter-spacing: -.03em; }
.hero-copy p { max-width: 640px; margin:0; color: rgba(255,255,255,.86); font-size: 1.06rem; line-height: 1.8; }
.hero-chip { display:inline-flex; align-items:center; width:fit-content; padding: 8px 14px; border-radius:999px; background: rgba(20,184,166,.92); color:#fff; font-size:.92rem; font-weight:700; box-shadow: 0 12px 30px rgba(20,184,166,.26); }
.hero-actions { display:flex; gap: 14px; flex-wrap:wrap; margin-top: 8px; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height: 46px; padding: 0 20px; border-radius: 14px; font-weight:700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color:#fff; box-shadow: 0 16px 30px rgba(20,184,166,.26); }
.btn-ghost { background: rgba(255,255,255,.14); color:#fff; border: 1px solid rgba(255,255,255,.24); backdrop-filter: blur(8px); }
.hero-controls { display:flex; align-items:center; justify-content:space-between; gap: 18px; margin-top: 16px; flex-wrap:wrap; }
.hero-dots { display:flex; gap: 10px; flex-wrap:wrap; }
.hero-dot { width: 12px; height: 12px; border-radius:999px; border:0; background: rgba(15,23,42,.20); cursor:pointer; transition: all .2s ease; }
.hero-dot.active { background: var(--primary); width: 34px; }
.hero-stats { display:flex; gap: 14px; flex-wrap:wrap; }
.hero-stats div { background: rgba(255,255,255,.78); border:1px solid rgba(229,231,235,.85); border-radius: 18px; padding: 12px 16px; min-width: 132px; box-shadow: var(--shadow-soft); }
.hero-stats strong { display:block; font-size: 1.35rem; }
.hero-stats span { color: var(--muted); font-size: .88rem; }
.intro-band { display:flex; justify-content:space-between; align-items:end; gap: 20px; padding: 28px 0 10px; flex-wrap:wrap; }
.section-label { display:inline-block; color: var(--primary); font-weight:800; letter-spacing:.08em; text-transform:uppercase; font-size:.78rem; margin:0 0 8px; }
.intro-band h2, .section-head h2, .page-hero h1, .prose-box h1 { margin:0; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height:1.15; }
.search-box { display:flex; gap: 10px; align-items:center; width:min(100%, 520px); }
.search-box input { flex:1; min-height: 52px; border-radius: 16px; border:1px solid var(--border); padding: 0 16px; background:#fff; box-shadow: var(--shadow-soft); }
.search-box button { min-height: 52px; border:0; border-radius: 16px; padding: 0 18px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color:#fff; font-weight:700; box-shadow: 0 16px 30px rgba(20,184,166,.22); }
.section-block { padding: 26px 0; }
.section-head { display:flex; justify-content:space-between; align-items:end; gap: 14px; margin-bottom: 18px; flex-wrap:wrap; }
.section-head p, .lead { color: var(--muted); line-height:1.8; }
.grid { display:grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.movie-card { background: rgba(255,255,255,.92); border: 1px solid rgba(229,231,235,.9); border-radius: 22px; overflow:hidden; box-shadow: var(--shadow-soft); transition: transform .24s ease, box-shadow .24s ease; }
.movie-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(15,23,42,.12); }
.movie-thumb { position:relative; display:block; aspect-ratio: 2 / 3; overflow:hidden; background:#e5e7eb; }
.movie-thumb img { width:100%; height:100%; object-fit:cover; transition: transform .45s ease; }
.movie-card:hover .movie-thumb img { transform: scale(1.06); }
.movie-year { position:absolute; top:14px; left:14px; padding: 6px 10px; border-radius:999px; background: rgba(2,6,23,.62); color:#fff; font-size:.78rem; font-weight:700; backdrop-filter: blur(10px); }
.movie-body { padding: 15px 15px 18px; }
.movie-meta { color: var(--primary); font-weight:700; font-size: .84rem; margin-bottom: 6px; }
.movie-body h3 { margin:0 0 8px; font-size: 1.02rem; line-height:1.35; }
.movie-body p { color: var(--muted); line-height:1.7; margin: 0 0 10px; font-size: .94rem; }
.pill-row { display:flex; flex-wrap:wrap; gap: 8px; }
.pill { display:inline-flex; align-items:center; padding: 6px 10px; border-radius:999px; background:#eff6f5; color:#0f766e; border:1px solid rgba(20,184,166,.18); font-size:.8rem; font-weight:700; }
.compact .movie-body p { display:none; }
.category-grid { display:grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.cat-card { background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.82)); border:1px solid rgba(229,231,235,.92); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-soft); min-height: 160px; display:flex; flex-direction:column; justify-content:space-between; gap: 10px; transition: transform .22s ease, box-shadow .22s ease; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cat-card.large { min-height: 180px; }
.cat-name { font-size: 1.18rem; font-weight:800; }
.cat-count { color: var(--muted); font-weight:700; }
.cat-link { color: var(--primary); font-weight:800; }
.page-hero { padding: 24px 0 8px; display:flex; justify-content:space-between; align-items:flex-end; gap: 22px; }
.page-hero-alt { align-items:flex-start; }
.hero-badges { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 14px; }
.hero-badges span { padding: 8px 12px; border-radius:999px; background: rgba(20,184,166,.08); border:1px solid rgba(20,184,166,.15); color:#0f766e; font-weight:700; }
.page-aside { width:min(360px, 100%); background: rgba(255,255,255,.9); border:1px solid var(--border); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-soft); }
.page-aside h3 { margin: 0 0 12px; }
.aside-list { display:grid; gap: 10px; }
.aside-list a { display:flex; flex-direction:column; gap: 4px; padding: 12px 14px; border-radius: 16px; background: #f9fafb; border:1px solid #eef2f7; }
.aside-list span { font-weight:700; }
.aside-list em { color:var(--muted); font-style: normal; font-size: .88rem; }
.ranking-list { display:grid; gap: 12px; }
.rank-row { display:grid; grid-template-columns: 54px 90px 1fr 96px; gap: 14px; align-items:center; padding: 14px; background: rgba(255,255,255,.94); border:1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-soft); }
.rank-row img { width: 90px; aspect-ratio:2/3; object-fit:cover; border-radius: 14px; }
.rank-row h3 { margin:0 0 8px; }
.rank-row p { margin:0 0 8px; color:var(--muted); line-height:1.7; }
.rank-meta { color: var(--primary); font-weight:700; font-size: .9rem; }
.rank-num { font-size: 1.6rem; font-weight:900; color: var(--primary); text-align:center; }
.rank-row strong { justify-self:end; font-size: 1.1rem; color:#111827; }
.detail-hero { position:relative; min-height: 590px; margin-top: 14px; border-radius: 34px; overflow:hidden; background:#0f172a; box-shadow: var(--shadow); }
.detail-hero-bg { position:absolute; inset:0; }
.detail-hero-bg img { width:100%; height:100%; object-fit:cover; filter: saturate(1.04); }
.detail-hero-overlay { position:absolute; inset:0; background: linear-gradient(90deg, rgba(2,6,23,.88) 0%, rgba(2,6,23,.62) 42%, rgba(2,6,23,.08) 100%); }
.detail-hero-copy { position:relative; z-index:1; color:#fff; padding: 48px 42px; display:flex; flex-direction:column; gap: 16px; max-width: 760px; min-height: 590px; justify-content:center; }
.breadcrumbs { color: rgba(255,255,255,.8); font-size:.92rem; }
.breadcrumbs a { color: rgba(255,255,255,.95); }
.detail-hero-copy h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.2rem); line-height:1.05; }
.detail-grid { display:grid; grid-template-columns: minmax(0, 1.45fr) 340px; gap: 20px; padding: 24px 0; }
.player-card, .info-card, .text-card, .prose-box { background: rgba(255,255,255,.95); border:1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-soft); }
.player-card { padding: 20px; }
.player-topbar { display:flex; align-items:end; justify-content:space-between; gap: 12px; flex-wrap:wrap; margin-bottom: 14px; }
.player-topbar h2, .text-card h2 { margin: 0; font-size: 1.4rem; }
.player-badge { padding: 8px 12px; border-radius:999px; background: rgba(20,184,166,.12); color:#0f766e; font-weight:800; }
.player-wrap { border-radius: 22px; overflow:hidden; background:#0f172a; border: 1px solid rgba(255,255,255,.05); }
.player { width:100%; aspect-ratio: 16 / 9; background:#000; }
.player-tip { padding: 12px 14px; color: var(--muted); font-size:.92rem; background: #f8fafc; border-top: 1px solid var(--border); }
.detail-aside { display:grid; gap: 20px; }
.info-card { padding: 20px; }
.info-card h3 { margin:0 0 14px; font-size: 1.14rem; }
.info-card dl { margin:0; display:grid; gap: 12px; }
.info-card dl div { display:flex; justify-content:space-between; gap: 10px; border-bottom:1px dashed #e5e7eb; padding-bottom:10px; }
.info-card dt { color:var(--muted); }
.info-card dd { margin:0; font-weight:700; text-align:right; }
.detail-body { display:grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 16px; }
.text-card { padding: 22px; }
.text-card p { color:#374151; line-height:1.9; }
.prose-box { padding: 28px; margin-top: 22px; }
.prose-box p { color:#374151; line-height:1.9; font-size: 1.02rem; }
.site-footer { margin-top: 40px; padding: 30px 0 44px; border-top:1px solid rgba(229,231,235,.9); background: rgba(255,255,255,.52); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 22px; color:#374151; }
.footer-grid h3, .footer-grid h4 { margin: 0 0 10px; color:#111827; }
.footer-grid p { margin:0; line-height:1.8; color:#4b5563; }
.footer-grid a { color: var(--primary); font-weight:700; }
.search-empty { padding: 20px; color: var(--muted); }
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-grid, .detail-body, .footer-grid { grid-template-columns: 1fr; }
  .page-hero { flex-direction:column; align-items:flex-start; }
  .page-aside { width:100%; }
}
@media (max-width: 760px) {
  .desktop-nav { display:none; }
  .menu-btn { display:inline-flex; }
  .mobile-nav.show { display:block; }
  .hero-track, .detail-hero { min-height: auto; border-radius: 24px; }
  .hero-copy, .detail-hero-copy { position:relative; padding: 26px 18px 30px; min-height: auto; }
  .hero-copy h1, .detail-hero-copy h1 { font-size: 2rem; }
  .hero-copy p, .lead { font-size: 1rem; }
  .grid-4, .grid-3, .category-grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .rank-row { grid-template-columns: 1fr; }
  .rank-num, .rank-row strong { justify-self:start; }
  .search-box { width: 100%; flex-direction:column; }
  .search-box input, .search-box button { width:100%; }
}
