/* Xingxing Yinghua cinematic UI polish r2 - CSS only, no business logic changes. */
:root{
  --bg-main:#070a12;
  --bg-soft:#0e1320;
  --bg-elevated:#121827;
  --bg-card:rgba(255,255,255,.06);
  --bg-card-hover:rgba(255,255,255,.10);
  --text-main:#f5f7fa;
  --text-soft:#cbd2e1;
  --text-muted:#9ba3b4;
  --text-faint:#6b7280;
  --primary:#7c3aed;
  --primary-2:#a855f7;
  --primary-glow:rgba(124,58,237,.45);
  --accent:#22d3ee;
  --accent-glow:rgba(34,211,238,.35);
  --accent-warm:#f97316;
  --danger:#ef4444;
  --border-soft:rgba(255,255,255,.12);
  --border-strong:rgba(255,255,255,.20);
  --shadow-card:0 24px 80px rgba(0,0,0,.35);
  --shadow-glow:0 0 44px rgba(124,58,237,.25);
  --radius-card:24px;
  --radius-soft:18px;
  --container-ui:1180px;
  --ui-ease:cubic-bezier(.2,.8,.2,1);
}
html{background:var(--bg-main)}
body.home-page{
  background:
    radial-gradient(circle at 18% 0%,rgba(124,58,237,.26),transparent 30%),
    radial-gradient(circle at 82% 9%,rgba(34,211,238,.16),transparent 28%),
    radial-gradient(circle at 76% 42%,rgba(249,115,22,.10),transparent 34%),
    radial-gradient(circle at 12% 76%,rgba(168,85,247,.13),transparent 34%),
    linear-gradient(180deg,#070a12 0%,#0a0f1c 42%,#070a12 100%)!important;
  color:var(--text-main)!important;
  font-family:Inter, SF Pro Display,PingFang SC,Microsoft YaHei,system-ui,sans-serif!important;
  overflow-x:hidden;
}
body.home-page:before{
  content:attr(data-cinema-ui)!important;
 position:fixed!important;
 inset:0!important;
 z-index:-2!important;
 pointer-events:none!important;
 opacity:.58!important;
 background:
 linear-gradient(90deg,rgba(255,255,255,.026) 1px,transparent 1px),
 linear-gradient(180deg,rgba(255,255,255,.020) 1px,transparent 1px),
 radial-gradient(circle at 50% 0%,rgba(34,211,238,.08),transparent 52%)!important;
 background-size:84px 84px,84px 84px,100% 100%!important;
 mask-image:linear-gradient(180deg,rgba(0,0,0,.44),rgba(0,0,0,.22) 45%,transparent 78%)!important;
}
body.home-page:after{
  content:attr(data-cinema-noise);
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.20;
  background-image:radial-gradient(circle at 20% 30%,rgba(255,255,255,.20) 0 1px,transparent 1.6px),radial-gradient(circle at 72% 64%,rgba(34,211,238,.18) 0 1px,transparent 1.8px);
  background-size:150px 150px,210px 210px;
  mix-blend-mode:screen;
}
body.home-page .container{
  width:min(var(--container-ui),calc(100% - 48px))!important;
  margin-inline:auto!important;
}
body.home-page :where(a,button,.nav-category,.movie-card,.rail-card,.recommend-card,.home-entry-card,.resource-radar-btn,.btn,.modal-close){
  transition:background .22s var(--ui-ease),border-color .22s var(--ui-ease),box-shadow .22s var(--ui-ease),color .22s var(--ui-ease),transform .22s var(--ui-ease),opacity .22s var(--ui-ease),filter .22s var(--ui-ease)!important;
}
/* Navigation */
body.home-page .navbar{
  position:sticky!important;
  top:0!important;
  z-index:100!important;
  background:linear-gradient(180deg,rgba(7,10,18,.76),rgba(7,10,18,.52))!important;
  border-bottom:1px solid rgba(255,255,255,.10)!important;
  box-shadow:0 18px 52px rgba(0,0,0,.28)!important;
  backdrop-filter:blur(18px) saturate(145%)!important;
  -webkit-backdrop-filter:blur(18px) saturate(145%)!important;
}
body.home-page .navbar:before{
  content:attr(data-cinema-nav);
 position:absolute;
 inset:0;
 pointer-events:none;
 background:linear-gradient(90deg,transparent,rgba(124,58,237,.10),rgba(34,211,238,.08),transparent);
 opacity:.85;
}
body.home-page .navbar .container{
 position:relative!important;
 z-index:1!important;
 min-height:76px!important;
 gap:18px!important;
}
body.home-page .navbar-logo{gap:13px!important;min-width:max-content!important;}
body.home-page .navbar-logo-icon{
 width:42px!important;
 height:42px!important;
 border-radius:16px!important;
 background:linear-gradient(145deg,rgba(124,58,237,.45),rgba(34,211,238,.20) 55%,rgba(249,115,22,.16))!important;
 border:1px solid rgba(255,255,255,.18)!important;
 box-shadow:0 14px 36px rgba(124,58,237,.22),0 0 30px rgba(34,211,238,.10),inset 0 1px 0 rgba(255,255,255,.22)!important;
 color:#fff!important;
}
body.home-page .navbar-logo h1{
 margin:0!important;
 color:#fff!important;
 font-size:22px!important;
 font-weight:850!important;
 letter-spacing:.02em!important;
 text-shadow:0 0 26px rgba(34,211,238,.20)!important;
}
body.home-page .navbar-categories{
 gap:7px!important;
 min-width:0!important;
 padding:3px!important;
 border:1px solid rgba(255,255,255,.09)!important;
 border-radius:999px!important;
 background:rgba(255,255,255,.035)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
}
body.home-page .nav-category{
 height:36px!important;
 padding:0 15px!important;
 border-radius:999px!important;
 border:1px solid transparent!important;
 color:rgba(203,210,225,.80)!important;
 background:transparent!important;
 font-size:14px!important;
 font-weight:650!important;
 white-space:nowrap!important;
}
body.home-page .nav-category:hover{
 transform:translateY(-1px)!important;
 color:#fff!important;
 background:rgba(255,255,255,.075)!important;
 border-color:rgba(34,211,238,.20)!important;
 box-shadow:0 8px 24px rgba(34,211,238,.08)!important;
}
body.home-page .nav-category.active{
 color:#fff!important;
 background:linear-gradient(135deg,var(--primary),var(--accent))!important;
 border-color:rgba(255,255,255,.24)!important;
 box-shadow:0 12px 34px rgba(124,58,237,.34),0 0 24px rgba(34,211,238,.16)!important;
}
body.home-page .navbar-search{
 width:min(330px,25vw)!important;
 height:44px!important;
 margin-left:auto!important;
 border-radius:999px!important;
 border:1px solid rgba(255,255,255,.12)!important;
 background:rgba(255,255,255,.055)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
 backdrop-filter:blur(12px)!important;
}
body.home-page .navbar-search:focus-within{
 border-color:rgba(34,211,238,.42)!important;
 box-shadow:0 0 0 4px rgba(34,211,238,.08),inset 0 1px 0 rgba(255,255,255,.08)!important;
}
body.home-page .search-input{color:#fff!important;font-size:14px!important;}
body.home-page .search-input::placeholder{color:rgba(203,210,225,.60)!important;}
body.home-page .search-btn,
body.home-page .nav-action-btn{
 border-radius:999px!important;
 color:rgba(245,247,250,.86)!important;
 background:rgba(255,255,255,.055)!important;
 border:1px solid rgba(255,255,255,.12)!important;
}
body.home-page .search-btn:hover,
body.home-page .nav-action-btn:hover{
 transform:translateY(-1px)!important;
 color:#fff!important;
 background:rgba(124,58,237,.18)!important;
 border-color:rgba(34,211,238,.28)!important;
 box-shadow:0 12px 30px rgba(124,58,237,.18)!important;
}
/* Hero */
body.home-page .hero-section{
 min-height:clamp(620px,72vh,780px)!important;
 margin-top:0!important;
 background:#070a12!important;
 overflow:hidden!important;
 isolation:isolate!important;
}
body.home-page .hero-section:before{
 content:attr(data-cinema-ui)!important;
  position:absolute!important;
  inset:0!important;
  z-index:3!important;
  pointer-events:none!important;
  background:radial-gradient(circle at 78% 18%,rgba(124,58,237,.30),transparent 30%),radial-gradient(circle at 63% 12%,rgba(34,211,238,.18),transparent 32%),radial-gradient(circle at 80% 68%,rgba(249,115,22,.14),transparent 34%),linear-gradient(180deg,rgba(7,10,18,.03),rgba(7,10,18,.96) 96%)!important;
}
body.home-page .hero-slide-bg{
  filter:saturate(1.08) contrast(1.08) brightness(.64)!important;
  transform:scale(1.045)!important;
  transition:transform 7s ease,filter .62s var(--ui-ease)!important;
}
body.home-page .hero-slide.active .hero-slide-bg{transform:scale(1.012)!important;}
body.home-page .hero-slide:after{
  background:linear-gradient(90deg,rgba(7,10,18,.98) 0%,rgba(7,10,18,.90) 34%,rgba(7,10,18,.48) 68%,rgba(7,10,18,.20) 100%),linear-gradient(180deg,rgba(7,10,18,.34) 0%,rgba(7,10,18,.08) 42%,rgba(7,10,18,.96) 100%)!important;
}
body.home-page .hero-slide:before{
  content:attr(data-cinema-ui)!important;
 position:absolute!important;
 inset:0!important;
 z-index:1!important;
 pointer-events:none!important;
 background:linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px),linear-gradient(180deg,rgba(255,255,255,.018) 1px,transparent 1px)!important;
 background-size:72px 72px!important;
 opacity:.34!important;
 mask-image:linear-gradient(180deg,rgba(0,0,0,.42),transparent 76%)!important;
}
body.home-page .hero-inner{
 width:min(var(--container-ui),calc(100% - 48px))!important;
 min-height:clamp(620px,72vh,780px)!important;
 display:grid!important;
 grid-template-columns:minmax(0,1fr) minmax(280px,360px)!important;
 gap:54px!important;
 align-items:center!important;
 padding:92px 0 88px!important;
}
body.home-page .hero-copy{max-width:720px!important;text-shadow:0 26px 70px rgba(0,0,0,.62)!important;}
body.home-page .hero-kicker,
body.home-page .section-kicker,
body.home-page .resource-radar-kicker,
body.home-page .modal-kicker{
 display:inline-flex!important;
 align-items:center!important;
 gap:8px!important;
 min-height:30px!important;
 padding:7px 11px!important;
 border-radius:999px!important;
 color:#a7f3ff!important;
 background:linear-gradient(135deg,rgba(124,58,237,.25),rgba(34,211,238,.15))!important;
 border:1px solid rgba(255,255,255,.12)!important;
 box-shadow:0 0 28px rgba(34,211,238,.10)!important;
 font-size:12px!important;
 font-weight:800!important;
 letter-spacing:.12em!important;
 text-transform:uppercase!important;
}
body.home-page .hero-title{
 max-width:760px!important;
 margin:0!important;
 color:#fff!important;
 font-size:clamp(50px,6.4vw,76px)!important;
 line-height:.98!important;
 letter-spacing:0!important;
 font-weight:900!important;
}
body.home-page .hero-description{
 max-width:660px!important;
 margin-top:22px!important;
 color:rgba(203,210,225,.82)!important;
 font-size:18px!important;
 line-height:1.78!important;
}
body.home-page .hero-meta{gap:9px!important;margin-top:24px!important;}
body.home-page .hero-pill,
body.home-page .movie-badge,
body.home-page .movie-badge-round,
body.home-page .mini-pill,
body.home-page .trust-stat-pill,
body.home-page .quick-tag{
 min-height:29px!important;
 padding:6px 10px!important;
 border-radius:999px!important;
 color:var(--text-soft)!important;
 background:rgba(255,255,255,.075)!important;
 border:1px solid rgba(255,255,255,.12)!important;
 backdrop-filter:blur(10px)!important;
 font-size:12px!important;
 font-weight:700!important;
}
body.home-page .hero-actions{gap:12px!important;margin-top:31px!important;}
body.home-page .hero-cta-primary,
body.home-page .resource-radar-btn.is-primary,
body.home-page .movie-get-btn,
body.home-page .btn-primary{
 color:#fff!important;
 background:linear-gradient(135deg,var(--primary),var(--accent))!important;
 border:1px solid rgba(255,255,255,.20)!important;
 border-radius:999px!important;
 box-shadow:0 12px 36px rgba(124,58,237,.35),0 0 28px rgba(34,211,238,.12)!important;
 font-weight:820!important;
}
body.home-page .hero-cta-primary:hover,
body.home-page .resource-radar-btn.is-primary:hover,
body.home-page .movie-get-btn:hover,
body.home-page .btn-primary:hover{transform:translateY(-2px)!important;box-shadow:0 18px 46px rgba(124,58,237,.43),0 0 34px rgba(34,211,238,.18)!important;}
body.home-page .hero-cta-primary:active,
body.home-page .resource-radar-btn.is-primary:active,
body.home-page .movie-get-btn:active{transform:scale(.98)!important;}
body.home-page .hero-cta-secondary,
body.home-page .resource-radar-btn,
body.home-page .btn-secondary,
body.home-page .section-actions .btn{
 color:var(--text-main)!important;
 background:rgba(255,255,255,.060)!important;
 border:1px solid rgba(255,255,255,.14)!important;
 border-radius:999px!important;
 backdrop-filter:blur(12px)!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.06)!important;
}
body.home-page .hero-cta-secondary:hover,
body.home-page .resource-radar-btn:hover,
body.home-page .btn-secondary:hover,
body.home-page .section-actions .btn:hover{transform:translateY(-2px)!important;background:rgba(255,255,255,.10)!important;border-color:rgba(34,211,238,.28)!important;color:#fff!important;}
body.home-page .hero-sidecard{
 display:block!important;
 align-self:center!important;
 border-radius:28px!important;
 background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.050))!important;
 border:1px solid rgba(255,255,255,.16)!important;
 box-shadow:0 28px 90px rgba(0,0,0,.36),0 0 44px rgba(124,58,237,.14)!important;
 backdrop-filter:blur(18px)!important;
}
body.home-page .hero-sidecard img,
body.home-page .hero-card-cover,
body.home-page .hero-sidecard .hero-card-cover{border-radius:20px!important;}
body.home-page .hero-arrow{
 width:46px!important;
 height:46px!important;
 border-radius:999px!important;
 background:rgba(255,255,255,.060)!important;
 border:1px solid rgba(255,255,255,.14)!important;
 color:#fff!important;
 box-shadow:0 16px 38px rgba(0,0,0,.25)!important;
 backdrop-filter:blur(12px)!important;
}
body.home-page .hero-arrow:hover{transform:translateY(-2px)!important;border-color:rgba(34,211,238,.30)!important;box-shadow:0 18px 42px rgba(34,211,238,.12)!important;}
body.home-page .hero-progress{height:4px!important;border-radius:999px!important;background:rgba(255,255,255,.13)!important;}
body.home-page .hero-progress span,
body.home-page .hero-progress-bar{background:linear-gradient(90deg,var(--primary),var(--accent))!important;box-shadow:0 0 18px rgba(34,211,238,.30)!important;}
body.home-page .hero-dots .hero-dot,
body.home-page .hero-dot{background:rgba(255,255,255,.22)!important;border:0!important;}
body.home-page .hero-dots .hero-dot.active,
body.home-page .hero-dot.active{background:linear-gradient(90deg,var(--primary),var(--accent))!important;box-shadow:0 0 18px rgba(34,211,238,.38)!important;}
/* Sections */
body.home-page .page-bg-gradient{background:transparent!important;}
body.home-page .trust-section,
body.home-page .home-entry-section,
body.home-page .home-section-panel{
 border-top:0!important;
 background:transparent!important;
}
body.home-page .home-section-panel{padding:74px 0 0!important;}
body.home-page .trust-section{padding:28px 0 0!important;margin-top:-40px!important;position:relative!important;z-index:5!important;}
body.home-page .resource-radar-wrap,
body.home-page .home-entry-grid,
body.home-page .section-header-rich,
body.home-page .home-section-header{
 border-radius:var(--radius-card)!important;
 background:linear-gradient(180deg,rgba(255,255,255,.078),rgba(255,255,255,.035))!important;
 border:1px solid rgba(255,255,255,.105)!important;
 box-shadow:var(--shadow-card),inset 0 1px 0 rgba(255,255,255,.06)!important;
 backdrop-filter:blur(16px)!important;
}
body.home-page .resource-radar-wrap{padding:22px!important;}
body.home-page .resource-radar-title,
body.home-page .trust-headline{color:#fff!important;font-size:clamp(24px,2.4vw,34px)!important;font-weight:900!important;letter-spacing:0!important;}
body.home-page .resource-radar-note,
body.home-page .section-desc{color:var(--text-muted)!important;line-height:1.78!important;}
body.home-page .home-entry-section{padding:18px 0 0!important;}
body.home-page .home-entry-grid{padding:14px!important;gap:14px!important;}
body.home-page .home-entry-card{
 position:relative!important;
 overflow:hidden!important;
 border-radius:20px!important;
 background:rgba(255,255,255,.045)!important;
 border:1px solid rgba(255,255,255,.10)!important;
 box-shadow:none!important;
}
body.home-page .home-entry-card:before,
body.home-page .movie-card:before,
body.home-page .rail-card:before,
body.home-page .recommend-card:before{
 content:attr(data-cinema-ui)!important;
  position:absolute!important;
  inset:0!important;
  border-radius:inherit!important;
  pointer-events:none!important;
  opacity:0!important;
  background:linear-gradient(135deg,rgba(124,58,237,.24),transparent 36%,rgba(34,211,238,.12),rgba(249,115,22,.08))!important;
}
body.home-page .home-entry-card:hover:before,
body.home-page .movie-card:hover:before,
body.home-page .rail-card:hover:before,
body.home-page .recommend-card:hover:before{opacity:1!important;}
body.home-page .home-entry-card:hover{transform:translateY(-3px)!important;background:rgba(255,255,255,.075)!important;border-color:rgba(34,211,238,.25)!important;}
body.home-page .home-entry-icon{
  background:linear-gradient(135deg,rgba(124,58,237,.28),rgba(34,211,238,.16))!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:#a7f3ff!important;
}
body.home-page .home-entry-copy strong{color:#fff!important;}
body.home-page .home-entry-copy em{color:var(--text-muted)!important;}
body.home-page .section-header-rich,
body.home-page .home-section-header{
  position:relative!important;
  padding:22px!important;
  margin-bottom:22px!important;
  align-items:flex-end!important;
  gap:22px!important;
}
body.home-page .section-header-rich:after,
body.home-page .home-section-header:after{
  content:attr(data-cinema-ui)!important;
 position:absolute!important;
 left:22px!important;
 bottom:-1px!important;
 width:128px!important;
 height:2px!important;
 border-radius:999px!important;
 background:linear-gradient(90deg,var(--primary),var(--accent),transparent)!important;
 box-shadow:0 0 18px rgba(34,211,238,.32)!important;
}
body.home-page .section-title{
 color:#fff!important;
 font-size:clamp(28px,2.9vw,36px)!important;
 line-height:1.14!important;
 font-weight:900!important;
 letter-spacing:0!important;
}
body.home-page .section-title-icon{color:var(--accent)!important;filter:drop-shadow(0 0 10px rgba(34,211,238,.35))!important;}
body.home-page .section-actions a,
body.home-page .section-zone-link{white-space:nowrap!important;}
/* Cards */
body.home-page .movie-grid,
body.home-page .hot-rank-grid{gap:18px!important;}
body.home-page .rail-grid{gap:16px!important;}
body.home-page .recommend-scroll{gap:16px!important;}
body.home-page .movie-card,
body.home-page .rail-card,
body.home-page .recommend-card,
body.home-page .collection-card,
body.home-page .polished-collection-card{
 position:relative!important;
 overflow:hidden!important;
 border-radius:var(--radius-card)!important;
 background:linear-gradient(180deg,rgba(255,255,255,.070),rgba(255,255,255,.032)),rgba(18,24,39,.68)!important;
 border:1px solid rgba(255,255,255,.115)!important;
 box-shadow:0 20px 64px rgba(0,0,0,.30),inset 0 1px 0 rgba(255,255,255,.06)!important;
 backdrop-filter:blur(14px)!important;
}
body.home-page .movie-card:hover,
body.home-page .rail-card:hover,
body.home-page .recommend-card:hover,
body.home-page .collection-card:hover,
body.home-page .polished-collection-card:hover{
 transform:translateY(-4px)!important;
 background:linear-gradient(180deg,rgba(255,255,255,.10),rgba(255,255,255,.045)),rgba(18,24,39,.78)!important;
 border-color:rgba(34,211,238,.28)!important;
 box-shadow:0 28px 80px rgba(0,0,0,.38),0 0 38px rgba(124,58,237,.14)!important;
}
body.home-page .movie-cover-wrap,
body.home-page .rail-cover,
body.home-page .recommend-cover{
 background:radial-gradient(circle at 68% 18%,rgba(124,58,237,.34),transparent 32%),radial-gradient(circle at 28% 24%,rgba(34,211,238,.18),transparent 30%),linear-gradient(145deg,#111827,#1f2440 52%,#0b1020)!important;
 box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)!important;
}
body.home-page .movie-cover-wrap:after{
 content:attr(data-cinema-ui)!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:linear-gradient(180deg,transparent 48%,rgba(7,10,18,.70))!important;
}
body.home-page .movie-cover{
  filter:saturate(1.04) contrast(1.04) brightness(.92)!important;
}
body.home-page .movie-card:hover .movie-cover{transform:scale(1.03)!important;filter:saturate(1.10) contrast(1.05) brightness(.98)!important;}
body.home-page .movie-info{position:relative!important;z-index:1!important;padding:15px!important;}
body.home-page .movie-title,
body.home-page .rail-title,
body.home-page .recommend-title{
  color:#fff!important;
  font-weight:850!important;
  letter-spacing:0!important;
}
body.home-page .movie-title{font-size:16px!important;line-height:1.38!important;}
body.home-page .rail-title,
body.home-page .recommend-title{font-size:18px!important;line-height:1.34!important;}
body.home-page .movie-meta,
body.home-page .rail-meta,
body.home-page .recommend-meta,
body.home-page .rail-note{
  color:var(--text-muted)!important;
  line-height:1.62!important;
}
body.home-page .rail-card{
  min-height:138px!important;
  padding:15px!important;
  grid-template-columns:96px 1fr!important;
}
body.home-page #collectionsSection .rail-card,
body.home-page #curatedSection .rail-card{
  background:linear-gradient(135deg,rgba(124,58,237,.13),rgba(249,115,22,.060)),rgba(18,24,39,.70)!important;
}
body.home-page #latestSection .rail-card{
  background:linear-gradient(135deg,rgba(34,211,238,.12),rgba(124,58,237,.060)),rgba(18,24,39,.70)!important;
}
body.home-page #latestSection .rail-kicker{color:#67e8f9!important;}
body.home-page #curatedSection .rail-kicker{color:#fdba74!important;}
body.home-page .rail-cover{width:96px!important;height:118px!important;border-radius:18px!important;object-fit:cover!important;}
body.home-page .recommend-card{min-height:142px!important;}
body.home-page .recommend-rank{
  background:linear-gradient(135deg,var(--primary),var(--accent))!important;
  color:#fff!important;
  box-shadow:0 12px 26px rgba(124,58,237,.25)!important;
}
/* Modals */
body.home-page .modal{
  background:rgba(0,0,0,.58)!important;
  backdrop-filter:blur(8px)!important;
  -webkit-backdrop-filter:blur(8px)!important;
}
body.home-page .modal-content,
body.home-page .community-modal-content{
  border-radius:24px!important;
  background:linear-gradient(180deg,rgba(18,24,39,.94),rgba(7,10,18,.94))!important;
  border:1px solid rgba(255,255,255,.14)!important;
  box-shadow:0 28px 90px rgba(0,0,0,.45),0 0 44px rgba(124,58,237,.14)!important;
  backdrop-filter:blur(18px)!important;
  animation:modalIn .22s var(--ui-ease) both!important;
}
@keyframes modalIn{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
body.home-page .modal-header{border-bottom:1px solid rgba(255,255,255,.10)!important;}
body.home-page .modal-header h3{color:#fff!important;font-size:24px!important;}
body.home-page .modal-subcopy{color:var(--text-muted)!important;}
body.home-page .modal-close{
  width:38px!important;height:38px!important;border-radius:999px!important;
  background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff!important;
}
body.home-page .modal-close:hover{transform:rotate(5deg) scale(1.04)!important;background:rgba(239,68,68,.18)!important;border-color:rgba(239,68,68,.28)!important;}
body.home-page .favorites-item,
body.home-page .history-item,
body.home-page .community-qr-card,
body.home-page .empty-state-card{
  border-radius:18px!important;
  background:rgba(255,255,255,.055)!important;
  border:1px solid rgba(255,255,255,.11)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05)!important;
}
body.home-page .community-qr-img{background:#fff!important;border-radius:16px!important;padding:10px!important;}
body.home-page .community-qr-head span{border-radius:999px!important;background:linear-gradient(135deg,rgba(124,58,237,.26),rgba(34,211,238,.16))!important;border:1px solid rgba(255,255,255,.12)!important;color:#c4f4ff!important;}
body.home-page #clearHistoryBtn{background:rgba(239,68,68,.12)!important;border-color:rgba(239,68,68,.25)!important;color:#fecaca!important;}
/* Footer */
body.home-page .footer{
  margin-top:76px!important;
  padding:38px 0!important;
  background:linear-gradient(180deg,rgba(7,10,18,.68),#05070d)!important;
  border-top:1px solid rgba(255,255,255,.10)!important;
  color:var(--text-muted)!important;
}
body.home-page .footer .container{gap:18px!important;}
body.home-page .footer-links{gap:18px!important;}
body.home-page .footer-links a{color:var(--text-muted)!important;}
body.home-page .footer-links a:hover{color:#67e8f9!important;}
body.home-page .footer .disclaimer{
  max-width:720px!important;
  margin:0!important;
  padding:13px 15px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.045)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  color:rgba(203,210,225,.78)!important;
  line-height:1.8!important;
}
body.home-page .footer .disclaimer strong{color:#fff!important;}
/* Page entrance */
body.home-page .hero-copy{animation:homeFadeUp .52s var(--ui-ease) both;}
body.home-page .movie-card,
body.home-page .rail-card,
body.home-page .recommend-card,
body.home-page .home-entry-card{animation:homeFadeUp .42s var(--ui-ease) both;}
@keyframes homeFadeUp{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
/* Responsive */
@media (max-width:1023px){
  body.home-page .container{width:calc(100% - 36px)!important;}
  body.home-page .navbar .container{min-height:auto!important;padding:12px 0!important;flex-wrap:wrap!important;gap:10px 12px!important;}
  body.home-page .navbar-logo{order:1!important;}
  body.home-page .navbar-actions{order:2!important;margin-left:auto!important;}
  body.home-page .navbar-search{order:3!important;width:100%!important;margin-left:0!important;}
  body.home-page .navbar-categories{order:4!important;width:100%!important;overflow-x:auto!important;}
  body.home-page .hero-inner{grid-template-columns:1fr!important;min-height:620px!important;padding:92px 0 76px!important;}
  body.home-page .hero-sidecard{display:none!important;}
  body.home-page .hero-title{font-size:clamp(42px,8vw,62px)!important;}
  body.home-page .hero-description{font-size:16px!important;}
  body.home-page .home-section-panel{padding-top:58px!important;}
  body.home-page .movie-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
  body.home-page .rail-grid{grid-template-columns:1fr!important;}
  body.home-page .recommend-scroll{display:flex!important;overflow-x:auto!important;scroll-snap-type:x proximity!important;padding-bottom:4px!important;}
  body.home-page .recommend-card{min-width:360px!important;scroll-snap-align:start!important;}
}
@media (max-width:767px){
  body.home-page .container{width:calc(100% - 28px)!important;}
  body.home-page .navbar-logo h1{font-size:19px!important;}
  body.home-page .navbar-logo-icon{width:38px!important;height:38px!important;border-radius:14px!important;}
  body.home-page .nav-category{height:34px!important;padding:0 12px!important;font-size:13px!important;}
  body.home-page .hero-section{min-height:540px!important;}
  body.home-page .hero-inner{width:calc(100% - 28px)!important;min-height:540px!important;padding:74px 0 56px!important;}
  body.home-page .hero-title{font-size:38px!important;line-height:1.04!important;}
  body.home-page .hero-description{font-size:14px!important;line-height:1.72!important;-webkit-line-clamp:3!important;}
  body.home-page .hero-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;}
  body.home-page .hero-actions a,
  body.home-page .hero-actions button{width:100%!important;}
  body.home-page .trust-section{margin-top:-24px!important;}
  body.home-page .resource-radar-wrap{padding:16px!important;}
  body.home-page .resource-radar-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important;}
  body.home-page .home-entry-grid{grid-template-columns:1fr!important;padding:10px!important;}
  body.home-page .section-header-rich,
  body.home-page .home-section-header{display:block!important;padding:18px!important;}
  body.home-page .section-title{font-size:26px!important;}
  body.home-page .section-actions{margin-top:14px!important;display:flex!important;gap:10px!important;overflow-x:auto!important;padding-bottom:2px!important;}
  body.home-page .movie-grid,
  body.home-page .hot-rank-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;}
  body.home-page .movie-info{padding:12px!important;}
  body.home-page .movie-title{font-size:14px!important;min-height:38px!important;}
  body.home-page .movie-meta{font-size:11px!important;}
  body.home-page .movie-get-btn{height:36px!important;font-size:12px!important;}
  body.home-page .rail-card{grid-template-columns:78px 1fr!important;min-height:112px!important;padding:12px!important;border-radius:18px!important;}
  body.home-page .rail-cover{width:78px!important;height:102px!important;border-radius:14px!important;}
  body.home-page .rail-title{font-size:16px!important;}
  body.home-page .recommend-card{min-width:82%!important;grid-template-columns:34px 72px 1fr!important;min-height:122px!important;padding:12px!important;border-radius:18px!important;}
  body.home-page .recommend-cover{width:72px!important;height:98px!important;border-radius:14px!important;}
  body.home-page .modal{padding:14px!important;}
  body.home-page .modal-content,
  body.home-page .community-modal-content{width:min(100%,calc(100vw - 28px))!important;border-radius:22px!important;}
  body.home-page .community-qr-grid{grid-template-columns:1fr!important;}
  body.home-page .footer .container{display:block!important;text-align:left!important;}
  body.home-page .footer-links{margin-bottom:14px!important;}
}
@media (max-width:430px){
  body.home-page .hero-title{font-size:34px!important;}
  body.home-page .movie-grid,
  body.home-page .hot-rank-grid{grid-template-columns:1fr!important;}
}
@media (prefers-reduced-motion:reduce){
  body.home-page *,body.home-page *:before,body.home-page *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important;}
}
