@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

:root {
  --bg: #0a0e14;
  --surface: #121a24;
  --surface-raised: #1c2733;
  --primary: #0096db;
  --primary-deep: #007bb0;
  --success: #00c853;
  --text: #ffffff;
  --muted: #9aa7b4;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.bg-glow-a { top: -220px; left: -160px; background: #0096db; }
.bg-glow-b { top: 38%; right: -260px; background: #00c853; opacity: 0.12; }
.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(10, 14, 20, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  font-weight: 800; font-size: 17px; letter-spacing: .5px;
  box-shadow: 0 8px 24px rgba(0,150,219,.35);
}
.brand-text { font-size: 17px; font-weight: 600; }
.brand-text b { color: var(--primary); font-weight: 700; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: 14px; transition: color .2s ease, transform .2s ease;
}
.nav-links a:hover { color: var(--text); transform: translateY(-2px); }

main { position: relative; z-index: 1; }
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px 70px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(0, 150, 219, .12);
  border: 1px solid rgba(0, 150, 219, .3);
  color: #7fd4ff; font-size: 13px; letter-spacing: .5px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 12px var(--success); }
.hero h1 {
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.16;
  margin: 22px 0 20px;
  font-weight: 700;
  letter-spacing: -1px;
}
.gradient-text {
  background: linear-gradient(100deg, #4cc9ff, #0096db 45%, #00c853);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: var(--muted); max-width: 560px; font-size: 17px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 14px; margin-top: 28px; color: var(--muted); font-size: 13px; }
.hero-meta b { color: var(--text); }
.hero-meta .sep { width: 1px; height: 14px; background: var(--border); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: 12px;
  font-size: 15px; font-weight: 600; text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff; box-shadow: 0 12px 30px rgba(0,150,219,.32);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(0,150,219,.48); }
.btn-ghost { border-color: var(--border); color: var(--muted); background: rgba(255,255,255,.03); }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,.28); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

.hero-art { position: relative; }
.art-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.art-frame img { display: block; width: 100%; height: auto; }
.art-shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.08) 50%, transparent 60%);
}
.floating-chip {
  position: absolute;
  padding: 9px 16px; border-radius: 999px;
  background: rgba(18,26,36,.86); border: 1px solid var(--border);
  backdrop-filter: blur(12px); font-size: 13px; color: var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,.4);
  animation: float 5s ease-in-out infinite;
}
.chip-a { top: -22px; right: 18px; }
.chip-b { bottom: -20px; left: 12px; animation-delay: -2.4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.section { max-width: 1180px; margin: 0 auto; padding: 80px 24px; }
.section-head { margin-bottom: 34px; }
.section-head h2 { font-size: 34px; font-weight: 700; margin: 0 0 8px; }
.section-head p { color: var(--muted); margin: 0; }

.glass {
  background: linear-gradient(160deg, rgba(28,39,51,.82), rgba(18,26,36,.74));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
}
.download-card { padding: 38px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.version-line { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.version-badge {
  padding: 5px 12px; border-radius: 999px; font-size: 12px;
  background: rgba(0,200,83,.14); color: #6ee7a0; border: 1px solid rgba(0,200,83,.3);
}
.version-value { font-size: 30px; font-weight: 700; color: var(--text); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.info-grid > div { background: rgba(255,255,255,.03); border-radius: 14px; padding: 14px; border: 1px solid var(--border); }
.info-grid span { display: block; font-size: 12px; color: var(--muted); }
.info-grid b { font-size: 15px; font-weight: 600; }
.notes-block { margin-top: 26px; }
.notes-block h3 { font-size: 15px; margin: 0 0 10px; color: var(--muted); font-weight: 600; }
.notes-list { list-style: none; padding: 0; margin: 0; }
.notes-list li { position: relative; padding-left: 18px; margin: 7px 0; color: #d6dde5; font-size: 14px; }
.notes-list li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.download-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hint { color: var(--muted); font-size: 12px; margin: 18px 0 0; }

.download-art { position: relative; min-height: 420px; }
.poster {
  border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  transform: rotate(2deg);
}
.poster img { width: 100%; display: block; }
.poster-sm {
  position: absolute; width: 58%; right: -8%; bottom: -26px;
  transform: rotate(-4deg); border-color: rgba(0,150,219,.4);
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  margin: 0; border-radius: 16px; overflow: hidden; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.gallery-item:hover { transform: translateY(-6px); border-color: rgba(0,150,219,.55); box-shadow: 0 18px 40px rgba(0,150,219,.16); }
.gallery-item img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery-item figcaption { padding: 12px 16px; font-size: 13px; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card { padding: 26px 22px; transition: transform .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(0,200,83,.35); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(0,150,219,.14); color: #7fd4ff; font-size: 20px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 17px; margin: 0 0 8px; }
.feature-card p { color: var(--muted); font-size: 13px; margin: 0; }
.disclaimer { color: var(--muted); font-size: 12px; text-align: center; margin-top: 28px; }

.site-footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  max-width: 1180px; margin: 0 auto; padding: 28px 24px 46px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--muted); font-size: 13px;
}
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }

.mobile-download { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,8,12,.94);
  display: none; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .18s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: min(92vw, 1280px); max-height: 86vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(28,39,51,.8); color: #fff;
  font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s ease, transform .2s ease;
}
.lb-btn:hover { background: var(--primary); transform: scale(1.06); }
.lb-close { top: 28px; right: 32px; font-size: 26px; }
.lb-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 28px; top: 50%; transform: translateY(-50%); }
.lb-dots { position: absolute; bottom: 24px; display: flex; gap: 9px; }
.lb-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.28); transition: background .2s ease; }
.lb-dots span.active { background: var(--primary); }

.skeleton {
  color: transparent !important;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.12), rgba(255,255,255,.05));
  background-size: 200% 100%;
  animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-art { max-width: 620px; }
  .download-card { grid-template-columns: 1fr; }
  .download-art { display: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .hero { padding: 48px 18px 40px; }
  .section { padding: 56px 18px; }
  .gallery { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; gap: 14px; text-align: center; }
  .mobile-download {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
    text-align: center; padding: 14px; border-radius: 14px; text-decoration: none;
    color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--primary), var(--primary-deep));
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
  }
  body { padding-bottom: 80px; }
  .lb-prev { left: 10px; } .lb-next { right: 10px; }
}
