:root {
  --bg: #061827;
  --text: #eefaff;
  --muted: rgba(238, 250, 255, 0.8);
  --purple: #8edcff;
  --pink: #bdefff;
  --black: #03111d;
  --line: rgba(142, 220, 255, 0.58);
}

* {
  box-sizing: border-box;
}

::selection {
  color: #03111d;
  background: #bdefff;
}

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

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: #061827;
  color: var(--text);
  cursor: none;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a,
button {
  cursor: none;
}

.screen-glow {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 20%, rgba(142, 220, 255, 0.24), transparent 36%),
    linear-gradient(180deg, #0a2740 0%, #061827 48%, #020a12 100%);
}

.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: 0;
  border-radius: 50%;
  background: #9fe8ff;
  box-shadow: none;
  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: 9px;
  height: 9px;
}

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

.profile {
  gap: 12px;
}

.avatar-wrap {
  display: grid;
  place-items: center;
  width: 188px;
  height: 188px;
}

.avatar {
  width: 188px;
  height: 188px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 30px rgba(142, 220, 255, 0.48);
  filter: drop-shadow(0 0 10px #02101b) saturate(1.04) contrast(1.08);
}

h1 {
  position: relative;
  margin: 0;
  padding: 0 0 18px;
  color: transparent;
  background-image:
    radial-gradient(circle at 28% 45%, rgba(255, 255, 255, 0.96) 0 7%, transparent 18%),
    radial-gradient(circle at 68% 58%, rgba(213, 246, 255, 0.95) 0 8%, transparent 22%),
    linear-gradient(110deg, #3ea7d8 0%, #8edcff 16%, #f3fcff 31%, #57b9e6 47%, #bdefff 62%, #2d91c4 79%, #9fe8ff 100%);
  background-position: center;
  background-size: 220% 220%;
  background-clip: text;
  filter: drop-shadow(0 5px 16px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 24px rgba(142, 220, 255, 0.76));
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.75rem, 9vw, 7.4rem);
  font-weight: 950;
  line-height: 1.22;
  letter-spacing: 0;
  animation: blue-flow 4.8s 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;
  display: block;
  color: rgba(142, 220, 255, 0.58);
  filter: blur(16px);
  transform: translateY(4px) scale(1.03);
  -webkit-text-fill-color: rgba(142, 220, 255, 0.58);
}

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

.status-row span {
  min-width: 112px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--black);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.58), 0 0 14px rgba(142, 220, 255, 0.38);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  text-shadow: 0 1px 4px #02101b;
  text-transform: uppercase;
}

.links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 13px;
  margin-top: 12px;
}

.links a {
  position: relative;
  display: inline-grid;
  color: #eefaff;
  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.18);
  border-radius: 999px;
  background: #03111d;
  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(142, 220, 255, 0.66);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(142, 220, 255, 0.18), rgba(3, 17, 29, 0.96) 48%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.54), 0 0 16px rgba(142, 220, 255, 0.4);
  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: 12px;
  filter: drop-shadow(0 0 8px rgba(142, 220, 255, 0.36));
}

.button:hover,
.button:focus-visible,
.links a:hover .button,
.links a:focus-visible .button,
.about-button:hover,
.about-button:focus-visible {
  border-color: rgba(189, 239, 255, 0.95);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.62), 0 0 24px rgba(142, 220, 255, 0.58);
  filter: drop-shadow(0 0 12px rgba(142, 220, 255, 0.64));
  transform: translateY(-5px) scale(1.08);
}

.twitch,
.discord,
.youtube,
.tiktok {
  fill: #fff;
}

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

.discord:hover,
.links a:hover .discord,
.links a:focus-visible .discord {
  fill: #8edcff;
}

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

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

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

.production {
  border-color: rgba(145, 70, 255, 0.72);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.62), 0 0 22px rgba(145, 70, 255, 0.36), inset 0 1px 0 rgba(215, 195, 255, 0.18);
  object-fit: contain;
  filter: grayscale(0.65) brightness(0.92) drop-shadow(0 0 8px rgba(145, 70, 255, 0.48));
}

.production:hover,
.links a:hover .production,
.links a:focus-visible .production,
.production-back:hover .production,
.production-back:focus-visible .production {
  border-color: rgba(102, 255, 214, 0.95);
  filter: saturate(1.9) brightness(1.35) drop-shadow(0 0 12px rgba(102, 255, 214, 0.68));
}

.about-button {
  display: inline-grid;
  min-width: 102px;
  height: 58px;
  place-items: center;
  padding: 0 18px;
  color: #d8f7ff;
  font-size: 0.88rem;
  font-weight: 950;
  text-transform: uppercase;
}

.site-credit {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 5;
  max-width: calc(100vw - 36px);
  color: rgba(238, 250, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 10px #02101b;
  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: 999px;
  background: #03111d;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.56), 0 0 18px rgba(142, 220, 255, 0.34);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  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(189, 239, 255, 0.95);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.64), 0 0 26px rgba(142, 220, 255, 0.54);
  transform: translateY(-2px);
}

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

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

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

.about-panel,
.production-grid article,
.desc {
  border: 1px solid rgba(142, 220, 255, 0.44);
  background: rgba(3, 17, 29, 0.76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.54), 0 0 24px rgba(142, 220, 255, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

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

.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;
}

.production-mark {
  width: 82px;
  height: 82px;
  padding: 16px;
  border: 1px solid rgba(255, 70, 120, 0.72);
  border-radius: 22px;
  background: #000;
  box-shadow: 0 0 30px rgba(255, 45, 116, 0.38);
  object-fit: contain;
}

.desc {
  width: fit-content;
  max-width: min(100%, 620px);
  margin: 0;
  padding: 11px 16px;
  border-radius: 999px;
  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: 18px;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

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

.production-grid span {
  color: var(--pink);
  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 blue-flow {
  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

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

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

  h1 {
    max-width: calc(100vw - 28px);
    padding-bottom: 16px;
    font-size: clamp(2.35rem, 12.5vw, 3.45rem);
    line-height: 1.24;
    white-space: nowrap;
  }

  .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 {
    width: min(330px, 100%);
  }

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

  .about-button {
    width: 100%;
    height: 50px;
    border-radius: 14px;
  }

  .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.8rem, 15vw, 4.2rem);
  }

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

  .about-panel {
    padding: 16px;
  }

  .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;
  }
}
