:root{
  --red:#fb4744;
  --red-deep:#e13b38;
  --red-dark:#c7302d;
  --white:#ffffff;
  --cream:#fff6f5;
  --ink:#2b1414;
  --ink-soft:#7a4a4a;
  --ink-faint:#b98a8a;
  --line:rgba(251,71,68,.25);
  --shadow:0 10px 30px -12px rgba(43,20,20,.25);
}
*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  background:var(--cream);
  color:var(--ink);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
.mono{font-family:"SFMono-Regular",Consolas,"Courier New",monospace;letter-spacing:.02em;}

/* ---------- 顶栏 ---------- */
.topbar{
  position:sticky;top:0;z-index:50;
  background:var(--red);
  color:var(--white);
  box-shadow:0 2px 0 var(--red-dark);
}
.topbar-inner{
  max-width:1200px;margin:0 auto;
  padding:10px 20px;
  display:flex;align-items:center;gap:18px;
}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:18px;white-space:nowrap;}
.brand img{
  height:34px;width:34px;border-radius:9px;
  object-fit:contain;background:var(--white);
  border:1px solid rgba(255,255,255,.7);
}
.nav{display:flex;gap:4px;flex:1;flex-wrap:wrap;}
.nav a{
  font-size:14px;padding:6px 10px;border-radius:8px;
  color:rgba(255,255,255,.88);
  transition:background .2s,color .2s;
}
.nav a:hover{background:rgba(255,255,255,.16);color:#fff;}
.btn-down{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--white);color:var(--red-dark);
  font-weight:700;font-size:14px;
  padding:9px 18px;border-radius:999px;
  border:1px solid rgba(255,255,255,.9);
  transition:transform .2s,box-shadow .2s;
  white-space:nowrap;
}
.btn-down:hover{transform:translateY(-2px);box-shadow:0 8px 18px -8px rgba(0,0,0,.45);}
.menu-toggle{
  display:none;background:rgba(255,255,255,.18);color:#fff;border:1px solid rgba(255,255,255,.5);
  border-radius:8px;font-size:14px;padding:6px 12px;cursor:pointer;
}

/* ---------- 通用 ---------- */
.wrap{max-width:1200px;margin:0 auto;padding:0 20px;}
section{padding:62px 0;}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap;}
.sec-title{font-size:26px;letter-spacing:.01em;}
.sec-title .en{font-size:12px;color:var(--red);letter-spacing:.22em;display:block;margin-bottom:4px;font-family:Consolas,monospace;}
.sec-note{font-size:13px;color:var(--ink-soft);}

/* ---------- 首屏 ---------- */
.hero{
  background:linear-gradient(180deg,#fff 0%,var(--cream) 100%);
  border-bottom:1px dashed var(--line);
}
.hero-inner{
  max-width:1200px;margin:0 auto;padding:54px 20px 66px;
  display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center;
}
.badge-showing{
  display:inline-flex;align-items:center;gap:8px;
  border:1px solid var(--red);color:var(--red-dark);
  font-size:12px;letter-spacing:.16em;
  padding:5px 12px;border-radius:999px;
  font-family:Consolas,monospace;
  background:var(--white);
}
.badge-showing i{width:7px;height:7px;border-radius:50%;background:var(--red);display:inline-block;}
.hero h1{
  font-size:44px;line-height:1.18;margin:18px 0 14px;
  letter-spacing:.01em;
}
.hero h1 em{font-style:normal;color:var(--red);}
.hero p.lead{font-size:16px;color:var(--ink-soft);max-width:30em;margin-bottom:26px;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:26px;}
.btn-main{
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--red);color:#fff;font-weight:700;font-size:15px;
  padding:13px 28px;border-radius:999px;
  box-shadow:0 12px 22px -12px rgba(251,71,68,.95);
  transition:transform .18s,background .18s;
}
.btn-main:hover{transform:translateY(-2px);background:var(--red-deep);}
.btn-ghost{
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--line);color:var(--ink-soft);
  font-size:15px;padding:12px 26px;border-radius:999px;background:#fff;
  transition:border-color .18s,color .18s,transform .18s;
}
.btn-ghost:hover{border-color:var(--red);color:var(--red-dark);transform:translateY(-2px);}
.hero-tags{display:flex;flex-wrap:wrap;gap:8px;}
.hero-tags span{
  font-size:12px;color:var(--ink-soft);
  border:1px dashed var(--line);border-radius:6px;
  padding:4px 10px;background:#fff;
}

/* 放映票 */
.ticket{
  position:relative;
  background:var(--red);
  color:#fff;
  border-radius:16px;
  padding:20px 18px 0;
  box-shadow:0 24px 44px -22px rgba(199,48,45,.85);
}
.ticket::before,.ticket::after{
  content:"";position:absolute;width:26px;height:26px;border-radius:50%;
  background:var(--cream);top:150px;
}
.ticket::before{left:-13px;}
.ticket::after{right:-13px;}
.ticket-head{display:flex;justify-content:space-between;align-items:center;font-family:Consolas,monospace;font-size:11px;letter-spacing:.14em;opacity:.92;}
.ticket-body{display:flex;gap:16px;align-items:flex-start;margin:14px 0 16px;}
.ticket-shot{
  width:118px;height:158px;flex:0 0 118px;
  background:#fff;border-radius:10px;
  padding:5px;
}
.ticket-shot img{width:100%;height:100%;object-fit:contain;border-radius:6px;background:#2b1414;}
.ticket-info h3{font-size:20px;margin-bottom:6px;letter-spacing:.02em;}
.ticket-info .sub{font-size:12px;opacity:.86;margin-bottom:12px;line-height:1.5;}
.ticket-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px;}
.ticket-meta b{
  font-weight:500;font-size:11px;font-family:Consolas,monospace;
  border:1px solid rgba(255,255,255,.6);border-radius:4px;padding:2px 7px;
}
.seat{
  font-family:Consolas,monospace;font-size:11px;letter-spacing:.12em;
  border-top:1px dashed rgba(255,255,255,.55);padding-top:8px;opacity:.9;
}
.ticket-foot{
  border-top:1px dashed rgba(255,255,255,.6);
  display:flex;justify-content:space-between;gap:10px;
  font-family:Consolas,monospace;font-size:10.5px;
  padding:10px 0 14px;opacity:.9;
}

/* ---------- 今日场次 ---------- */
.showtime-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.show-card{
  background:#fff;border-radius:12px;overflow:hidden;
  border:1px solid rgba(43,20,20,.08);
  box-shadow:var(--shadow);
  transition:transform .2s,border-color .2s;
}
.show-card:hover{transform:translateY(-4px);border-color:var(--line);}
.show-thumb{position:relative;aspect-ratio:16/10;background:#2b1414;}
.show-thumb img{width:100%;height:100%;object-fit:contain;}
.show-time{
  position:absolute;top:8px;left:8px;
  background:rgba(43,20,20,.82);color:#fff;
  font-family:Consolas,monospace;font-size:11px;
  padding:3px 8px;border-radius:4px;letter-spacing:.08em;
}
.show-corner{
  position:absolute;top:8px;right:8px;
  background:var(--red);color:#fff;font-size:11px;
  padding:3px 8px;border-radius:4px;
}
.show-card-body{padding:12px 13px 14px;}
.show-card-body h3{font-size:15px;margin-bottom:4px;}
.show-card-body p{font-size:12px;color:var(--ink-soft);}

/* ---------- 观影三步 ---------- */
.steps{background:#fff;border-top:1px solid rgba(43,20,20,.06);border-bottom:1px solid rgba(43,20,20,.06);}
.steps-row{display:grid;grid-template-columns:repeat(3,1fr);gap:0;border-radius:14px;overflow:hidden;border:1px solid var(--line);}
.step{
  padding:24px 22px 26px;background:#fff;position:relative;
}
.step + .step{border-left:1px dashed var(--line);}
.step-num{
  font-family:Consolas,monospace;font-size:12px;letter-spacing:.2em;color:var(--red);
  display:flex;align-items:center;gap:8px;margin-bottom:12px;
}
.step-num i{display:inline-block;width:22px;height:22px;border-radius:6px;background:var(--red);color:#fff;font-style:normal;font-size:11px;line-height:22px;text-align:center;}
.step h3{font-size:17px;margin-bottom:6px;}
.step p{font-size:13.5px;color:var(--ink-soft);}

/* ---------- 热播榜 ---------- */
.rank-list{display:flex;flex-direction:column;gap:12px;}
.rank-row{
  display:grid;grid-template-columns:56px 48px 1fr 150px;
  gap:16px;align-items:center;
  background:#fff;border-radius:12px;padding:12px 18px;
  border:1px solid rgba(43,20,20,.08);
  box-shadow:0 6px 18px -14px rgba(43,20,20,.5);
  transition:border-color .2s,transform .2s;
}
.rank-row:hover{transform:translateX(3px);border-color:var(--line);}
.rank-no{
  font-family:Consolas,monospace;font-size:26px;font-weight:700;
  color:var(--red);line-height:1;
}
.rank-poster{width:48px;height:62px;border-radius:5px;background:#2b1414;overflow:hidden;}
.rank-poster img{width:100%;height:100%;object-fit:contain;}
.rank-info h3{font-size:16px;margin-bottom:3px;}
.rank-info p{font-size:12.5px;color:var(--ink-soft);}
.rank-bar{height:7px;border-radius:99px;background:rgba(251,71,68,.15);overflow:hidden;position:relative;}
.rank-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--red),var(--red-dark));border-radius:99px;}
.rank-bar span{display:block;text-align:right;font-family:Consolas,monospace;font-size:10.5px;color:var(--ink-faint);margin-top:5px;}

/* ---------- 片库 ---------- */
.filter-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;}
.filter-btn{
  font-size:13px;padding:7px 16px;border-radius:999px;
  border:1px solid var(--line);background:#fff;color:var(--ink-soft);
  cursor:pointer;transition:background .18s,color .18s,border-color .18s;
  font-family:inherit;
}
.filter-btn.active{background:var(--red);color:#fff;border-color:var(--red);}
.filter-btn:hover{border-color:var(--red);}
.lib-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;}
.lib-card{
  background:#fff;border-radius:10px;overflow:hidden;
  border:1px solid rgba(43,20,20,.08);
  transition:transform .2s,border-color .2s;
}
.lib-card:hover{transform:translateY(-3px);border-color:var(--line);}
.lib-poster{position:relative;aspect-ratio:2/3;background:#2b1414;}
.lib-poster img{width:100%;height:100%;object-fit:contain;}
.lib-tag{
  position:absolute;left:6px;bottom:6px;
  background:rgba(251,71,68,.94);color:#fff;
  font-size:10.5px;padding:2px 7px;border-radius:3px;
  letter-spacing:.04em;
}
.lib-name{font-size:13px;padding:9px 10px 10px;color:var(--ink);}

/* ---------- 心愿票 ---------- */
.wish-list{display:flex;flex-direction:column;gap:10px;}
.wish-row{
  display:grid;grid-template-columns:44px 1fr 130px 96px;
  gap:16px;align-items:center;
  background:#fff;border-radius:10px;padding:10px 16px;
  border:1px solid rgba(43,20,20,.08);
}
.wish-thumb{width:44px;height:58px;border-radius:4px;background:#2b1414;overflow:hidden;}
.wish-thumb img{width:100%;height:100%;object-fit:contain;}
.wish-name{font-size:14px;}
.wish-name small{display:block;color:var(--ink-faint);font-size:11.5px;font-family:Consolas,monospace;}
.wish-progress{height:6px;border-radius:99px;background:rgba(251,71,68,.14);overflow:hidden;}
.wish-progress i{display:block;height:100%;background:var(--red);border-radius:99px;transition:width .4s;}
.wish-count{font-family:Consolas,monospace;font-size:11.5px;color:var(--ink-faint);margin-top:4px;}
.wish-btn{
  font-family:inherit;font-size:12.5px;cursor:pointer;
  border:1px solid var(--red);color:var(--red-dark);background:#fff;
  border-radius:999px;padding:7px 0;width:100%;
  transition:background .2s,color .2s;
}
.wish-btn:hover{background:#fff6f5;}
.wish-btn.joined{background:var(--red);color:#fff;border-color:var(--red);}

/* ---------- 观影码 ---------- */
.code-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;}
.code-card{
  background:#fff;border-radius:12px;padding:20px 18px;
  border:1px solid rgba(43,20,20,.08);
  transition:transform .2s,border-color .2s;
}
.code-card:hover{transform:translateY(-3px);border-color:var(--line);}
.code-icon{
  width:38px;height:38px;border-radius:10px;background:var(--red);
  color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:700;margin-bottom:14px;
}
.code-card h3{font-size:15.5px;margin-bottom:6px;}
.code-card p{font-size:13px;color:var(--ink-soft);}
.code-num{font-family:Consolas,monospace;font-size:10.5px;color:var(--ink-faint);letter-spacing:.16em;margin-top:12px;display:block;}

/* ---------- 观后留言 ---------- */
.review-head{display:flex;align-items:center;gap:16px;margin-bottom:24px;flex-wrap:wrap;}
.score{
  font-family:Consolas,monospace;font-size:40px;font-weight:700;color:var(--red);line-height:1;
}
.review-head p{font-size:13px;color:var(--ink-soft);max-width:32em;}
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.review-card{
  background:#fffcf7;border-radius:10px;
  padding:20px 18px 16px;position:relative;
  border:1px solid rgba(43,20,20,.08);
}
.review-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:6px;
  background-image:radial-gradient(circle at 6px 0, transparent 5px, var(--red) 5px);
  background-size:12px 6px;background-repeat:repeat-x;
  opacity:.55;border-radius:10px 10px 0 0;
}
.review-card p{font-size:13.5px;color:var(--ink);line-height:1.75;margin-bottom:14px;}
.review-who{display:flex;justify-content:space-between;font-family:Consolas,monospace;font-size:11px;color:var(--ink-faint);}

/* ---------- 下载区 ---------- */
.download{
  background:var(--red);
  border-radius:18px;position:relative;
  padding:48px 40px;color:#fff;
  max-width:1120px;margin:0 auto 60px;
  box-shadow:0 30px 50px -30px rgba(199,48,45,.9);
}
.download::before,.download::after{
  content:"";position:absolute;width:34px;height:34px;border-radius:50%;
  background:var(--cream);top:50%;transform:translateY(-50%);
}
.download::before{left:-17px;}
.download::after{right:-17px;}
.download-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;}
.download h2{font-size:30px;margin-bottom:8px;}
.download p{font-size:14px;opacity:.92;max-width:34em;}
.btn-white{
  display:inline-flex;align-items:center;justify-content:center;
  background:#fff;color:var(--red-dark);font-weight:700;font-size:16px;
  padding:14px 34px;border-radius:999px;white-space:nowrap;
  box-shadow:0 12px 24px -14px rgba(0,0,0,.5);
  transition:transform .2s;
}
.btn-white:hover{transform:translateY(-2px);}

/* ---------- 页脚 ---------- */
.site-footer{
  background:#fff;border-top:1px solid rgba(43,20,20,.08);
  padding:34px 0 30px;
}
.footer-inner{
  max-width:1200px;margin:0 auto;padding:0 20px;
  font-size:12px;color:var(--ink-faint);
  display:flex;flex-direction:column;gap:10px;
}
.footer-inner p{line-height:1.8;}
.footer-inner .beian a{color:var(--ink-soft);border-bottom:1px solid var(--line);}
.footer-inner .beian a:hover{color:var(--red-dark);}
.footer-about{margin-top:4px;font-size:12px;}
.footer-about summary{
  list-style:none;display:inline-block;cursor:pointer;
  color:var(--ink-faint);border-bottom:1px dashed var(--line);padding-bottom:1px;
}
.footer-about summary::-webkit-details-marker{display:none;}
.footer-about summary:hover{color:var(--red-dark);}
.footer-about summary:focus-visible{outline:2px solid var(--red);outline-offset:3px;border-radius:2px;}
.about-body{
  margin-top:10px;padding:14px 16px;border-radius:8px;
  background:#fff8f7;border:1px dashed var(--line);
  display:flex;flex-wrap:wrap;gap:8px 16px;
  font-size:12px;color:var(--ink-soft);
}
.about-body a{color:var(--ink-soft);border-bottom:1px solid transparent;}
.about-body a:hover{color:var(--red-dark);border-bottom-color:var(--line);}
.footer-time{font-family:Consolas,monospace;font-size:11px;color:var(--ink-faint);}

/* ---------- 响应式 ---------- */
@media (max-width:1024px){
  .hero-inner{grid-template-columns:1fr;gap:36px;}
  .hero h1{font-size:36px;}
  .showtime-grid{grid-template-columns:repeat(2,1fr);}
  .lib-grid{grid-template-columns:repeat(4,1fr);}
  .code-grid{grid-template-columns:repeat(2,1fr);}
  .review-grid{grid-template-columns:repeat(2,1fr);}
  .rank-row{grid-template-columns:48px 48px 1fr;}
  .rank-bar{grid-column:1 / -1;margin-top:6px;}
  .wish-row{grid-template-columns:44px 1fr 96px;}
  .wish-progress{grid-column:1 / -1;order:5;}
  .wish-count{grid-column:1 / -1;order:6;margin-top:-4px;}
}
@media (max-width:768px){
  section{padding:44px 0;}
  .topbar-inner{padding:9px 14px;gap:10px;}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--red-dark);flex-direction:column;padding:10px 14px 16px;gap:2px;box-shadow:0 12px 20px -12px rgba(0,0,0,.5);}
  .nav.open{display:flex;}
  .nav a{font-size:14px;padding:9px 8px;}
  .menu-toggle{display:inline-block;margin-left:auto;}
  .brand{font-size:16px;}
  .hero-inner{padding:34px 16px 48px;}
  .hero h1{font-size:29px;}
  .hero p.lead{font-size:14.5px;}
  .ticket::before,.ticket::after{top:136px;}
  .showtime-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .steps-row{grid-template-columns:1fr;}
  .step + .step{border-left:none;border-top:1px dashed var(--line);}
  .lib-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .code-grid{grid-template-columns:1fr;}
  .review-grid{grid-template-columns:1fr;}
  .rank-row{grid-template-columns:40px 44px 1fr;gap:10px;padding:10px 12px;}
  .rank-no{font-size:20px;}
  .wish-row{grid-template-columns:40px 1fr;gap:10px;padding:10px 12px;}
  .wish-thumb{width:40px;height:52px;}
  .wish-btn{grid-column:1 / -1;order:4;}
  .download{padding:32px 22px;margin-left:0;margin-right:0;}
  .download h2{font-size:23px;}
  .btn-white{width:100%;}
}