/* ============================================================
   yanypeak.com 官网定制样式 (overrides Creative v7.0.7)
   视觉风格对齐 zzyyi.com（佐佐佑佑小站）：
   宇宙青蓝主调 #06b6d4 / 深空蓝 hero / 浅灰蓝底 #f7f9fa / 白卡片
   ============================================================ */
:root {
  --c-primary: #06b6d4;
  --c-primary-rgb: 6, 182, 212;
  --c-blue: #3b82f6;
  --c-accent: #fb923c;
  --c-grad: linear-gradient(135deg, #0891b2 0%, #06b6d4 55%, #22d3ee 120%);
  --c-grad-soft: linear-gradient(120deg, rgba(6, 182, 212, .10), rgba(34, 211, 238, .08));
  --c-text: #1e293b;
  --c-muted: #5b6b80;
  --c-bg: #f7f9fa;
  --c-card-border: #eef1f5;
  --c-shadow: 0 2px 6px rgba(23, 26, 31, .05);
  --c-shadow-hover: 0 14px 34px rgba(6, 182, 212, .16);
  --bs-primary: #06b6d4;
  --bs-primary-rgb: 6, 182, 212;
  --bs-link-color: #06b6d4;
  --bs-link-hover-color: #0891b2;
}

html {
  scroll-padding-top: 5rem;
}

body {
  font-family: "Merriweather Sans", -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: rgba(var(--c-primary-rgb), .18);
  color: inherit;
}

h1, h2, h3, .h1, .h2, .h3 {
  letter-spacing: -.01em;
}

h2 {
  font-weight: 800;
}

/* ---------- 通用配色覆盖 ---------- */
.text-primary { color: var(--c-primary) !important; }
.bg-primary { background: var(--c-primary) !important; }
.text-muted { color: var(--c-muted) !important; }
.bg-light { background-color: #eef2f7 !important; }

.btn {
  border-radius: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.btn-primary {
  background: var(--c-grad);
  border: none;
  box-shadow: 0 10px 28px rgba(var(--c-primary-rgb), .35);
}
.btn-primary:hover,
.btn-primary:focus {
  background: var(--c-grad);
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(var(--c-primary-rgb), .45);
}
.btn-light { background: #fff; color: var(--c-primary); }
.btn-light:hover {
  color: var(--c-primary);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .22);
}
.btn-xl { padding: 1.1rem 2.2rem; }

hr.divider {
  height: .24rem;
  max-width: 4.5rem;
  background: var(--c-grad);
  border-radius: 999px;
  opacity: 1;
}
hr.divider-light { background: #fff; }

/* ---------- 玻璃拟态导航栏 ---------- */
#mainNav {
  background: rgba(255, 255, 255, .72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 20px rgba(15, 23, 42, .06);
  border-bottom: 1px solid rgba(15, 23, 42, .05);
}
#mainNav .navbar-brand {
  background: var(--c-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: .02em;
}
#mainNav .navbar-nav .nav-link {
  color: #334155;
  font-weight: 700;
  position: relative;
}
#mainNav .navbar-nav .nav-link:hover,
#mainNav .navbar-nav .nav-link.active {
  color: var(--c-primary) !important;
}
#mainNav .navbar-nav .nav-link:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: .2rem;
  height: 2px;
  border-radius: 999px;
  background: var(--c-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
#mainNav .navbar-nav .nav-link:not(:last-child):hover::after,
#mainNav .navbar-nav .nav-link:not(:last-child).active::after {
  transform: scaleX(1);
}
#mainNav .navbar-nav .nav-link:last-child {
  border-radius: 14px;
  background: var(--c-grad);
  color: #fff !important;
  padding: .5rem 1.25rem !important;
  box-shadow: 0 6px 16px rgba(var(--c-primary-rgb), .3);
}
#mainNav .navbar-nav .nav-link:last-child:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
@media (min-width: 992px) {
  #mainNav { background: rgba(255, 255, 255, .72); }
  #mainNav .navbar-brand { color: #fff; -webkit-text-fill-color: transparent; }
  #mainNav.navbar-shrink { background: rgba(255, 255, 255, .85); box-shadow: 0 6px 24px rgba(15, 23, 42, .08); }
  #mainNav.navbar-shrink .navbar-brand,
  #mainNav.navbar-shrink .navbar-nav .nav-link { color: #334155; }
  #mainNav.navbar-shrink .navbar-nav .nav-link:hover { color: var(--c-primary) !important; }
}

/* ---------- 地球自转搜索栏（仿 zzyyi 顶部搜索，Bing 站内搜索） ---------- */.nav-item-search {
  display: flex;
  align-items: center;
  margin-left: .5rem;
}
.globe-search {
  display: flex;
  align-items: center;
  gap: .15rem;
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 14px;
  padding: .22rem .24rem .22rem .9rem;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.globe-search:focus-within {
  border-color: rgba(var(--c-primary-rgb), .55);
  box-shadow: 0 0 0 4px rgba(var(--c-primary-rgb), .12);
}
.globe-search-input {
  border: none;
  outline: none;
  background: transparent;
  color: var(--c-text);
  font-size: .85rem;
  width: 8.5rem;
  padding: .28rem 0;
}
.globe-search-input::placeholder {
  color: var(--c-muted);
}
.globe-search-btn {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: none;
  border-radius: 12px;
  background: var(--c-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(var(--c-primary-rgb), .32);
  transition: filter .2s ease, transform .2s ease;
}
.globe-search-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.globe-svg {
  display: block;
}
.globe-rot {
  transform-origin: center;
  transform-box: fill-box;
  animation: globeSpin 7s linear infinite;
}
@keyframes globeSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- 首屏 Hero（动态旋转星空） ---------- */
header.masthead {
  position: relative;
  background:
    radial-gradient(1200px 520px at 78% -10%, rgba(56, 189, 248, .14), transparent 60%),
    linear-gradient(135deg, rgba(4, 7, 20, .78) 0%, rgba(8, 20, 44, .5) 48%, rgba(4, 10, 26, .62) 100%);
  background-attachment: scroll;
  overflow: hidden;
}
/* 旋转的宇宙背景层 */
header.masthead .space-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
header.masthead .masthead-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 45%, rgba(4, 7, 20, .62), transparent 70%),
    linear-gradient(180deg, rgba(4, 7, 20, .5) 0%, rgba(4, 7, 20, .18) 35%, rgba(4, 7, 20, .4) 100%);
}
@keyframes spaceRotate {
  from { transform: rotate(0deg) scale(1.05); }
  to { transform: rotate(360deg) scale(1.05); }
}
/* 动态星星层 */
header.masthead .stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff, transparent 100%),
    radial-gradient(1px 1px at 32% 68%, rgba(255, 255, 255, .9), transparent 100%),
    radial-gradient(1.5px 1.5px at 48% 15%, rgba(186, 230, 253, .95), transparent 100%),
    radial-gradient(1px 1px at 64% 42%, rgba(255, 255, 255, .8), transparent 100%),
    radial-gradient(1px 1px at 78% 72%, rgba(186, 230, 253, .9), transparent 100%),
    radial-gradient(1.5px 1.5px at 88% 26%, rgba(255, 255, 255, .85), transparent 100%),
    radial-gradient(1px 1px at 22% 84%, rgba(255, 255, 255, .7), transparent 100%),
    radial-gradient(1px 1px at 55% 88%, rgba(186, 230, 253, .8), transparent 100%),
    radial-gradient(1.5px 1.5px at 92% 58%, rgba(255, 255, 255, .75), transparent 100%),
    radial-gradient(1px 1px at 7% 52%, rgba(255, 255, 255, .85), transparent 100%),
    radial-gradient(1px 1px at 40% 38%, rgba(255, 255, 255, .7), transparent 100%),
    radial-gradient(1.5px 1.5px at 70% 8%, rgba(255, 255, 255, .8), transparent 100%),
    radial-gradient(1px 1px at 82% 92%, rgba(186, 230, 253, .7), transparent 100%),
    radial-gradient(1px 1px at 16% 6%, rgba(255, 255, 255, .6), transparent 100%);
  background-size: 460px 460px;
  animation: starTwinkle 6s ease-in-out infinite alternate;
}
@keyframes starTwinkle {
  0%, 100% { opacity: .5; }
  50% { opacity: 1; }
}
/* 漂移星云光晕 */
header.masthead::before,
header.masthead::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .4;
  pointer-events: none;
}
header.masthead::before {
  width: 440px; height: 440px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, #22d3ee, transparent 70%);
  animation: orbFloat 12s ease-in-out infinite;
}
header.masthead::after {
  width: 500px; height: 500px;
  bottom: -160px; right: -100px;
  background: radial-gradient(circle, #38bdf8, transparent 70%);
  animation: orbFloat 16s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(34px, -26px) scale(1.1); }
}
header.masthead h1 {
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
  animation: heroIn .9s ease both;
}
header.masthead h1 .hero-accent {
  background: linear-gradient(120deg, #7dd3fc, #22d3ee 55%, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
header.masthead p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  animation: heroIn 1.1s .15s ease both;
}
header.masthead .btn {
  animation: heroIn 1.1s .3s ease both;
}
header.masthead .divider {
  animation: heroIn 1s .1s ease both;
}
header.masthead .btn-light {
  color: var(--c-primary);
  border: none;
}
header.masthead .btn-primary {
  background: rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55);
}
@media (max-width: 575.98px) {
  header.masthead .hero-cta { margin-left: 0 !important; margin-top: .6rem; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 992px) {
  header.masthead { min-height: 82vh; }
  header.masthead h1 { font-size: 3.2rem; }
}

/* ---------- 数据统计带 ---------- */
.stats-band {
  background:
    linear-gradient(120deg, rgba(8, 51, 68, .96), rgba(8, 145, 178, .92) 55%, rgba(14, 165, 233, .92));
  padding: 3.6rem 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-band::before,
.stats-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
  pointer-events: none;
}
.stats-band::before { width: 300px; height: 300px; top: -120px; right: -60px; }
.stats-band::after { width: 260px; height: 260px; bottom: -120px; left: -60px; }
.stats-band .stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}
.stats-band .stat-label {
  margin-top: .7rem;
  opacity: .9;
  font-weight: 600;
  letter-spacing: .08em;
  font-size: .9rem;
}

/* ---------- 博客卡片（zzyyi 风格：白卡 + 轻阴影 + 小圆角） ---------- */
.blog-card {
  background: #fff;
  border: 1px solid var(--c-card-border);
  border-radius: 14px;
  padding: 1.9rem 1.7rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--c-shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.blog-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--c-grad-soft);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--c-shadow-hover);
}
.blog-card:hover::before { opacity: 1; }
.blog-card > * { position: relative; }
.blog-card .blog-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
}
.blog-card .blog-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--c-primary);
  background: rgba(var(--c-primary-rgb), .1);
  border-radius: 8px;
  padding: .24rem .7rem;
}
.blog-card .blog-tag.tag-create { color: #0891b2; background: rgba(8, 145, 178, .1); }
.blog-card .blog-tag.tag-tool  { color: #2563eb; background: rgba(37, 99, 235, .1); }
.blog-card .blog-tag.tag-prompt { color: #db2777; background: rgba(219, 39, 119, .1); }
.blog-card .blog-tag.tag-web   { color: #0d9488; background: rgba(13, 148, 136, .1); }
.blog-card .blog-tag.tag-ops   { color: #d97706; background: rgba(217, 119, 6, .1); }
.blog-card .blog-date {
  color: var(--c-muted);
  font-size: .78rem;
  font-weight: 600;
}
.blog-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: .6rem;
}
.blog-card h3 a { color: var(--c-text); transition: color .2s ease; }
.blog-card h3 a:hover { color: var(--c-primary); }
.blog-card p {
  color: var(--c-muted);
  font-size: .92rem;
  margin-bottom: 1.1rem;
  flex: 1;
}
.blog-card .blog-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-primary);
}

/* ---------- 个人资料区 ---------- */
.profile-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 128px;
  height: 128px;
  border-radius: 14px;
  background: var(--c-grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 18px 42px rgba(var(--c-primary-rgb), .4);
  flex-shrink: 0;
}
.profile-badge {
  display: inline-block;
  background: rgba(var(--c-primary-rgb), .1);
  color: var(--c-primary);
  font-size: .78rem;
  font-weight: 700;
  border-radius: 8px;
  padding: .3rem .85rem;
  margin-bottom: .8rem;
}
.profile-text h3 { font-weight: 800; margin-bottom: .4rem; }
.profile-text p { color: var(--c-muted); margin-bottom: .5rem; max-width: 32rem; }
.profile-links a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--c-muted);
  margin-right: 1.1rem;
  font-size: .9rem;
  font-weight: 600;
  transition: color .2s ease;
}
.profile-links a:hover { color: var(--c-primary); }

/* ---------- 项目卡片 ---------- */
.project-card {
  background: #fff;
  border: 1px solid var(--c-card-border);
  border-radius: 14px;
  padding: 2.1rem 1.8rem;
  height: 100%;
  position: relative;
  box-shadow: var(--c-shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--c-shadow-hover);
}
.project-card .project-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--c-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  box-shadow: 0 10px 22px rgba(var(--c-primary-rgb), .3);
}
.project-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.project-card p { color: var(--c-muted); font-size: .92rem; margin-bottom: 1rem; }
.project-card .project-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-primary);
}

/* ---------- 服务卡片 ---------- */
.service-card {
  background: #fff;
  border: 1px solid var(--c-card-border);
  border-radius: 14px;
  padding: 2.2rem 1.5rem;
  height: 100%;
  position: relative;
  box-shadow: var(--c-shadow);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: var(--c-grad-soft);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--c-shadow-hover);
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; }
.service-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.1rem;
  border-radius: 14px;
  background: var(--c-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 10px 22px rgba(var(--c-primary-rgb), .35);
  transition: transform .3s ease;
}
.service-card:hover .service-icon { transform: rotate(-6deg) scale(1.06); }
.service-card h3 { font-weight: 700; color: var(--c-text); }
.service-card p { color: var(--c-muted); }

/* ---------- 能力展示 ---------- */
.portfolio-box { border-radius: 14px; overflow: hidden; }
.portfolio-box img { transition: transform .6s ease; }
.portfolio-box:hover img { transform: scale(1.08); }
.portfolio-box .portfolio-box-caption { background: linear-gradient(135deg, rgba(8, 145, 178, .9), rgba(56, 189, 248, .9)); }

/* ---------- CTA ---------- */
.cta-grad {
  background:
    radial-gradient(1000px 420px at 88% -20%, rgba(125, 211, 252, .4), transparent 60%),
    radial-gradient(800px 400px at 5% 120%, rgba(56, 189, 248, .32), transparent 55%),
    linear-gradient(135deg, rgba(7, 35, 50, .94), rgba(8, 145, 178, .9) 60%, rgba(14, 165, 233, .94));
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.cta-grad::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  top: -140px; right: -80px;
  background: radial-gradient(circle, rgba(125, 211, 252, .3), transparent 70%);
  pointer-events: none;
}
.cta-grad h2 { font-weight: 800; letter-spacing: -.01em; }
.cta-grad > .container { position: relative; }

/* ---------- 联系卡片 ---------- */
.contact-item {
  background: #fff;
  border: 1px solid var(--c-card-border);
  border-radius: 14px;
  padding: 2rem 1rem;
  height: 100%;
  box-shadow: var(--c-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.contact-item:hover { transform: translateY(-6px); box-shadow: var(--c-shadow-hover); }
.contact-item i { color: var(--c-primary); }
.contact-item .fw-bold { font-size: 1.05rem; margin-top: .4rem; }

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- 返回顶部 ---------- */
#backToTop {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: none;
  background: var(--c-grad);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(var(--c-primary-rgb), .4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  z-index: 1080;
}
#backToTop.show { opacity: 1; visibility: visible; transform: none; }
#backToTop:hover { filter: brightness(1.08); }

/* ---------- 页脚 ---------- */
footer {
  border-top: 1px solid var(--c-card-border);
  background: linear-gradient(180deg, #fff 0%, var(--c-bg) 100%);
}
footer a { color: var(--c-muted); text-decoration: none; }
footer a:hover { color: var(--c-primary); }

/* ---------- Hero 标语与大搜索框 ---------- */
.masthead-eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  padding: .4rem 1.1rem;
  margin-bottom: 1.2rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.masthead-sub {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, .92) !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.hero-search {
  display: flex;
  align-items: center;
  gap: .5rem;
  max-width: 42rem;
  margin: 2rem auto 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, .72) 0%, rgba(255, 250, 240, .6) 60%, rgba(255, 246, 230, .55) 100%);
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  padding: .4rem .4rem .4rem 1.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  color: #1e293b;
  font-size: 1rem;
  padding: .5rem 0;
}
.hero-search-input::placeholder { color: rgba(51, 65, 85, .62); }
.hero-search-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #0ecb81, #0891b2 55%, #06b6d4);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .55rem 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(8, 145, 178, .45);
  transition: filter .2s ease, transform .2s ease, box-shadow .2s ease;
}
.hero-search-btn:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(8, 145, 178, .55); }
.hero-actions { animation: heroIn 1.1s .4s ease both; }

/* ---------- 快捷入口（仿 zzyyi sort-config） ---------- */
.quick-links {
  position: relative;
  z-index: 3;
  margin-top: -3rem;
  padding-bottom: 1rem;
}
.quick-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--c-card-border);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
  height: 100%;
  box-shadow: var(--c-shadow);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: var(--c-text);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.quick-card:hover {
  transform: translateY(-5px);
  border-color: transparent;
  box-shadow: var(--c-shadow-hover);
  color: var(--c-text);
}
.quick-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--c-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 8px 18px rgba(var(--c-primary-rgb), .3);
}
.quick-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .15rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.quick-body p {
  margin: 0;
  font-size: .78rem;
  color: var(--c-muted);
}
.quick-go {
  font-size: .68rem;
  font-weight: 700;
  color: #fff;
  background: var(--c-primary);
  border-radius: 4px;
  padding: .1rem .4rem;
  vertical-align: middle;
}

/* ---------- 最新文章列表（侧边栏 widget） ---------- */
.widget-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.widget-post-list li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .86rem;
  line-height: 1.5;
}
.widget-post-list li a {
  color: var(--c-text);
  text-decoration: none;
  flex: 1;
  transition: color .2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.widget-post-list li a:hover { color: var(--c-primary); }
.widget-post-list .post-cat {
  flex-shrink: 0;
  font-size: .66rem;
  font-weight: 700;
  padding: .12rem .45rem;
  border-radius: 6px;
}
.widget-post-list .post-cat.cat-create { color: #0891b2; background: rgba(8,145,178,.1); }
.widget-post-list .post-cat.cat-tool  { color: #2563eb; background: rgba(37,99,235,.1); }
.widget-post-list .post-cat.cat-prompt { color: #db2777; background: rgba(219,39,119,.1); }
.widget-post-list .post-cat.cat-web   { color: #0d9488; background: rgba(13,148,136,.1); }
.widget-post-list .post-cat.cat-ops   { color: #d97706; background: rgba(217,119,6,.1); }
.widget-post-list .post-time {
  flex-shrink: 0;
  font-size: .72rem;
  color: var(--c-muted);
}

/* ---------- 渐变悬浮加载更多按钮（仿 zzyyi B2 美化） ---------- */
.btn-load-more {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-size: .92rem;
  font-weight: 700;
  color: #fff;
  padding: .8rem 2.4rem;
  border-radius: 999px;
  background: var(--c-grad);
  background-size: 160% 100%;
  box-shadow: 0 10px 24px rgba(var(--c-primary-rgb), .35);
  transition: transform .3s ease, box-shadow .3s ease, background-position .4s ease;
}
.btn-load-more:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(var(--c-primary-rgb), .45);
  background-position: 100% 0;
}
.btn-load-more:active { transform: translateY(0); }

/* ---------- 侧边栏 widget（仿 zzyyi sidebar） ---------- */
.widget-sticky { position: sticky; top: 6rem; }
.widget {
  background: #fff;
  border: 1px solid var(--c-card-border);
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--c-shadow);
}
.widget-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1rem;
  padding-bottom: .65rem;
  position: relative;
}
.widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.4rem;
  height: .22rem;
  border-radius: 999px;
  background: var(--c-grad);
}
.widget-about { text-align: center; }
.widget-avatar {
  width: 84px; height: 84px;
  margin: 0 auto .9rem;
  border-radius: 14px;
  background: var(--c-grad);
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(var(--c-primary-rgb), .35);
}
.widget-about p {
  font-size: .86rem;
  color: var(--c-muted);
  line-height: 1.7;
  margin: .6rem 0 .9rem;
  text-align: left;
}
.tag-cloud { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag-cloud a {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-primary);
  background: rgba(var(--c-primary-rgb), .08);
  border-radius: 8px;
  padding: .3rem .75rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}
.tag-cloud a:hover { background: var(--c-grad); color: #fff; }
.widget-contact { display: flex; flex-direction: column; gap: .9rem; }
.contact-row {
  display: flex;
  align-items: center;
  gap: .8rem;
}
.contact-row > i {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(var(--c-primary-rgb), .1);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.contact-row .fw-bold { font-size: .9rem; }
.contact-row .small { font-size: .76rem; }
.contact-link {
  color: var(--c-text);
  text-decoration: none;
  transition: color .2s ease;
}
.contact-link:hover { color: var(--c-primary); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #0f1220;
  color: #94a3b8;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 240px at 90% -30%, rgba(6, 182, 212, .35), transparent 60%),
    radial-gradient(600px 220px at 5% 130%, rgba(56, 189, 248, .28), transparent 60%);
  pointer-events: none;
}
.site-footer .container { position: relative; }
.site-footer .footer-brand {
  font-weight: 800;
  background: var(--c-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.3rem;
}
.site-footer a { color: #a5b4fc; text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: #c4b5fd; }
.site-footer .footer-links a { margin: 0 .9rem; }

/* ---------- 区块标题 ---------- */
.section-head h2 { font-size: 1.6rem; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 991.98px) {
  #mainNav .navbar-collapse {
    background: rgba(255, 255, 255, .96);
    border-radius: 14px;
    margin-top: .75rem;
    padding: 1rem 1.25rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, .14);
  }
  #mainNav .navbar-nav .nav-link { padding: .65rem 0; }
  #mainNav .navbar-nav .nav-link:last-child { padding: .65rem 1.25rem !important; }
}
@media (max-width: 575.98px) {
  header.masthead h1 { font-size: 2rem; }
  header.masthead p { font-size: 1rem; }
  .stats-band .stat-num { font-size: 2rem; }
  .btn-xl { padding: .9rem 1.6rem; font-size: .8rem; }
  .page-section { padding: 5rem 0; }
  .hero-search { border-radius: 18px; padding: .45rem .55rem .45rem 1rem; }
  .hero-search-btn { padding: .55rem .8rem; font-size: .85rem; }
  .hero-search-btn span { display: none; }
  .quick-links { margin-top: -2.2rem; }
  .widget-sticky { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  header.masthead::before, header.masthead::after,
  header.masthead .stars, header.masthead .space-bg { animation: none; }
}
