:root {
  --layout: #15161a;
  --accent: #9881ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  color: #fff;
  background: var(--layout);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 38%, rgba(152, 129, 255, 0.14), transparent 62%),
    radial-gradient(ellipse 90% 80% at 50% 50%, rgba(63, 67, 84, 0.35), transparent 70%),
    linear-gradient(180deg, #17181d 0%, var(--layout) 45%, #101115 100%);
}

.bg::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 30% 20%, rgba(152, 129, 255, 0.08), transparent 40%),
    radial-gradient(circle at 70% 75%, rgba(63, 67, 84, 0.22), transparent 45%);
  filter: blur(48px);
  pointer-events: none;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.shell {
  position: relative;
  z-index: 1;
  padding: 48px 24px 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.mark-wrap {
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
}

.mark {
  width: 168px;
  height: 168px;
  display: block;
  cursor: grab;
  touch-action: none;
  user-select: none;
  filter: drop-shadow(0 0 10px rgba(152, 129, 255, 0.35));
}

.mark.is-dragging {
  cursor: grabbing;
}

.actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.link {
  position: relative;
  display: inline-block;
  padding: 4px 2px;
  color: var(--accent);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-shadow:
    0 0 8px rgba(152, 129, 255, 0.75),
    0 0 18px rgba(152, 129, 255, 0.45),
    0 0 32px rgba(152, 129, 255, 0.28);
  transition: color 160ms ease, text-shadow 160ms ease;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(152, 129, 255, 0.85);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease;
}

.link:hover,
.link:focus-visible {
  color: #b8a4ff;
  text-shadow:
    0 0 10px rgba(152, 129, 255, 0.95),
    0 0 22px rgba(152, 129, 255, 0.65),
    0 0 40px rgba(152, 129, 255, 0.4);
}

.link:hover::after,
.link:focus-visible::after {
  transform: scaleX(1);
}

.link:focus-visible {
  outline: none;
}

.bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(152, 129, 255, 0.55);
  pointer-events: none;
}

.tux {
  position: fixed;
  right: 20px;
  bottom: 14px;
  z-index: 3;
  width: 44px;
  height: auto;
  aspect-ratio: 216 / 256;
  object-fit: contain;
  opacity: 0.92;
  pointer-events: none;
}

@media (max-width: 480px) {
  .shell {
    padding-top: 40px;
    padding-bottom: 48px;
    gap: 28px;
  }

  .mark-wrap {
    width: 148px;
    height: 148px;
  }

  .mark {
    width: 148px;
    height: 148px;
  }

  .actions {
    gap: 24px;
  }

  .link {
    font-size: 14px;
  }

  .tux {
    right: 14px;
    bottom: 12px;
    width: 36px;
  }
}
