:root {
  --bg: #0a0713;
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);

  --text: #e8e3ff;
  --muted: #9a93b3;

  --purple: #a76bff;
  --purple-2: #c084ff;

  --radius: 18px;
  --shadow: 0 10px 40px rgba(0,0,0,.45);
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    'Inter',
    'SF Pro Display',
    system-ui,
    sans-serif;

  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(
      40% 30% at 15% 10%,
      rgba(167,107,255,.25),
      transparent 60%
    ),
    radial-gradient(
      35% 25% at 90% 20%,
      rgba(192,132,255,.20),
      transparent 60%
    ),
    radial-gradient(
      50% 40% at 50% 100%,
      rgba(167,107,255,.18),
      transparent 70%
    );

  filter: blur(20px);
  animation: drift 16s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(0,0,0) scale(1);
  }

  to {
    transform: translate3d(0,-20px,0) scale(1.05);
  }
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .04;

  background-image:
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'>\
<filter id='n'><feTurbulence baseFrequency='.9'/></filter>\
<rect width='100%25' height='100%25' filter='url(%23n)'/>\
</svg>");
}

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

  width: min(560px, calc(100% - 32px));
  margin: 0 auto;

  min-height: 100vh;
  padding: 58px 0 34px;
}

.hero {
  text-align: center;
  padding: 22px 20px 30px;
}

.brand {
  display: inline-flex;
  align-items: baseline;

  font-size: clamp(40px, 10vw, 56px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;

  background:
    linear-gradient(
      135deg,
      #c084ff,
      #a76bff 40%,
      #8b5cf6
    );

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  filter:
    drop-shadow(
      0 0 24px
      rgba(167,107,255,.25)
    );
}

.brand-to {
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: -2px;
  margin-left: 4px;
}

.tagline {
  margin: 10px 0 0;

  color: var(--muted);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  position: relative;

  min-height: 64px;

  display: flex;
  align-items: center;

  padding: 0 20px;

  text-decoration: none;
  color: var(--text);

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.025)
    );

  border: 1px solid var(--border);
  border-radius: var(--radius);

  box-shadow: var(--shadow);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    transform .18s ease,
    border-color .18s ease,
    background .18s ease,
    box-shadow .18s ease;
}

.link-card::before {
  content: "";
  position: absolute;
  inset: 0;

  border-radius: inherit;

  background:
    radial-gradient(
      circle at 0% 50%,
      rgba(167,107,255,.11),
      transparent 42%
    );

  pointer-events: none;
}

.link-card:hover {
  transform: translateY(-2px);

  border-color: rgba(167,107,255,.42);

  background:
    linear-gradient(
      135deg,
      rgba(167,107,255,.09),
      rgba(255,255,255,.035)
    );

  box-shadow:
    0 14px 46px rgba(0,0,0,.48),
    0 0 24px rgba(167,107,255,.08);
}

.link-card:active {
  transform: scale(.985);
}

/* Clean non-emoji icons */
.icon {
  position: relative;
  z-index: 1;

  width: 34px;
  height: 34px;
  margin-right: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  color: #d7bcff;
  background: rgba(167,107,255,.10);
  border: 1px solid rgba(167,107,255,.16);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: .5px;

  flex-shrink: 0;
}

.icon-check {
  font-size: 19px;
}

.icon-signal,
.icon-threema {
  font-size: 14px;
}

.label {
  position: relative;
  z-index: 1;

  flex: 1;

  font-size: 14px;
  font-weight: 750;
  letter-spacing: .8px;
}

.arrow {
  position: relative;
  z-index: 1;

  width: 10px;
  height: 10px;

  border-top: 2px solid #9a93b3;
  border-right: 2px solid #9a93b3;

  transform: rotate(45deg);

  transition:
    transform .18s ease,
    border-color .18s ease;

  margin-right: 4px;
}

.link-card:hover .arrow {
  transform: rotate(45deg) translate(2px, -2px);
  border-color: var(--purple-2);
}

.empty-slot {
  min-height: 64px;
  opacity: .12;
  pointer-events: none;
}

footer {
  text-align: center;
  padding-top: 30px;

  color: var(--muted);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .55;
}

@media (max-width: 520px) {
  .page {
    width: min(100% - 22px, 560px);
    padding-top: 30px;
  }

  .hero {
    padding-top: 18px;
    padding-bottom: 24px;
  }

  .brand {
    font-size: 42px;
  }

  .link-card {
    min-height: 62px;
    padding: 0 16px;
  }

  .label {
    font-size: 13px;
  }
}

.icon-check {
  position: relative;
  font-size: 0;
}

.icon-check::before {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2px solid #d7bcff;
  border-bottom: 2px solid #d7bcff;
  transform: rotate(-45deg);
  margin-top: -3px;
}
