:root{
  --bg: #070814;
  --bg2:#0b0c1e;
  --card:#0f1230;
  --card2:#0b0d22;
  --text:#e9ecff;
  --muted:#b8c0ff;
  --muted2:#8a93d6;
  --line: rgba(255,255,255,.12);
  --brand1:#8b5cf6;
  --brand2:#22d3ee;
  --brand3:#fb7185;
  --shadow: 0 18px 40px rgba(0,0,0,.45);
  --radius: 16px;
  --radius2: 22px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC","Hiragino Sans GB","Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(139,92,246,.35), transparent 55%),
    radial-gradient(900px 500px at 85% 15%, rgba(34,211,238,.25), transparent 55%),
    radial-gradient(900px 700px at 65% 90%, rgba(251,113,133,.18), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
}

a{ color: inherit; text-decoration: none; }
button{ font-family: var(--font); }

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left: 16px; top: 16px; width:auto; height:auto; padding:10px 12px;
  background: rgba(0,0,0,.8); border:1px solid var(--line); border-radius: 10px;
  z-index: 9999;
}

.container{ max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.header{
  position: sticky;
  top:0;
  backdrop-filter: blur(10px);
  background: rgba(7,8,20,.65);
  border-bottom: 1px solid var(--line);
  z-index: 50;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
}
.logo{
  width: 34px; height: 34px; border-radius: 12px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 20px rgba(0,0,0,.35);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
}
.logo img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}
.brand h1{
  font-size: 15px; margin:0;
  letter-spacing: .4px;
}
.brand .tag{
  font-size: 12px;
  color: var(--muted2);
  margin-top: 2px;
}

.nav{
  display:flex; align-items:center; gap:16px;
}
.nav a{
  font-size: 13px;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.nav a:hover{
  border-color: var(--line);
  background: rgba(255,255,255,.03);
}
.nav .cta{
  border: 1px solid rgba(34,211,238,.25);
  background: linear-gradient(135deg, rgba(34,211,238,.14), rgba(139,92,246,.10));
  color: var(--text);
}

.hero{
  padding: 56px 0 24px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: stretch;
}
.hero-card{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}
.hero-card:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(600px 240px at 30% 10%, rgba(139,92,246,.25), transparent 60%),
    radial-gradient(600px 240px at 80% 20%, rgba(34,211,238,.18), transparent 60%),
    radial-gradient(600px 240px at 60% 90%, rgba(251,113,133,.12), transparent 60%);
  pointer-events:none;
}
.hero-card-inner{ position: relative; padding: 26px 26px 22px; }
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(139,92,246,.28);
  background: rgba(139,92,246,.10);
  color: var(--muted);
  font-size: 12px;
}
.dot{
  width: 8px; height: 8px; border-radius: 999px;
  background: linear-gradient(135deg, var(--brand2), var(--brand1));
  box-shadow: 0 0 0 4px rgba(34,211,238,.12);
}
.hero-title{
  margin: 14px 0 10px;
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: .2px;
}
.hero-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.hero-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
}
.btn:hover{ background: rgba(255,255,255,.06); }
.btn.primary{
  border-color: rgba(34,211,238,.35);
  background: linear-gradient(135deg, rgba(34,211,238,.18), rgba(139,92,246,.12));
}
.btn.primary:hover{
  background: linear-gradient(135deg, rgba(34,211,238,.24), rgba(139,92,246,.16));
}
.btn.ghost{
  border-color: rgba(139,92,246,.22);
}

.hero-metrics{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 18px;
}
.metric{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.20);
}
.metric .v{ font-size: 14px; font-weight: 650; }
.metric .k{ font-size: 11px; color: var(--muted2); margin-top: 4px; line-height: 1.3; }

.panel{
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(15,18,48,.70), rgba(11,13,34,.65));
  box-shadow: var(--shadow);
  overflow:hidden;
  position: relative;
}
.panel-inner{ padding: 18px; }
.panel h3{ margin: 2px 0 10px; font-size: 14px; }
.panel p{ margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.panel .hr{ height:1px; background: rgba(255,255,255,.10); margin: 14px 0; }
.bullets{ display:grid; gap: 10px; margin-top: 12px;}
.bullet{
  display:flex; gap: 10px; align-items:flex-start;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
}
.bullet .ic{
  width: 26px; height: 26px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(139,92,246,.45), rgba(34,211,238,.25));
  border: 1px solid rgba(255,255,255,.12);
  flex: 0 0 auto;
}
.bullet .t{ font-size: 13px; font-weight: 650; margin: 0 0 4px; }
.bullet .d{ font-size: 12px; color: var(--muted2); margin: 0; line-height: 1.5; }

.section{
  padding: 26px 0;
}
.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  margin: 0 0 12px;
}
.section-head h2{
  margin: 0;
  font-size: 18px;
  letter-spacing: .2px;
}
.section-head p{
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding: 14px 14px;
}
.card h4{ margin: 0 0 8px; font-size: 14px; }
.card p{ margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.download-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dl{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  padding: 18px;
  position: relative;
  overflow:hidden;
}
.dl:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    radial-gradient(420px 220px at 25% 20%, rgba(34,211,238,.16), transparent 60%),
    radial-gradient(420px 220px at 80% 80%, rgba(139,92,246,.14), transparent 60%);
  pointer-events:none;
}
.dl-inner{ position:relative; }
.dl .top{
  display:flex; align-items:center; justify-content:space-between; gap: 10px;
}
.badge{
  font-size: 11px;
  color: var(--muted);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.20);
  padding: 6px 10px;
  border-radius: 999px;
}
.dl h3{ margin: 12px 0 8px; font-size: 16px; }
.dl p{ margin: 0 0 14px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.dl .links{
  display:flex; flex-wrap: wrap; gap: 10px;
}
.link{
  display:inline-flex; align-items:center; gap: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.02);
  font-size: 13px;
}
.link:hover{ background: rgba(255,255,255,.06); }
.link.primary{
  border-color: rgba(34,211,238,.35);
  background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(139,92,246,.10));
}
.note{
  margin-top: 12px;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.6;
}

.gallery{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.shots-carousel{
  display:none;
}
.shots-track{
  display:flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.shots-track::-webkit-scrollbar{ display:none; }
.shots-track .shot{
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.shots-controls{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  margin-top: 10px;
}
.shots-btn{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor:pointer;
  font-size: 20px;
  line-height: 1;
}
.shots-btn:active{ transform: translateY(1px); }
.shots-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  flex: 1 1 auto;
}
.shots-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(184,192,255,.35);
  border: 1px solid rgba(255,255,255,.10);
}
.shots-dot.active{
  width: 18px;
  background: linear-gradient(135deg, rgba(34,211,238,.85), rgba(139,92,246,.85));
}
.shot{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.02);
  overflow: hidden;
}
.shot img{
  display:block;
  width:100%;
  height: 520px;
  object-fit: contain;
  background: rgba(0,0,0,.22);
}
.shot .cap{
  padding: 12px 12px;
  color: var(--muted);
  font-size: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.footer{
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding: 18px 0 28px;
  color: var(--muted2);
  font-size: 12px;
}
.footer a{ color: var(--muted); }
.footer a:hover{ color: var(--text); }
.footer .row{
  display:flex; gap: 12px; align-items:center; justify-content:space-between;
  flex-wrap: wrap;
}

.toast{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  opacity: 0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 200;
  max-width: min(520px, calc(100% - 40px));
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 860px){
  .grid-3{ grid-template-columns: 1fr; }
  .download-grid{ grid-template-columns: 1fr; }
  .gallery{ display:none; }
  .shots-carousel{ display:block; }
  .shot img{ height: 640px; }
  .nav{ display:none; }
}

/* 更新日志样式 */
.changelog-container{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
  padding: 20px;
  max-height: 800px;
  overflow-y: auto;
}

.changelog-loading{
  text-align: center;
  color: var(--muted);
  padding: 40px 20px;
}

.changelog-entry{
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.changelog-entry:last-child{
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.changelog-date{
  font-size: 18px;
  font-weight: 600;
  color: var(--brand1);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  white-space: nowrap;
}

.changelog-date:before{
  content: "📅";
  font-size: 20px;
  flex-shrink: 0;
}

.changelog-category{
  margin-bottom: 20px;
}

.changelog-category:last-child{
  margin-bottom: 0;
}

.changelog-category-title{
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
  padding-left: 4px;
}

.changelog-item{
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.changelog-item:before{
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand2);
  font-size: 18px;
  line-height: 1.2;
}

.changelog-item-text{
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}


.changelog-section{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.changelog-section-title{
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

@media (max-width: 860px){
  .changelog-container{
    padding: 16px;
    max-height: 600px;
  }
  
  .changelog-item{
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior:auto !important; transition:none !important; }
}


