*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --bg: #080810; --surface: #0f0f18;
    --border: rgba(255,255,255,0.07);
    --ig-grad: linear-gradient(135deg, #833ab4, #d62976, #fa7e1e);
    --ig-grad-subtle: linear-gradient(135deg, rgba(131,58,180,0.15), rgba(214,41,118,0.15), rgba(250,126,30,0.15));
    --text: #f0f0f0; --muted: #60607a; --card-bg: #13131e;
  }
  html { scroll-behavior: smooth; }
  body { background: var(--bg); color: var(--text); font-family: 'Geist', sans-serif; overflow-x: hidden; cursor: none; min-height: 100vh; }
  .cursor { position: fixed; width: 10px; height: 10px; background: var(--ig-grad); border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%,-50%); transition: transform 0.1s, width 0.2s, height 0.2s; mix-blend-mode: difference; }
  .cursor-ring { position: fixed; width: 36px; height: 36px; border: 1.5px solid rgba(214,41,118,0.4); border-radius: 50%; pointer-events: none; z-index: 9998; transform: translate(-50%,-50%); transition: left 0.12s ease, top 0.12s ease; }
  body:has(a:hover) .cursor { width: 20px; height: 20px; }
  body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"); background-size: 200px; pointer-events: none; z-index: 100; opacity: 0.4; }
  .bg-wrap { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
  .glow { position: absolute; border-radius: 50%; filter: blur(130px); animation: glow-pulse 7s ease-in-out infinite; }
  .glow-1 { width: 500px; height: 500px; background: radial-gradient(circle, #d62976, transparent); opacity: 0.07; top: -100px; left: -100px; }
  .glow-2 { width: 400px; height: 400px; background: radial-gradient(circle, #833ab4, transparent); opacity: 0.06; bottom: 0; right: -80px; animation-delay: 3s; }
  @keyframes glow-pulse { 0%,100%{opacity:0.06;transform:scale(1)} 50%{opacity:0.11;transform:scale(1.08)} }
  .grid-lines { position: fixed; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.02) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,0.02) 1px,transparent 1px); background-size: 60px 60px; pointer-events: none; z-index: 0; }

  nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 24px 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid transparent; transition: border-color 0.3s, background 0.3s, padding 0.3s; }
  nav.scrolled { background: rgba(8,8,16,0.9); backdrop-filter: blur(20px); border-color: var(--border); padding: 16px 48px; }
  .logo { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; display: flex; align-items: center; gap: 4px; text-decoration: none; color: var(--text); }
  .logo-dot { color: #e8608a; }
  .nav-back { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; font-weight: 500; text-decoration: none; cursor: none; transition: color 0.2s; }
  .nav-back:hover { color: var(--text); }

  .page { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 140px 24px 100px; }

  .doc-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #e8608a; background: rgba(214,41,118,0.08); border: 1px solid rgba(214,41,118,0.2); padding: 6px 14px; border-radius: 100px; margin-bottom: 28px; animation: fade-up 0.6s ease both; }
  .doc-title { font-size: clamp(36px, 5vw, 64px); font-weight: 800; letter-spacing: -2.5px; line-height: 1; margin-bottom: 16px; animation: fade-up 0.6s 0.08s ease both; }
  .doc-sub { font-size: 17px; color: var(--muted); line-height: 1.7; margin-bottom: 64px; animation: fade-up 0.6s 0.14s ease both; }
  .doc-sub a { color: #e8608a; text-decoration: none; }
  .doc-sub a:hover { text-decoration: underline; }

  /* TIMELINE */
  .timeline { position: relative; padding-left: 32px; }
  .timeline::before {
    content: '';
    position: absolute;
    left: 7px; top: 8px; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, rgba(214,41,118,0.4), rgba(131,58,180,0.1));
  }

  .release {
    position: relative;
    margin-bottom: 52px;
    animation: fade-up 0.6s ease both;
  }
  .release:nth-child(1) { animation-delay: 0.18s; }
  .release:nth-child(2) { animation-delay: 0.24s; }
  .release:nth-child(3) { animation-delay: 0.30s; }
  .release:nth-child(4) { animation-delay: 0.36s; }

  /* dot on timeline */
  .release::before {
    content: '';
    position: absolute;
    left: -28px; top: 8px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--ig-grad);
    box-shadow: 0 0 12px rgba(214,41,118,0.5);
  }
  .release.old::before {
    background: var(--card-bg);
    border: 1.5px solid rgba(255,255,255,0.15);
    box-shadow: none;
  }

  .release-header { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
  .release-version {
    font-size: 22px; font-weight: 800; letter-spacing: -1px;
  }
  .release-badge {
    font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 3px 10px; border-radius: 100px;
  }
  .badge-latest { background: rgba(214,41,118,0.12); border: 1px solid rgba(214,41,118,0.3); color: #e8608a; }
  .badge-stable { background: rgba(131,58,180,0.1); border: 1px solid rgba(131,58,180,0.2); color: #b06eea; }
  .badge-fix    { background: rgba(250,126,30,0.1);  border: 1px solid rgba(250,126,30,0.2);  color: #fa7e1e; }
  .release-date { font-size: 12px; color: var(--muted); margin-left: auto; }

  .release-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 28px;
    transition: border-color 0.2s;
  }
  .release-card:hover { border-color: rgba(214,41,118,0.2); }

  .change-group { margin-bottom: 20px; }
  .change-group:last-child { margin-bottom: 0; }
  .change-group-label {
    font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 10px;
  }

  .change-list { display: flex; flex-direction: column; gap: 8px; }
  .change-item { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); line-height: 1.6; }
  .change-dot {
    width: 6px; height: 6px; border-radius: 50%;
    flex-shrink: 0; margin-top: 7px;
  }
  .dot-new     { background: #e8608a; }
  .dot-fix     { background: #fa7e1e; }
  .dot-improve { background: #833ab4; }
  .dot-remove  { background: #60607a; }
  .change-item strong { color: var(--text); font-weight: 600; }

  .gh-link {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--muted); text-decoration: none;
    margin-top: 16px; transition: color 0.2s;
    border-top: 1px solid var(--border); padding-top: 16px; width: 100%;
  }
  .gh-link:hover { color: var(--text); }

  footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
  .footer-links { display: flex; gap: 24px; }
  .footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
  .footer-links a:hover { color: var(--text); }

  @keyframes fade-up { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

  @media (max-width: 700px) {
    nav { padding: 18px 24px; } nav.scrolled { padding: 14px 24px; }
    .page { padding: 120px 20px 80px; }
    .release-date { margin-left: 0; }
    footer { flex-direction: column; gap: 16px; text-align: center; padding: 24px; }
    .footer-links { flex-wrap: wrap; justify-content: center; }
  }
  footer > div {
    min-width: 20%;
}

footer > div:nth-child(2) {
    display: flex;
    justify-content: center;
}
footer > div:nth-child(3) {
    display: flex;
    justify-content: right;
}
span.footer-year{
    margin-right: .2rem;
}