/* hi, what ru doing */
:root {
  --e: cubic-bezier(.2, .72, .12, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  height: 100%;
  overflow: hidden;
  background: #000;
  color: #f2f2f4;
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

a {
  color: inherit;
  text-decoration: none;
  outline: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .6);
  outline-offset: 3px;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

.defs {
  position: absolute;
  pointer-events: none;
}

.bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: brightness(.55) saturate(.9);
}

.shade {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, rgba(0, 0, 0, .3), rgba(0, 0, 0, .8));
}

.fx {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.fx.over {
  z-index: 30;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  cursor: pointer;
  outline: none;
  transition: opacity 1s ease, visibility 1s;
}

.splash.out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  font-size: 56px;
  line-height: 1;
  color: #fff;
  font-family: "Segoe UI Symbol", "Apple Symbols", "Noto Sans Symbols 2", "DejaVu Sans", sans-serif;
  text-shadow: 0 0 22px rgba(255, 255, 255, .35);
  animation: spin 3s linear infinite;
}

.stage {
  position: fixed;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 18px;
}

.glass {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .03) 45%, rgba(255, 255, 255, .07));
  -webkit-backdrop-filter: blur(6px) saturate(180%) brightness(1.08);
  backdrop-filter: blur(6px) saturate(180%) brightness(1.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    inset 1.5px 1.5px 1px -.5px rgba(255, 255, 255, .55),
    inset -1.5px -1.5px 1px -.5px rgba(255, 255, 255, .28),
    inset 0 0 24px rgba(255, 255, 255, .05),
    0 24px 60px rgba(0, 0, 0, .55);
}

.glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .16), transparent 60%);
}

.glass::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .12), transparent);
  transform: skewX(-18deg);
  animation: shine 8s ease-in-out infinite;
}

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

.card {
  width: min(400px, 100%);
  max-height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  padding: 24px;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  transition: transform .7s cubic-bezier(.03, .98, .52, .99);
  will-change: transform;
}

.card::-webkit-scrollbar {
  display: none;
}

.card > * {
  opacity: 0;
}

.card.revealed > * {
  animation: unfold .8s var(--e) both;
  animation-delay: calc(var(--i, 0) * 140ms);
}

.top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .35), 0 10px 30px rgba(0, 0, 0, .5);
}

h1 {
  display: inline-block;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
  filter: url(#glitch);
}

.status {
  min-height: 1.3em;
  margin-top: 4px;
  font-size: .95rem;
  color: rgba(255, 255, 255, .7);
}

.status::after {
  content: "|";
  margin-left: 2px;
  animation: blink .8s infinite;
}

.inner {
  padding: 14px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), inset 1px 1px 1px -.5px rgba(255, 255, 255, .35);
}

.job {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.job b {
  font-size: 1.05rem;
  font-weight: 650;
}

.job span {
  font-size: .88rem;
  font-style: italic;
  color: rgba(255, 255, 255, .6);
}

.about {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

p {
  font-size: .9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .8);
}

.icons {
  display: flex;
  gap: 14px;
  justify-content: center;
}

.disc {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .4s var(--e);
}

.disc:hover {
  transform: scale(1.1);
}

.disc svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@keyframes unfold {
  from { opacity: 0; transform: translateY(-22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes blink {
  50% { opacity: 0; }
}

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

@keyframes shine {
  0%, 60% { left: -60%; }
  100% { left: 140%; }
}

@media (max-height: 680px) {
  .card {
    padding: 18px;
    gap: 10px;
  }

  .avatar {
    width: 60px;
    height: 60px;
  }

  h1 {
    font-size: 1.8rem;
  }

  .inner {
    padding: 10px 14px;
  }

  p {
    font-size: .84rem;
    line-height: 1.4;
  }

  .disc {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
