/* ============================================================
   麦日站 V2 布局（专属，区别于其他站点）
   主色：玫红 #db2777 / #ec4899 / 深 #9d174d
   新增：分栏 Hero + 数据条 + 活动位三联 + Bento 卡种 +
         纵向时间轴 + 双栏收尾 + 列表侧栏 + 下单双栏
   ============================================================ */
:root{--pri:#db2777;--pri-2:#ec4899;--pri-deep:#9d174d}

/* ---- 全局观感 v2 ---- */
.btn{border-radius:999px}
.sec-title{border-left:0;padding-left:0;font-size:24px;font-weight:800;position:relative;padding-bottom:12px;margin-bottom:24px}
.sec-title::after{content:"";position:absolute;left:0;bottom:0;width:46px;height:4px;border-radius:2px;background:linear-gradient(90deg,var(--pri),var(--pri-2))}
.topbar{background:rgba(255,255,255,.94);backdrop-filter:blur(8px)}
.nav a{border-radius:999px;font-weight:500}
.nav a.on{background:transparent;color:var(--pri-deep);font-weight:700;border-radius:0;box-shadow:inset 0 -3px 0 var(--pri)}
.notice-bar{background:#241019;color:#f3cede}
.result-box,.article,.sell-form,.contact-card{border-radius:18px;box-shadow:0 4px 18px rgba(157,23,77,.05)}
.footer{position:relative}
.footer::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--pri),#f9a8d4)}

/* ---- 顶栏略窄 + 页头横幅（内页） ---- */
.page-head{background:linear-gradient(120deg,#1c0a14,#3d0d22 60%,#241019);color:#fff;padding:34px 0;margin-bottom:28px}
.page-head h2{font-size:26px;font-weight:800}
.page-head p{font-size:14px;opacity:.75;margin-top:6px}

/* ---- 首页 Hero（分栏 + 浮动卡） ---- */
.mh{background:
  radial-gradient(900px 420px at 88% -12%, rgba(219,39,119,.42), transparent 62%),
  radial-gradient(700px 380px at 4% 108%, rgba(236,72,153,.25), transparent 60%),
  linear-gradient(135deg,#1c0a14 0%,#3d0d22 55%,#241019 100%);
  color:#fff;padding:64px 0 56px;overflow:hidden}
.mh-in{display:grid;grid-template-columns:1.12fr .88fr;gap:44px;align-items:center}
.mh-eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.25);font-size:13px;letter-spacing:.06em;color:#f9c9df;margin-bottom:20px}
.mh-l h1{font-size:44px;line-height:1.28;font-weight:800;letter-spacing:1px;margin-bottom:16px}
.mh-l h1 em{font-style:normal;color:#f9a8d4}
.mh-sub{font-size:16px;line-height:1.8;color:rgba(255,255,255,.78);margin-bottom:26px;max-width:480px}
.mh-cta{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}
.mh-cta .btn{padding:13px 34px;font-size:16px}
.mh-tags{list-style:none;display:flex;gap:18px;flex-wrap:wrap;font-size:13.5px;color:rgba(255,255,255,.72)}
.mh-cards{position:relative;height:340px}
.mh-cc{position:absolute;width:225px;border-radius:18px;padding:20px 22px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(6px);box-shadow:0 18px 44px rgba(0,0,0,.38)}
.mh-cc span{display:block;font-size:13.5px;color:rgba(255,255,255,.82);margin-bottom:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-cc b{display:block;font-size:30px;font-weight:800;color:#f9a8d4;letter-spacing:.01em}
.mh-cc small{display:block;margin-top:6px;font-size:12px;color:rgba(255,255,255,.55)}
.mh-cc.c1{top:4px;left:2%;transform:rotate(-7deg)}
.mh-cc.c2{top:96px;left:31%;transform:rotate(2.5deg);z-index:2;background:rgba(255,255,255,.14)}
.mh-cc.c3{top:186px;left:60%;transform:rotate(8deg)}
.mh-badge{position:absolute;left:6%;bottom:-4px;z-index:3;background:linear-gradient(135deg,var(--pri),var(--pri-deep));border-radius:999px;padding:10px 20px;font-size:13.5px;box-shadow:0 12px 26px rgba(219,39,119,.4)}
.mh-badge b{font-size:16px}
@keyframes mhFloat{0%,100%{transform:translateY(0) rotate(var(--r,0deg))}50%{transform:translateY(-9px) rotate(var(--r,0deg))}}
.mh-cc{animation:mhFloat 5s ease-in-out infinite}
.mh-cc.c1{--r:-7deg}.mh-cc.c2{--r:2.5deg;animation-delay:.8s}.mh-cc.c3{--r:8deg;animation-delay:1.6s}

/* ---- 数据条 ---- */
.mh-stats{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 30px rgba(157,23,77,.07);overflow:hidden}
.mh-stats>div{padding:26px 12px;text-align:center;position:relative}
.mh-stats>div+div::before{content:"";position:absolute;left:0;top:26%;height:48%;width:1px;background:var(--line)}
.mh-stats b{display:block;font-size:30px;font-weight:800;color:var(--pri-deep)}
.mh-stats span{font-size:13px;color:var(--muted)}

/* ---- 活动位三联 ---- */
.mh-promos{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.mh-promo{position:relative;display:block;aspect-ratio:16/10;border-radius:18px;overflow:hidden;background-size:cover;background-position:center;box-shadow:0 8px 22px rgba(60,8,32,.16)}
.mh-promo::after{content:"";position:absolute;inset:auto 0 0 0;height:58%;background:linear-gradient(180deg,transparent,rgba(20,6,14,.78))}
.mh-promo-txt{position:absolute;left:18px;right:18px;bottom:14px;z-index:2;color:#fff}
.mh-promo-txt b{display:block;font-size:17px;font-weight:800;margin-bottom:3px}
.mh-promo-txt i{font-style:normal;font-size:12.5px;color:rgba(255,255,255,.75)}
.mh-promo:hover{transform:translateY(-4px);transition:.2s}

/* ---- 分类横排 ---- */
.mh-cats{display:flex;gap:26px;flex-wrap:wrap;justify-content:space-between}
.mh-cat{flex:1;min-width:100px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.mh-cat i{width:68px;height:68px;border-radius:50%;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(157,23,77,.06);transition:.2s}
.mh-cat i img{width:34px;height:34px}
.mh-cat:hover i{background:var(--pri);border-color:var(--pri);transform:translateY(-4px);box-shadow:0 12px 22px rgba(219,39,119,.28)}
.mh-cat span{font-size:14.5px;font-weight:600;color:#3c4159}

/* ---- Bento 热门 ---- */
.mh-bento{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:150px;gap:16px}
.mh-big{grid-column:span 2;grid-row:span 2;border-radius:18px;padding:26px 28px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(135deg,var(--pri) 0%,var(--pri-deep) 100%);color:#fff;box-shadow:0 14px 34px rgba(157,23,77,.32)}
.mh-big .mh-bimg{flex:1;display:flex;align-items:center;justify-content:center;padding:8px 0}
.mh-big .mh-bimg img{max-width:200px;max-height:120px}
.mh-big-top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.mh-big-top span{font-size:13px;opacity:.85}
.mh-big-top em{font-style:normal;background:rgba(255,255,255,.2);border-radius:999px;padding:3px 12px;font-size:12.5px}
.mh-big-bot{display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
.mh-big-bot b{font-size:20px;font-weight:800}
.mh-big-bot .mh-rate{font-size:13px;opacity:.9}
.mh-big-bot .mh-rate b{font-size:24px}
.mh-tile{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;display:flex;flex-direction:column;justify-content:center;gap:7px;transition:.2s;position:relative}
.mh-tile:hover{transform:translateY(-3px);border-color:#f9c9df;box-shadow:0 10px 22px rgba(157,23,77,.12)}
.mh-tile .mh-tcat{font-size:12px;color:var(--muted)}
.mh-tile .mh-tname{font-size:14.5px;font-weight:700;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mh-tile .mh-trate{font-size:12.5px;color:var(--muted)}
.mh-tile .mh-trate b{color:var(--pri-deep);font-size:16px}
.mh-tile .mh-go{position:absolute;right:14px;bottom:12px;width:28px;height:28px;border-radius:50%;background:#fdf2f8;color:var(--pri);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px}

/* ---- 流程（纵向时间轴） ---- */
.mh-flow{max-width:660px;position:relative}
.mh-flow::before{content:"";position:absolute;left:15px;top:10px;bottom:14px;width:2px;border-radius:1px;background:linear-gradient(180deg,var(--pri),#f9c9df)}
.mh-fstep{position:relative;padding:0 0 26px 52px}
.mh-fstep:last-child{padding-bottom:0}
.mh-fstep::before{content:attr(data-n);position:absolute;left:0;top:0;width:32px;height:32px;border-radius:50%;background:#fff;border:2px solid var(--pri);color:var(--pri-deep);font-weight:800;font-size:14px;display:flex;align-items:center;justify-content:center;z-index:1}
.mh-fstep h4{font-size:16px;margin-bottom:4px}
.mh-fstep p{font-size:13.5px;color:var(--muted)}

/* ---- 双栏收尾 ---- */
.mh-duo{display:grid;grid-template-columns:1.3fr .7fr;gap:20px;align-items:start}
.mh-svc{background:linear-gradient(150deg,var(--pri) 0%,var(--pri-deep) 90%);border-radius:18px;padding:26px;color:#fff;box-shadow:0 14px 30px rgba(157,23,77,.3)}
.mh-svc h4{font-size:17px;margin-bottom:14px}
.mh-svc p{font-size:14px;opacity:.92;margin-bottom:8px}
.mh-svc .btn{margin-top:14px;background:#fff;color:var(--pri-deep);border-color:#fff}
.mh-svc .btn:hover{background:#ffe4f1;border-color:#ffe4f1}

/* ---- 列表页（侧栏 + 行卡） ---- */
.ml-grid{display:grid;grid-template-columns:250px 1fr;gap:22px;align-items:start}
.ml-side{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;position:sticky;top:86px}
.ml-side h3{font-size:15px;margin-bottom:12px;color:var(--pri-deep)}
.ml-side form{display:flex;gap:8px;margin-bottom:14px}
.ml-side input{flex:1;min-width:0;padding:9px 12px;border:1px solid var(--line);border-radius:999px;font-size:13.5px}
.ml-side a{display:flex;justify-content:space-between;align-items:center;padding:10px 13px;border-radius:11px;color:#3c4159;font-size:14.5px;margin-bottom:2px}
.ml-side a:hover{background:#fdf2f8;color:var(--pri-deep)}
.ml-side a.on{background:linear-gradient(135deg,var(--pri),var(--pri-deep));color:#fff;font-weight:600}
.ml-side a em{font-style:normal;font-size:12px;opacity:.75}
.ml-rows{display:flex;flex-direction:column;gap:12px}
.ml-row{display:flex;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px 18px;transition:.2s}
.ml-row:hover{transform:translateX(4px);border-color:#f9c9df;box-shadow:0 8px 20px rgba(157,23,77,.1)}
.ml-ico{width:62px;height:62px;border-radius:14px;background:#fdf2f8;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.ml-ico img{width:42px;height:42px}
.ml-name{font-weight:700;font-size:15.5px;display:flex;align-items:center;gap:8px}
.ml-name .hot-tag{position:static}
.ml-cat{font-size:12.5px;color:var(--muted);margin-top:3px}
.ml-rate{margin-left:auto;text-align:right;flex-shrink:0}
.ml-rate b{display:block;font-size:21px;color:var(--pri-deep)}
.ml-rate span{font-size:12px;color:var(--muted)}
.ml-arrow{width:34px;height:34px;border-radius:50%;background:#fdf2f8;color:var(--pri);display:flex;align-items:center;justify-content:center;font-weight:800;flex-shrink:0}

/* ---- 下单页（双栏） ---- */
.ms-grid{display:grid;grid-template-columns:1.55fr .9fr;gap:22px;align-items:start}
.ms-side{position:sticky;top:86px;display:flex;flex-direction:column;gap:14px}
.ms-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px}
.ms-card h4{font-size:15px;color:var(--pri-deep);margin-bottom:12px}
.ms-card ol{padding-left:20px;font-size:13.5px;color:#3c4159;display:flex;flex-direction:column;gap:8px}
.ms-card.grad{background:linear-gradient(150deg,var(--pri),var(--pri-deep));border:0;color:#fff;box-shadow:0 14px 30px rgba(157,23,77,.3)}
.ms-card.grad h4{color:#fff}
.ms-card.grad p{font-size:14px;margin-bottom:7px;opacity:.94}
.ms-card.grad .btn{margin-top:10px;background:#fff;color:var(--pri-deep);border-color:#fff}
.sell-form{border-radius:20px;padding:30px}

/* ---- 响应式 ---- */
@media (max-width:960px){
  .mh-in{grid-template-columns:1fr;gap:8px}
  .mh-cards{height:300px;margin-top:10px}
  .mh-l h1{font-size:33px}
  .mh-stats{grid-template-columns:repeat(2,1fr)}
  .mh-stats>div:nth-child(3)::before{display:none}
  .mh-promos{grid-template-columns:1fr}
  .mh-duo{grid-template-columns:1fr}
  .mh-bento{grid-template-columns:repeat(2,1fr);grid-auto-rows:132px}
  .ml-grid{grid-template-columns:1fr}
  .ml-side{position:static}
  .ms-grid{grid-template-columns:1fr}
  .ms-side{position:static}
}
@media (max-width:560px){
  .mh{padding:44px 0 40px}
  .mh-cards{height:260px}
  .mh-cc{width:190px;padding:16px}
  .mh-cc.c2{left:24%}
  .mh-cc.c3{left:48%}
  .mh-l h1{font-size:27px}
  .mh-flow::before{left:13px}
}
@media (prefers-reduced-motion:reduce){
  .mh-cc{animation:none}
}
