:root {
  --bg: #050505;
  --surface: rgba(15, 15, 16, 0.76);
  --surface-solid: #0d0e0f;
  --surface-soft: rgba(255,255,255,.035);
  --text: #f4f5f6;
  --muted: #989ca3;
  --dim: #5f646c;
  --line: rgba(255,255,255,.11);
  --line-strong: rgba(255,255,255,.2);
  --accent: #c7ff5e;
  --accent-rgb: 199, 255, 94;
  --online: #3fca79;
  --idle: #f0b84b;
  --dnd: #ed5b5b;
  --offline: #777c86;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --shadow: 0 32px 100px rgba(0,0,0,.55);
  --radius: 28px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
::selection { background: var(--accent); color: #050505; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

#spaceCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ambient-light {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 10%, rgba(var(--accent-rgb), .09), transparent 28%),
    radial-gradient(circle at 15% 55%, rgba(116, 140, 255, .06), transparent 33%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,.035), transparent 35%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.38));
}
.grain {
  position: fixed;
  inset: -80%;
  z-index: 12;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift .4s steps(2) infinite;
}
.cursor-aura {
  position: fixed;
  z-index: 3;
  width: 420px;
  height: 420px;
  left: -210px;
  top: -210px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .085), transparent 68%);
  transform: translate3d(var(--cursor-x, 50vw), var(--cursor-y, 50vh), 0);
  transition: opacity .4s ease;
  will-change: transform;
}
body.has-pointer .cursor-aura { opacity: 1; }

.entry-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: #030303;
  outline: none;
  transition: opacity .9s cubic-bezier(.22,1,.36,1), visibility .9s ease;
}
.entry-gate::before,
.entry-gate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.entry-gate::before {
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(255,255,255,.04) 50%, transparent 50.05%),
    linear-gradient(transparent 49.95%, rgba(255,255,255,.04) 50%, transparent 50.05%);
  mask-image: radial-gradient(circle at center, #000, transparent 65%);
}
.entry-gate::after {
  background: radial-gradient(circle at center, transparent 0 12%, rgba(0,0,0,.3) 50%, #030303 88%);
}
.entry-gate.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.gate-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.gate-kicker,
.gate-hint {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: .26em;
}
.gate-kicker { margin-bottom: 24px; color: var(--accent); font-size: .65rem; }
.gate-title {
  position: relative;
  font-family: var(--mono);
  font-size: clamp(2rem, 4.8vw, 5rem);
  font-weight: 800;
  letter-spacing: .035em;
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,.9), 0 0 32px rgba(255,255,255,.4), 0 0 90px rgba(var(--accent-rgb), .16);
  animation: gatePulse 2.8s ease-in-out infinite;
}
.gate-title::before,
.gate-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}
.entry-gate:hover .gate-title::before { opacity: .7; transform: translate(-2px, 0); clip-path: inset(18% 0 52% 0); color: var(--accent); }
.entry-gate:hover .gate-title::after { opacity: .5; transform: translate(2px, 0); clip-path: inset(60% 0 12% 0); }
.gate-hint { margin-top: 26px; color: #6e7279; font-size: .58rem; }
.entry-gate:focus-visible .gate-title { outline: 1px solid var(--accent); outline-offset: 14px; }

.site {
  position: relative;
  z-index: 4;
  opacity: 0;
  filter: blur(12px);
  transform: scale(.992);
  pointer-events: none;
  transition: opacity 1.1s cubic-bezier(.22,1,.36,1) .15s, filter 1.1s ease .15s, transform 1.1s ease .15s;
}
.site.is-visible { opacity: 1; filter: none; transform: none; pointer-events: auto; }
.section-shell { width: min(1420px, calc(100% - 72px)); margin: 0 auto; }

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 38px;
  border-bottom: 1px solid transparent;
  transition: height .35s ease, background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
}
.topbar.is-scrolled {
  height: 70px;
  border-color: var(--line);
  background: rgba(5,5,5,.72);
  backdrop-filter: blur(18px) saturate(135%);
}
.brand { justify-self: start; display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: var(--accent);
  font: 800 .9rem var(--mono);
  box-shadow: inset 0 0 18px rgba(var(--accent-rgb), .06);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.05; }
.brand-copy strong { font: 800 .78rem var(--mono); letter-spacing: .15em; }
.brand-copy small { margin-top: 5px; color: var(--dim); font: 500 .5rem var(--mono); letter-spacing: .15em; }
.topnav { display: flex; align-items: center; gap: 34px; }
.topnav a {
  position: relative;
  color: #898d94;
  font: 600 .62rem var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s ease;
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 1px;
  background: var(--accent);
  transition: right .25s ease;
}
.topnav a:hover { color: #fff; }
.topnav a:hover::after { right: 0; }
.live-badge {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 96px;
  justify-content: flex-end;
  color: #8b8f96;
  font: 600 .58rem var(--mono);
  letter-spacing: .12em;
}
.api-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--offline); box-shadow: 0 0 10px currentColor; }
.api-dot.connected { color: var(--online); background: var(--online); animation: livePulse 2.2s infinite; }
.api-dot.connecting { color: var(--idle); background: var(--idle); animation: livePulse 1s infinite; }
.api-dot.error { color: var(--dnd); background: var(--dnd); }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
  align-items: center;
  gap: clamp(44px, 7vw, 128px);
  padding-top: 128px;
  padding-bottom: 92px;
}
.hero::before {
  content: "";
  position: absolute;
  top: 14%;
  left: -10%;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(255,255,255,.045);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.012), 0 0 0 160px rgba(255,255,255,.008);
}
.hero-copy { position: relative; z-index: 3; max-width: 800px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: #7e828a;
  font: 600 .66rem var(--mono);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.eyebrow span { color: var(--accent); }
.hero-title { margin: 0; display: flex; flex-direction: column; align-items: flex-start; }
.title-main {
  position: relative;
  display: block;
  max-width: 100%;
  font-size: clamp(5rem, 10.7vw, 11.2rem);
  line-height: .78;
  letter-spacing: -.09em;
  font-weight: 800;
  color: #f3f4f5;
  text-shadow: 0 0 20px rgba(255,255,255,.14);
}
.title-main::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(var(--accent-rgb), .18);
  transform: translate(10px, 10px);
  filter: blur(.2px);
}
.title-main.is-glitching::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: var(--accent);
  clip-path: inset(48% 0 35% 0);
  transform: translateX(-5px);
  opacity: .8;
}
.title-alias {
  display: block;
  margin: 30px 0 0 8px;
  color: #a2a6ad;
  font: 400 clamp(1.25rem, 2.2vw, 2.15rem) var(--mono);
  letter-spacing: .03em;
}
.hero-tagline {
  max-width: 620px;
  margin: 38px 0 0 8px;
  color: #a5a9b0;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.72;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  margin: 42px 0 0 8px;
}
.hero-meta > div { min-width: 155px; }
.meta-label { display: block; margin-bottom: 8px; color: #5f636a; font: 600 .54rem var(--mono); letter-spacing: .18em; }
.hero-meta strong { color: #d5d7da; font: 600 .72rem var(--mono); letter-spacing: .075em; }

.presence-peek {
  position: relative;
  width: min(510px, 100%);
  min-height: 88px;
  display: grid;
  grid-template-columns: 58px 1fr auto;
  align-items: center;
  gap: 16px;
  margin: 46px 0 0 8px;
  padding: 13px 18px 13px 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(110deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  box-shadow: 0 18px 55px rgba(0,0,0,.3), inset 0 1px rgba(255,255,255,.04);
  backdrop-filter: blur(14px);
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.presence-peek::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  top: -50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .13), transparent 70%);
  transition: transform .5s ease;
}
.presence-peek:hover { border-color: rgba(var(--accent-rgb), .35); transform: translateY(-3px); background: linear-gradient(110deg, rgba(255,255,255,.07), rgba(var(--accent-rgb), .025)); }
.presence-peek:hover::before { transform: scale(1.2); }
.peek-avatar-wrap { position: relative; width: 58px; height: 58px; }
.peek-avatar-wrap img { width: 58px; height: 58px; border-radius: 16px; object-fit: cover; background: #121316; border: 1px solid rgba(255,255,255,.12); }
.status-dot {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 16px;
  height: 16px;
  border: 4px solid #111214;
  border-radius: 50%;
  background: var(--offline);
  color: var(--offline);
  box-shadow: 0 0 14px currentColor;
}
.status-dot.online { color: var(--online); background: var(--online); }
.status-dot.idle { color: var(--idle); background: var(--idle); }
.status-dot.dnd { color: var(--dnd); background: var(--dnd); }
.status-dot.offline { color: var(--offline); background: var(--offline); }
.peek-copy { min-width: 0; display: flex; flex-direction: column; }
.peek-label { margin-bottom: 5px; color: var(--accent); font: 600 .51rem var(--mono); letter-spacing: .17em; }
.peek-copy strong, .peek-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.peek-copy strong { color: #f0f1f2; font-size: .98rem; }
.peek-copy small { margin-top: 4px; color: #747981; font: 500 .71rem var(--mono); }
.peek-arrow { position: relative; z-index: 2; color: #a2a6ac; font-size: 1.35rem; transition: transform .3s ease, color .3s ease; }
.presence-peek:hover .peek-arrow { color: var(--accent); transform: translate(3px, 3px); }
.social-links { display: flex; flex-wrap: wrap; gap: 20px; margin: 27px 0 0 8px; }
.social-links a { color: #70747b; font: 600 .58rem var(--mono); letter-spacing: .15em; text-transform: uppercase; transition: color .25s ease; }
.social-links a:hover { color: var(--accent); }

.hero-visual {
  position: relative;
  width: min(520px, 100%);
  justify-self: end;
  perspective: 1200px;
}
.art-card {
  position: relative;
  z-index: 3;
  width: 82%;
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  background: #0a0a0a;
  box-shadow: var(--shadow), 0 0 0 1px rgba(var(--accent-rgb), .035);
  transform: rotateY(-3deg) rotateX(1deg);
  transition: transform .8s cubic-bezier(.22,1,.36,1), box-shadow .8s ease;
}
.hero-visual:hover .art-card { transform: rotateY(0) rotateX(0) translateY(-8px); box-shadow: 0 42px 120px rgba(0,0,0,.68), 0 0 70px rgba(var(--accent-rgb), .055); }
.art-card::before,
.art-card::after { content: ""; position: absolute; z-index: 3; pointer-events: none; }
.art-card::before { inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.09), transparent 22%, transparent 70%, rgba(var(--accent-rgb), .05)); }
.art-card::after { inset: 0; box-shadow: inset 0 0 90px rgba(0,0,0,.58); }
.art-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transform: scale(1.02); transition: transform 8s ease; }
.hero-visual:hover .art-card img { transform: scale(1.075); }
.art-card figcaption {
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-top: 1px solid rgba(255,255,255,.11);
  background: rgba(3,3,3,.58);
  backdrop-filter: blur(12px);
  color: #9b9fa5;
  font: 600 .53rem var(--mono);
  letter-spacing: .14em;
}
.visual-orbit { position: absolute; z-index: 1; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; pointer-events: none; }
.orbit-a { width: 110%; aspect-ratio: 1; left: -5%; top: 3%; animation: orbitRotate 28s linear infinite; }
.orbit-a::before { content: ""; position: absolute; width: 7px; height: 7px; top: 9%; left: 18%; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.orbit-b { width: 76%; aspect-ratio: 1; right: -12%; bottom: -10%; border-style: dashed; animation: orbitRotate 22s linear reverse infinite; }
.visual-note { position: absolute; z-index: 4; color: #6f737a; font: 600 .5rem/1.55 var(--mono); letter-spacing: .12em; }
.note-a { top: 12%; left: -4%; transform: rotate(-90deg) translateX(-100%); transform-origin: left top; }
.note-b { right: -5%; bottom: 12%; text-align: right; }
.scroll-cue {
  position: absolute;
  left: 8px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #555960;
  font: 600 .5rem var(--mono);
  letter-spacing: .18em;
}
.scroll-cue i { position: relative; width: 86px; height: 1px; overflow: hidden; background: rgba(255,255,255,.14); }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: translateX(-100%); animation: scrollLine 2.4s ease-in-out infinite; }

.presence-section { padding-top: 150px; padding-bottom: 170px; }
.section-heading { display: grid; grid-template-columns: 1.05fr .95fr; column-gap: 80px; margin-bottom: 76px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 6.2rem);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 720;
}
.section-heading h2 em { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.34); font-style: normal; }
.section-heading > p:last-child { align-self: end; max-width: 510px; margin: 0 0 7px; color: #8e9299; font-size: 1rem; line-height: 1.75; }
.presence-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 22px; }
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,.052), rgba(255,255,255,.018));
  box-shadow: 0 24px 70px rgba(0,0,0,.27), inset 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(16px);
}
.panel::before { content: ""; position: absolute; width: 260px; height: 260px; right: -160px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .11), transparent 70%); pointer-events: none; }
.panel-topline {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  color: #7d8188;
  font: 600 .53rem var(--mono);
  letter-spacing: .16em;
}
.panel-topline span:last-child { color: #555a62; text-align: right; }
.discord-panel { min-height: 430px; padding-bottom: 24px; }
.discord-identity-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: 20px 22px 0;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 24px 70px rgba(0,0,0,.18);
  isolation: isolate;
}
.discord-identity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(110deg, rgba(255,255,255,.025), transparent 38%, rgba(var(--accent-rgb),.025));
}
.discord-nameplate-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  opacity: .9;
  pointer-events: none;
}
.discord-nameplate-image,
.discord-nameplate-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: saturate(.8) contrast(1.05) brightness(.52);
  transition: opacity .55s ease;
}
.discord-nameplate-image { opacity: 0; }
.discord-nameplate-backdrop.has-live-image .discord-nameplate-image { opacity: .62; }
.discord-nameplate-backdrop.has-live-media .discord-nameplate-video { opacity: .72; }
.discord-nameplate-fallback {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 76% 20%, rgba(198,122,255,.42), transparent 26%),
    radial-gradient(circle at 18% 82%, rgba(87,99,255,.36), transparent 28%),
    linear-gradient(125deg, #120d24, #211139 48%, #0a1025);
  animation: discordNameplateDrift 12s ease-in-out infinite alternate;
}
.discord-nameplate-backdrop[data-palette="violet"] .discord-nameplate-fallback {
  background:
    radial-gradient(circle at 82% 16%, rgba(217,110,255,.48), transparent 28%),
    radial-gradient(circle at 18% 84%, rgba(96,80,255,.42), transparent 31%),
    linear-gradient(125deg, #100b21, #25103e 50%, #0b1027);
}
.discord-nameplate-noise {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    repeating-linear-gradient(112deg, transparent 0 14px, rgba(255,255,255,.04) 15px, transparent 16px 31px),
    radial-gradient(circle at 60% 50%, transparent 0 42%, rgba(0,0,0,.55) 100%);
  mix-blend-mode: screen;
}
.discord-identity-card.has-nameplate .discord-profile,
.discord-identity-card.has-nameplate .discord-profile-meta {
  text-shadow: 0 2px 18px rgba(0,0,0,.75);
}
.discord-profile {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 30px 28px 22px;
}
.discord-avatar-wrap { position: relative; width: 112px; height: 112px; }
.discord-avatar-wrap img { width: 112px; height: 112px; object-fit: cover; border-radius: 28px; background: #151619; border: 1px solid rgba(255,255,255,.13); box-shadow: 0 18px 45px rgba(0,0,0,.3); }
.status-dot-lg { width: 24px; height: 24px; border-width: 6px; right: -7px; bottom: -7px; }
.discord-identity { min-width: 0; display: flex; flex-direction: column; }
.discord-identity > span { overflow: hidden; color: #f4f5f5; font-size: clamp(1.4rem, 2vw, 2.1rem); font-weight: 730; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.discord-identity strong { overflow: hidden; margin-top: 6px; color: #969aa1; font: 500 .78rem var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.discord-identity small { margin-top: 14px; color: var(--accent); font: 600 .62rem var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.platform-list { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 175px; }
.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8b8f96;
  background: rgba(255,255,255,.025);
  font: 600 .52rem var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.platform-chip svg { width: 12px; height: 12px; fill: currentColor; }
.custom-status {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 34px 0;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  color: #b3b6bb;
  background: rgba(255,255,255,.026);
  font-size: .84rem;
  line-height: 1.5;
}
.custom-emoji { flex: 0 0 auto; display: grid; place-items: center; min-width: 24px; font-size: 1.15rem; }
.custom-emoji img { width: 24px; height: 24px; object-fit: contain; }
.signal-line { position: relative; z-index: 2; height: 38px; margin: 20px 34px 0; overflow: hidden; opacity: .55; }
.signal-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.09); }
.signal-line span { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30h95l8-17 10 35 12-25 15 7h92l8-9 10 17 12-8h105l7-20 10 39 12-32 16 13h86l12-10 10 20 12-10h118l8-15 11 29 13-23 17 9h97' fill='none' stroke='%23c7ff5e' stroke-width='2'/%3E%3C/svg%3E") center / 100% 100% no-repeat; animation: signalMove 3.5s ease-in-out infinite; }
.discord-footnote { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 20px; margin: 10px 34px 0; color: #62666e; font: 500 .56rem var(--mono); letter-spacing: .08em; }
.discord-footnote strong { color: #92969d; font-weight: 600; }

/* Discord profile metadata received from Lanyard */
.discord-avatar-wrap > #discordAvatar { position: relative; z-index: 1; }
.avatar-decoration {
  position: absolute;
  z-index: 3;
  width: 136px !important;
  height: 136px !important;
  left: 50%;
  top: 50%;
  object-fit: contain !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.discord-identity > span.has-discord-name-style {
  color: transparent;
  background: var(--discord-name-gradient, linear-gradient(90deg, #fff, #fff));
  -webkit-background-clip: text;
  background-clip: text;
}
.discord-identity > span.has-discord-name-effect {
  background-size: 220% 100%;
  filter: drop-shadow(0 0 14px rgba(var(--accent-rgb), .16));
  animation: discordNameShimmer 5s ease-in-out infinite;
}
.discord-profile-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: -2px 28px 22px 164px;
}
.discord-guild-tag,
.discord-nameplate {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(255,255,255,.09);
  color: #b8bbc1;
  background: rgba(8,8,12,.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font: 650 .55rem var(--mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.discord-guild-tag { gap: 7px; padding: 6px 10px; border-radius: 9px; }
.discord-guild-tag img { width: 16px; height: 16px; object-fit: contain; border-radius: 4px; }
.discord-nameplate {
  position: relative;
  overflow: hidden;
  padding: 6px 12px;
  border-radius: 999px;
}
.discord-nameplate::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background: linear-gradient(110deg, #7a5cff, #d85cff 48%, #6577ff);
  transform: translateX(-30%);
  animation: nameplateFlow 7s ease-in-out infinite;
}
.discord-nameplate[data-palette="violet"]::before { background: linear-gradient(110deg, #6c4cff, #c06cff 48%, #4f6cff); }
.discord-nameplate { isolation: isolate; }
.discord-nameplate::after { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: inherit; background: rgba(8,8,10,.72); }
@keyframes discordNameShimmer { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes nameplateFlow { 0%, 100% { transform: translateX(-34%); } 50% { transform: translateX(28%); } }
@keyframes discordNameplateDrift { 0% { transform: translate3d(-2%, -1%, 0) scale(1); } 100% { transform: translate3d(3%, 2%, 0) scale(1.08); } }

.spotify-panel { min-height: 430px; }
.spotify-content { position: relative; z-index: 2; display: grid; grid-template-columns: 148px minmax(0, 1fr); align-items: center; gap: 26px; padding: 34px 28px 24px; }
.spotify-cover { position: relative; width: 148px; height: 148px; }
.spotify-cover img { position: relative; z-index: 2; width: 148px; height: 148px; object-fit: cover; border-radius: 22px; background: #121315; box-shadow: 0 20px 50px rgba(0,0,0,.45); transition: transform .4s ease; }
.spotify-cover:hover img { transform: rotate(-2deg) scale(1.025); }
.vinyl { position: absolute; z-index: 1; width: 126px; height: 126px; right: -48px; top: 11px; border-radius: 50%; background: repeating-radial-gradient(circle, #161718 0 4px, #080808 5px 7px); box-shadow: 0 14px 40px rgba(0,0,0,.4); transition: right .45s cubic-bezier(.22,1,.36,1); }
.vinyl::after { content: ""; position: absolute; width: 30px; height: 30px; left: 48px; top: 48px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 10px #111; }
.spotify-cover:hover .vinyl { right: -62px; }
.spotify-copy { min-width: 0; display: flex; flex-direction: column; }
.spotify-kicker { color: var(--accent); font: 600 .52rem var(--mono); letter-spacing: .16em; }
.spotify-copy strong, .spotify-copy span, .spotify-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spotify-copy strong { margin-top: 14px; color: #f1f2f3; font-size: clamp(1.15rem, 1.8vw, 1.65rem); letter-spacing: -.02em; }
.spotify-copy > span:not(.spotify-kicker) { margin-top: 8px; color: #a7abb1; font-size: .88rem; }
.spotify-copy small { margin-top: 8px; color: #666a71; font-size: .72rem; }
.progress-wrap { position: relative; z-index: 2; padding: 8px 28px 30px; }
.progress-times { display: flex; justify-content: space-between; margin-bottom: 10px; color: #70747b; font: 500 .55rem var(--mono); }
.progress-track { height: 3px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.1); }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--accent); box-shadow: 0 0 12px rgba(var(--accent-rgb), .6); transition: width .5s linear; }

.activities-panel { grid-column: 1 / -1; min-height: 290px; }
.activities-list { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.activity-card { min-height: 220px; display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 24px; padding: 30px; background: #0c0d0e; }
.activity-art { position: relative; width: 112px; height: 112px; }
.activity-art > img { width: 112px; height: 112px; object-fit: cover; border-radius: 22px; background: #16171a; border: 1px solid rgba(255,255,255,.1); }
.activity-small { position: absolute; right: -8px; bottom: -8px; width: 38px !important; height: 38px !important; border: 5px solid #0c0d0e !important; border-radius: 50% !important; }
.activity-copy { min-width: 0; display: flex; flex-direction: column; }
.activity-type { color: var(--accent); font: 600 .5rem var(--mono); letter-spacing: .15em; }
.activity-copy strong, .activity-copy span, .activity-copy small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity-copy strong { margin-top: 10px; color: #f0f1f2; font-size: 1.18rem; }
.activity-copy span { margin-top: 8px; color: #a0a4aa; font-size: .84rem; }
.activity-copy small { margin-top: 7px; color: #666b72; font-size: .72rem; }
.activity-elapsed { margin-top: 18px !important; color: #898d94 !important; font: 500 .6rem var(--mono) !important; }
.empty-state { min-height: 260px; grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; background: #0c0d0e; text-align: center; }
.empty-orbit { position: relative; width: 72px; height: 72px; margin-bottom: 24px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; }
.empty-orbit::before { content: ""; position: absolute; width: 8px; height: 8px; top: 4px; left: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); animation: orbitRotate 4s linear infinite; transform-origin: 25px 32px; }
.empty-state strong { color: #b8bbc0; font-size: .92rem; }
.empty-state small { margin-top: 9px; color: #666a70; font-size: .72rem; }

.about-section {
  display: grid;
  grid-template-columns: .22fr 1.08fr .7fr;
  gap: 60px;
  align-items: start;
  padding-top: 90px;
  padding-bottom: 170px;
  border-top: 1px solid var(--line);
}
.about-number { color: var(--accent); font: 700 clamp(3rem, 5vw, 5.8rem) var(--mono); letter-spacing: -.08em; opacity: .9; }
.about-copy h2 { white-space: pre-line; font-size: clamp(2.7rem, 4.8vw, 5.6rem); }
.about-copy > p:last-child { max-width: 680px; margin: 34px 0 0; color: #8e9299; font-size: 1rem; line-height: 1.8; }
.about-stats { display: grid; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.about-stats div { display: flex; justify-content: space-between; gap: 24px; padding: 22px; background: #0b0c0d; }
.about-stats span, .about-stats strong { font: 600 .55rem var(--mono); letter-spacing: .12em; }
.about-stats span { color: #666a71; }
.about-stats strong { color: #b1b4ba; text-align: right; }

.footer {
  position: relative;
  z-index: 4;
  width: min(1420px, calc(100% - 72px));
  min-height: 104px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #5f636a;
  font: 600 .53rem var(--mono);
  letter-spacing: .13em;
}
.footer span:nth-child(2) { text-align: center; }
.footer a { justify-self: end; transition: color .25s ease; }
.footer a:hover { color: var(--accent); }

.sound-toggle {
  position: fixed;
  z-index: 60;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 11px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8,8,8,.72);
  color: #767a82;
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}
.sound-toggle:hover { color: #fff; border-color: rgba(var(--accent-rgb), .3); transform: translateY(-2px); }
.sound-toggle.is-playing { color: var(--accent); }
.sound-toggle.is-unavailable { opacity: .42; pointer-events: none; }
.sound-toggle > span:last-child { font: 600 .52rem var(--mono); letter-spacing: .13em; }
.sound-bars { height: 14px; display: flex; align-items: center; gap: 2px; }
.sound-bars i { width: 2px; height: 4px; border-radius: 1px; background: currentColor; }
.sound-toggle.is-playing .sound-bars i:nth-child(1) { animation: soundBar .7s ease-in-out infinite alternate; }
.sound-toggle.is-playing .sound-bars i:nth-child(2) { animation: soundBar .9s .1s ease-in-out infinite alternate; }
.sound-toggle.is-playing .sound-bars i:nth-child(3) { animation: soundBar .55s .15s ease-in-out infinite alternate; }
.sound-toggle.is-playing .sound-bars i:nth-child(4) { animation: soundBar .8s .05s ease-in-out infinite alternate; }
.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 28px;
  max-width: min(520px, calc(100vw - 40px));
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(10,10,10,.88);
  color: #b8bbc0;
  font: 500 .65rem/1.5 var(--mono);
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  backdrop-filter: blur(14px);
  transition: opacity .3s ease, transform .3s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.22,1,.36,1), transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.is-revealed { opacity: 1; transform: none; }

@keyframes gatePulse { 0%,100% { opacity: .75; transform: scale(.995); } 50% { opacity: 1; transform: scale(1.01); } }
@keyframes grainShift { 0% { transform: translate(0,0); } 25% { transform: translate(2%, -1%); } 50% { transform: translate(-1%, 2%); } 75% { transform: translate(1%, 1%); } 100% { transform: translate(0,0); } }
@keyframes orbitRotate { to { transform: rotate(360deg); } }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 50%,100% { transform: translateX(100%); } }
@keyframes livePulse { 0%,100% { box-shadow: 0 0 0 0 currentColor; } 50% { box-shadow: 0 0 0 5px transparent; } }
@keyframes signalMove { 0%,100% { transform: translateX(-1%); opacity: .5; } 50% { transform: translateX(1%); opacity: 1; } }
@keyframes soundBar { from { height: 3px; } to { height: 14px; } }

@media (max-width: 1120px) {
  .section-shell { width: min(920px, calc(100% - 48px)); }
  .hero { grid-template-columns: 1fr; padding-top: 150px; gap: 90px; }
  .hero-copy { max-width: 760px; }
  .title-main { font-size: clamp(5rem, 17vw, 9rem); }
  .hero-visual { justify-self: center; width: min(560px, 86vw); }
  .scroll-cue { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 34px; }
  .section-heading > p:last-child { max-width: 650px; }
  .presence-grid { grid-template-columns: 1fr; }
  .activities-panel { grid-column: auto; }
  .activities-list { grid-template-columns: 1fr; }
  .about-section { grid-template-columns: .2fr 1fr; }
  .about-stats { grid-column: 2; width: min(500px, 100%); }
  .footer { width: min(920px, calc(100% - 48px)); }
}

@media (max-width: 760px) {
  .section-shell { width: min(100% - 32px, 680px); }
  .topbar { height: 72px; padding: 0 16px; grid-template-columns: 1fr auto; }
  .brand-copy { display: none; }
  .topnav { display: none; }
  .live-badge { grid-column: 2; }
  .hero { min-height: auto; padding-top: 126px; padding-bottom: 112px; gap: 70px; }
  .hero::before { display: none; }
  .eyebrow { font-size: .57rem; }
  .title-main { font-size: clamp(4.2rem, 23vw, 7.3rem); line-height: .82; }
  .title-alias { margin-top: 22px; font-size: 1.1rem; }
  .hero-tagline { margin-top: 30px; font-size: .95rem; }
  .hero-meta { gap: 25px; margin-top: 34px; }
  .presence-peek { margin-top: 38px; grid-template-columns: 52px 1fr auto; min-height: 78px; }
  .peek-avatar-wrap, .peek-avatar-wrap img { width: 52px; height: 52px; }
  .hero-visual { width: 92%; }
  .art-card { width: 88%; border-radius: 24px; }
  .visual-note { display: none; }
  .presence-section { padding-top: 110px; padding-bottom: 110px; }
  .section-heading { margin-bottom: 48px; }
  .section-heading h2, .about-copy h2 { font-size: clamp(2.6rem, 13vw, 4.5rem); }
  .section-heading > p:last-child { font-size: .92rem; }
  .discord-profile { grid-template-columns: 82px minmax(0, 1fr); gap: 18px; padding: 30px 22px 20px; }
  .discord-avatar-wrap, .discord-avatar-wrap img { width: 82px; height: 82px; border-radius: 22px; }
  .platform-list { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
  .custom-status, .signal-line, .discord-footnote { margin-left: 22px; margin-right: 22px; }
  .spotify-content { grid-template-columns: 112px minmax(0, 1fr); gap: 20px; padding: 28px 22px 20px; }
  .spotify-cover, .spotify-cover img { width: 112px; height: 112px; border-radius: 18px; }
  .vinyl { width: 96px; height: 96px; right: -36px; top: 8px; }
  .vinyl::after { width: 24px; height: 24px; left: 36px; top: 36px; box-shadow: inset 0 0 0 8px #111; }
  .progress-wrap { padding: 10px 22px 28px; }
  .activity-card { grid-template-columns: 82px minmax(0, 1fr); gap: 18px; padding: 24px 20px; }
  .activity-art, .activity-art > img { width: 82px; height: 82px; border-radius: 18px; }
  .about-section { width: min(100% - 32px, 680px); grid-template-columns: 1fr; gap: 34px; padding-top: 70px; padding-bottom: 110px; }
  .about-number { font-size: 3.6rem; }
  .about-stats { grid-column: auto; }
  .footer { width: min(100% - 32px, 680px); grid-template-columns: 1fr auto; min-height: 120px; }
  .footer span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .sound-toggle { right: 12px; bottom: 12px; }
}

@media (max-width: 480px) {
  .entry-gate .gate-title { font-size: 1.65rem; }
  .gate-kicker { font-size: .53rem; }
  .hero { padding-top: 112px; }
  .title-main { font-size: clamp(3.65rem, 22vw, 5.6rem); }
  .presence-peek { margin-left: 0; padding-right: 14px; }
  .social-links, .hero-tagline, .hero-meta { margin-left: 0; }
  .social-links { gap: 15px; }
  .panel { border-radius: 20px; }
  .panel-topline { padding: 17px 18px; font-size: .47rem; }
  .discord-profile { grid-template-columns: 68px minmax(0, 1fr); padding: 24px 18px 18px; }
  .discord-avatar-wrap, .discord-avatar-wrap img { width: 68px; height: 68px; border-radius: 18px; }
  .discord-identity > span { font-size: 1.18rem; }
  .custom-status, .signal-line, .discord-footnote { margin-left: 18px; margin-right: 18px; }
  .spotify-content { grid-template-columns: 92px minmax(0, 1fr); padding: 24px 18px 18px; }
  .spotify-cover, .spotify-cover img { width: 92px; height: 92px; }
  .vinyl { display: none; }
  .spotify-copy strong { font-size: 1rem; }
  .progress-wrap { padding-left: 18px; padding-right: 18px; }
  .activity-card { grid-template-columns: 68px minmax(0, 1fr); padding: 22px 18px; }
  .activity-art, .activity-art > img { width: 68px; height: 68px; }
  .activity-copy strong { font-size: 1rem; }
  .footer { font-size: .46rem; }
  .sound-toggle > span:last-child { display: none; }
  .sound-toggle { width: 42px; padding: 0; justify-content: center; }
}

@media (hover: none), (pointer: coarse) { .cursor-aura { display: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain, .visual-orbit { display: none; }
  .reveal { opacity: 1; transform: none; }
}

section[id] { scroll-margin-top: 88px; }
.spotify-copy { position: relative; z-index: 2; }
.activity-card:only-child { grid-column: 1 / -1; }

html, body { overflow-x: clip; }

@media (max-width: 760px) {
  .avatar-decoration { width: 102px !important; height: 102px !important; }
  .discord-profile-meta { margin: 0 22px 8px 122px; }
}
@media (max-width: 520px) {
  .avatar-decoration { width: 86px !important; height: 86px !important; }
  .discord-profile-meta { margin: 0 18px 8px; }
}

@media (max-width: 760px) {
  .discord-identity-card { margin: 16px 16px 0; border-radius: 22px; }
  .discord-identity-card .discord-profile { padding: 24px 18px 18px; }
  .discord-identity-card .discord-profile-meta { margin: 0 18px 18px 118px; }
}
@media (max-width: 520px) {
  .discord-identity-card { margin-left: 12px; margin-right: 12px; border-radius: 20px; }
  .discord-identity-card .discord-profile-meta { margin: 0 16px 16px; }
  .discord-nameplate-video { object-position: 62% center; }
}

/* ========================================================================== 
   Discord-native mini identity card
   The visual shell is ours; identity, status and collectible data are live.
   ========================================================================== */
.discord-mini-card {
  position: relative;
  width: min(560px, 100%);
  min-height: 128px;
  grid-template-columns: 78px minmax(0, 1fr) 38px;
  gap: 17px;
  margin-top: 46px;
  padding: 18px 18px 18px 17px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 25px;
  background: #111214;
  box-shadow:
    0 26px 85px rgba(0,0,0,.46),
    inset 0 1px 0 rgba(255,255,255,.08),
    0 0 0 1px rgba(0,0,0,.24);
  isolation: isolate;
  transform: translateZ(0);
}
.discord-mini-card::before {
  width: auto;
  height: auto;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(8,9,11,.88) 0%, rgba(8,9,11,.64) 43%, rgba(8,9,11,.36) 72%, rgba(8,9,11,.72) 100%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 48%, rgba(0,0,0,.25));
  transition: opacity .35s ease;
}
.discord-mini-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}
.discord-mini-card:hover {
  border-color: rgba(255,255,255,.22);
  background: #111214;
  transform: translateY(-5px) scale(1.008);
  box-shadow:
    0 34px 100px rgba(0,0,0,.54),
    0 0 48px rgba(135,92,255,.08),
    inset 0 1px 0 rgba(255,255,255,.11);
}
.discord-mini-card:hover::before { transform: none; opacity: .9; }

.peek-nameplate-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  border-radius: inherit;
  background: #151318;
  pointer-events: none;
}
.peek-nameplate-image,
.peek-nameplate-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  filter: saturate(.92) contrast(1.05) brightness(.82);
  transition: opacity .55s ease;
}
.peek-nameplate-backdrop.has-live-image .peek-nameplate-image { opacity: .9; }
.peek-nameplate-backdrop.has-live-media .peek-nameplate-video { opacity: 1; }
.peek-nameplate-fallback {
  position: absolute;
  inset: -12%;
  background:
    radial-gradient(circle at 82% 20%, rgba(214,112,255,.72), transparent 25%),
    radial-gradient(circle at 60% 85%, rgba(92,71,227,.56), transparent 38%),
    radial-gradient(circle at 18% 10%, rgba(53,37,104,.64), transparent 34%),
    linear-gradient(118deg, #17102b 0%, #291448 43%, #17205d 100%);
  animation: peekNameplateDrift 11s ease-in-out infinite alternate;
}
.peek-nameplate-backdrop[data-palette="violet"] .peek-nameplate-fallback {
  background:
    radial-gradient(circle at 87% 8%, rgba(229,130,255,.78), transparent 25%),
    radial-gradient(circle at 58% 92%, rgba(96,78,242,.62), transparent 39%),
    linear-gradient(118deg, #160f2b 0%, #32164e 46%, #121d58 100%);
}
.peek-nameplate-city {
  position: absolute;
  right: -1%;
  bottom: -7px;
  width: 58%;
  height: 76%;
  opacity: .42;
  background:
    linear-gradient(90deg,
      transparent 0 5%, rgba(7,7,12,.94) 5% 12%, transparent 12% 15%,
      rgba(7,7,12,.92) 15% 22%, transparent 22% 25%, rgba(7,7,12,.95) 25% 36%,
      transparent 36% 39%, rgba(7,7,12,.9) 39% 44%, transparent 44% 47%,
      rgba(7,7,12,.96) 47% 59%, transparent 59% 62%, rgba(7,7,12,.9) 62% 69%,
      transparent 69% 72%, rgba(7,7,12,.96) 72% 86%, transparent 86% 89%,
      rgba(7,7,12,.9) 89% 97%, transparent 97% 100%);
  clip-path: polygon(0 100%, 0 63%, 8% 63%, 8% 34%, 19% 34%, 19% 53%, 30% 53%, 30% 18%, 42% 18%, 42% 48%, 52% 48%, 52% 5%, 68% 5%, 68% 38%, 79% 38%, 79% 22%, 91% 22%, 91% 57%, 100% 57%, 100% 100%);
  filter: drop-shadow(0 -10px 28px rgba(0,0,0,.5));
}
.peek-nameplate-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,10,12,.96) 0%, rgba(9,10,12,.72) 43%, rgba(9,10,12,.26) 77%, rgba(9,10,12,.54) 100%),
    radial-gradient(circle at 75% 50%, transparent 0 18%, rgba(0,0,0,.18) 75%);
}

.discord-mini-card .peek-avatar-wrap {
  position: relative;
  z-index: 3;
  width: 78px;
  height: 78px;
}
.discord-mini-card .peek-avatar-wrap > #peekAvatar {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  border: 5px solid #111214;
  border-radius: 50%;
  background: #111214;
  box-shadow: 0 13px 32px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.13);
}
.peek-avatar-decoration {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  width: 96px !important;
  height: 96px !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  background: transparent !important;
  box-shadow: none !important;
  pointer-events: none;
  transform: translate(-50%, -50%);
}
.discord-mini-card .status-dot {
  z-index: 6;
  right: -1px;
  bottom: -1px;
  width: 22px;
  height: 22px;
  border: 5px solid #111214;
  box-shadow: 0 0 0 1px rgba(255,255,255,.035), 0 0 16px currentColor;
}

.discord-mini-card .peek-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  min-width: 0;
  gap: 0;
}
.discord-mini-card .peek-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 8px;
  color: rgba(240,241,244,.68);
  font: 700 .48rem var(--mono);
  letter-spacing: .16em;
}
.discord-mini-card .peek-label i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--online);
  box-shadow: 0 0 11px var(--online);
}
.peek-name-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}
.peek-name-row > strong {
  overflow: hidden;
  min-width: 0;
  color: #f5f6f7;
  font-size: clamp(1.03rem, 1.45vw, 1.28rem);
  line-height: 1.15;
  font-weight: 760;
  letter-spacing: -.018em;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.peek-name-row > strong.has-discord-name-style {
  color: transparent;
  background: var(--discord-name-gradient, linear-gradient(90deg, #fff, #fff));
  -webkit-background-clip: text;
  background-clip: text;
}
.peek-name-row > strong.has-discord-name-effect {
  background-size: 220% 100%;
  filter: drop-shadow(0 0 12px rgba(174,122,255,.28));
  animation: discordNameShimmer 5s ease-in-out infinite;
}
.peek-guild-tag {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 22px;
  padding: 3px 7px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px;
  color: #f1f2f4;
  background: rgba(17,18,20,.72);
  box-shadow: inset 0 1px rgba(255,255,255,.055);
  font: 750 .5rem var(--mono);
  letter-spacing: .08em;
}
.peek-guild-tag img { width: 13px; height: 13px; border-radius: 4px; object-fit: contain; }
.discord-mini-card #peekUsername {
  margin-top: 4px;
  color: rgba(229,230,233,.66);
  font: 520 .66rem var(--mono);
  letter-spacing: .01em;
}
.peek-presence-line {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: 8px;
}
.discord-mini-card #peekStatus {
  overflow: hidden;
  color: rgba(237,238,240,.73);
  font: 500 .67rem var(--sans);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.peek-platform-list {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-left: 9px;
  border-left: 1px solid rgba(255,255,255,.12);
}
.peek-platform-icon {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  color: rgba(235,236,239,.7);
}
.peek-platform-icon svg { width: 14px; height: 14px; fill: currentColor; }
.discord-mini-card .peek-arrow {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  color: rgba(255,255,255,.72);
  background: rgba(17,18,20,.44);
  backdrop-filter: blur(8px);
}
.discord-mini-card .peek-arrow svg { width: 18px; height: 18px; fill: currentColor; }
.discord-mini-card:hover .peek-arrow {
  color: #fff;
  border-color: rgba(255,255,255,.22);
  background: rgba(17,18,20,.72);
  transform: translate(2px, 2px);
}
.discord-mini-card.has-nameplate .peek-label,
.discord-mini-card.has-nameplate #peekUsername,
.discord-mini-card.has-nameplate #peekStatus { text-shadow: 0 2px 14px rgba(0,0,0,.9); }

@keyframes peekNameplateDrift {
  0% { transform: translate3d(-2%, -1%, 0) scale(1.02); }
  100% { transform: translate3d(3%, 2%, 0) scale(1.1); }
}

@media (max-width: 680px) {
  .discord-mini-card {
    min-height: 116px;
    grid-template-columns: 68px minmax(0, 1fr) 32px;
    gap: 13px;
    padding: 16px 14px;
    border-radius: 22px;
  }
  .discord-mini-card .peek-avatar-wrap,
  .discord-mini-card .peek-avatar-wrap > #peekAvatar { width: 68px; height: 68px; }
  .peek-avatar-decoration { width: 84px !important; height: 84px !important; }
  .peek-name-row > strong { font-size: 1rem; }
  .peek-guild-tag { min-height: 20px; padding: 2px 6px; }
  .discord-mini-card .peek-label { font-size: .43rem; }
  .discord-mini-card #peekUsername,
  .discord-mini-card #peekStatus { font-size: .61rem; }
  .discord-mini-card .peek-arrow { width: 32px; height: 32px; }
  .peek-nameplate-city { width: 68%; opacity: .34; }
}

@media (max-width: 420px) {
  .discord-mini-card {
    grid-template-columns: 62px minmax(0, 1fr) 28px;
    gap: 11px;
    padding: 14px 12px;
  }
  .discord-mini-card .peek-avatar-wrap,
  .discord-mini-card .peek-avatar-wrap > #peekAvatar { width: 62px; height: 62px; }
  .peek-avatar-decoration { width: 77px !important; height: 77px !important; }
  .peek-guild-tag img { display: none; }
  .peek-platform-icon { width: 15px; height: 15px; }
  .peek-platform-icon svg { width: 12px; height: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .peek-nameplate-fallback,
  .peek-name-row > strong.has-discord-name-effect { animation: none !important; }
}

/* ========================================================================== */
/* KAYTIEE CUSTOMIZATION: detailed Discord card without purple backdrop       */
/* Keeps the complete Lanyard card and realtime functionality intact.         */
/* ========================================================================== */
#discordIdentityCard {
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--accent-rgb), .055), transparent 34%),
    linear-gradient(145deg, rgba(18, 20, 23, .97), rgba(8, 9, 12, .96)) !important;
  border-color: rgba(255, 255, 255, .09);
}

/* Hide only the large card's collectible artwork/background.
   The collectible label, Discord data and mini card remain enabled. */
#discordNameplateBackdrop {
  display: none !important;
}

#discordIdentityCard::after {
  background:
    linear-gradient(110deg, rgba(255, 255, 255, .028), transparent 42%, rgba(var(--accent-rgb), .018)) !important;
}
/* ===== HERO VIDEO ===== */

/* Video starts on its poster and fades into the first decoded frame. */
.hero-artwork-video { opacity: .985; }
.hero-artwork-video.is-ready { opacity: 1; }



#heroArtwork,
.hero-artwork-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

.hero-artwork-video {
  transform: scale(1.015);
  filter:
    contrast(1.08)
    brightness(0.9)
    saturate(0.8);
  transition:
    transform 900ms cubic-bezier(.2, .8, .2, 1),
    filter 900ms ease;
}

.hero-artwork:hover .hero-artwork-video,
.hero-media:hover .hero-artwork-video {
  transform: scale(1.045);
  filter:
    contrast(1.12)
    brightness(0.98)
    saturate(0.9);
}

@media (max-width: 768px) {
  .hero-artwork-video {
    transform: scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-artwork-video {
    transition: none;
  }
}
/* =========================================================
   MOBILE HERO — KAYTIEE
   ========================================================= */

@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    background: #050605;
  }

  /* Header gọn hơn */
  .site-header,
  header.site-header {
    min-height: 78px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 6, 5, 0.76);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  /* Ẩn menu desktop trên điện thoại */
  .site-header nav,
  .desktop-nav,
  .nav-links {
    display: none !important;
  }

  /* Hero chuyển thành một cột */
  .hero,
  .hero-section,
  .hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    min-height: auto !important;
    padding: 104px 20px 52px !important;
  }

  .hero-copy,
  .hero-content {
    width: 100% !important;
    order: 1;
  }

  /* Đưa tiêu đề trở lại mobile */
  .hero-title,
  #heroTitle {
    display: block !important;
    margin: 0 !important;
    font-size: clamp(3.7rem, 19vw, 6rem) !important;
    line-height: 0.86 !important;
    letter-spacing: -0.075em !important;
    white-space: nowrap;
    text-shadow:
      0 0 22px rgba(255, 255, 255, 0.13),
      5px 5px 0 rgba(190, 255, 71, 0.08);
  }

  .title-alias,
  #heroAlias {
    display: block !important;
    margin-top: 18px !important;
    font-size: clamp(1.35rem, 7vw, 2rem) !important;
    line-height: 1.1 !important;
    letter-spacing: 0.015em !important;
    color: rgba(235, 237, 243, 0.72) !important;
    white-space: normal;
  }

  .hero-tagline,
  #heroTagline {
    margin: 30px 0 0 !important;
    max-width: 31ch;
    font-size: 1rem !important;
    line-height: 1.65 !important;
    color: rgba(232, 234, 239, 0.64) !important;
  }

  /* Meta/Focus ít nổi bật hơn */
  .hero-meta,
  .hero-stats,
  .hero-information {
    margin-top: 30px !important;
    gap: 20px !important;
  }

  .hero-meta .meta-item,
  .hero-stat {
    min-width: 0 !important;
  }

  .hero-meta .meta-label,
  .hero-stat-label {
    font-size: 0.62rem !important;
    letter-spacing: 0.18em !important;
  }

  /* Dòng Connecting không chiếm quá nhiều không gian */
  #connectionStatus,
  .connection-status,
  #heroFocus {
    max-width: 100% !important;
    font-size: 0.78rem !important;
    line-height: 1.5 !important;
    letter-spacing: 0.08em !important;
    color: rgba(231, 235, 239, 0.58) !important;
  }

  /* Card Discord */
  .presence-peek,
  .discord-mini-card {
    order: 2;
    width: 100% !important;
    min-height: 154px !important;
    margin: 34px 0 0 !important;
    padding: 22px !important;
    border-radius: 25px !important;
    overflow: hidden;
  }

  .discord-mini-card .peek-avatar-wrap,
  .peek-avatar-wrap {
    width: 74px !important;
    height: 74px !important;
    min-width: 74px !important;
  }

  .discord-mini-card #peekName,
  #peekName {
    font-size: 1.3rem !important;
    line-height: 1.1 !important;
  }

  .discord-mini-card #peekUsername,
  #peekUsername {
    margin-top: 5px;
    font-size: 0.83rem !important;
  }

  .discord-mini-card #peekStatus,
  #peekStatus {
    font-size: 0.78rem !important;
  }

  .discord-mini-card .peek-action,
  .discord-mini-card .card-arrow {
    width: 48px !important;
    height: 48px !important;
  }

  /* Hero artwork
     .hero-visual là khung ngoài chứa cả card và các vòng orbit.
     Không được dùng overflow:hidden tại đây vì sẽ cắt mất hai bên vòng tròn. */
  .hero-visual {
    order: 3;
    position: relative !important;
    width: min(100%, 620px) !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
    margin: 76px auto 0 !important;
    overflow: visible !important;
    isolation: isolate;
  }

  /* Chỉ card video mới cắt phần media vượt ra ngoài bo góc. */
  .hero-visual .art-card {
    position: relative !important;
    z-index: 3;
    width: 84% !important;
    height: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    border-radius: 28px !important;
  }

  /* Giữ toàn bộ orbit nằm trong chiều rộng mobile nhưng vẫn bao quanh card. */
  .hero-visual .visual-orbit {
    display: block !important;
    overflow: visible !important;
    pointer-events: none;
  }

  .hero-visual .orbit-a {
    width: 100% !important;
    left: 0 !important;
    top: 2% !important;
  }

  .hero-visual .orbit-b {
    width: 74% !important;
    right: 0 !important;
    bottom: -7% !important;
  }

  #heroArtwork,
  .hero-artwork-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: inherit !important;
  }

  /* Những nhãn dọc không phù hợp mobile */
  .vertical-label,
  .relative-signal-label,
  .hero-side-label {
    display: none !important;
  }

  /* Thu gọn khoảng cách cuối Hero */
  .scroll-indicator,
  .scroll-to-signal {
    margin-top: 36px !important;
  }
}

@media (max-width: 430px) {
  .hero,
  .hero-section,
  .hero-grid {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .presence-peek,
  .discord-mini-card {
    padding: 18px !important;
  }

  .hero-visual {
    width: 100% !important;
    margin-top: 60px !important;
    overflow: visible !important;
  }

  .hero-visual .art-card {
    width: 82% !important;
  }

  .hero-visual .orbit-a {
    width: 100% !important;
    left: 0 !important;
  }

  .hero-visual .orbit-b {
    width: 72% !important;
    right: 0 !important;
  }
}