:root {
  --bg: #000;
  --text: #f7f7f7;
  --muted: rgba(247, 247, 247, 0.76);
  --hot-red: #ff2b16;
  --orange: #ff8a1d;
  --gold: #ffd35a;
  --black: #000;
  --line: rgba(255, 100, 28, 0.56);
}

* {
  box-sizing: border-box;
}

::selection {
  color: #170600;
  background: #ffd35a;
}

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

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

body.is-locked {
  overflow: hidden;
}

a,
button {
  cursor: none;
}

.bg-video {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  background: var(--bg);
  opacity: 0;
  filter: brightness(0.68);
  transition: opacity 0.48s ease;
}

body.has-entered .bg-video {
  opacity: 1;
}

.screen-glow {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 43, 22, 0.24) 0 10%, transparent 42%),
    radial-gradient(circle at 50% 72%, rgba(255, 138, 29, 0.14) 0 12%, transparent 46%),
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.84));
}

.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(255, 101, 28, 0.17), transparent 38%),
    rgba(0, 0, 0, 0.96);
  color: #fff;
  font: inherit;
  font-size: clamp(1.15rem, 3vw, 1.85rem);
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: opacity 0.42s ease, visibility 0.42s ease;
}

.enter-screen span:last-child {
  text-shadow: 0 0 18px rgba(255, 88, 24, 0.7);
}

.enter-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd35a 0 18%, #ff8a1d 42%, #ff2b16 72%);
  box-shadow: 0 0 18px rgba(255, 43, 22, 0.86), 0 0 36px rgba(255, 138, 29, 0.54);
  animation: pulse-dot 1.15s ease-in-out infinite;
}

body.has-entered .enter-screen {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.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: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffd35a 0 18%, #ff8a1d 42%, #ff2b16 78%);
  box-shadow: 0 0 12px rgba(255, 83, 22, 0.82);
  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: 26px;
  height: 26px;
}

.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 16px 34px rgba(0, 0, 0, 0.58);
}

h1 {
  position: relative;
  margin: -4px 0 0;
  color: transparent;
  background-image: linear-gradient(135deg, #fff7df 0%, #ffd35a 34%, #ff8a1d 62%, #ff3b16 100%);
  background-position: center;
  background-size: 220% 220%;
  background-clip: text;
  text-shadow: 0 6px 18px #000;
  font-size: clamp(4.1rem, 10vw, 8rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
  animation: shimmer 5s 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: none;
  -webkit-text-fill-color: rgba(255, 138, 29, 0.34);
}

.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.72), 0 0 12px rgba(255, 88, 24, 0.32);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  text-shadow: 0 1px 4px #000;
  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: #eaeaea;
  text-decoration: none;
}

.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: #000;
  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, 100, 28, 0.62);
  border-radius: 14px;
  background: #000;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.62), 0 0 14px rgba(255, 88, 24, 0.3);
  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: none;
}

.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, 211, 90, 0.92);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.72), 0 0 18px rgba(255, 88, 24, 0.46);
  filter: none;
  transform: translateY(-5px) scale(1.08);
}

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

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

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

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

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

.production {
  border-color: rgba(255, 100, 28, 0.72);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.62), 0 0 16px rgba(255, 88, 24, 0.32);
  object-fit: contain;
  filter: grayscale(0.35) brightness(0.94);
}

.production:hover,
.links a:hover .production,
.links a:focus-visible .production,
.production-back:hover .production,
.production-back:focus-visible .production {
  border-color: rgba(255, 211, 90, 0.95);
  filter: saturate(1.35) brightness(1.16);
}

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

.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: #000;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.62), 0 0 18px rgba(255, 138, 29, 0.3);
  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(255, 211, 90, 0.92);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.72), 0 0 26px rgba(255, 138, 29, 0.5);
  transform: translateY(-2px);
}

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

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

.about-title,
.production-title {
  margin-top: 0;
  font-size: clamp(3.4rem, 9vw, 6.7rem);
}

.about-panel,
.production-grid article,
.desc {
  border: 1px solid rgba(238, 214, 255, 0.38);
  background: rgba(0, 0, 0, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.62), 0 0 24px rgba(255, 138, 29, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.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(255, 220, 246, 0.8);
  transform: translateY(-4px);
}

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

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

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1.14);
  }
}

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

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

  h1 {
    max-width: calc(100vw - 28px);
    font-size: clamp(2.65rem, 14vw, 3.85rem);
    line-height: 1.05;
    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(290px, 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;
  }

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