/* Changelog page. */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  background-image: radial-gradient(var(--dot) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  color: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── NAV ── */
nav {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2.5px solid var(--black);
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
  position: sticky; top: 0; z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 900; text-decoration: none; color: var(--black); }
.nav-logo-dot { width: 28px; height: 28px; background: var(--lime); border: 2.5px solid var(--black); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 14px; box-shadow: 2px 2px 0 var(--black); }
.btn-nav {
  background: var(--lime); border: 2.5px solid var(--black); border-radius: 7px;
  padding: 8px 20px; font-size: 13px; font-weight: 800; cursor: pointer;
  box-shadow: 2.5px 2.5px 0 var(--black); text-decoration: none; color: var(--black);
  transition: all 0.08s;
}
.btn-nav:hover { transform: translate(-1px,-1px); box-shadow: 3.5px 3.5px 0 var(--black); }

/* ── CONTENT CONTAINER ── */
.content-container {
  flex: 1;
  max-width: 800px;
  width: 100%;
  margin: 40px auto;
  padding: 0 24px;
}

.changelog-header-section {
  text-align: center;
  margin-bottom: 40px;
}

h1 {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: inline-block;
  background: var(--lime);
  padding: 4px 12px;
  border-radius: 4px;
  border: 2px solid var(--black);
  box-shadow: 3px 3px 0 var(--black);
}

.subtitle {
  font-size: 16px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 8px;
}

/* ── CHANGELOG CARDS ── */
.changelog-timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.changelog-card {
  background: var(--card);
  border: 3px solid var(--black);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 6px 6px 0 var(--black);
}

.version-tag-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2.5px solid var(--black);
  padding-bottom: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.version-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}

.version-badge {
  font-size: 12px;
  font-weight: 800;
  background: var(--lime);
  border: 2px solid var(--black);
  padding: 2px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.version-date {
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 600;
}

.change-group {
  margin-bottom: 20px;
}

.change-group:last-child {
  margin-bottom: 0;
}

.change-group-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lime-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

ul.change-list {
  list-style-type: none;
  padding-left: 0;
}

ul.change-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 8px;
}

ul.change-list li::before {
  content: "▪";
  color: var(--black);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 16px;
}

ul.change-list li strong {
  color: var(--black);
}

/* ── FOOTER ── */
footer {
  border-top: 2.5px solid var(--black);
  background: var(--card);
  padding: 32px 100px 32px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: auto;
}
footer .f-logo { font-size: 16px; font-weight: 900; }
footer p { font-size: 13px; color: var(--muted); }
footer a { color: var(--black); font-weight: 600; text-decoration: none; }
footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  nav { padding: 0 16px; }
  .changelog-card { padding: 24px; }
  h1 { font-size: 26px; }
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #16a34a;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.pulse-dot::after {
  content: '';
  width: 100%;
  height: 100%;
  background-color: #16a34a;
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  animation: pulse 1.5s infinite ease-in-out;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}
