
:root{
  --bg:#07111f;
  --bg-soft:#0d1727;
  --panel:rgba(12,18,32,.78);
  --panel-2:rgba(21,30,48,.88);
  --line:rgba(255,255,255,.08);
  --text:#e5eefc;
  --muted:#9ca7bd;
  --accent:#f59e0b;
  --accent-2:#fb7185;
  --accent-3:#38bdf8;
  --shadow:0 24px 80px rgba(0,0,0,.35);
  --radius:28px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 20% -10%, rgba(245,158,11,.18), transparent 50%),
    radial-gradient(900px 600px at 90% 0%, rgba(56,189,248,.12), transparent 45%),
    linear-gradient(180deg, #050b15 0%, #09111d 45%, #060b14 100%);
  font-family:Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height:1.6;
  min-height:100vh;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
button,input,select,textarea{font:inherit}
::selection{background:rgba(245,158,11,.35)}
.container{
  width:min(1280px, calc(100% - 32px));
  margin-inline:auto;
}
.section{padding:28px 0 10px}
.section + .section{margin-top:8px}
.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin:0 0 18px;
}
.section-head h2,.section-head h1{
  margin:0;
  font-size:clamp(22px,2vw,34px);
  line-height:1.1;
  letter-spacing:.2px;
}
.section-head p{
  margin:8px 0 0;
  color:var(--muted);
  max-width:64ch;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 12px;
  border-radius:999px;
  background:rgba(245,158,11,.12);
  color:#ffd88f;
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.topbar{
  position:sticky;
  top:0;
  z-index:80;
  backdrop-filter:blur(18px);
  background:linear-gradient(180deg, rgba(5,11,21,.94), rgba(5,11,21,.74));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.topbar-inner{
  min-height:74px;
  display:flex;
  align-items:center;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:max-content;
}
.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  background:
    linear-gradient(145deg, rgba(245,158,11,1), rgba(251,113,133,1));
  box-shadow:0 12px 28px rgba(245,158,11,.24);
  display:grid;
  place-items:center;
  color:#fff;
  font-weight:800;
}
.brand-name{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-name strong{
  font-size:18px;
  letter-spacing:.5px;
}
.brand-name span{
  color:var(--muted);
  font-size:12px;
  margin-top:3px;
}

.nav{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:8px;
  flex-wrap:wrap;
}
.nav a{
  padding:10px 14px;
  border-radius:999px;
  color:#dbe4f2;
  transition:all .2s ease;
}
.nav a:hover,
.nav a.active{
  background:rgba(245,158,11,.14);
  color:#fff;
}
.toolbar{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:10px;
}
.searchbox{
  display:flex;
  align-items:center;
  gap:10px;
  width:min(360px, 42vw);
  padding:11px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
}
.searchbox input{
  width:100%;
  border:none;
  outline:none;
  background:transparent;
  color:#fff;
}
.searchbox input::placeholder{color:#95a3be}
.icon-btn, .ghost-btn, .primary-btn, .player-play, .chip{
  border:none;
  outline:none;
  cursor:pointer;
}
.icon-btn{
  width:42px;
  height:42px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:#fff;
  display:grid;
  place-items:center;
}
.mobile-panel{
  display:none;
  padding:14px 0 18px;
}
.mobile-panel .nav{
  margin:0;
  padding-top:8px;
}

.hero-shell{
  position:relative;
  margin-top:18px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:34px;
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(13,23,39,.98), rgba(8,14,25,.94)),
    radial-gradient(900px 420px at 10% 10%, rgba(245,158,11,.12), transparent 48%);
  box-shadow:var(--shadow);
}
.hero-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(500px 300px at 82% 18%, rgba(251,113,133,.18), transparent 58%),
    radial-gradient(300px 240px at 58% 72%, rgba(56,189,248,.12), transparent 65%);
  pointer-events:none;
}
.hero-grid{
  position:relative;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:0;
  min-height:640px;
}
.hero-copy{
  padding:42px 38px 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
}
.hero-copy h1{
  margin:0;
  font-size:clamp(34px, 4.2vw, 64px);
  line-height:1.03;
  letter-spacing:-.02em;
}
.hero-copy p{
  margin:0;
  color:#cad5ea;
  max-width:62ch;
  font-size:16px;
}
.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  color:#ecf2ff;
  font-size:13px;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.primary-btn,.ghost-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 18px;
  border-radius:999px;
  transition:transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.primary-btn{
  background:linear-gradient(135deg, var(--accent), #fb923c);
  color:#111827;
  box-shadow:0 16px 34px rgba(245,158,11,.22);
  font-weight:700;
}
.ghost-btn{
  background:rgba(255,255,255,.07);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
}
.primary-btn:hover,.ghost-btn:hover,.icon-btn:hover,.player-play:hover,.chip:hover{
  transform:translateY(-2px);
}
.hero-stats{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:4px;
}
.hero-stat{
  padding:14px 16px;
  border-radius:20px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.hero-stat strong{
  display:block;
  font-size:22px;
  line-height:1.1;
}
.hero-stat span{
  color:var(--muted);
  font-size:12px;
}

.hero-carousel{
  position:relative;
  min-height:640px;
  border-left:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));
}
.hero-slide{
  display:none;
  height:100%;
  padding:24px;
}
.hero-slide.is-active{display:block}
.slide-card{
  position:relative;
  height:100%;
  min-height:592px;
  border-radius:30px;
  overflow:hidden;
  background:var(--panel);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
}
.slide-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(1.05) contrast(1.02);
}
.slide-overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:24px 22px 22px;
  background:linear-gradient(180deg, transparent, rgba(3,6,14,.88) 30%, rgba(3,6,14,.98));
}
.slide-overlay h3{
  margin:10px 0 8px;
  font-size:26px;
  line-height:1.15;
}
.slide-overlay p{
  margin:0 0 14px;
  color:#c8d2e8;
  font-size:14px;
}
.slide-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.slide-controls{
  position:absolute;
  left:24px;
  right:24px;
  top:24px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  z-index:2;
}
.slider-btn{
  width:42px;
  height:42px;
  border-radius:999px;
  background:rgba(0,0,0,.42);
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
  display:grid;
  place-items:center;
}
.slider-dots{
  display:flex;
  gap:8px;
  justify-content:center;
}
.slider-dot{
  width:10px;
  height:10px;
  border-radius:999px;
  border:none;
  background:rgba(255,255,255,.28);
}
.slider-dot.active{
  width:26px;
  background:linear-gradient(90deg, var(--accent), #fb7185);
}

.panel{
  border-radius:var(--radius);
  background:var(--panel);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.panel-pad{padding:22px}
.split{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:18px;
}

.chip-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.chip{
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.07);
  color:#eef3ff;
  border:1px solid rgba(255,255,255,.08);
}
.chip.active{
  background:rgba(245,158,11,.18);
  border-color:rgba(245,158,11,.25);
}

.movie-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(170px, 1fr));
  gap:16px;
}
.movie-card{
  position:relative;
  overflow:hidden;
  border-radius:22px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.movie-card:hover{
  transform:translateY(-6px);
  border-color:rgba(245,158,11,.28);
  box-shadow:0 20px 40px rgba(0,0,0,.28);
}
.movie-poster{
  aspect-ratio:2/3;
  overflow:hidden;
  background:#101826;
  position:relative;
}
.movie-poster img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.movie-card:hover .movie-poster img{transform:scale(1.05)}
.movie-badge{
  position:absolute;
  top:12px;
  left:12px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(3,7,18,.72);
  border:1px solid rgba(255,255,255,.1);
  color:#fff;
  font-size:11px;
  backdrop-filter:blur(10px);
}
.movie-body{
  padding:14px 14px 16px;
}
.movie-body h3{
  margin:0 0 8px;
  font-size:16px;
  line-height:1.3;
}
.movie-meta{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  color:var(--muted);
  font-size:12px;
  margin-bottom:8px;
}
.movie-excerpt{
  margin:0;
  color:#c8d2e8;
  font-size:13px;
  line-height:1.55;
}
.movie-link{
  display:block;
}

.stat-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px;
}
.stat{
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.stat strong{
  display:block;
  font-size:26px;
  line-height:1.1;
}
.stat span{
  color:var(--muted);
  font-size:12px;
}

.hero-banner{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
  margin-top:18px;
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap:16px;
}
.catalog-card{
  padding:20px;
  border-radius:24px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.catalog-card h3{
  margin:8px 0 8px;
  font-size:18px;
}
.catalog-card p{
  margin:0 0 14px;
  color:#c8d2e8;
  font-size:13px;
}
.catalog-card .count{
  color:#ffd88f;
  font-weight:700;
}

.board{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(230px, 1fr));
  gap:14px;
}
.board-item{
  padding:16px;
  border-radius:20px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.board-item .rank{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:999px;
  background:rgba(245,158,11,.16);
  color:#ffd88f;
  font-weight:800;
  margin-bottom:10px;
}
.board-item h3{
  margin:0 0 6px;
  font-size:16px;
}
.board-item p{
  margin:0;
  color:#c8d2e8;
  font-size:13px;
}

.movie-hero{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:20px;
  align-items:stretch;
}
.movie-cover{
  border-radius:28px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.05);
  box-shadow:var(--shadow);
}
.movie-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  aspect-ratio:2/3;
}
.movie-detail{
  padding:26px;
  border-radius:28px;
  background:var(--panel);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
}
.movie-detail h1{
  margin:8px 0 10px;
  font-size:clamp(28px,3vw,48px);
  line-height:1.05;
}
.movie-detail .lede{
  margin:0 0 16px;
  color:#d6e0f2;
  font-size:16px;
}
.meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:14px 0 18px;
}
.meta-row .pill{background:rgba(255,255,255,.06)}
.info-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:12px;
}
.info-box{
  padding:14px 16px;
  border-radius:18px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.info-box span{
  display:block;
  color:var(--muted);
  font-size:12px;
}
.info-box strong{
  display:block;
  margin-top:4px;
  font-size:15px;
}

.player-panel{
  margin-top:18px;
  padding:22px;
  border-radius:28px;
  background:var(--panel);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
}
.player-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
.player-head h2{
  margin:0;
  font-size:22px;
}
.player-box{
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:#000;
  aspect-ratio:16/9;
}
.player-box video{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#000;
}
.player-play{
  position:absolute;
  inset:auto 20px 20px auto;
  padding:12px 18px;
  border-radius:999px;
  background:rgba(245,158,11,.92);
  color:#111827;
  font-weight:800;
  box-shadow:0 14px 30px rgba(245,158,11,.18);
}
.content-panel{
  margin-top:18px;
  padding:22px;
  border-radius:28px;
  background:var(--panel);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
}
.content-panel h2{
  margin:0 0 12px;
  font-size:22px;
}
.content-panel p{
  margin:0;
  color:#d2dbec;
}
.related-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(180px, 1fr));
  gap:14px;
}
.related-grid .movie-card{
  background:rgba(255,255,255,.04);
}
.footer{
  margin:32px 0 22px;
  padding:24px 0 12px;
  color:var(--muted);
  border-top:1px solid rgba(255,255,255,.08);
}
.footer .footer-inner{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:space-between;
  align-items:center;
}
.empty-state{
  display:none;
  padding:30px;
  border-radius:24px;
  border:1px dashed rgba(255,255,255,.18);
  color:#c8d2e8;
  text-align:center;
  background:rgba(255,255,255,.04);
}

@media (max-width: 1080px){
  .hero-grid, .split, .movie-hero{
    grid-template-columns:1fr;
  }
  .hero-carousel{min-height:520px;border-left:none;border-top:1px solid rgba(255,255,255,.08)}
  .slide-card{min-height:470px}
  .stat-grid,.info-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
}

@media (max-width: 760px){
  .container{width:min(100% - 20px, 1280px)}
  .topbar-inner{min-height:66px; flex-wrap:wrap; padding:10px 0}
  .nav, .toolbar .searchbox{display:none}
  .mobile-panel{display:block}
  .hero-copy{padding:28px 20px 24px}
  .hero-grid{min-height:auto}
  .hero-carousel{min-height:430px}
  .slide-card{min-height:390px}
  .movie-grid, .catalog-grid, .board{grid-template-columns:repeat(auto-fill, minmax(150px, 1fr))}
  .section-head{flex-direction:column; align-items:start}
  .hero-stats,.stat-grid,.info-grid{grid-template-columns:1fr}
  .player-play{inset:auto 14px 14px auto}
}
