@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/jetbrains-mono-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --font-sans: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "Cascadia Code", "Consolas", monospace;
  --text: #f7f7f8;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  background: #050506;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
  background: #050506;
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

img,
video,
svg {
  display: block;
}

::selection {
  background: rgba(255, 255, 255, 0.88);
  color: #08080a;
}

html.has-cursor,
html.has-cursor * {
  cursor: none !important;
}

/* -------------------------------------------------------------------------- */
/* Background                                                                 */
/* -------------------------------------------------------------------------- */

.background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #16171b 0%, #09090b 52%, #040405 100%);
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  filter: brightness(0.54) contrast(1.08) saturate(0.8);
  transform: scale(1.045);
  opacity: 0;
  animation: videoIn 1.8s ease 0.08s forwards;
}

.backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.2) 42%, rgba(0, 0, 0, 0.8) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.36) 0%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.62) 100%);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 0 38%, rgba(0, 0, 0, 0.22) 72%, rgba(0, 0, 0, 0.46) 100%);
}

.ambient {
  position: absolute;
  inset: -10%;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

.orb-a {
  top: 12%;
  left: 6%;
  width: 440px;
  height: 440px;
  background: rgba(112, 150, 220, 0.12);
  animation: driftA 23s ease-in-out infinite alternate;
}

.orb-b {
  right: 3%;
  bottom: 8%;
  width: 380px;
  height: 380px;
  background: rgba(205, 164, 92, 0.07);
  animation: driftB 28s ease-in-out -9s infinite alternate;
}

.orb-c {
  top: 44%;
  left: 46%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.035);
  animation: driftC 20s ease-in-out -4s infinite alternate;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  mix-blend-mode: soft-light;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  background-size: 190px 190px;
}

/* -------------------------------------------------------------------------- */
/* Entry screen                                                               */
/* -------------------------------------------------------------------------- */

.entry {
  position: fixed;
  z-index: 150;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 5, 7, 0.44);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  backdrop-filter: blur(14px) saturate(120%);
  transition: opacity 0.85s var(--ease-out), visibility 0.85s;
}

.entry::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 46%, transparent 0 18%, rgba(0, 0, 0, 0.18) 62%, rgba(0, 0, 0, 0.54) 100%);
  pointer-events: none;
}

.entry::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.055) 0%, transparent 66%);
  filter: blur(10px);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.entry-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  animation: entryIn 1s var(--ease-out) 0.24s forwards;
}

.enter-button {
  position: relative;
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  padding: 0 19px 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 12, 0.16);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  transition:
    transform 0.3s var(--ease-out),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    color 0.3s ease;
}

.enter-button::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  animation: enterRing 3.6s ease-out 1s infinite;
}

.enter-button:hover,
.enter-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.32);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(10, 10, 12, 0.18);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.42),
    0 0 34px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.enter-button:hover::before,
.enter-button:focus-visible::before {
  animation: none;
  opacity: 0;
}

.enter-button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.52);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: transform 0.3s var(--ease-out), stroke 0.3s ease;
}

.enter-button:hover svg,
.enter-button:focus-visible svg {
  stroke: #fff;
  transform: translateX(3px);
}

.is-entered .entry {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* Layout                                                                     */
/* -------------------------------------------------------------------------- */

.stage {
  position: relative;
  z-index: 10;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 32px 24px;
}

.card-stage {
  width: min(760px, calc(100vw - 48px));
  opacity: 0;
  transform: translateY(26px) scale(0.97);
}

.is-entered .card-stage {
  animation: cardReveal 1.15s var(--ease-out) 0.08s forwards;
}

.card-wrap {
  --rx: 0deg;
  --ry: 0deg;
  --lift: 0px;
  position: relative;
  transform: perspective(1150px) rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift));
  transform-style: preserve-3d;
  transition: transform 0.9s var(--ease-out);
  will-change: transform;
}

.card-wrap.is-tilting {
  transition: transform 0.11s ease-out;
}

/* -------------------------------------------------------------------------- */
/* Card                                                                       */
/* -------------------------------------------------------------------------- */

.card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.145);
  border-radius: 32px;
  background:
    radial-gradient(125% 92% at 50% -12%, rgba(255, 255, 255, 0.12), transparent 56%),
    linear-gradient(152deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 44%, rgba(255, 255, 255, 0.05)),
    rgba(8, 8, 10, 0.36);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.68),
    0 10px 34px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.38);
  -webkit-backdrop-filter: blur(28px) saturate(155%);
  backdrop-filter: blur(28px) saturate(155%);
  transform: translateZ(0);
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  user-select: none;
  -webkit-user-select: none;
}

.card::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.46),
    rgba(255, 255, 255, 0.035) 27%,
    transparent 52%,
    rgba(255, 255, 255, 0.13) 100%
  );
  pointer-events: none;
  opacity: 0.65;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.card.is-pressed {
  animation: cardPress 0.62s var(--ease-soft);
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.72),
    0 10px 34px rgba(0, 0, 0, 0.44),
    0 0 60px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.38);
}

.card-sheen {
  position: absolute;
  z-index: 1;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    620px circle at var(--mx, 50%) var(--my, 0%),
    rgba(255, 255, 255, 0.1),
    transparent 56%
  );
  pointer-events: none;
  opacity: 0.78;
  transition: opacity 0.3s ease;
}

.card-noise {
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
  background-size: 170px 170px;
  mix-blend-mode: overlay;
  opacity: 0.055;
  pointer-events: none;
}

.card-content {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 44px;
  padding: 44px 48px;
}

.profile-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-side {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

/* Avatar ------------------------------------------------------------------ */

.avatar-wrap {
  position: relative;
  width: 150px;
  height: 150px;
  flex: 0 0 auto;
}

.avatar-halo {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: conic-gradient(
    from 90deg,
    rgba(255, 255, 255, 0.34),
    rgba(143, 183, 255, 0.1),
    rgba(255, 255, 255, 0.16),
    rgba(255, 198, 112, 0.08),
    rgba(255, 255, 255, 0.34)
  );
  filter: blur(18px);
  opacity: 0.52;
  animation: haloSpin 14s linear infinite;
}

.avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  pointer-events: none;
}

.avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 18px 46px rgba(0, 0, 0, 0.5),
    0 0 0 7px rgba(255, 255, 255, 0.032),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  filter: saturate(0.95) contrast(1.03);
  -webkit-user-drag: none;
}

.status {
  position: absolute;
  z-index: 3;
  right: 8px;
  bottom: 8px;
  width: 17px;
  height: 17px;
  border: 3px solid #161619;
  border-radius: 50%;
  background: #75e3a5;
  box-shadow: 0 0 15px rgba(117, 227, 165, 0.62);
}

.status::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(117, 227, 165, 0.45);
  border-radius: inherit;
  animation: statusPing 2.7s ease-out infinite;
}

/* Text -------------------------------------------------------------------- */

.name {
  margin: 0;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.95;
  text-align: left;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
  animation: nameFlicker 9s linear infinite;
}

.bio {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.57);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.004em;
  line-height: 1.5;
  text-align: left;
  text-wrap: balance;
  animation: bioFlicker 8.4s steps(1, end) infinite;
}

.rule {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 24px 0 22px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08) 65%, transparent);
}

.rule span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.42);
  transform: translateY(-50%);
}

/* Links ------------------------------------------------------------------- */

.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
}

.social {
  position: relative;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.125);
  border-radius: 19px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.018) 70%),
    rgba(255, 255, 255, 0.012);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s var(--ease-out),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.social::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.1), transparent 45%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.social:hover,
.social:focus-visible {
  border-color: rgba(255, 255, 255, 0.3);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.035) 70%),
    rgba(255, 255, 255, 0.02);
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.38),
    0 0 32px rgba(255, 255, 255, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-4px) scale(1.015);
}

.social:hover::after,
.social:focus-visible::after {
  opacity: 1;
}

.social-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease-out), filter 0.3s ease;
}

.social:hover .social-icon,
.social:focus-visible .social-icon {
  transform: scale(1.06);
}

.social.social--user {
  display: flex;
  width: auto;
  gap: 9px;
  padding: 0 14px;
}

.social--user .social-icon--discord svg {
  width: 22px;
  height: 22px;
}

.social-user {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.social:hover .social-user,
.social:focus-visible .social-user {
  color: #fff;
}

.social-arrow {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  transition: stroke 0.3s ease, transform 0.3s var(--ease-out);
}

.social:hover .social-arrow,
.social:focus-visible .social-arrow {
  stroke: #fff;
  transform: translate(1px, -1px);
}

.social-icon--mullvad img {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.social:hover .social-icon--mullvad img,
.social:focus-visible .social-icon--mullvad img {
  filter: drop-shadow(0 0 15px rgba(240, 196, 84, 0.28));
}

.social-icon--discord svg {
  width: 25px;
  height: 25px;
  fill: rgba(255, 255, 255, 0.88);
  filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.12));
}

.social:hover .social-icon--discord svg,
.social:focus-visible .social-icon--discord svg {
  fill: #fff;
  filter: drop-shadow(0 0 14px rgba(118, 130, 255, 0.5));
}

.social-icon--snapchat svg {
  width: 27px;
  height: 27px;
  fill: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 0 9px rgba(255, 255, 255, 0.12));
}

.social:hover .social-icon--snapchat svg,
.social:focus-visible .social-icon--snapchat svg {
  fill: #fff;
  filter: drop-shadow(0 0 15px rgba(255, 252, 0, 0.42));
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 11px);
  left: 50%;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 9px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(10, 10, 12, 0.9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, 5px);
  transition: opacity 0.22s ease, transform 0.22s var(--ease-out);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.tooltip svg {
  width: 9px;
  height: 9px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.social:hover .tooltip,
.social:focus-visible .tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* -------------------------------------------------------------------------- */
/* Click effects                                                              */
/* -------------------------------------------------------------------------- */

.fx-layer {
  position: fixed;
  z-index: 200;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.fx-dark {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    circle 210px at var(--x) var(--y),
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.38) 58%,
    rgba(0, 0, 0, 0.62) 100%
  );
  mix-blend-mode: multiply;
  animation: darkPulse 0.72s ease-out forwards;
}

.fx-ripple {
  position: fixed;
  top: var(--y);
  left: var(--x);
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  box-shadow:
    0 0 32px rgba(255, 255, 255, 0.12),
    inset 0 0 20px rgba(255, 255, 255, 0.035);
  animation: rippleOut 0.9s var(--ease-out) forwards;
}

.fx-ripple--late {
  border-color: rgba(255, 255, 255, 0.18);
  animation-duration: 1.15s;
  animation-delay: 0.08s;
}

.fx-flash {
  position: fixed;
  top: var(--y);
  left: var(--x);
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 32px 9px rgba(255, 255, 255, 0.5);
  animation: flashOut 0.55s ease-out forwards;
}

.fx-particle {
  position: fixed;
  top: var(--y);
  left: var(--x);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.72);
  animation: particleOut 0.78s var(--ease-out) forwards;
  animation-delay: var(--delay, 0ms);
}

/* -------------------------------------------------------------------------- */
/* Custom cursor                                                              */
/* -------------------------------------------------------------------------- */

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(158, 192, 255, 0.14) 0%, rgba(158, 192, 255, 0.035) 35%, transparent 70%);
  filter: blur(28px);
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  transition: opacity 0.6s ease;
}

html.has-cursor .cursor-glow {
  opacity: 0.8;
}

.cursor-ring,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  will-change: transform;
  mix-blend-mode: difference;
}

html.has-cursor .cursor-ring,
html.has-cursor .cursor-dot {
  opacity: 1;
}

html.cursor-hidden .cursor-ring,
html.cursor-hidden .cursor-dot,
html.cursor-hidden .cursor-glow {
  opacity: 0;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.66);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.012);
  transition: opacity 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.cursor-ring[data-hover="true"] {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.09);
}

.cursor-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  transition: opacity 0.25s ease;
}

@media (pointer: coarse) {
  .cursor-glow,
  .cursor-ring,
  .cursor-dot {
    display: none !important;
  }
}

/* -------------------------------------------------------------------------- */
/* Focus                                                                      */
/* -------------------------------------------------------------------------- */

:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.82);
  outline-offset: 4px;
}

.social:focus-visible {
  outline-offset: 5px;
}

.enter-button:focus-visible {
  outline-offset: 5px;
}

/* -------------------------------------------------------------------------- */
/* Keyframes                                                                  */
/* -------------------------------------------------------------------------- */

@keyframes videoIn {
  to {
    opacity: 1;
  }
}

@keyframes entryIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes enterRing {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  12% {
    opacity: 0.55;
  }
  56%,
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}

@keyframes cardReveal {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes nameFlicker {
  0%,
  19.4%,
  22.2%,
  62.4%,
  63.2%,
  100% {
    opacity: 1;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.12);
  }
  20% {
    opacity: 0.3;
    text-shadow: none;
  }
  21% {
    opacity: 0.7;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.08);
  }
  62.8% {
    opacity: 0.48;
    text-shadow: none;
  }
}

@keyframes bioFlicker {
  0%,
  37.8%,
  41.5%,
  100% {
    opacity: 1;
  }
  38.8% {
    opacity: 0.2;
  }
  39.5% {
    opacity: 0.5;
  }
  40.4% {
    opacity: 0.3;
  }
}

@keyframes cardPress {
  0% {
    transform: scale(1);
  }
  22% {
    transform: scale(0.982);
  }
  58% {
    transform: scale(1.012);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes haloSpin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes statusPing {
  0% {
    opacity: 0.65;
    transform: scale(0.7);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

@keyframes darkPulse {
  0% {
    opacity: 0;
  }
  22% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes rippleOut {
  0% {
    opacity: 0.9;
    transform: scale(0.22);
  }
  72% {
    opacity: 0.22;
  }
  100% {
    opacity: 0;
    transform: scale(18);
  }
}

@keyframes flashOut {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.2);
  }
}

@keyframes particleOut {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(6px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--distance)) scale(0);
  }
}

@keyframes driftA {
  from {
    transform: translate3d(-3%, -2%, 0) scale(1);
  }
  to {
    transform: translate3d(8%, 5%, 0) scale(1.12);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(3%, 3%, 0) scale(1.05);
  }
  to {
    transform: translate3d(-7%, -5%, 0) scale(0.94);
  }
}

@keyframes driftC {
  from {
    transform: translate3d(-4%, 3%, 0) scale(0.92);
  }
  to {
    transform: translate3d(5%, -4%, 0) scale(1.08);
  }
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 760px) and (min-width: 641px) {
  .card-stage {
    width: min(100%, 700px);
  }

  .card-content {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 32px;
    padding: 37px 38px;
  }

  .info-side {
    padding-left: 32px;
  }

  .avatar-wrap {
    width: 126px;
    height: 126px;
  }

  .name {
    font-size: 50px;
  }

  .rule {
    margin: 21px 0 19px;
  }

  .social {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 640px) {
  .stage {
    padding: 28px 16px;
  }

  .card-stage {
    width: min(100%, 386px);
  }

  .card {
    border-radius: 27px;
  }

  .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 31px 25px 20px;
  }

  .profile-side {
    width: auto;
  }

  .avatar-wrap {
    width: 98px;
    height: 98px;
  }

  .avatar-wrap::after {
    inset: -7px;
  }

  .avatar-halo {
    inset: -13px;
  }

  .status {
    right: 5px;
    bottom: 5px;
    width: 15px;
    height: 15px;
  }

  .info-side {
    width: 100%;
    align-items: center;
    padding-left: 0;
    border-left: 0;
  }

  .name {
    margin-top: 24px;
    font-size: 41px;
    text-align: center;
  }

  .bio {
    margin-top: 10px;
    font-size: 13.5px;
    text-align: center;
  }

  .rule {
    margin: 24px 0 21px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.13) 22%, rgba(255, 255, 255, 0.13) 78%, transparent);
  }

  .rule span {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .socials {
    justify-content: center;
    gap: 10px;
  }

  .social {
    width: 56px;
    height: 56px;
    border-radius: 18px;
  }

  .social-icon--mullvad img {
    width: 38px;
    height: 38px;
  }

  .social-icon--discord svg {
    width: 25px;
    height: 25px;
  }

  .social-icon--snapchat svg {
    width: 25px;
    height: 25px;
  }

  .social.social--user {
    gap: 8px;
    padding: 0 11px;
  }

  .social--user .social-icon--discord svg {
    width: 20px;
    height: 20px;
  }

  .social-user {
    font-size: 8.5px;
  }

  .tooltip {
    display: none;
  }

  .enter-button {
    min-height: 50px;
    padding-right: 17px;
    padding-left: 20px;
  }
}

@media (max-width: 360px) {
  .card-content {
    padding: 27px 19px 17px;
  }

  .name {
    font-size: 37px;
  }

  .socials {
    gap: 8px;
  }

  .social {
    width: 50px;
    height: 50px;
  }

  .social.social--user {
    gap: 7px;
    padding: 0 9px;
  }

  .social--user .social-icon--discord svg {
    width: 18px;
    height: 18px;
  }

  .social-user {
    font-size: 8px;
  }

  .social-arrow {
    width: 9px;
    height: 9px;
  }
}

@media (max-height: 700px) and (min-width: 641px) {
  .stage {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .card-content {
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 34px;
    padding: 31px 38px;
  }

  .avatar-wrap {
    width: 120px;
    height: 120px;
  }

  .info-side {
    padding-left: 34px;
  }

  .name {
    font-size: 50px;
  }

  .rule {
    margin: 19px 0 18px;
  }

  .social {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }
}

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

  .bg-video {
    opacity: 1;
  }

  .entry-content {
    opacity: 1;
    transform: none;
  }

  .is-entered .card-stage {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .name,
  .bio {
    animation: none;
  }

  .card-wrap {
    transition: none;
  }

  .cursor-glow {
    display: none;
  }
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .entry {
    background: rgba(5, 5, 7, 0.9);
  }

  .card {
    background:
      linear-gradient(152deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.018) 44%, rgba(255, 255, 255, 0.05)),
      rgba(8, 8, 10, 0.82);
  }

  .social,
  .enter-button {
    background: rgba(16, 16, 19, 0.78);
  }
}

