:root {
  --bg: #070d1c;
  --bg-soft: #0a1325;
  --panel: #0d172b;
  --panel-strong: #111f39;
  --text: #edf4ff;
  --muted: #aabbd4;
  --blue: #4d7cff;
  --cyan: #42d7e8;
  --orange: #ffad52;
  --line: rgba(255,255,255,.1);
  --shadow: 0 24px 70px rgba(0,0,0,.38);
  --page: 1160px;
  --radius: 22px;
  --space-section: clamp(64px,8vw,104px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 88% -5%, rgba(77,124,255,.22), transparent 30%),
    radial-gradient(circle at -8% 48%, rgba(66,215,232,.08), transparent 28%),
    var(--bg);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Noto Sans SC", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; }
h1,h2,h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(100px); opacity: .32; pointer-events: none; }
.ambient-a { width: 460px; height: 460px; right: -120px; top: 80px; background: rgba(77,124,255,.42); }
.ambient-b { width: 380px; height: 380px; left: -180px; bottom: 8%; background: rgba(66,215,232,.18); }

.site-nav,.topbar {
  min-height: 74px;
  padding: 0 max(24px,calc((100% - var(--page))/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7,13,28,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand { color: var(--text); font-weight: 900; letter-spacing: .09em; text-decoration: none; }
.brand span { color: var(--cyan); }
.nav-links,.navlinks { display: flex; align-items: center; gap: 26px; }
.nav-links a,.navlinks a { color: var(--muted); text-decoration: none; font-size: .92rem; transition: color .2s ease; }
.nav-links a:hover,.navlinks a:hover { color: var(--cyan); }

.container,.hero-inner,.product-hero,.section,.cta { width: min(calc(100% - 48px),var(--page)); margin-inline: auto; }
.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  padding: clamp(88px,11vw,148px) 24px;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; margin-inline: auto; }
.hero h1,.product-hero h1 {
  max-width: 900px;
  margin: 18px 0 24px;
  font-size: clamp(3.25rem,7.8vw,6rem);
  line-height: .98;
  letter-spacing: -.04em;
}
.hero p,.product-hero>p { max-width: 690px; margin: 0; color: #c8d7eb; font-size: clamp(1rem,1.8vw,1.16rem); }
.eyebrow { color: var(--cyan); font-size: .78rem; font-weight: 900; letter-spacing: .2em; }
.hero-glow {
  position: absolute;
  width: min(34vw,430px);
  aspect-ratio: 1;
  right: 6%;
  top: 15%;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(var(--bg),var(--bg)) padding-box, conic-gradient(from 0deg,transparent 0 15%,var(--cyan) 25%,#fff 28%,var(--blue) 34%,transparent 48% 67%,#795cff 78%,var(--cyan) 86%,transparent 96%) border-box;
  box-shadow: 0 0 38px rgba(66,215,232,.35),0 0 120px rgba(77,124,255,.28),inset 0 0 52px rgba(66,215,232,.14);
  animation: energy-spin 8s linear infinite, energy-breathe 3.2s ease-in-out infinite;
}
.hero-glow::before { content:""; position:absolute; inset:11%; border-radius:50%; border:1px solid rgba(138,234,255,.6); background:conic-gradient(from 180deg,transparent,rgba(66,215,232,.4),transparent,rgba(255,255,255,.5),transparent); animation:energy-reverse 5.5s linear infinite; }
.hero-glow::after { content:""; position:absolute; width:16px; height:16px; left:8%; top:14%; border-radius:50%; background:#fff; box-shadow:0 0 8px #fff,0 0 24px var(--cyan),0 0 52px var(--cyan); animation:spark-pulse 1.25s ease-in-out infinite; }

.product-hero {
  min-height: 610px;
  margin-top: 28px;
  padding: clamp(74px,9vw,118px) clamp(28px,6vw,76px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: radial-gradient(circle at 78% 25%,rgba(49,92,195,.32),transparent 38%),linear-gradient(145deg,rgba(17,31,57,.76),rgba(7,13,28,.55));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.product-hero::after { content:""; position:absolute; width:300px; height:300px; right:-70px; bottom:-110px; border:1px solid rgba(66,215,232,.26); border-radius:50%; box-shadow:0 0 65px rgba(66,215,232,.12),inset 0 0 40px rgba(77,124,255,.12); }
.product-hero>* { position:relative; z-index:1; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform .25s ease,box-shadow .25s ease,border-color .25s ease,background .25s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(77,124,255,.28); }
.btn.ghost { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.18); }
.btn.orange { background: #d97724; }
.btn.light { background: #fff; color: #214dbf; }

.section { padding-block: var(--space-section); }
.section+.section { border-top: 1px solid rgba(255,255,255,.06); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 34px; }
.section h2,.cta h2 { margin: 0; font-size: clamp(2rem,4vw,3rem); line-height: 1.15; letter-spacing: -.035em; }
.section-head p,.section>p { max-width: 660px; margin: 9px 0 0; color: var(--muted); }
.news-section { padding-top: 0; }
.news-list {
  display: grid;
  max-height: 286px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-top: 1px solid var(--line);
  scrollbar-width: thin;
  scrollbar-color: rgba(66,215,232,.55) rgba(255,255,255,.04);
}
.news-list::-webkit-scrollbar { width: 8px; }
.news-list::-webkit-scrollbar-track { background: rgba(255,255,255,.04); }
.news-list::-webkit-scrollbar-thumb { background: rgba(66,215,232,.48); border-radius: 4px; }
.news-list::-webkit-scrollbar-thumb:hover { background: rgba(66,215,232,.72); }
.news-item {
  min-width: 0;
  min-height: 57px;
  padding: 9px 16px;
  display: grid;
  grid-template-columns: 126px minmax(0,1fr) auto;
  gap: 18px;
  align-items: center;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease,background .2s ease,padding .2s ease;
}
.news-item:hover {
  padding-left: 24px;
  color: var(--cyan);
  background: rgba(66,215,232,.07);
}
.news-date {
  font-variant-numeric: tabular-nums;
  color: var(--cyan);
  font-size: .84rem;
  font-weight: 900;
  line-height: 1.2;
}
.news-product { min-width: 0; }
.news-product strong {
  display: inline;
  font-size: .96rem;
  line-height: 1.4;
}
.news-version { margin-left: 9px; color: var(--muted); font-size: .82rem; white-space: nowrap; }
.news-download { color: var(--muted); font-size: .8rem; font-weight: 800; white-space: nowrap; }
.news-item:hover .news-download { color: var(--cyan); }

.grid,.card-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(270px,1fr)); gap: 18px; }
.grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.card {
  min-width: 0;
  min-height: 210px;
  padding: clamp(24px,3vw,32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: linear-gradient(145deg,var(--panel-strong),var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform .3s cubic-bezier(.22,1,.36,1),border-color .3s ease,box-shadow .3s ease;
}
.card::after { content:""; position:absolute; width:150px; height:150px; right:-85px; bottom:-95px; border-radius:50%; background:rgba(77,124,255,.13); transition:transform .35s ease; }
.card:hover { transform: translateY(-6px); border-color: rgba(77,124,255,.5); box-shadow: var(--shadow); }
.card:hover::after { transform: scale(1.35); }
.game-card {
  border-color: rgba(117,233,255,.62);
  background: radial-gradient(circle at 86% 12%,rgba(117,233,255,.2),transparent 34%),linear-gradient(145deg,rgba(18,55,91,.98),rgba(11,22,53,.92));
  box-shadow: 0 0 0 1px rgba(117,233,255,.08),0 18px 42px rgba(33,174,225,.14);
}
.game-card::before { content:"✦"; position:absolute; right:24px; top:20px; color:#bff8ff; font-size:2.5rem; line-height:1; text-shadow:0 0 20px #42d7e8; animation:spark-pulse 1.6s ease-in-out infinite; }
.game-card:hover { border-color:#75e9ff; box-shadow:0 0 0 1px rgba(117,233,255,.22),0 22px 52px rgba(33,174,225,.25); }
.game-card .meta { color:#75e9ff; }
.game-badge { position:absolute; top:18px; right:22px; padding:6px 10px; border:1px solid rgba(117,233,255,.55); border-radius:999px; color:#d9fbff; background:rgba(66,215,232,.12); font-size:.68rem; font-weight:900; letter-spacing:.1em; }
.game-card .game-badge + .meta { padding-top:44px; }
.game-btn { background:linear-gradient(135deg,#22b9d3,#536cff); box-shadow:0 10px 24px rgba(66,215,232,.25); }
.card h3 { margin: 10px 0 8px; font-size: 1.28rem; line-height: 1.35; }
.card p { margin: 0; color: var(--muted); }
.card .actions { margin-top: auto; padding-top: 26px; }
.link-card { color:inherit; text-decoration:none; }
#tools .card-grid .link-card::before { content:""; width:72px; height:72px; flex:0 0 72px; margin-bottom:20px; border-radius:18px; background:#fff center/cover no-repeat; box-shadow:0 10px 26px rgba(0,0,0,.2); z-index:1; }
#tools .card-grid .link-card:nth-child(1)::before { background-image:url("小软件/注册机/LK_LOGO2.png"); }
#tools .card-grid .link-card:nth-child(2)::before { background-image:url("小软件/日期修复器/LOGO_修复.png"); }
#tools .card-grid .link-card:nth-child(3)::before { background-image:url("小软件/微信多开/微信多开.png"); }
#tools .card-grid .link-card:nth-child(4)::before { background-image:url("小软件/探机/探机.png"); }
#tools .card-grid .link-card:nth-child(5)::before { background-image:url("小软件/Windows更新管家/Windows更新管家.png"); }
#tools .card-grid .link-card:nth-child(6)::before { background-image:url("小软件/LK眠伴/app_icon.png"); background-position:center; }
#tools .card-grid .link-card::before {
  width: 88px;
  height: 88px;
  flex-basis: 88px;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  background-color: rgba(255,255,255,.96);
  background-size: 66px 66px;
  background-repeat: no-repeat;
  background-position: center;
  box-shadow:
    0 14px 32px rgba(0,0,0,.24),
    inset 0 0 0 1px rgba(255,255,255,.7);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease;
}
#tools .card-grid .link-card:hover::before {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    0 18px 38px rgba(0,0,0,.3),
    0 0 0 4px rgba(66,215,232,.08),
    inset 0 0 0 1px rgba(255,255,255,.8);
}
#tools .card-grid .link-card:nth-child(1)::before,
#tools .card-grid .link-card:nth-child(2)::before { background-size: 58px 58px; }
#tools .card-grid .link-card:nth-child(3)::before { background-size: 62px 62px; }
#tools .card-grid .link-card:nth-child(4)::before { background-size: 68px 68px; }
#tools .card-grid .link-card:nth-child(5)::before { background-size: 64px 64px; }
#tools .card-grid .link-card:nth-child(6)::before { background-size: 70px 70px; }
.text-link { margin-top:auto; padding-top:24px; color:var(--cyan); font-weight:800; }
.meta { color: var(--cyan); font-size: .76rem; font-weight: 900; letter-spacing: .12em; }

.media-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.media-card { margin:0; padding:10px; background:var(--panel); border:1px solid var(--line); border-radius:18px; overflow:hidden; }
.media-card img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; border-radius:12px; background:#fff; }
.media-card figcaption { padding:13px 8px 5px; color:var(--muted); font-size:.9rem; }

.cta {
  margin-block: 24px var(--space-section);
  padding: clamp(30px,5vw,52px);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  border-radius:26px;
  background:linear-gradient(120deg,#2458d8,#168aa1);
  box-shadow:var(--shadow);
}
.cta p { margin:7px 0 0; color:#d8e9fb; }
.cta .actions { margin-top:0; justify-content:flex-end; }
.orange-cta { background:linear-gradient(120deg,#934815,#ce772d); }

.contact { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:36px; align-items:center; padding:clamp(28px,5vw,48px); background:linear-gradient(145deg,var(--panel-strong),var(--panel)); border:1px solid var(--line); border-radius:var(--radius); }
.contact h2 { margin:10px 0; font-size:clamp(2rem,4vw,3rem); }
.contact p { color:var(--muted); }
.contact-links { display:flex; gap:18px; flex-wrap:wrap; }
.contact-links a { color:var(--cyan); text-decoration:none; }
.qr { display:flex; align-items:center; gap:18px; }
.qr img { width:124px; height:124px; object-fit:cover; background:#fff; padding:6px; border-radius:14px; }
.qr div { display:grid; gap:7px; max-width:210px; }
.qr small { color:var(--muted); }
footer,.footer { padding:30px 24px; color:#7f92b1; text-align:center; border-top:1px solid var(--line); }

.reveal { animation: rise .7s both cubic-bezier(.22,1,.36,1); }
@keyframes rise { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }
@keyframes energy-spin { to { transform:rotate(360deg); } }
@keyframes energy-reverse { to { transform:rotate(-360deg); } }
@keyframes energy-breathe { 50% { filter:brightness(1.4) saturate(1.3); box-shadow:0 0 50px rgba(66,215,232,.55),0 0 145px rgba(77,124,255,.4),inset 0 0 65px rgba(66,215,232,.2); } }
@keyframes spark-pulse { 50% { transform:scale(1.7); opacity:.68; } }

@media (max-width: 820px) {
  .nav-links,.navlinks { display:none; }
  .site-nav,.topbar { min-height:66px; }
  .hero { min-height:600px; padding-top:70px; }
  .hero-glow { width:340px; right:-160px; top:130px; opacity:.55; }
  .product-hero { min-height:540px; margin-top:16px; border-radius:22px; }
  .section-head,.cta,.contact { display:block; }
  .section-head>.btn { margin-top:20px; }
  .news-list { max-height: 276px; }
  .news-item { min-height:55px; grid-template-columns: 96px minmax(0,1fr); gap:10px; padding:8px 4px; }
  .news-item:hover { padding-left:8px; }
  .news-download { display:none; }
  .cta .actions { justify-content:flex-start; margin-top:24px; }
  .qr { margin-top:28px; }
  .grid.two,.media-grid { grid-template-columns:1fr; }
}
@media (max-width: 520px) {
  .container,.product-hero,.section,.cta { width:min(calc(100% - 28px),var(--page)); }
  .hero { padding-inline:14px; }
  .hero h1,.product-hero h1 { font-size:clamp(2.75rem,14vw,4rem); }
  .product-hero { padding:64px 24px; }
  .card-grid,.grid { grid-template-columns:1fr; }
  .actions .btn { width:100%; }
  .cta { border-radius:20px; }
  .qr { align-items:flex-start; flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
