/* ==========================================================================
   CoraSMP - website
   Dark purple theme. No external requests: fonts are self-hosted.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #0a0612;
  --bg-2: #0f0919;
  --surface: rgba(28, 17, 46, 0.62);
  --surface-solid: #170e26;
  --surface-2: rgba(42, 26, 68, 0.55);
  --border: rgba(192, 132, 252, 0.16);
  --border-strong: rgba(192, 132, 252, 0.34);
  --text: #f5f0ff;
  --muted: #b3a6cc;
  --faint: #7f7299;
  --primary: #a855f7;
  --primary-strong: #7c3aed;
  --primary-soft: #d8b4fe;
  --accent: #e879f9;
  --online: #4ade80;
  --offline: #f87171;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.65), 0 0 0 1px var(--border);
  --glow: 0 0 0 1px rgba(192, 132, 252, 0.35), 0 10px 40px -10px rgba(168, 85, 247, 0.55);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --container: 1160px;
  --header-h: 72px;
}

/* ---------- base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
}

::selection {
  background: rgba(168, 85, 247, 0.45);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--primary-soft);
  outline-offset: 3px;
  border-radius: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary-strong);
  color: #fff;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- background ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 700px at 50% -10%, rgba(124, 58, 237, 0.28), transparent 60%),
    radial-gradient(800px 600px at 100% 30%, rgba(232, 121, 249, 0.10), transparent 60%),
    radial-gradient(700px 600px at 0% 70%, rgba(124, 58, 237, 0.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
}

.backdrop::before {
  /* fine grid, fading out towards the bottom */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192, 132, 252, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 22s ease-in-out infinite alternate;
}

.orb--1 {
  width: 520px;
  height: 520px;
  left: -140px;
  top: 120px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.55), transparent 70%);
}

.orb--2 {
  width: 460px;
  height: 460px;
  right: -120px;
  top: 40px;
  background: radial-gradient(circle, rgba(232, 121, 249, 0.35), transparent 70%);
  animation-duration: 28s;
  animation-delay: -6s;
}

.orb--3 {
  width: 600px;
  height: 600px;
  left: 30%;
  top: 70%;
  background: radial-gradient(circle, rgba(91, 33, 182, 0.4), transparent 70%);
  animation-duration: 34s;
  animation-delay: -12s;
}

@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, -30px, 0) scale(1.08); }
  100% { transform: translate3d(-30px, 40px, 0) scale(0.95); }
}

/* ---------- header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(10, 6, 18, 0.55);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(10, 6, 18, 0.78);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand__logo {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.55));
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand:hover .brand__logo {
  transform: rotate(-8deg) scale(1.06);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: 0.04em;
}

.brand__name span {
  background: linear-gradient(90deg, var(--primary-soft), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  position: relative;
  padding: 9px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover {
  color: var(--text);
  background: rgba(168, 85, 247, 0.1);
}

.nav__link[aria-current="page"] {
  color: var(--text);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s, border-color 0.25s, color 0.2s;
  white-space: nowrap;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 50%, #c026d3 100%);
  background-size: 160% 160%;
  box-shadow: 0 10px 30px -10px rgba(147, 51, 234, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn--primary:hover {
  background-position: 100% 0;
  box-shadow: 0 14px 40px -10px rgba(192, 38, 211, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border-strong);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  border-color: var(--primary);
  background: rgba(124, 58, 237, 0.16);
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.92rem;
  border-radius: 12px;
}

.btn--discord svg {
  width: 22px;
  height: 22px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 72px 0 96px;
  text-align: center;
}

/* The server icon in the middle of two orbits: light behind it, a comet circling on each
   orbit (one each way), a soft shadow below that breathes with the floating icon. */
.hero__emblem {
  --emblem: 264px;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--emblem);
  height: var(--emblem);
  margin: -10px auto 6px;
}

.hero__emblem::before {
  /* light in the icon's pink and the site's purple */
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.55) 0%, rgba(168, 85, 247, 0.4) 42%, transparent 70%);
  filter: blur(16px);
  animation: pulse 4.5s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orbit--outer {
  inset: 0;
  border: 1px solid rgba(216, 180, 254, 0.10);
}

.orbit--inner {
  inset: 10.5%;
  border: 1px dashed rgba(216, 180, 254, 0.22);
}

.orbit__spin {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  animation: spin 12s linear infinite;
}

.orbit--inner .orbit__spin {
  animation-duration: 8s;
  animation-direction: reverse;
}

.orbit__trail {
  /* a glowing arc that fades out behind the comet */
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 230deg, rgba(244, 114, 182, 0.9) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
}

.orbit--inner .orbit__trail {
  /* turns the other way: the arc trails on the other side */
  background: conic-gradient(from 0deg, rgba(192, 132, 252, 0.95) 0deg, transparent 120deg, transparent 360deg);
}

.orbit__head {
  position: absolute;
  top: -4px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: #fdf2f8;
  box-shadow: 0 0 10px 3px rgba(244, 114, 182, 0.9), 0 0 24px 6px rgba(236, 72, 153, 0.45);
}

.orbit--inner .orbit__head {
  width: 7px;
  height: 7px;
  margin-left: -3.5px;
  top: -3px;
  background: #faf5ff;
  box-shadow: 0 0 10px 3px rgba(192, 132, 252, 0.9), 0 0 22px 6px rgba(168, 85, 247, 0.45);
}

.hero__shadow {
  position: absolute;
  left: 50%;
  top: calc(50% + 78px);
  width: 104px;
  height: 16px;
  margin-left: -52px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(12, 4, 24, 0.85), transparent);
  animation: shadow 6s ease-in-out infinite;
}

.hero__emblem img {
  position: relative;
  width: 128px;
  height: 128px;
  /* the server icon is 64 px pixel art: twice the size, every pixel sharp */
  image-rendering: pixelated;
  border-radius: 14px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(236, 72, 153, 0.35)) drop-shadow(0 14px 22px rgba(46, 16, 101, 0.7));
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shadow {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(0.82); opacity: 0.55; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(124, 58, 237, 0.12);
  color: var(--primary-soft);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.status-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--faint);
  flex: none;
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0;
}

[data-state="online"] .status-dot {
  background: var(--online);
  color: var(--online);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.8);
}

[data-state="online"] .status-dot::after {
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

[data-state="offline"] .status-dot {
  background: var(--offline);
  box-shadow: 0 0 10px rgba(248, 113, 113, 0.7);
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.9); opacity: 0; }
}

.hero__title {
  margin: 22px 0 18px;
  font-size: clamp(3.2rem, 9vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.gradient-text {
  background: linear-gradient(100deg, #ffffff 0%, #f3e8ff 30%, #d8b4fe 55%, #c084fc 75%, #e879f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

/* ---------- address cards ---------- */

.addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 820px;
  margin: 46px auto 0;
  text-align: left;
}

.address {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 18px 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.8);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.address:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--glow);
}

.address__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.28), rgba(124, 58, 237, 0.12));
  border: 1px solid var(--border-strong);
  color: var(--primary-soft);
}

.address__icon svg {
  width: 24px;
  height: 24px;
}

.address__body {
  min-width: 0;
  flex: 1;
}

.address__label {
  display: block;
  color: var(--faint);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.address__value {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address__port {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(124, 58, 237, 0.14);
  color: var(--text);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.copy-btn svg {
  width: 18px;
  height: 18px;
}

.copy-btn:hover {
  background: rgba(124, 58, 237, 0.3);
  border-color: var(--primary);
}

.copy-btn.is-copied {
  border-color: rgba(74, 222, 128, 0.6);
  background: rgba(74, 222, 128, 0.14);
  color: #bbf7d0;
}

/* ---------- stats strip ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 56px auto 0;
}

.stat {
  padding: 18px 14px;
  border-radius: var(--radius-sm);
  background: rgba(23, 14, 38, 0.5);
  border: 1px solid var(--border);
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  line-height: 1.1;
}

.stat__label {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- sections ---------- */

.section {
  position: relative;
  padding: 96px 0;
}

.section__head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}

.section__kicker {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--primary-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section__title {
  font-size: clamp(2rem, 4.4vw, 3rem);
  font-weight: 800;
}

.section__lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.08rem;
}

.divider {
  height: 1px;
  max-width: var(--container);
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

/* ---------- features ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.3s, box-shadow 0.3s;
}

.card::before {
  /* light at the top edge */
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 180, 254, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: 0 30px 60px -30px rgba(124, 58, 237, 0.55);
}

.card:hover::before {
  opacity: 1;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.32), rgba(192, 38, 211, 0.12));
  border: 1px solid var(--border-strong);
  color: #f3e8ff;
  box-shadow: 0 10px 30px -12px rgba(168, 85, 247, 0.8);
}

.card__icon svg {
  width: 26px;
  height: 26px;
}

.card__title {
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card__text {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ---------- steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 30px 28px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(42, 26, 68, 0.55), rgba(23, 14, 38, 0.4));
  border: 1px solid var(--border);
}

.step__num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px -8px rgba(168, 85, 247, 0.9);
}

.step__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step__text {
  color: var(--muted);
  font-size: 0.97rem;
}

.step__text code,
.kbd {
  padding: 2px 8px;
  border-radius: 7px;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
}

/* ---------- updates ---------- */

.updates {
  display: grid;
  gap: 18px;
}

.updates--grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.update {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: border-color 0.3s, transform 0.3s;
}

.update:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.update__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--faint);
  font-size: 0.86rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #e9d5ff;
}

.tag--event { background: rgba(232, 121, 249, 0.16); border-color: rgba(232, 121, 249, 0.45); color: #fae8ff; }
.tag--fix { background: rgba(96, 165, 250, 0.14); border-color: rgba(96, 165, 250, 0.4); color: #dbeafe; }
.tag--news { background: rgba(74, 222, 128, 0.12); border-color: rgba(74, 222, 128, 0.38); color: #dcfce7; }

.update__title {
  font-size: 1.24rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.update__body {
  color: var(--muted);
  font-size: 0.98rem;
}

.update__body p + p,
.update__body p + ul,
.update__body ul + p {
  margin-top: 10px;
}

.update__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.update__body li {
  position: relative;
  padding-left: 20px;
}

.update__body li + li {
  margin-top: 4px;
}

.update__body li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--primary-soft), var(--primary));
}

.updates--list .update {
  padding: 30px 32px;
}

.updates__more {
  margin-top: 36px;
  text-align: center;
}

.empty {
  padding: 40px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  color: var(--muted);
  text-align: center;
}

.skeleton {
  min-height: 190px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    linear-gradient(100deg, transparent 20%, rgba(216, 180, 254, 0.07) 40%, transparent 60%) 0 0 / 200% 100%,
    var(--surface);
  animation: shimmer 1.6s linear infinite;
}

@keyframes shimmer {
  to { background-position: -200% 0, 0 0; }
}

/* ---------- call to action ---------- */

.cta {
  position: relative;
  overflow: hidden;
  padding: 56px;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(232, 121, 249, 0.22), transparent 60%),
    radial-gradient(700px 400px at 100% 100%, rgba(124, 58, 237, 0.4), transparent 60%),
    linear-gradient(135deg, #1d1033, #140b24);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta__title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
}

.cta__text {
  margin-top: 10px;
  max-width: 520px;
  color: var(--muted);
}

/* ---------- page header (subpages) ---------- */

.page-head {
  padding: 72px 0 28px;
  text-align: center;
}

.page-head__title {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
}

.page-head__lead {
  max-width: 600px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* ---------- store ---------- */

.soon {
  position: relative;
  max-width: 760px;
  margin: 24px auto 0;
  padding: 64px 48px;
  border-radius: 28px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(168, 85, 247, 0.28), transparent 70%),
    var(--surface-solid);
  text-align: center;
  overflow: hidden;
}

.soon::after {
  content: "";
  position: absolute;
  inset: auto -20% -60% -20%;
  height: 300px;
  background: radial-gradient(closest-side, rgba(192, 38, 211, 0.25), transparent);
  pointer-events: none;
}

.soon__icon {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin: 0 auto 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(124, 58, 237, 0.15));
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 50px -18px rgba(168, 85, 247, 0.9);
  color: #f3e8ff;
}

.soon__icon svg {
  width: 40px;
  height: 40px;
}

.soon__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232, 121, 249, 0.14);
  border: 1px solid rgba(232, 121, 249, 0.45);
  color: #fae8ff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.soon__title {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
}

.soon__text {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 18px auto 32px;
  color: var(--muted);
  font-size: 1.15rem;
}

.soon__text strong {
  color: var(--text);
}

.soon .btn {
  position: relative;
  z-index: 1;
}

/* ---------- 404 ---------- */

.notfound {
  padding: 110px 0 120px;
  text-align: center;
}

.notfound__code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.notfound__text {
  margin: 14px 0 34px;
  color: var(--muted);
  font-size: 1.15rem;
}

/* ---------- footer ---------- */

.footer {
  margin-top: 40px;
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
  background: rgba(8, 5, 14, 0.6);
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer__about {
  max-width: 360px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer__links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer__col h3 {
  margin-bottom: 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.footer__col a {
  color: var(--muted);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--text);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.85rem;
}

/* ---------- toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(23, 14, 38, 0.92);
  border: 1px solid rgba(74, 222, 128, 0.5);
  color: #dcfce7;
  font-weight: 600;
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s;
  pointer-events: none;
}

.toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast svg {
  width: 18px;
  height: 18px;
}

/* ---------- reveal on scroll (only with JS) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .features,
  .updates--grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 36px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 64px;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: var(--header-h);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 16px;
    background: rgba(17, 10, 28, 0.97);
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }

  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
  }

  .nav__link {
    padding: 12px 14px;
  }

  .nav__link[aria-current="page"]::after {
    display: none;
  }

  .nav__link[aria-current="page"] {
    background: rgba(168, 85, 247, 0.14);
  }

  .nav .btn {
    margin-top: 6px;
  }

  .hero {
    padding: 48px 0 72px;
  }

  .hero__emblem {
    --emblem: 236px;
  }

  .addresses,
  .features,
  .steps,
  .updates--grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 72px 0;
  }

  .soon {
    padding: 48px 24px;
  }

  .cta {
    padding: 36px 24px;
  }

  .footer__links {
    gap: 36px;
  }
}

@media (max-width: 420px) {
  .container {
    padding: 0 18px;
  }

  .address {
    flex-wrap: wrap;
  }

  .copy-btn {
    width: 100%;
    justify-content: center;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
