:root {
  --bg: #0e1a12; --bg2: #132218; --panel: rgba(255,255,255,0.04);
  --text: #eaf5ec; --muted: #9ab0a0; --accent: #7c4dff; --accent2: #3d1dff; --gold: #ffd23b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); }
a { color: var(--accent); text-decoration: none; }
.muted { color: var(--muted); }
.small { font-size: 12px; }

header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px; position: sticky; top: 0; z-index: 10;
  background: rgba(14,26,18,0.85); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 1px; }
.brand img { height: 34px; }
.live { font-size: 14px; color: var(--muted); }
.live .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #5dd27a; margin-right: 5px; }

.hero { text-align: center; padding: 70px 20px 50px; background: radial-gradient(ellipse at 50% 0%, #1c3826, transparent 60%); }
.hero-logo { width: 180px; filter: drop-shadow(0 10px 30px rgba(124,77,255,0.45)); animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero h1 { font-size: 42px; margin: 22px 0 8px; background: linear-gradient(90deg, #a78bff, #ffd23b); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tagline { max-width: 560px; margin: 0 auto 24px; color: var(--muted); font-size: 17px; line-height: 1.5; }
.hero-items { display: flex; justify-content: center; gap: 14px; margin: 18px 0 30px; flex-wrap: wrap; }
.hero-items img { width: 52px; height: 52px; animation: float 2.6s ease-in-out infinite; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4)); }
.hero-items img:nth-child(2n) { animation-delay: 0.3s; }
.hero-items img:nth-child(3n) { animation-delay: 0.6s; }
.cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
button {
  padding: 14px 26px; border-radius: 14px; border: none; font-size: 16px; font-weight: 700; cursor: pointer;
  transition: transform 0.06s, filter 0.15s;
}
button:active { transform: scale(0.97); }
button.primary { background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; }
button.ghost { background: var(--panel); color: var(--text); border: 1px solid rgba(255,255,255,0.14); }
.version { margin-top: 14px; }

.section { padding: 70px 28px; max-width: 1080px; margin: 0 auto; }
.section.dark { background: var(--bg2); max-width: none; }
.section.dark > * { max-width: 1080px; margin-left: auto; margin-right: auto; }
.section h2 { font-size: 30px; margin-bottom: 6px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.feature { background: var(--panel); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 24px; text-align: center; }
.feature img { width: 64px; height: 64px; }
.feature h3 { margin: 12px 0 6px; }
.feature p { color: var(--muted); font-size: 14px; line-height: 1.5; margin: 0; }

.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 30px; }
.dl {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; padding: 26px; color: var(--text);
  transition: transform 0.12s, border-color 0.12s;
}
.dl:hover { transform: translateY(-4px); border-color: var(--accent); }
.dl-ico { font-size: 40px; }
.dl h3 { margin: 4px 0 0; }
.dl p { color: var(--muted); font-size: 13px; margin: 0; }
.dl-btn { margin-top: 10px; background: linear-gradient(90deg, var(--accent), var(--accent2)); color: #fff; padding: 9px 18px; border-radius: 10px; font-weight: 700; font-size: 14px; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 14px; margin-top: 30px; }
.gallery .item { background: var(--panel); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 14px 8px; text-align: center; }
.gallery img { width: 44px; height: 44px; }
.gallery .name { font-size: 11px; color: var(--muted); margin-top: 6px; }

.lb { list-style: none; padding: 0; margin: 24px 0 0; }
.lb li { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.07); font-size: 15px; }
.lb li:first-child { color: var(--gold); font-weight: 700; }
.lb .rank { width: 34px; color: var(--muted); }

footer { text-align: center; padding: 30px; color: var(--muted); font-size: 13px; border-top: 1px solid rgba(255,255,255,0.06); }

@media (max-width: 640px) {
  .hero h1 { font-size: 30px; }
  .section { padding: 46px 18px; }
}
