/* roulang page: index */
:root{
  --brand:#f7a41d;
  --brand-dark:#d9820a;
  --brand-soft:#fff3dc;
  --ink:#1c1510;
  --ink-soft:#4b3f34;
  --muted:#7d6f62;
  --bg:#fbf8f2;
  --surface:#ffffff;
  --surface-alt:#f7f1e6;
  --line:#e9ddca;
  --accent:#1f5a48;
  --radius-lg:24px;
  --radius:16px;
  --radius-sm:10px;
  --shadow-sm:0 2px 10px rgba(70,45,18,.06);
  --shadow:0 16px 36px -20px rgba(70,45,18,.4);
  --shadow-lg:0 34px 64px -32px rgba(50,32,14,.5);
  --max:1180px;
}
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0;
  font-family:system-ui,-apple-system,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC",sans-serif;
  font-size:16px;
  line-height:1.7;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{margin:0;font-weight:800;letter-spacing:-.2px;line-height:1.32;}
p{margin:0;}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;height:auto;}
ul,ol{margin:0;padding:0;list-style:none;}
button,input,select,textarea{font:inherit;color:inherit;}
button{cursor:pointer;}
:focus-visible{outline:3px solid var(--brand-dark);outline-offset:3px;border-radius:6px;}
.container{width:min(100% - 44px,var(--max));margin-inline:auto;}

/* ---------- 按钮 ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 26px;border-radius:999px;border:1px solid transparent;
  font-size:15px;font-weight:700;letter-spacing:.2px;white-space:nowrap;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease,border-color .18s ease;
}
.btn-primary{background:var(--brand);color:#3a2404;box-shadow:0 14px 26px -16px rgba(217,130,10,.95);}
.btn-primary:hover{background:#ffb92f;transform:translateY(-2px);box-shadow:0 18px 30px -16px rgba(217,130,10,.9);}
.btn-primary:active{transform:translateY(0);}
.btn-ghost{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.44);}
.btn-ghost:hover{background:rgba(255,255,255,.22);transform:translateY(-2px);}
.btn-dark{background:var(--ink);color:#fff;}
.btn-dark:hover{background:#33261a;transform:translateY(-2px);}
.btn-sm{padding:10px 20px;font-size:14px;}

/* ---------- 顶部导航 ---------- */
.site-header{
  position:sticky;top:0;z-index:60;
  background:rgba(251,248,242,.93);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;gap:26px;min-height:74px;}
.brand{display:flex;align-items:center;gap:11px;flex:0 0 auto;}
.brand-mark{
  width:40px;height:40px;border-radius:13px;flex:0 0 auto;
  background:linear-gradient(145deg,var(--brand),var(--brand-dark));
  color:#fff;display:grid;place-items:center;font-size:18px;font-weight:800;
  box-shadow:0 8px 18px -8px rgba(217,130,10,.95);
}
.brand-text{display:flex;flex-direction:column;line-height:1.22;}
.brand-text strong{font-size:17px;letter-spacing:.6px;}
.brand-text small{font-size:11px;color:var(--muted);letter-spacing:.6px;}
.site-nav{margin-left:auto;}
.site-nav ul{display:flex;gap:4px;}
.site-nav a{
  display:block;padding:8px 14px;border-radius:999px;
  font-size:15px;color:var(--ink-soft);
  transition:background .2s ease,color .2s ease;
}
.site-nav a:hover{background:var(--brand-soft);color:#8a5806;}
.site-nav a.active{background:var(--ink);color:#fff;}
.header-cta{flex:0 0 auto;}

/* ---------- 首屏 ---------- */
.hero{
  position:relative;overflow:hidden;color:#fff;
  padding:92px 0 66px;
  background:url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
 background-size: cover !important;}
.hero::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(158deg,rgba(26,17,8,.92),rgba(26,17,8,.74) 52%,rgba(126,74,10,.74));
}
.hero-inner{position:relative;max-width:920px;text-align:center;}
.hero-badge{
  display:inline-block;margin:0 0 22px;padding:7px 18px;border-radius:999px;
  font-size:13px;letter-spacing:.6px;color:#ffe0ab;
  background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.28);
}
.hero h1{
  font-size:clamp(28px,4.2vw,46px);line-height:1.28;margin:0 0 18px;font-weight:800;
}
.hero-sub{
  max-width:730px;margin:0 auto 32px;
  font-size:clamp(15px,1.5vw,17px);line-height:1.9;color:rgba(255,255,255,.83);
}
.hero-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;margin-bottom:46px;}
.hero-stats{
  display:grid;grid-template-columns:repeat(3,1fr);gap:18px;
  max-width:660px;margin:0 auto;padding-top:28px;
  border-top:1px solid rgba(255,255,255,.18);
}
.hero-stats dt{font-size:13px;color:rgba(255,255,255,.64);margin-bottom:4px;letter-spacing:.4px;}
.hero-stats dd{margin:0;font-size:22px;font-weight:800;color:var(--brand);letter-spacing:-.4px;}

/* ---------- 版块通用 ---------- */
.section{padding:78px 0;}
.section--alt{background:var(--surface-alt);border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.section-head{max-width:740px;margin-bottom:38px;}
.eyebrow{
  display:inline-flex;align-items:center;gap:9px;
  margin:0 0 12px;font-size:13px;font-weight:800;letter-spacing:2.4px;
  color:var(--brand-dark);text-transform:uppercase;
}
.eyebrow::before{content:"";width:24px;height:2px;border-radius:2px;background:var(--brand-dark);}
.section-head h2{font-size:clamp(23px,2.7vw,32px);margin:0 0 12px;}
.section-desc{color:var(--muted);font-size:15.5px;line-height:1.88;}

/* ---------- 网格 ---------- */
.grid{display:grid;gap:22px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}

/* ---------- 卡片 ---------- */
.card{
  display:flex;flex-direction:column;overflow:hidden;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#dfcaa8;}
.card .thumb{aspect-ratio:16/9;overflow:hidden;background:#efe6d7;}
.card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease;}
.card:hover .thumb img{transform:scale(1.06);}
.card-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:9px;}
.card-body h3{font-size:18px;}
.card-body p{color:var(--muted);font-size:14.5px;line-height:1.78;}
.card-meta{font-size:13px;color:#9a8b7c;letter-spacing:.2px;}
.tag{
  display:inline-flex;align-items:center;padding:4px 12px;border-radius:999px;
  background:var(--brand-soft);color:#8a5806;
  font-size:12.5px;font-weight:700;letter-spacing:.3px;
}
.tag--green{background:#eaf3ef;color:var(--accent);}
.tag--dark{background:#efe7db;color:var(--ink-soft);}
.genre-card .card-body .tag{align-self:flex-start;}

/* ---------- 热播推荐 ---------- */
.hot-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
.hot-card{
  display:grid;grid-template-columns:210px 1fr;overflow:hidden;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.hot-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:#dfcaa8;}
.hot-poster{background:#efe6d7;overflow:hidden;}
.hot-poster img{width:100%;height:100%;min-height:280px;object-fit:cover;}
.hot-body{padding:26px 26px 24px;display:flex;flex-direction:column;gap:12px;}
.hot-tags{display:flex;flex-wrap:wrap;gap:8px;}
.hot-body h3{font-size:21px;}
.hot-body p{color:var(--muted);font-size:14.5px;line-height:1.82;}
.progress-wrap{margin-top:auto;padding-top:10px;}
.progress-info{display:flex;justify-content:space-between;font-size:13px;color:var(--ink-soft);margin-bottom:8px;font-weight:600;}
.progress{height:8px;border-radius:999px;background:#f0e6d6;overflow:hidden;}
.progress i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,var(--brand),var(--brand-dark));}

/* ---------- 片单 ---------- */
.playlist-card .thumb{aspect-ratio:16/10;}
.playlist-card .card-body{padding-bottom:24px;}
.playlist-card .card-foot{
  margin-top:auto;padding-top:10px;font-size:13px;font-weight:700;color:var(--brand-dark);
  display:inline-flex;align-items:center;gap:6px;
}
.playlist-card:hover .card-foot{color:#a56407;}

/* ---------- 更新节奏 ---------- */
.time-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;}
.time-card{
  position:relative;padding:26px 22px;border-radius:var(--radius);
  background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-sm);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.time-card::after{
  content:"";position:absolute;left:22px;top:0;width:34px;height:3px;border-radius:0 0 4px 4px;
  background:var(--brand);
}
.time-card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:#dfcaa8;}
.time-card .clock{display:block;font-size:27px;font-weight:800;color:var(--brand-dark);letter-spacing:-.6px;}
.time-card h3{margin:8px 0 8px;font-size:16px;}
.time-card p{color:var(--muted);font-size:14px;line-height:1.75;}

/* ---------- FAQ ---------- */
.faq-list{display:grid;gap:14px;max-width:880px;}
.faq{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease;
}
.faq:hover{border-color:#dfcaa8;box-shadow:var(--shadow-sm);}
.faq summary{
  position:relative;display:block;padding:18px 56px 18px 22px;
  font-size:16px;font-weight:700;cursor:pointer;list-style:none;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{
  content:"+";position:absolute;right:22px;top:50%;transform:translateY(-50%);
  font-size:22px;font-weight:700;color:var(--brand-dark);line-height:1;
}
.faq[open] summary::after{content:"–";}
.faq p{padding:0 22px 20px;color:var(--muted);font-size:14.5px;line-height:1.88;}

/* ---------- 收口 CTA ---------- */
.cta{
  position:relative;overflow:hidden;text-align:center;color:#fff;
  padding:80px 0;
  background:url('/assets/images/backpic/back-3.webp') center/cover no-repeat;
 background-size: cover !important;}
.cta::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(120deg,rgba(26,17,8,.94),rgba(26,17,8,.76));
}
.cta .container{position:relative;max-width:780px;}
.cta h2{font-size:clamp(24px,3vw,34px);margin:0 0 14px;}
.cta p{color:rgba(255,255,255,.82);line-height:1.9;margin:0 0 28px;}
.cta-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:14px;}

/* ---------- 页脚 ---------- */
.site-footer{background:#1a1310;color:rgba(255,255,255,.68);padding-top:58px;}
.footer-grid{
  display:grid;grid-template-columns:1.7fr 1fr 1fr 1.2fr;gap:34px;
  padding-bottom:42px;
}
.site-footer .brand-text strong{color:#fff;}
.site-footer .brand-text small{color:rgba(255,255,255,.5);}
.footer-desc{margin-top:18px;max-width:350px;font-size:14px;line-height:1.9;color:rgba(255,255,255,.6);}
.footer-col h4{color:#fff;font-size:15px;margin:0 0 16px;letter-spacing:.4px;}
.footer-col ul{display:grid;gap:10px;}
.footer-col a{font-size:14px;color:rgba(255,255,255,.66);transition:color .2s ease;}
.footer-col a:hover{color:var(--brand);}
.footer-note{font-size:13px;line-height:1.9;color:rgba(255,255,255,.55);}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);padding:20px 0 26px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px;
  font-size:13px;color:rgba(255,255,255,.48);
}

/* ---------- 响应式 ---------- */
@media (max-width:1024px){
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .time-grid{grid-template-columns:repeat(2,1fr);}
  .hot-grid{grid-template-columns:1fr;}
  .hot-card{grid-template-columns:180px 1fr;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media (max-width:980px){
  .header-inner{flex-wrap:wrap;gap:12px;padding:12px 0;min-height:0;}
  .site-nav{order:3;width:100%;margin-left:0;overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .site-nav ul{flex-wrap:nowrap;gap:6px;padding-bottom:4px;}
  .site-nav a{white-space:nowrap;font-size:14px;}
  .header-cta{margin-left:auto;}
}
@media (max-width:768px){
  .section{padding:58px 0;}
  .hero{padding:66px 0 50px;}
  .grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}
  .hot-card{grid-template-columns:1fr;}
  .hot-poster img{min-height:0;aspect-ratio:16/10;}
  .hero-actions{margin-bottom:36px;}
  .cta{padding:62px 0;}
  .footer-grid{grid-template-columns:1fr;gap:28px;}
  .footer-bottom{flex-direction:column;align-items:flex-start;}
}
@media (max-width:520px){
  .container{width:calc(100% - 32px);}
  .time-grid{grid-template-columns:1fr;}
  .hero-stats{grid-template-columns:1fr;gap:0;padding-top:18px;}
  .hero-stats > div{
    display:flex;justify-content:space-between;align-items:baseline;
    padding:11px 0;border-bottom:1px dashed rgba(255,255,255,.16);text-align:left;
  }
  .hero-stats > div:last-child{border-bottom:0;}
  .hero-stats dt{margin:0;}
  .hero-stats dd{font-size:20px;}
  .btn{width:100%;}
  .hero-actions .btn,.cta-actions .btn{width:100%;}
  .header-cta{width:auto;}
  .hot-body{padding:22px 20px;}
}
