*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  background: #020617;
  color: #fff;
  font-family: "Inter", sans-serif;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  padding-bottom: 60px; /* Space for the fixed bottom bar */
}

#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 50% 35%,
      #1e3a8a44 0%,
      transparent 70%
    );
  z-index: 0;
  pointer-events: none;
}

.back-home {
  position: fixed;
  top: 20px;
  left: 24px;
  font-size: 0.85rem;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
  z-index: 10;
}

.back-home:hover {
  color: #fff;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 760px;
  width: 100%;
  margin: auto;
  padding: 90px 24px 80px;
}

/* Header */

.page-header {
  text-align: center;
  margin-bottom: 42px;
}

.eyebrow {
  color: #3b82f6;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.page-header h1 {
  font-family: "Syne", sans-serif;
  font-size: clamp(2.7rem, 10vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -4px;
  margin: 0 0 12px;
}

.page-header p {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0;
}

/* Latest release */

.latest-card {
  position: relative;
  background:
    linear-gradient(
      135deg,
      rgba(30, 58, 138, 0.28),
      rgba(15, 23, 42, 0.72)
    );
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: 20px;
  padding: 28px;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.25),
    0 0 40px rgba(30, 64, 175, 0.08);
  opacity: 0;
  transform: translateY(18px);
  animation: fadeUp 0.6s ease forwards;
}

.latest-card::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  top: -140px;
  background: #2563eb;
  opacity: 0.08;
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

.latest-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.latest-label::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  box-shadow: 0 0 8px #3b82f6;
}

.release-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 12px;
}

.version {
  font-family: "Syne", sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -1px;
}

.date {
  color: #475569;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-top: 7px;
  text-align: right;
}

.release-title {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.summary {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 24px;
}

/* Stats */

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stat {
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 0.7rem;
  font-weight: 600;
}

.stat strong {
  color: #e2e8f0;
}

/* Button */

.archive {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.archive-btn {
  display: inline-flex;
  align-items: center;
  gap: 99px;
  text-decoration: none;
  background: rgba(30, 58, 138, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 99px;
  transition: all 0.2s ease;
}

.archive-btn:hover {
  background: rgba(59, 130, 246, 0.25);
  color: #fff;
  border-color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
}

.archive-btn span {
  transition: transform 0.2s ease;
}

.archive-btn:hover span {
  transform: translateX(3px);
}

.footer-note {
  text-align: center;
  color: #334155;
  font-size: 0.7rem;
  margin-top: 30px;
}

/* Fixed Bottom Bar */

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 100;
  font-size: 0.8rem;
}

.bottom-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
}

.bottom-bar-left strong {
  color: #60a5fa;
  font-weight: 600;
}

.bottom-bar-right a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}

.bottom-bar-right a:hover {
  color: #fff;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .container {
    padding: 78px 16px 60px;
  }

  .back-home {
    top: 16px;
    left: 16px;
  }

  .latest-card {
    padding: 22px;
    border-radius: 16px;
  }

  .release-top {
    flex-direction: column;
    gap: 5px;
  }

  .date {
    text-align: left;
    padding: 0;
  }

  .version {
    font-size: 1.5rem;
  }

  .bottom-bar {
    padding: 0 16px;
    font-size: 0.75rem;
  }
}
