:root {
  --bg: #050509;
  --text: #f4f3ff;
  --muted: #a9a6bf;
  --line: rgba(255, 255, 255, 0.1);
  --glass: rgba(18, 16, 30, 0.66);
  --purple-a: #8e57ff;
  --purple-b: #6732d6;
  --ok: #57e09a;
  --bad: #ff7676;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a,
button {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 100;
  background: linear-gradient(90deg, #b58cff 0%, #7a44ef 50%, #c8a2ff 100%);
  box-shadow: 0 0 16px rgba(142, 87, 255, 0.8);
}

.liquid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(700px 700px at 18% 22%, rgba(140, 70, 255, 0.2), transparent 62%),
    radial-gradient(900px 700px at 84% 68%, rgba(109, 56, 228, 0.22), transparent 64%),
    linear-gradient(180deg, #090912 0%, #050509 100%);
}

.minecraft-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(112, 77, 183, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 77, 183, 0.2) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.85), transparent 88%);
}

.pixel-particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pixel-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: rgba(198, 153, 255, 0.7);
  box-shadow:
    0 0 12px rgba(142, 87, 255, 0.8),
    0 0 1px rgba(255, 255, 255, 0.9) inset;
  animation: pixel-float linear infinite;
}

@keyframes pixel-float {
  from {
    transform: translateY(0) scale(1);
    opacity: 0;
  }

  10% {
    opacity: 0.9;
  }

  to {
    transform: translateY(-125vh) scale(0.7) rotate(20deg);
    opacity: 0;
  }
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 5, 10, 0.52);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(136, 85, 255, 0.55));
}

.brand-text {
  font-size: 1.22rem;
}

.menu {
  margin-left: auto;
  display: flex;
  gap: 26px;
}

.menu a {
  text-decoration: none;
  color: #c2bddf;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 140ms ease;
}

.menu a:hover {
  color: #fff;
}

.cta,
.btn-primary,
.btn-ghost {
  border-radius: 14px;
  padding: 0 20px;
  height: 48px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
  font-weight: 700;
}

.cta,
.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--purple-a) 0%, var(--purple-b) 100%);
  box-shadow: 0 10px 34px rgba(103, 50, 214, 0.38);
}

.btn-primary:hover,
.cta:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.is-disabled,
[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 92px;
}

.hero-inner {
  text-align: center;
}

.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(177, 132, 255, 0.35);
  background: rgba(20, 16, 35, 0.8);
  color: #d9c7ff;
  font-size: 0.88rem;
  font-weight: 600;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 8.4rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  font-weight: 900;
}

.hero h1 span {
  background: linear-gradient(90deg, #ffffff 0%, #bb8dff 48%, #8c5aff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  margin: 26px auto 0;
  max-width: 800px;
  color: #c4bfd8;
  font-size: clamp(1rem, 2.8vw, 1.45rem);
  line-height: 1.5;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.status {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.status.ok {
  color: var(--ok);
}

.status.bad {
  color: var(--bad);
}

.quick-stats {
  margin: 42px auto 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.quick-stats div {
  background: var(--glass);
  border: 1px solid rgba(174, 131, 255, 0.25);
  border-radius: 18px;
  padding: 16px 14px;
  backdrop-filter: blur(8px);
}

.quick-stats strong {
  display: block;
  font-size: 1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-stats span {
  margin-top: 6px;
  display: block;
  color: #9f97ba;
  font-size: 0.82rem;
}

.features {
  position: relative;
  z-index: 2;
  margin-top: -24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  padding: 24px 20px;
  border-radius: 24px;
  border: 1px solid rgba(177, 132, 255, 0.22);
  background: linear-gradient(180deg, rgba(17, 14, 27, 0.84) 0%, rgba(11, 10, 18, 0.84) 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.feature-card h3 {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 12px 0 0;
  color: #aaa5c1;
  line-height: 1.5;
}

.download-wrap {
  position: relative;
  z-index: 2;
  padding: 86px 0 42px;
}

.download-card {
  position: relative;
  border-radius: 34px;
  border: 1px solid rgba(174, 131, 255, 0.34);
  background: linear-gradient(180deg, rgba(19, 15, 31, 0.8) 0%, rgba(10, 9, 17, 0.86) 100%);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  padding: clamp(24px, 4vw, 52px);
}

.download-card h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.7rem);
  letter-spacing: -0.04em;
}

.download-card .sub {
  margin: 10px 0 0;
  color: #aba7bf;
  font-size: 1rem;
}

.release-grid {
  margin: 22px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.release-grid div {
  padding: 16px;
  border: 1px solid rgba(176, 132, 255, 0.28);
  border-radius: 16px;
  background: rgba(9, 9, 16, 0.62);
}

.release-grid .full {
  grid-column: span 2;
}

.release-grid dt {
  margin: 0;
  color: #a39dbc;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.release-grid dd {
  margin: 8px 0 0;
  font-size: 1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
}

.download-actions {
  margin-top: 18px;
}

.notes-title {
  margin: 20px 0 0;
  font-size: 1.15rem;
}

.notes-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: #b7b2cb;
}

.notes-list li {
  margin-bottom: 7px;
}

.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 24px;
}

.footer-row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #918ba8;
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .quick-stats,
  .features {
    grid-template-columns: 1fr;
  }

  .release-grid {
    grid-template-columns: 1fr;
  }

  .release-grid .full {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .nav {
    min-height: 68px;
  }

  .cta {
    display: none;
  }

  .hero {
    padding-top: 84px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
  }

  .footer-row {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 3px;
    padding: 12px 0;
  }
}
