:root {
  --bg: #030307;
  --bg-2: #070612;
  --panel: rgba(7, 8, 18, 0.74);
  --panel-strong: rgba(7, 8, 18, 0.9);
  --line: rgba(153, 144, 255, 0.16);
  --text: #f6f7ff;
  --muted: rgba(246, 247, 255, 0.72);
  --blue: #5ee7ff;
  --purple: #a855f7;
  --pink: #ff57e0;
  --shadow: 0 18px 70px rgba(0, 0, 0, 0.42);
  --radius: 34px;
  --space-1: 8px;
  --space-2: 12px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
  --space-8: 112px;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background:
    radial-gradient(circle at 18% 14%, rgba(94, 231, 255, 0.12), transparent 18%),
    radial-gradient(circle at 80% 12%, rgba(168, 85, 247, 0.18), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(255, 87, 224, 0.08), transparent 24%),
    linear-gradient(180deg, #020204 0%, #070613 42%, #020204 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 88%);
  opacity: 0.18;
}

body::after {
  background: radial-gradient(circle at center, transparent 48%, rgba(0, 0, 0, 0.26) 100%);
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(94, 231, 255, 0.34);
  color: white;
}

.page-shell {
  position: relative;
  z-index: 1;
}

.glass {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(12, 13, 26, 0.78), rgba(8, 9, 18, 0.62));
  border: 1px solid rgba(150, 146, 255, 0.14);
  box-shadow: 0 18px 56px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px) saturate(140%);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(94, 231, 255, 0.14), transparent 26%),
    radial-gradient(circle at 80% 0%, rgba(168, 85, 247, 0.12), transparent 24%),
    linear-gradient(140deg, rgba(94, 231, 255, 0.15), transparent 35%, rgba(168, 85, 247, 0.12));
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

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

.glass > * {
  position: relative;
  z-index: 1;
}
