@font-face {
  font-family: "Profile Display";
  src: url("fonts/nunito-800-italic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #050505;
  --anthracite: #0d0b0e;
  --infection-red: #4a0d1f;
  --infection-magenta: #8c164b;
  --infection-violet: #32164f;
  --infection-warm: #d45a3a;
  --panel: rgba(13, 11, 14, 0.72);
  --panel-strong: rgba(10, 8, 12, 0.88);
  --line: rgba(255, 255, 255, 0.10);
  --line-bright: rgba(255, 255, 255, 0.16);
  --text: #f6f7fb;
  --muted: #aeb6ca;
  --muted-strong: var(--moon-silver);
  /* Palette Gewitter-Hintergrund */
  --storm-night: #070912;
  --storm-violet: #9a7cff;
  --storm-violet-rgb: 154, 124, 255;
  --storm-blue: #5fc4ff;
  --storm-blue-rgb: 95, 196, 255;
  --moon-silver: #cfd6e6;
  --moon-grey: #8e97ad;
  --moss: #7fdc8c;
  --moss-rgb: 127, 220, 140;
  --glass-bg: rgba(10, 12, 24, 0.58);
  --glass-bg-hover: rgba(16, 18, 34, 0.66);
  --glass-blur: blur(14px) saturate(130%);
  --green: var(--moss);
  --green-soft: rgba(var(--moss-rgb), 0.16);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(ellipse 42% 34% at 22% 18%, rgba(var(--storm-violet-rgb), 0.12), transparent 70%),
    radial-gradient(ellipse 36% 40% at 82% 28%, rgba(var(--storm-blue-rgb), 0.08), transparent 72%),
    linear-gradient(165deg, #0b0d18 0%, var(--storm-night) 42%, #05060c 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='920' height='680' viewBox='0 0 920 680' fill='none'%3E%3Cg stroke='%238c164b' stroke-opacity='0.14' stroke-width='1'%3E%3Cpath d='M40 120C120 90 170 170 250 150C340 126 390 40 480 70C560 96 620 180 710 150C790 124 850 60 900 90'/%3E%3Cpath d='M20 320C90 290 150 360 230 340C320 316 370 250 460 280C540 306 600 380 700 350C780 324 840 270 900 300'/%3E%3Cpath d='M60 520C140 490 190 560 280 540C370 518 420 450 520 480C600 504 650 570 740 545C820 522 870 470 910 500'/%3E%3Cpath d='M180 40C200 110 160 180 210 250C250 308 320 330 340 400C360 470 310 530 350 600'/%3E%3Cpath d='M520 20C540 90 500 150 560 210C610 260 690 280 700 340C740 390 710 460 760 530C790 575 840 610 880 650'/%3E%3Cpath d='M780 80C760 150 800 200 760 270C730 325 660 340 640 410C620 470 670 520 650 590'/%3E%3C/g%3E%3Cg stroke='%2332164f' stroke-opacity='0.12' stroke-width='1'%3E%3Cpath d='M100 200C180 230 240 190 300 240C360 290 330 360 400 400C470 440 540 410 600 460'/%3E%3Cpath d='M420 120C470 180 440 240 500 290C550 332 620 310 680 360C730 402 720 470 780 510'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px, 72px 72px, 920px 680px;
  background-position: 0 0, 0 0, 8% 6%;
  background-repeat: repeat, repeat, no-repeat;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 90%);
}

body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.10;
  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='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  border: 1px solid rgba(67, 245, 155, 0.2);
  border-radius: 999px;
  color: #bdfbd8;
  background: rgba(16, 18, 26, 0.95);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.skip-link:focus-visible {
  top: 16px;
  outline: 2px solid var(--green);
  outline-offset: 3px;
  box-shadow: 0 0 16px rgba(67, 245, 155, 0.35), var(--shadow);
}

/* Seitenhintergrund: Gewitterbild, Overlay nur links (Hero-Text) und unten kräftig */
.site-bg {
  --bg-overlay:
    linear-gradient(90deg, rgba(5, 6, 12, 0.74) 0%, rgba(5, 6, 12, 0.52) 30%, rgba(5, 6, 12, 0.14) 56%, rgba(5, 6, 12, 0) 74%),
    linear-gradient(180deg, rgba(5, 6, 12, 0.12) 0%, rgba(5, 6, 12, 0.04) 46%, rgba(5, 6, 12, 0.62) 84%, rgba(5, 6, 12, 0.86) 100%);
  position: fixed;
  z-index: -4;
  inset: 0;
  pointer-events: none;
  background-color: var(--storm-night);
  background-image: var(--bg-overlay), url("site-background-1920.webp?v=20261012-1");
  background-image: var(--bg-overlay), image-set(url("site-background-1920.avif?v=20261012-1") type("image/avif"), url("site-background-1920.webp?v=20261012-1") type("image/webp"));
  background-repeat: no-repeat;
  background-position: center, center, 72% 28%;
  background-size: cover, cover, cover;
}

@media (min-width: 1921px), (min-width: 1200px) and (min-resolution: 1.5dppx) {
  .site-bg {
    background-image: var(--bg-overlay), url("site-background-2560.webp?v=20261012-1");
    background-image: var(--bg-overlay), image-set(url("site-background-2560.avif?v=20261012-1") type("image/avif"), url("site-background-2560.webp?v=20261012-1") type("image/webp"));
  }
}

@media (max-width: 720px) {
  .site-bg {
    --bg-overlay:
      linear-gradient(180deg, rgba(5, 6, 12, 0.50) 0%, rgba(5, 6, 12, 0.40) 45%, rgba(5, 6, 12, 0.78) 100%);
    background-image: var(--bg-overlay), url("site-background-mobile.webp?v=20261012-1");
    background-image: var(--bg-overlay), image-set(url("site-background-mobile.avif?v=20261012-1") type("image/avif"), url("site-background-mobile.webp?v=20261012-1") type("image/webp"));
    background-position: center, center top;
    background-size: cover, cover;
  }
}

.bg-glow {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(96px);
  will-change: transform, opacity;
  animation: infectionBreath 14s ease-in-out infinite;
}

.bg-glow-hero {
  top: -12rem;
  left: -8rem;
  width: 38rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(var(--storm-violet-rgb), 0.30) 0%, rgba(50, 30, 120, 0.14) 48%, transparent 72%);
  opacity: 0.34;
}

.bg-glow-profile {
  top: 4rem;
  right: -12rem;
  width: 34rem;
  height: 34rem;
  background: radial-gradient(circle, rgba(var(--storm-blue-rgb), 0.22) 0%, rgba(var(--storm-violet-rgb), 0.10) 50%, transparent 74%);
  opacity: 0.30;
  animation-delay: -5s;
}

.bg-glow-projects {
  left: 18%;
  bottom: -16rem;
  width: 42rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(var(--moss-rgb), 0.10) 0%, rgba(20, 60, 40, 0.08) 45%, transparent 72%);
  opacity: 0.18;
  animation-delay: -9s;
  animation-duration: 18s;
}

.pointer-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(var(--storm-violet-rgb), 0.10) 0%, rgba(var(--storm-blue-rgb), 0.05) 38%, transparent 70%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 280ms ease;
  will-change: transform, opacity;
}

@keyframes infectionBreath {
  0%, 100% {
    opacity: 0.22;
    transform: scale(1) translate3d(0, 0, 0);
  }
  50% {
    opacity: 0.36;
    transform: scale(1.05) translate3d(1.2%, -0.8%, 0);
  }
}

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.status-dot {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(var(--moss-rgb), 0.95);
}

.status-dot::after {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid rgba(var(--moss-rgb), 0.65);
  border-radius: inherit;
  animation: statusPulse 2.1s ease-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.72fr);
  gap: 72px;
  align-items: center;
  min-height: 100vh;
  padding: 72px 0 88px;
}

.hero-content {
  position: relative;
  isolation: isolate;
}

/* Gezielter dunkler Verlauf nur hinter dem Hero-Textblock */
.hero-content::before {
  position: absolute;
  z-index: -1;
  inset: -64px -72px -56px -96px;
  content: "";
  pointer-events: none;
  border-radius: 48px;
  background: radial-gradient(ellipse 60% 58% at 46% 52%, rgba(5, 6, 12, 0.76) 0%, rgba(5, 6, 12, 0.62) 55%, rgba(5, 6, 12, 0) 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--muted-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.20em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, var(--storm-violet), var(--storm-blue));
  box-shadow: 0 0 12px rgba(var(--storm-violet-rgb), 0.55);
}

h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.65rem, 8.4vw, 7.35rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.rainbow-name {
  display: inline-block;
  padding-right: 0.08em;
  color: transparent;
  background: linear-gradient(95deg, #ff4fbe, #9d6dff, #4ddcff, #50f2a6, #ffe56b, #ff8b61, #ff4fbe);
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 16px rgba(140, 22, 75, 0.28));
  animation: rainbowFlow 9s linear infinite;
}

.hero-copy {
  max-width: 680px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.72;
}

.hero-copy strong {
  color: var(--text);
  font-weight: 650;
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 690px;
  margin-top: 38px;
}

.status-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 15px 17px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)), var(--glass-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}

.status-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--green), transparent);
  box-shadow: 0 0 12px var(--green);
}

.status-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  color: #dfe3ef;
  background: rgba(255, 255, 255, 0.04);
}

.status-icon svg {
  width: 19px;
  height: 19px;
}

.status-info {
  min-width: 0;
}

.status-label {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 750;
  letter-spacing: 0.10em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-value {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 5px;
  color: #f5f7fb;
  font-size: 0.96rem;
  font-weight: 750;
  white-space: nowrap;
}

.status-value .status-dot {
  width: 7px;
  height: 7px;
}

.status-detail {
  display: block;
  min-height: 1em;
  margin-top: 5px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#bot-status-card[data-state="loading"] .status-dot,
#bot-status-card[data-state="unavailable"] .status-dot {
  background: #8d94a8;
  box-shadow: 0 0 10px rgba(141, 148, 168, 0.7);
}

#bot-status-card[data-state="loading"] .status-dot::after,
#bot-status-card[data-state="unavailable"] .status-dot::after {
  border-color: rgba(141, 148, 168, 0.48);
}

#bot-status-card[data-state="offline"] .status-dot {
  background: #ff758c;
  box-shadow: 0 0 10px rgba(255, 117, 140, 0.72);
}

#bot-status-card[data-state="offline"] .status-dot::after {
  border-color: rgba(255, 117, 140, 0.52);
}

#bot-status-card[data-state="offline"]::before {
  background: linear-gradient(to bottom, transparent, #ff758c, transparent);
  box-shadow: 0 0 12px rgba(255, 117, 140, 0.8);
}

#bot-status-card[data-state="loading"]::before,
#bot-status-card[data-state="unavailable"]::before {
  background: linear-gradient(to bottom, transparent, #8d94a8, transparent);
  box-shadow: 0 0 12px rgba(141, 148, 168, 0.55);
}

.status-detail[hidden] {
  display: none;
}

.profile-card {
  --profile-surface: #111214;
  --profile-inset: #1c1d22;
  --profile-gap: var(--space-3);
  --profile-pad: var(--space-4);
  position: relative;
  width: 100%;
  max-width: 400px;
  min-width: 0;
  justify-self: end;
  overflow: visible;
  padding: 4px 8px 18px;
  color: var(--text);
}

.profile-aura {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 -42px;
  pointer-events: none;
}

.aura-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(140px 48px at 22% 16%, rgba(180, 90, 30, 0.22), transparent 74%),
    radial-gradient(120px 42px at 72% 12%, rgba(200, 120, 40, 0.16), transparent 76%);
  filter: blur(6px);
  animation: flamePulse 2.8s ease-in-out infinite;
}

.aura-crest {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  pointer-events: none;
}

.aura-eclipse {
  display: none;
  position: absolute;
  top: 2px;
  right: 46px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #070304 0 22%, #fff4cc 26% 30%, #ffb24a 34% 40%, rgba(224, 112, 32, 0.4) 56%, transparent 74%);
}

.profile-aura.is-fallback .aura-eclipse {
  display: block;
}

.profile-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 170, 80, 0.28);
  border-radius: var(--radius-md);
  background: var(--profile-surface);
  box-shadow:
    0 0 0 1px rgba(255, 120, 40, 0.16),
    0 0 28px rgba(255, 90, 20, 0.28),
    0 22px 48px rgba(0, 0, 0, 0.46);
}

.profile-banner {
  position: relative;
  height: 214px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 42% 58% at 46% 44%, rgba(88, 60, 210, 0.42), transparent 62%),
    radial-gradient(ellipse 38% 62% at 22% 58%, rgba(64, 18, 130, 0.72), transparent 74%),
    radial-gradient(ellipse 34% 52% at 82% 38%, rgba(18, 36, 140, 0.62), transparent 74%),
    #090414;
}

.profile-banner-art,
.profile-banner-still {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  background: #090414;
  pointer-events: none;
}

.profile-banner-still {
  display: none;
}

.profile-banner::after {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 32px;
  content: "";
  background: linear-gradient(to bottom, transparent, var(--profile-surface));
  pointer-events: none;
}

.profile-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: var(--profile-gap);
  padding: 0 var(--profile-pad) var(--profile-pad);
}

.profile-section {
  min-width: 0;
  margin: 0;
}

.profile-about,
.owner-presence {
  padding-top: var(--profile-gap);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.profile-identity-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  margin-top: -50px;
}

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

.avatar-ring {
  position: absolute;
  z-index: 0;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 18deg, #ff4a3a, #ff9a1a, #ffe14a, #5dff6e, #3ecbff, #6270ff, #d24bff, #ff4a3a);
  filter: drop-shadow(0 0 5px rgba(255, 140, 60, 0.55));
  animation: ringSpin 11s linear infinite;
}

.avatar-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.16);
  font-size: 2.4rem;
  font-weight: 900;
}

.avatar {
  position: relative;
  z-index: 1;
  display: block;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: #08090d;
  box-shadow: 0 0 0 3px var(--profile-surface);
}

.avatar-status {
  position: absolute;
  z-index: 2;
  right: -2px;
  bottom: -2px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--profile-surface);
  box-shadow: 0 0 0 4px var(--profile-surface);
}

.avatar-status svg {
  display: none;
  width: 78%;
  height: 78%;
}

#owner-profile-card[data-state="online"] .status-online,
#owner-profile-card[data-state="idle"] .status-idle,
#owner-profile-card[data-state="dnd"] .status-dnd,
#owner-profile-card[data-state="offline"] .status-offline,
#owner-profile-card[data-state="loading"] .status-offline,
#owner-profile-card[data-state="unavailable"] .status-offline {
  display: block;
}

.status-cut {
  fill: var(--profile-surface);
}

.thought {
  position: relative;
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 58px;
  min-height: 58px;
  max-width: calc(100% - 108px);
  margin: 0 0 10px 10px;
  padding: 8px 10px;
  border-radius: 22px;
  background: #111214;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.thought::before,
.thought::after {
  position: absolute;
  border-radius: 50%;
  background: #111214;
  content: "";
}

.thought::before {
  top: 8px;
  left: -7px;
  width: 12px;
  height: 12px;
}

.thought::after {
  top: 1px;
  left: -16px;
  width: 7px;
  height: 7px;
}

.thought-figure,
.thought-emoji {
  display: block;
  flex: 0 0 auto;
}

.thought[hidden],
.thought-figure[hidden],
.thought-emoji[hidden],
.profile-custom-status[hidden] {
  display: none !important;
}

.thought-figure-art,
.thought-figure-still {
  display: block;
  width: 50px;
  height: 50px;
  image-rendering: pixelated;
}

.thought-figure-still {
  display: none;
}

.thought-emoji {
  color: #f2f3f5;
  font-size: 1.7rem;
  line-height: 1;
}

.thought-emoji-img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.profile-custom-status {
  min-width: 0;
  margin: 0;
  color: #f2f3f5;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.3;
}

.owner-presence {
  display: block;
  min-width: 0;
}

.profile-activity-label {
  margin: 0 0 var(--space-2);
  color: #b5bac1;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}

.profile-activity-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.profile-activity-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 12px;
}

.profile-activity-icon svg {
  display: block;
  width: 52px;
  height: 52px;
}

.profile-activity-copy {
  min-width: 0;
}

.profile-activity-title {
  margin: 0;
  color: #f2f3f5;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.profile-activity-elapsed {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 0.4em;
  row-gap: 0;
  margin: 2px 0 0;
  color: #b5bac1;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.35;
}

.profile-activity-detail {
  min-width: 0;
  transition: opacity 0.45s ease;
}

.profile-activity-detail.is-fading {
  opacity: 0;
}

.profile-activity-meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: baseline;
  gap: 0.4em;
  white-space: nowrap;
}

.owner-activity-timer {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: #dbdee4;
}

.profile-name,
.profile-username,
.profile-bio,
.profile-custom-status,
.profile-updated,
.owner-presence {
  overflow-wrap: anywhere;
}

.profile-name {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  text-align: left;
  font-family: "Profile Display", Inter, sans-serif;
  font-size: 2rem;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.profile-identity {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}

.profile-tagline {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  color: #b5bac1;
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
}

.profile-username {
  color: inherit;
}

.server-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 2px 8px 2px 6px;
  border-radius: 999px;
  background: #3c3f45;
  color: #f2f3f5;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.server-tag svg {
  display: block;
  width: 13px;
  height: 13px;
}

.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 6px 10px;
  list-style: none;
  border-radius: var(--radius-pill);
  background: #1a1b20;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.profile-badge {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.profile-custom-status {
  margin: 0;
  color: #f2f3f5;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.35;
}

.profile-custom-status[hidden] {
  display: none;
}

.profile-about-title {
  margin: 0 0 var(--space-2);
  color: #b5bac1;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.profile-bio-link {
  color: #00a8fc;
  text-decoration: none;
}

.profile-bio-link:hover {
  text-decoration: underline;
}

.profile-bio p {
  margin: 0;
  color: #e8ecf6;
  font-size: 0.86rem;
  line-height: 1.45;
}

.profile-bio p + p {
  margin-top: 2px;
}

.profile-updated {
  margin: var(--space-2) 0 0;
  color: #b3bcd0;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
}

.projects {
  padding: 0 0 92px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-kicker {
  margin: 0 0 9px;
  color: var(--moon-grey);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  letter-spacing: -0.045em;
}

.section-note {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  text-align: right;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
  gap: var(--space-4);
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 340px;
  padding: var(--space-5);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)), var(--glass-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 18px 40px rgba(0, 0, 0, 0.28);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--storm-violet-rgb), 0.38);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02)), var(--glass-bg-hover);
}

a.project-card {
  color: inherit;
  text-decoration: none;
}

a.project-card:focus-visible {
  border-radius: var(--radius-lg);
}

.project-number {
  color: var(--moon-grey);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.project-card h3 {
  margin: 39px 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.65;
}

.project-points {
  margin: 14px 0 18px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.project-points li + li {
  margin-top: 5px;
}

.project-details-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 16px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.project-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: auto;
}

.project-card-footer .project-details-btn {
  margin-top: 0;
}

.project-details-btn:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.project-details-btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.project-state {
  position: absolute;
  top: 21px;
  right: 21px;
  max-width: calc(100% - 110px);
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: #bcc1cf;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-state[data-status="testing"],
.project-dialog-status[data-status="testing"] {
  color: #c9f5d0;
  border-color: rgba(var(--moss-rgb), 0.28);
  background: rgba(var(--moss-rgb), 0.09);
}

.project-state[data-status="active"],
.project-dialog-status[data-status="active"] {
  color: #c4e8ff;
  border-color: rgba(var(--storm-blue-rgb), 0.30);
  background: rgba(var(--storm-blue-rgb), 0.10);
}

.development-note {
  max-width: 680px;
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
  text-align: center;
}

.project-dialog {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 0;
  border: none;
  color: var(--text);
  background: transparent;
}

.project-dialog::backdrop {
  background: rgba(5, 5, 5, 0.76);
}

.project-dialog-panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 32px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    var(--panel-strong);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}

.project-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.project-dialog-header h3 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.project-dialog-status {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: #bcc1cf;
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-dialog-close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-bright);
  border-radius: 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.project-dialog-close:focus-visible,
.project-dialog-close-bottom:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.project-dialog-body {
  padding: 18px 22px;
  overflow-y: auto;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.7;
}

.project-dialog-body h4 {
  margin: 18px 0 10px;
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-dialog-body ul {
  margin: 0;
  padding-left: 18px;
}

.project-dialog-body li + li {
  margin-top: 6px;
}

.project-dialog-note {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  font-size: 0.82rem;
}

.project-dialog-footer {
  padding: 16px 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.project-dialog-close-bottom {
  width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

body.project-dialog-open {
  overflow: hidden;
}

.project-dialog-fallback-open {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(5, 5, 5, 0.76);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 29px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.075);
  color: var(--moon-grey);
  font-size: 0.73rem;
}

.footer-signature {
  color: #a9afbf;
  font-weight: 750;
  letter-spacing: 0.07em;
}

@keyframes flameSway {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.9; }
  50% { transform: translate3d(0, -4px, 0) scale(1.015, 1.04); opacity: 1; }
}

@keyframes flamePulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}

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

@keyframes rainbowFlow {
  to { background-position: 260% 50%; }
}

@keyframes statusPulse {
  0% { opacity: 0.75; transform: scale(0.55); }
  70%, 100% { opacity: 0; transform: scale(1.45); }
}

@keyframes drift {
  to { transform: translate3d(6rem, 3rem, 0) scale(1.12); }
}

@media (max-width: 920px) {
  .hero-content::before {
    inset: -48px -20px -40px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 58px;
    min-height: auto;
  }

  .profile-card {
    --profile-gap: var(--space-2);
    --profile-pad: var(--space-3);
    max-width: 400px;
    justify-self: center;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .hero-content::before {
    inset: -40px -14px -32px;
    border-radius: 32px;
  }

  .page {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    gap: 46px;
    padding: 58px 0 72px;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5.2rem);
  }

  .hero-copy {
    margin-top: 23px;
    font-size: 1rem;
  }

  .status-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .profile-card {
    max-width: 100%;
    padding: 2px 6px 16px;
  }

  .profile-aura {
    margin-bottom: -34px;
  }

  .profile-banner {
    height: 200px;
  }

  .profile-head {
    margin-top: -42px;
  }

  .avatar-wrap,
  .avatar {
    width: 84px;
    height: 84px;
  }

  .avatar-status {
    width: 22px;
    height: 22px;
  }

  .profile-name {
    font-size: 1.72rem;
  }

  .projects {
    padding-bottom: 70px;
  }

  .section-heading {
    display: block;
  }

  .section-note {
    margin-top: 14px;
    text-align: left;
  }

  .footer {
    display: block;
    line-height: 1.7;
  }

  .footer-signature {
    display: block;
    margin-top: 6px;
  }

  .project-card {
    min-height: 0;
  }

  .project-state {
    max-width: calc(100% - 88px);
    font-size: 0.54rem;
  }

  .project-dialog {
    width: calc(100% - 24px);
  }

  .project-dialog-header,
  .project-dialog-body,
  .project-dialog-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}

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

  .aura-glow,
  .aura-crest,
  .avatar-ring,
  .profile-shell {
    animation: none !important;
  }

  .profile-banner-video {
    display: none !important;
  }

  .profile-banner-still {
    display: block !important;
  }

  .rainbow-name {
    animation: none !important;
    background-size: 100% 100%;
    background-position: 0 50%;
  }

  .thought-figure-art {
    display: none !important;
  }

  .thought-figure-still {
    display: block !important;
  }

  .profile-activity-detail {
    transition: none !important;
  }

  .bg-glow {
    animation: none !important;
    transform: none !important;
    opacity: 0.26 !important;
  }

  .bg-glow-projects {
    opacity: 0.14 !important;
  }

  .pointer-glow {
    display: none !important;
  }
}
