:root {
  --fg: #f3f3f5;
  --muted: rgba(243, 243, 245, 0.62);
  --faint: rgba(243, 243, 245, 0.38);
  --font: "Outfit", system-ui, sans-serif;
  --display: "Outfit", system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font);
  color: var(--fg);
  background: #050506;
  min-height: 100vh;
  overflow: hidden;
}

a,
button,
input {
  cursor: pointer;
}

html.has-custom-cursor,
html.has-custom-cursor body,
html.has-custom-cursor a,
html.has-custom-cursor button,
html.has-custom-cursor input {
  cursor: none;
}

.bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.bg-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation-name: pan;
  animation-duration: var(--pan-duration, 42s);
  animation-timing-function: linear;
  animation-iteration-count: var(--pan-count, infinite);
  animation-direction: var(--pan-direction, normal);
  animation-fill-mode: forwards;
}

.bg-track.is-static {
  display: block;
  width: 100%;
  height: 100%;
  animation: none;
  transform: none;
}

.bg-track img,
.bg-track video {
  display: block;
  width: 100vw;
  height: 100vh;
  min-width: 100vw;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  pointer-events: none;
  user-select: none;
}

.bg-track.is-static img,
.bg-track.is-static video {
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

@keyframes pan {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.85);
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 40;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.15s, height 0.15s, margin 0.15s, background 0.15s;
}

html.has-custom-cursor .cursor {
  display: block;
}

.cursor.is-hot {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background: rgba(255, 255, 255, 0.12);
}

.ticker {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 5;
  overflow: hidden;
  height: 38px;
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(2px);
  border-color: rgba(255, 255, 255, 0.1);
  border-style: solid;
  border-width: 0;
}

.ticker-top {
  top: 0;
  border-bottom-width: 1px;
}

.ticker-bottom {
  bottom: 0;
  border-top-width: 1px;
}

.ticker-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
}

.ticker-track span {
  padding: 0 1.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(243, 243, 245, 0.78);
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 4.6rem 1.25rem;
  text-align: center;
  transition:
    gap 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    justify-content 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.stage.is-open {
  justify-content: flex-start;
  gap: 1.5rem;
  padding-left: 4vw;
  padding-right: 3vw;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(440px, 100%);
  padding: 2rem 2rem 1.7rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
  overflow: hidden;
  transition:
    width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    padding 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease;
}

.stage.is-open .card {
  width: min(340px, 32vw);
}

.browser {
  width: 0;
  max-width: 0;
  height: min(76vh, 820px);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0);
  border-radius: 28px;
  transform: translateX(48px);
  transition:
    width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    max-width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    border-radius 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.stage.is-open .browser {
  width: min(62vw, 960px);
  max-width: min(62vw, 960px);
  opacity: 1;
  pointer-events: auto;
  transform: none;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.stage.is-open.is-full {
  padding: 1.4vh 1.4vw;
  gap: 0;
}

.stage.is-open.is-full .card {
  width: 0;
  max-width: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  border-color: transparent;
}

.stage.is-open.is-full .browser {
  width: 100%;
  max-width: none;
  height: 100%;
  flex: 1;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 0.35rem;
  flex-shrink: 0;
}

.browser-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  flex-shrink: 0;
}

.browser-dot.is-close {
  background: #ff5f57;
}

.browser-dot.is-min {
  background: #febc2e;
}

.browser-dot.is-full {
  background: #28c840;
}

.browser-dot:hover,
.browser-dot:focus-visible {
  filter: brightness(1.18);
  outline: none;
}

.browser-meta {
  min-width: 0;
  flex: 1;
}

.browser-title {
  margin: 0;
  font-weight: 600;
  font-size: 0.92rem;
}

.browser-url {
  margin: 0.1rem 0 0;
  color: var(--faint);
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.browser-popout,
.browser-close {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 0;
}

.browser-popout svg {
  width: 15px;
  height: 15px;
}

.browser-popout:hover,
.browser-popout:focus-visible,
.browser-close:hover,
.browser-close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.browser-view {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  background: #0b0b0d;
  border-radius: 0 0 28px 28px;
}

.browser-page {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #0b0b0d;
  outline: none;
}

.browser-status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1.5rem;
  color: var(--muted);
  pointer-events: none;
  text-align: center;
}

.browser-status.is-hidden {
  display: none;
}

html.has-custom-cursor body.has-browser,
html.has-custom-cursor body.has-browser a,
html.has-custom-cursor body.has-browser button,
html.has-custom-cursor body.has-browser input,
html.has-custom-cursor body.has-browser canvas {
  cursor: auto;
}

html.has-custom-cursor body.has-browser a,
html.has-custom-cursor body.has-browser button {
  cursor: pointer;
}

html.has-custom-cursor body.has-browser .cursor,
body.has-browser .cursor {
  display: none !important;
}

.avatar,
video.avatar {
  width: 124px;
  height: 124px;
  margin: 0 0 1.15rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.name {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.handle {
  margin: 0.4rem 0 0;
  color: var(--faint);
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  text-transform: lowercase;
}

.bio {
  max-width: 22rem;
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.socials {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.45rem;
  width: 100%;
}

.social {
  display: grid;
  place-items: center;
  color: var(--fg);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social:hover,
.social:focus-visible {
  transform: translateY(-2px) scale(1.08);
  filter: drop-shadow(0 0 10px currentColor);
  outline: none;
}

.social[data-type="github"],
.browser-icon[data-type="github"] { color: #ffffff; }
.social[data-type="twitter"],
.browser-icon[data-type="twitter"] { color: #ffffff; }
.social[data-type="twitch"],
.browser-icon[data-type="twitch"] { color: #9146ff; }
.social[data-type="youtube"],
.browser-icon[data-type="youtube"] { color: #ff0000; }
.social[data-type="steam"],
.browser-icon[data-type="steam"] { color: #66c0f4; }
.social[data-type="spotify"],
.browser-icon[data-type="spotify"] { color: #1db954; }
.social[data-type="tiktok"],
.browser-icon[data-type="tiktok"] { color: #fe2c55; }
.social[data-type="instagram"],
.browser-icon[data-type="instagram"] { color: #e1306c; }
.social[data-type="reddit"],
.browser-icon[data-type="reddit"] { color: #ff4500; }
.social[data-type="bluesky"],
.browser-icon[data-type="bluesky"] { color: #1185fe; }
.social[data-type="facebook"],
.browser-icon[data-type="facebook"] { color: #1877f2; }
.social[data-type="paypal"],
.browser-icon[data-type="paypal"] { color: #003087; }
.social[data-type="roblox"],
.browser-icon[data-type="roblox"] { color: #ffffff; }

.quality {
  position: fixed;
  z-index: 6;
  left: 1.1rem;
  bottom: 3.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.7rem 0.38rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--fg);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quality span {
  color: var(--faint);
}

.quality select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  margin: 0;
  padding: 0 1.1rem 0 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23f3f3f5' d='M0 0h10L5 6z'/></svg>");
  background-repeat: no-repeat;
  background-position: right center;
  color: var(--fg);
  color-scheme: dark;
  font: inherit;
  letter-spacing: 0.02em;
  text-transform: none;
  outline: none;
}

.quality option {
  background-color: #141416;
  color: #f3f3f5;
}

.quality select:focus-visible {
  color: #fff;
}

html.has-custom-cursor .quality,
html.has-custom-cursor .quality select {
  cursor: none;
}

.audio-toggle {
  position: fixed;
  z-index: 6;
  right: 1.1rem;
  bottom: 3.2rem;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.28);
  color: var(--fg);
  display: grid;
  place-items: center;
  padding: 0;
}

.audio-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.audio-toggle:hover,
.audio-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

@media (max-width: 900px) {
  .stage.is-open {
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 3.6rem;
    overflow: auto;
  }

  .stage.is-open .card,
  .stage.is-open .browser {
    width: min(440px, 100%);
    max-width: min(440px, 100%);
  }

  .stage.is-open .browser {
    height: 58vh;
  }
}

@media (max-width: 640px), (pointer: coarse), (prefers-reduced-motion: reduce) {
  html.has-custom-cursor,
  html.has-custom-cursor body,
  html.has-custom-cursor a,
  html.has-custom-cursor button,
  html.has-custom-cursor input {
    cursor: auto;
  }
  html.has-custom-cursor a,
  html.has-custom-cursor button {
    cursor: pointer;
  }
  body { overflow: auto; }
  .cursor { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-track,
  .ticker-track,
  .stage,
  .card,
  .browser { animation: none; transition: none; }
  .cursor { display: none !important; }
}
