:root {
  --bg: #050607;
  --panel: rgba(245, 248, 255, 0.08);
  --panel-solid: #0b0c0e;
  --text: #f4f4f1;
  --muted: rgba(244, 247, 250, 0.78);
  --line: rgba(255, 255, 255, 0.32);
  --shine: #f8f8f2;
  --steel: #b8c1c8;
  --smoke: #1a1d1f;
  --accent: #a9fff5;
  --ice: #dff7ff;
  --violet: #d9c7ff;
}

* {
  box-sizing: border-box;
}

::selection {
  color: #050607;
  background: var(--shine);
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.2), transparent 32%),
    linear-gradient(180deg, #22272b 0%, #090b0d 54%, #010202 100%);
  color: var(--text);
  cursor: none;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  background-size: 360px 100%, 100% 220px;
  opacity: 0.34;
  animation: ambient-drift 15s ease-in-out infinite;
}

a,
button {
  cursor: none;
}

.screen-glow {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(116deg, transparent 0 14%, rgba(255, 255, 255, 0.22) 20%, rgba(223, 247, 255, 0.08) 26%, transparent 36% 100%),
    linear-gradient(294deg, transparent 0 58%, rgba(217, 199, 255, 0.08) 66%, transparent 76%),
    radial-gradient(circle at 50% 16%, rgba(255, 255, 255, 0.28), transparent 33%),
    radial-gradient(circle at 22% 78%, rgba(169, 255, 245, 0.08), transparent 30%),
    linear-gradient(180deg, #2b3034 0%, #101214 50%, #030404 100%);
}

.screen-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.wrap {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 64px 22px;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #f8f8f2;
  box-shadow: 0 0 16px rgba(169, 255, 245, 0.5);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.12s ease, width 0.12s ease, height 0.12s ease;
}

.custom-cursor.is-visible {
  opacity: 1;
}

.custom-cursor.is-active {
  width: 13px;
  height: 13px;
}

.profile,
.about-view,
.production-view {
  display: grid;
  position: relative;
  justify-items: center;
  width: min(100%, 940px);
  min-width: 0;
  text-align: center;
  animation: rise-in 0.65s ease both;
}

.profile {
  gap: 14px;
  padding: 18px 0 28px;
}

.avatar-wrap {
  display: grid;
  position: relative;
  width: 190px;
  height: 190px;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.avatar {
  width: 174px;
  height: 174px;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.62),
    0 0 34px rgba(223, 247, 255, 0.12);
  filter: contrast(1.12) saturate(1.02);
}

h1 {
  position: relative;
  max-width: min(100%, 880px);
  margin: 0;
  padding: 0 0 16px;
  color: transparent;
  background-image:
    radial-gradient(circle at 18% 36%, rgba(255, 255, 255, 1) 0 4%, transparent 11%),
    radial-gradient(circle at 42% 62%, rgba(169, 255, 245, 0.96) 0 5%, transparent 15%),
    radial-gradient(circle at 72% 34%, rgba(217, 199, 255, 0.9) 0 5%, transparent 16%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(148, 157, 162, 0.32) 48%, rgba(255, 255, 255, 0.86)),
    linear-gradient(100deg, #626b72 0%, #ffffff 12%, #aeb9bf 22%, #f9ffff 34%, #40484f 46%, #dff7ff 56%, #ffffff 67%, #7f878d 78%, #f7f9f5 100%);
  background-size: 160% 180%, 190% 170%, 150% 190%, 100% 100%, 340% 100%;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.18);
  filter:
    drop-shadow(0 9px 15px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 30px rgba(223, 247, 255, 0.45))
    drop-shadow(0 0 7px rgba(255, 255, 255, 0.34));
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 8.5vw, 7.1rem);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: 0;
  animation: liquid-chrome 7s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  z-index: -1;
  color: rgba(223, 247, 255, 0.34);
  filter: blur(14px);
  transform: translateY(8px) scale(1.025);
  -webkit-text-fill-color: rgba(223, 247, 255, 0.34);
}

h1::before {
  content: attr(data-text);
  position: absolute;
  inset: 0 0 16px;
  z-index: 1;
  color: transparent;
  background-image: linear-gradient(112deg, transparent 0 24%, rgba(255, 255, 255, 0.92) 31%, rgba(223, 247, 255, 0.22) 36%, transparent 47% 100%);
  background-size: 260% 100%;
  background-clip: text;
  mix-blend-mode: screen;
  opacity: 0.84;
  pointer-events: none;
  animation: liquid-sheen 3.8s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
  margin-top: 2px;
}

.status-row span {
  min-width: 108px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 34%, rgba(10, 12, 14, 0.5)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -18px 34px rgba(0, 0, 0, 0.24);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(16px) saturate(1.4);
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.links a {
  position: relative;
  display: inline-grid;
  color: var(--text);
  text-decoration: none;
}

.tiktok-pair {
  display: inline-flex;
  gap: 8px;
}

.links a::after {
  content: attr(data-label);
  position: absolute;
  bottom: -34px;
  left: 50%;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(6, 7, 8, 0.94);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 850;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -5px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}

.links a:hover::after,
.links a:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

.button,
.about-button {
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.05) 36%, rgba(5, 7, 9, 0.72) 62%, rgba(255, 255, 255, 0.12)),
    rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.5),
    0 0 22px rgba(223, 247, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.48),
    inset 0 -20px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(1.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, transform 0.2s ease, fill 0.2s ease;
}

.button {
  display: block;
  width: 58px;
  height: 58px;
  padding: 13px;
  fill: #ffffff;
}

.button:hover,
.button:focus-visible,
.links a:hover .button,
.links a:focus-visible .button,
.about-button:hover,
.about-button:focus-visible {
  border-color: rgba(255, 255, 255, 0.88);
  box-shadow:
    0 22px 42px rgba(0, 0, 0, 0.64),
    0 0 26px rgba(223, 247, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -22px 34px rgba(0, 0, 0, 0.16);
  filter: brightness(1.14) saturate(1.05);
  transform: translateY(-5px) scale(1.03);
}

.twitch:hover,
.links a:hover .twitch,
.links a:focus-visible .twitch {
  fill: #b99cff;
}

.discord:hover,
.links a:hover .discord,
.links a:focus-visible .discord {
  fill: #9aa8ff;
}

.youtube:hover,
.links a:hover .youtube,
.links a:focus-visible .youtube {
  fill: #ff6b6b;
}

.tiktok:hover,
.links a:hover .tiktok,
.links a:focus-visible .tiktok {
  fill: #a9fff5;
}

.x-social:hover,
.instagram:hover,
.links a:hover .x-social,
.links a:hover .instagram,
.links a:focus-visible .x-social,
.links a:focus-visible .instagram {
  fill: #ffffff;
}

.about-button {
  display: inline-grid;
  min-width: 102px;
  height: 58px;
  place-items: center;
  padding: 0 18px;
  color: #f5f5ef;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.site-credit {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 5;
  max-width: calc(100vw - 36px);
  color: rgba(244, 244, 241, 0.62);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 10px #020303;
  transform: translateX(-50%);
  pointer-events: none;
}

.back-link {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 4;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.26);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  backdrop-filter: blur(18px) saturate(1.35);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.back-link:hover,
.back-link:focus-visible {
  border-color: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.64), 0 0 18px rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.about-view,
.production-view {
  gap: 16px;
}

.about-avatar {
  width: 148px;
  height: 148px;
}

.about-kicker {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: lowercase;
}

.about-title,
.production-title {
  margin-top: 0;
  padding-bottom: 16px;
  font-size: clamp(3rem, 7.6vw, 6rem);
}

.about-panel,
.production-grid article,
.desc {
  border: 1px solid rgba(228, 229, 222, 0.26);
  background: var(--panel);
  box-shadow:
    0 24px 58px rgba(0, 0, 0, 0.58),
    0 0 30px rgba(223, 247, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -30px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(20px) saturate(1.35);
}

.about-panel {
  display: grid;
  gap: 10px;
  width: min(100%, 700px);
  padding: 24px 28px;
  border-radius: 14px;
}

.about-panel p,
.production-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 720;
  line-height: 1.5;
}

.about-tags {
  max-width: 660px;
}

.about-meta {
  display: grid;
  gap: 8px;
  width: min(100%, 700px);
  color: rgba(244, 247, 250, 0.74);
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.45;
  padding: 0 18px;
}

.about-meta p {
  margin: 0;
}

.production-mark {
  width: 82px;
  height: 82px;
  padding: 16px;
  border: 1px solid rgba(238, 238, 232, 0.42);
  border-radius: 8px;
  background: #000;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.14);
  object-fit: contain;
}

.desc {
  width: fit-content;
  max-width: min(100%, 620px);
  margin: 0;
  padding: 11px 16px;
  border-radius: 8px;
  color: #fff;
  font-size: 0.98rem;
  font-weight: 850;
}

.production-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(100%, 840px);
  margin-top: 8px;
}

.production-grid article {
  min-height: 148px;
  padding: 18px;
  border-radius: 8px;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.production-grid article:hover {
  border-color: rgba(255, 255, 255, 0.62);
  transform: translateY(-4px);
}

.production-grid span {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 950;
}

.production-grid strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1.12rem;
}

.production-grid p {
  margin-top: 8px;
}

.production-back {
  margin-top: 4px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(5vh) scale(0.98);
  }

  to {
    opacity: 1;
  }
}

@keyframes ambient-drift {
  0%,
  100% {
    background-position: -280px 0, 0 -140px;
  }

  50% {
    background-position: calc(100vw + 80px) 0, 0 calc(100vh + 60px);
  }
}

@keyframes liquid-chrome {
  0%,
  100% {
    background-position: 0% 40%, 18% 64%, 84% 28%, 0 0, 0% 50%;
  }

  33% {
    background-position: 52% 62%, 72% 36%, 30% 70%, 0 0, 56% 50%;
  }

  66% {
    background-position: 100% 38%, 32% 78%, 62% 22%, 0 0, 100% 50%;
  }
}

@keyframes liquid-sheen {
  0%,
  100% {
    background-position: -120% 50%;
    opacity: 0.45;
  }

  50% {
    background-position: 135% 50%;
    opacity: 0.98;
  }
}

@media (max-width: 720px) {
  .wrap {
    padding: 46px 18px 58px;
  }

  .profile {
    width: min(100%, calc(100vw - 64px));
    padding-bottom: 22px;
  }

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

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

  h1 {
    max-width: calc(100vw - 28px);
    padding-bottom: 16px;
    font-size: clamp(1.9rem, 9.8vw, 2.38rem);
    line-height: 1.16;
  }

  .status-row {
    display: grid;
    grid-template-columns: 1fr;
    width: min(270px, calc(100vw - 36px));
  }

  .status-row span {
    min-width: 0;
    font-size: 0.7rem;
  }

  .links {
    display: grid;
    grid-template-columns: repeat(3, 54px);
    width: min(270px, 100%);
    justify-content: center;
    padding: 12px;
  }

  .tiktok-pair {
    display: contents;
  }

  .button {
    width: 54px;
    height: 54px;
  }

  .about-button {
    grid-column: 1 / -1;
    width: 100%;
    height: 50px;
  }

  .back-link {
    top: 12px;
    left: 12px;
    min-height: 38px;
    font-size: 0.82rem;
  }

  .site-credit {
    bottom: 10px;
    font-size: 0.7rem;
  }

  .about-title,
  .production-title {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  .about-panel,
  .desc {
    width: min(100%, calc(100vw - 36px));
  }

  .about-panel {
    padding: 18px;
  }

  .about-panel p,
  .production-grid p {
    font-size: 0.92rem;
  }

  .production-grid {
    grid-template-columns: 1fr;
  }

  .production-grid article {
    min-height: auto;
    text-align: center;
  }
}

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