/* willbeboss — 黄黑撞色分屏风格 */
:root {
  --y: #FFE500;
  --ink: #0B0B0C;
  --white: #FFFFFF;
  --muted: #C9CCD1;
  --dim: #8E929A;
  --line: #26272B;
  --hd: "ZCOOL QingKe HuangYou", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --body: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --lat: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 4vw, 56px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--ink); color: var(--white); font: 16px/1.6 var(--body); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.lat { font-family: var(--lat); font-weight: 700; }
.hd { font-family: var(--hd); font-weight: 400; }
.kicker { font-family: var(--lat); font-weight: 700; font-size: 15px; letter-spacing: 4px; color: var(--y); }
.xlogo { flex: none; }

/* 顶栏 */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px var(--pad); border-bottom: 3px solid var(--y); }
.logo { font-family: var(--lat); font-weight: 700; font-size: 22px; letter-spacing: 1px; }
.logo b { background: var(--y); color: var(--ink); padding: 0 6px; margin: 0 2px; }
.top nav { display: flex; align-items: center; gap: 24px; font-family: var(--lat); font-weight: 700; font-size: 15px; }
.top nav a { padding: 12px 0; }
.top nav a.xbtn { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--y); color: var(--ink); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; font-weight: 900; font-size: 17px; border: 3px solid var(--white); background: var(--ink); color: var(--white); transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--y); }
.btn.y { background: var(--y); color: var(--ink); border-color: var(--y); }
.btn.y:hover { box-shadow: 7px 7px 0 var(--white); }
.btns { display: flex; flex-wrap: wrap; gap: 16px; }

/* 分屏 */
.split { display: flex; flex-wrap: wrap; align-items: stretch; }
.panel-y { background: var(--y); color: var(--ink); }
.panel-k { background: var(--ink); }

/* 首屏 */
.hero-l { flex: 1 1 460px; min-height: 640px; position: relative; display: flex; align-items: center; justify-content: center; padding: 64px 24px; overflow: hidden; }
.ghost { position: absolute; left: -12px; bottom: -40px; font-family: var(--lat); font-weight: 700; font-size: 220px; line-height: 1; letter-spacing: -6px; -webkit-text-stroke: 3px var(--ink); color: transparent; pointer-events: none; }
.no { position: absolute; top: 28px; left: 28px; font-family: var(--lat); font-weight: 700; font-size: 14px; letter-spacing: 3px; }
.avatar { position: relative; transform: rotate(-4deg); }
.avatar img { display: block; width: 300px; height: 440px; object-fit: cover; object-position: top; background: var(--white); border: 6px solid var(--ink); box-shadow: 16px 16px 0 var(--ink); }
.tag-handle { position: absolute; left: -28px; bottom: 36px; transform: rotate(-6deg); background: var(--ink); color: var(--y); font-family: var(--lat); font-weight: 700; font-size: 18px; padding: 10px 16px; }
.sticker { position: absolute; right: -34px; top: 28px; transform: rotate(12deg); background: var(--white); color: var(--ink); border: 4px solid var(--ink); font-family: var(--hd); font-size: 30px; padding: 4px 14px; }
.hero-r { flex: 1.25 1 520px; min-height: 640px; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 64px clamp(20px, 6vw, 96px) 64px clamp(20px, 12vw, 180px); }
.hero-r h1 { margin: 0; font-family: var(--hd); font-weight: 400; font-size: clamp(52px, 6.6vw, 112px); line-height: 1.04; letter-spacing: 2px; }
.hero-r h1 span { display: block; white-space: nowrap; }
.hero-r h1 .y { color: var(--y); }
.hero-r p { margin: 0; max-width: 520px; font-size: 19px; line-height: 1.7; color: var(--muted); }

/* 横幅 */
.ticker { background: var(--white); color: var(--ink); transform: rotate(-1.5deg); margin: 28px -40px; padding: 16px 0; border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); white-space: nowrap; overflow: hidden; font-family: var(--hd); font-size: 34px; letter-spacing: 2px; }
.ticker span { display: inline-block; animation: roll 30s linear infinite; }
@keyframes roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker span { animation: none; } }

/* 作品 */
.works { margin-top: 40px; }
.works-l { flex: 1 1 360px; min-height: 520px; border-top: 3px solid var(--line); padding: 56px clamp(20px, 5vw, 72px); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.works-l h2 { margin: 12px 0 0; font-family: var(--hd); font-weight: 400; font-size: clamp(56px, 6vw, 96px); line-height: 1; }
.num { font-family: var(--lat); font-weight: 700; font-size: clamp(120px, 16vw, 240px); line-height: .8; letter-spacing: -8px; -webkit-text-stroke: 2px var(--y); color: transparent; }
.works-r { flex: 1.6 1 520px; padding: 64px clamp(20px, 5vw, 80px) 64px clamp(20px, 9vw, 140px); display: flex; flex-direction: column; gap: 24px; justify-content: center; }
.card { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; background: var(--white); color: var(--ink); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 32px; transition: transform .12s ease, box-shadow .12s ease; }
.card:hover { transform: translate(-4px, -4px); box-shadow: 12px 12px 0 var(--ink); }
.card img { width: 112px; height: 112px; border-radius: 24px; border: 3px solid var(--ink); }
.card-body { flex: 1 1 260px; display: flex; flex-direction: column; gap: 10px; }
.card-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.card h3 { margin: 0; font-family: var(--hd); font-weight: 400; font-size: 48px; line-height: 1; }
.badge { background: var(--ink); color: var(--y); font-weight: 900; font-size: 13px; padding: 4px 10px; }
.card p { margin: 0; font-size: 17px; line-height: 1.65; color: #2A2B2F; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; font-weight: 700; }
.chips span { border: 2px solid var(--ink); padding: 3px 10px; }
.go { font-family: var(--lat); font-weight: 700; font-size: 18px; background: var(--ink); color: var(--white); padding: 14px 20px; }
.soon { border: 4px dashed var(--ink); padding: 26px 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.soon .hd { font-size: 34px; }

/* 页脚 */
.foot { border-top: 3px solid var(--y); }
.foot-l { flex: 1 1 420px; padding: 56px clamp(20px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.foot-l .hd { font-size: clamp(48px, 6vw, 88px); line-height: 1; }
.foot-l p { margin: 0; color: var(--muted); }
.foot-x { flex: 1 1 420px; min-height: 220px; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 40px 24px; transition: box-shadow .12s ease; }
.foot-x:hover { box-shadow: inset 0 0 0 6px var(--ink); }
.foot-x .who { display: flex; flex-direction: column; gap: 4px; }
.foot-x .h { font-family: var(--lat); font-weight: 700; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; }
.foot-x .u { font-weight: 900; font-size: 16px; }
.legal { padding: 18px var(--pad); font-family: var(--lat); font-size: 13px; color: var(--dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* 插件页 */
.prod-l { flex: 1 1 420px; min-height: 520px; display: flex; align-items: center; justify-content: center; padding: 56px 24px; position: relative; overflow: hidden; }
.prod-l img { width: 220px; height: 220px; border-radius: 48px; border: 6px solid var(--ink); box-shadow: 16px 16px 0 var(--ink); transform: rotate(-5deg); background: var(--ink); }
.prod-r { flex: 1.25 1 520px; padding: 64px clamp(20px, 6vw, 96px) 64px clamp(20px, 12vw, 180px); display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.prod-r h1 { margin: 0; font-family: var(--hd); font-weight: 400; font-size: clamp(56px, 7vw, 116px); line-height: 1; white-space: nowrap; }
.prod-r p { margin: 0; font-size: 20px; color: var(--muted); max-width: 520px; }
.sec { padding: 64px var(--pad); max-width: 1200px; margin: 0 auto; }
.sec h2 { margin: 8px 0 28px; font-family: var(--hd); font-weight: 400; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.feat { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.feat div { background: var(--y); color: var(--ink); border: 4px solid var(--ink); box-shadow: 8px 8px 0 #2A2B2F; padding: 22px; }
.feat b { display: block; font-family: var(--hd); font-weight: 400; font-size: 28px; margin-bottom: 6px; }
.feat span { font-size: 15px; line-height: 1.6; }
ol.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
ol.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 78px; background: #151618; border: 2px solid var(--line); font-size: 17px; }
ol.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 18px; top: 12px; font-family: var(--lat); font-weight: 700; font-size: 34px; line-height: 1; color: var(--y); }
code { background: var(--ink); color: var(--y); border: 1px solid var(--line); padding: 1px 7px; font-size: 14px; word-break: break-all; }
.note { margin-top: 22px; background: var(--white); color: var(--ink); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--y); padding: 18px 22px; font-size: 16px; }

/* 中英切换：默认中文，<html data-lang="en"> 时显示英文 */
html[data-lang="en"] .zh { display: none !important; }
html:not([data-lang="en"]) .en { display: none !important; }
.lang { font-family: var(--lat); font-weight: 700; font-size: 14px; letter-spacing: 1px; background: transparent; color: var(--white); border: 2px solid var(--white); padding: 9px 12px; min-height: 44px; cursor: pointer; }
.lang:hover { background: var(--white); color: var(--ink); }
.hero-r h1 .en span { white-space: normal; }
.hero-r h1 .en { font-family: var(--lat); font-weight: 700; font-size: .72em; letter-spacing: -2px; line-height: 1.02; }
.prod-r h1 .en { font-family: var(--lat); font-weight: 700; letter-spacing: -2px; }

/* 作品格子 */
.grid2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.mini { display: flex; flex-direction: column; gap: 12px; background: var(--white); color: var(--ink); border: 4px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); padding: 22px; transition: transform .12s ease, box-shadow .12s ease; }
.mini:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--ink); }
.mini-top { display: flex; align-items: center; gap: 14px; }
.mini-top img { width: 52px; height: 52px; border-radius: 12px; border: 3px solid var(--ink); flex: none; }
.mini h3 { margin: 0; font-family: var(--lat); font-weight: 700; font-size: 26px; line-height: 1.05; }
.mini .dom { font-family: var(--lat); font-weight: 500; font-size: 13px; color: #55585F; }
.mini p { margin: 0; font-size: 15px; line-height: 1.6; color: #2A2B2F; flex: 1; }
.mini .chips span { font-size: 12px; }
.mini .arrow { margin-left: auto; font-family: var(--lat); font-weight: 700; font-size: 22px; }
.mini-links { display: flex; gap: 10px; flex-wrap: wrap; }
.mini-links a { flex: 1; text-align: center; padding: 9px 12px; font-weight: 900; font-size: 15px; border: 3px solid var(--ink); background: var(--y); color: var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.mini-links a + a { background: var(--ink); color: var(--white); }
.mini-links a:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.soon-tile { border: 4px dashed var(--ink); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 22px; min-height: 180px; }
.soon-tile .hd { font-size: 32px; line-height: 1.1; }

/* 页脚：两个 X 账号 */
.alt-x { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px 18px; border: 3px solid var(--white); align-self: flex-start; transition: transform .12s ease, box-shadow .12s ease; }
.alt-x:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--y); }
.alt-x .who { display: flex; flex-direction: column; }
.alt-x .h { font-family: var(--lat); font-weight: 700; font-size: 20px; }
.alt-x .u { font-size: 13px; color: var(--muted); }

/* 宽屏斜切 */
@media (min-width: 980px) {
  .slant { clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%); margin-left: -7%; }
  .slant-r { clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%); margin-right: -6%; }
}
@media (max-width: 560px) {
  .hero-l, .hero-r, .prod-l { min-height: 0; }
  .avatar img { width: 240px; height: 352px; }
  .sticker { right: -14px; font-size: 24px; }
  .tag-handle { left: -12px; font-size: 15px; }
  .ghost { font-size: 150px; }
  .top nav { gap: 16px; }
  .card { padding: 22px; }
  .hero-r .btns { gap: 8px; }
  .hero-r .btn { padding: 13px 11px; font-size: 15px; gap: 7px; }
}
