:root {
  --bg-0: #070b1a;
  --bg-1: #0b1127;
  --bg-2: #131a3a;
  --panel-0: rgba(18, 26, 58, 0.92);
  --panel-1: rgba(28, 38, 79, 0.94);
  --panel-2: rgba(34, 45, 92, 0.96);
  --line-soft: rgba(106, 110, 190, 0.22);
  --line-strong: rgba(172, 114, 255, 0.28);
  --text-main: #f6f3ff;
  --text-soft: #aeb5db;
  --text-dim: #8b93bf;
  --pink: #ff5ea8;
  --purple: #a855f7;
  --violet: #7c5cff;
  --ice-a: #64d8ff;
  --ice-b: #8af4ff;
  --ice-c: #c9fbff;
  --ok: #66ff99;
  --bad: #ff738f;
  --grad-main: linear-gradient(90deg, #8f4ff2 0%, #c255f5 45%, #ff5ea8 100%);
  --grad-topbar: linear-gradient(90deg, rgba(31, 28, 60, 0.94), rgba(10, 14, 35, 0.94));
  --grad-panel: linear-gradient(180deg, rgba(28, 38, 79, 0.96), rgba(15, 23, 52, 0.98));
  --grad-ice: linear-gradient(90deg, #2e7cf6 0%, #49c6ff 50%, #b9fbff 100%);
  --shadow-panel:
    0 0 0 1px rgba(255,255,255,0.02),
    0 12px 32px rgba(0,0,0,0.34),
    0 0 24px rgba(124, 92, 255, 0.08);
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at 15% 15%, rgba(168, 85, 247, 0.16), transparent 22%),
    radial-gradient(circle at 85% 20%, rgba(255, 94, 168, 0.14), transparent 18%),
    radial-gradient(circle at 20% 80%, rgba(124, 92, 255, 0.10), transparent 24%),
    radial-gradient(circle at 80% 75%, rgba(255, 94, 168, 0.08), transparent 22%),
    linear-gradient(180deg, #090d1d 0%, #0a1127 50%, #070b1a 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(30, 40, 90, 0.16), transparent 55%);
  filter: blur(40px);
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 14px 18px;
  border-radius: 20px;
  background: var(--grad-topbar);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 11px;
}

.brand-title {
  font-size: 1.22rem;
  font-weight: 900;
  line-height: 1.1;
}

.brand-sub {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid rgba(132, 116, 235, 0.22);
  background: rgba(255,255,255,0.035);
  color: var(--text-main);
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.tab:hover,
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 94, 168, 0.28);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.14);
}

.tab.active,
.btn-primary {
  background: var(--grad-main);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.24);
}

.tab-ice,
.btn-ice {
  background: linear-gradient(180deg, rgba(39, 81, 136, 0.92), rgba(23, 49, 97, 0.92));
  border-color: rgba(100, 216, 255, 0.35);
  box-shadow: 0 0 16px rgba(73, 198, 255, 0.14);
}

.tab-ice:hover,
.btn-ice:hover {
  border-color: rgba(185, 251, 255, 0.55);
  box-shadow: 0 0 20px rgba(100, 216, 255, 0.24);
}

.btn-discord {
  background: linear-gradient(180deg, rgba(99, 109, 255, 0.95), rgba(73, 86, 212, 0.95));
  border-color: rgba(143, 154, 255, 0.45);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.24);
}

.btn-discord:hover {
  border-color: rgba(193, 199, 255, 0.55);
  box-shadow: 0 0 22px rgba(88, 101, 242, 0.3);
}

.btn-outline {
  background: linear-gradient(180deg, rgba(49, 60, 115, 0.72), rgba(31, 39, 81, 0.8));
}

.pulse,
.btn-primary {
  position: relative;
  overflow: hidden;
}

.pulse::after,
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,0.16) 50%, transparent 80%);
  transform: translateX(-120%);
  animation: sheen 3.4s linear infinite;
}

.hero-grid,
.info-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.hero-grid {
  grid-template-columns: 1.3fr 1fr;
}

.info-grid {
  grid-template-columns: repeat(12, 1fr);
}

.updates-preview-grid {
  align-items: stretch;
}

.card {
  background: var(--grad-panel);
  border: 1px solid rgba(102, 96, 185, 0.28);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-panel);
  backdrop-filter: blur(8px);
}

.hero-card {
  min-height: 100%;
}

.hero-title {
  margin: 10px 0 14px;
  font-size: clamp(2.3rem, 5vw, 3.85rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.hero-text,
.copy {
  color: var(--text-soft);
  line-height: 1.72;
}

.eyebrow,
.section-kicker,
.small-label {
  color: #ff9fc8;
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.card-title {
  margin: 8px 0 14px;
  font-size: 1.55rem;
  font-weight: 900;
}

.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-soft);
  font-weight: 800;
  white-space: nowrap;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ok);
}

.status-dot.offline {
  background: var(--bad);
}

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

.metric-box {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(105, 100, 190, 0.16);
  background: rgba(8, 14, 34, 0.42);
}

.metric-box strong {
  display: block;
  margin-top: 8px;
  font-size: 1.65rem;
  line-height: 1.05;
}

.metric-label {
  display: block;
  color: var(--text-dim);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.meta-list div,
.download-snippet div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(105, 100, 190, 0.16);
}

.meta-list span,
.download-snippet span {
  color: var(--text-dim);
  font-weight: 700;
}

.download-snippet {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.feature-list,
.stack-list,
.number-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
  line-height: 1.75;
}

.stack-list li + li,
.number-list li + li,
.feature-list li + li {
  margin-top: 8px;
}

.updates-stream {
  display: grid;
  gap: 14px;
}

.update-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(115, 125, 215, 0.18);
  background: rgba(7, 13, 31, 0.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.update-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.update-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(100, 216, 255, 0.14);
  border: 1px solid rgba(100, 216, 255, 0.26);
  color: var(--ice-c);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.update-date {
  color: var(--text-dim);
  font-size: 0.86rem;
  font-weight: 700;
}

.update-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.update-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.update-highlights {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--text-soft);
}

.update-highlights li + li {
  margin-top: 8px;
}

.update-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--ice-b);
  font-weight: 800;
}

.update-empty {
  padding: 18px;
  border-radius: 16px;
  border: 1px dashed rgba(126, 136, 218, 0.24);
  background: rgba(9, 15, 35, 0.44);
  color: var(--text-dim);
}

.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }

@keyframes sheen {
  to {
    transform: translateX(120%);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .span-5,
  .span-6,
  .span-7 {
    grid-column: span 1;
  }

  .topbar,
  .card-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 700px) {
  .page-shell {
    width: min(100%, calc(100% - 20px));
    margin: 16px auto 26px;
  }

  .card {
    padding: 18px;
    border-radius: 18px;
  }

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

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.9rem);
  }
}
