:root {
  --text: #fff;
  --muted: rgba(255, 224, 224, .72);
  --soft: rgba(255, 255, 255, .12);
  --red: #ff2638;
  --red-hot: #ff5b65;
  --red-dark: #620008;
  --black: #030000;
  --panel: rgba(10, 0, 2, .68);
  --panel-strong: rgba(4, 0, 1, .82);
  --ring: rgba(255, 38, 56, .46);
  --glow: 0 0 12px rgba(255, 255, 255, .68), 0 0 36px rgba(255, 19, 35, .76);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--black);
  cursor: url("https://r2.guns.lol/c5f5a61b-294d-4bbd-bf15-96a454be1ccc.webp") 16 16, auto;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-family: "Onest", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a,
input {
  cursor: inherit;
}

::selection {
  background: #fff;
  color: #080808;
}

.background-video,
.fx-canvas,
.shade,
.noise {
  position: fixed;
  inset: 0;
}

.background-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .84;
  filter: saturate(1.18) contrast(1.06) brightness(.78);
}

.fx-canvas {
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .62;
  mix-blend-mode: screen;
}

.shade {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 40%, transparent 0 20%, rgba(0, 0, 0, .18) 42%, rgba(0, 0, 0, .72) 100%),
    linear-gradient(90deg, rgba(153, 0, 14, .42), transparent 31%, transparent 66%, rgba(153, 0, 14, .2)),
    linear-gradient(180deg, rgba(10, 0, 0, .18), rgba(0, 0, 0, .64));
}

.noise {
  z-index: 3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 41, 58, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 100% 3px, 70px 100%;
  mix-blend-mode: screen;
  opacity: .62;
  animation: scan 6s linear infinite;
}

.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 30, 45, .18), transparent 35%),
    rgba(3, 0, 0, .95);
  color: #fff;
  transition: opacity .42s ease, visibility .42s ease;
}

.enter-mark {
  font-size: clamp(48px, 10vw, 82px);
  line-height: .86;
  font-weight: 800;
  text-shadow: var(--glow);
  animation: title-hit 2.4s ease-in-out infinite;
}

.enter-sub {
  color: rgba(255, 226, 226, .68);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.enter-copy {
  padding: 10px 16px;
  border: 1px solid rgba(255, 38, 56, .35);
  border-radius: 999px;
  background: rgba(8, 0, 1, .5);
  color: rgba(255, 232, 232, .82);
  font-size: 16px;
  font-weight: 700;
  text-transform: lowercase;
  box-shadow: 0 0 28px rgba(255, 0, 20, .18);
  animation: pulse 1.8s ease-in-out infinite;
}

.enter-screen.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.profile-shell {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 42px 18px;
  opacity: 0;
  transform: translateY(10px) scale(.985);
  transition: opacity .55s ease, transform .55s ease;
}

body.entered .profile-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.top-tag {
  position: fixed;
  top: 18px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 230, 230, .78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.top-tag span {
  padding: 8px 10px;
  border: 1px solid rgba(255, 38, 56, .24);
  border-radius: 999px;
  background: rgba(8, 0, 1, .46);
  box-shadow: 0 0 18px rgba(255, 0, 20, .12);
  backdrop-filter: blur(8px);
}

.profile-card {
  position: relative;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  width: min(41rem, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 17px;
  padding: 36px 18px 34px;
  border: 1px solid rgba(255, 38, 56, .58);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .045), transparent 38%),
    linear-gradient(135deg, rgba(90, 0, 8, .28), rgba(0, 0, 0, .28) 45%, rgba(90, 0, 8, .16)),
    var(--panel);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .08) inset,
    0 0 40px rgba(255, 0, 20, .26),
    0 26px 90px rgba(0, 0, 0, .46);
  overflow: hidden;
  text-align: center;
  backdrop-filter: blur(6px);
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  will-change: transform;
}

.profile-card:hover {
  border-color: rgba(255, 83, 96, .76);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .09) inset,
    0 0 62px rgba(255, 0, 20, .34),
    0 32px 105px rgba(0, 0, 0, .56);
}

.profile-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 0 27%, rgba(255, 255, 255, .16) 39%, transparent 50% 100%);
  opacity: .4;
  transform: translateX(-70%);
  animation: sheen 6s ease-in-out infinite;
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: 0 0 72px rgba(255, 38, 56, .18) inset;
}

.avatar-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.avatar-wrap::before,
.avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -13px;
  border-radius: 38%;
  border: 1px solid rgba(255, 38, 56, .26);
  animation: rotate-ring 9s linear infinite;
}

.avatar-wrap::after {
  inset: -21px;
  border-color: rgba(255, 255, 255, .12);
  animation-duration: 14s;
  animation-direction: reverse;
}

.avatar {
  position: relative;
  z-index: 1;
  width: 124px;
  aspect-ratio: 1;
  border-radius: 35%;
  border: 2px solid rgba(255, 38, 56, .72);
  object-fit: cover;
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, .35),
    0 0 24px rgba(255, 255, 255, .22),
    0 0 46px rgba(255, 0, 20, .58);
}

.identity {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 7px;
}

.role-badge {
  padding: 6px 10px;
  border: 1px solid rgba(255, 38, 56, .42);
  border-radius: 999px;
  background: rgba(255, 38, 56, .12);
  color: rgba(255, 238, 238, .86);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(255, 0, 20, .2);
}

.handle {
  color: rgba(255, 228, 228, .58);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.identity h1 {
  position: relative;
  margin: 0;
  font-size: clamp(42px, 8vw, 54px);
  line-height: .9;
  font-weight: 800;
  text-shadow: var(--glow);
}

.identity h1::after {
  content: "";
  position: absolute;
  inset: -20px -46px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .96) 0 1px, transparent 1.5px);
  background-size: 31px 24px;
  opacity: .72;
  mix-blend-mode: screen;
  animation: sparkle 2.8s linear infinite;
}

.identity p {
  margin: 0;
  color: #ffe2e2;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(255, 38, 56, .85);
}

.signal-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.signal-row span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  background: rgba(255, 255, 255, .055);
  color: rgba(255, 232, 232, .72);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.discord-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 390px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 38, 56, .42);
  border-radius: 14px;
  background: var(--panel-strong);
  box-shadow: 0 0 30px rgba(255, 0, 20, .2);
}

.status-icon {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}

.status-icon svg {
  width: 24px;
  height: 24px;
  color: var(--red-hot);
  filter: drop-shadow(0 0 8px rgba(255, 38, 56, .95));
}

.discord-panel h2 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
}

.discord-panel > div:last-child {
  min-width: 0;
}

.discord-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.feature-links {
  position: relative;
  z-index: 1;
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.feature-links a {
  min-height: 58px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 38, 56, .28);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .07), transparent),
    rgba(255, 255, 255, .045);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 0 24px rgba(255, 0, 20, .12);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.feature-links a:hover {
  border-color: rgba(255, 96, 108, .58);
  background:
    linear-gradient(180deg, rgba(255, 38, 56, .18), transparent),
    rgba(255, 255, 255, .06);
  transform: translateY(-2px);
}

.feature-links span {
  color: rgba(255, 224, 224, .56);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.feature-links strong {
  font-size: 15px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 38, 56, .6);
}

.socials {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 11px;
  width: min(100%, 470px);
}

.socials a {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  color: #fff;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, .45));
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.socials a::after {
  content: attr(data-label);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  padding: 5px 7px;
  border: 1px solid rgba(255, 38, 56, .28);
  border-radius: 999px;
  background: rgba(6, 0, 1, .86);
  color: rgba(255, 238, 238, .82);
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -4px);
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
}

.socials a:hover {
  border-color: rgba(255, 38, 56, .48);
  background: rgba(255, 38, 56, .13);
  box-shadow: 0 0 24px rgba(255, 0, 20, .28);
  transform: translateY(-3px) scale(1.04);
}

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

.socials svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 0 7px #fff) drop-shadow(0 0 10px rgba(255, 38, 56, .9));
}

.visualizer {
  position: relative;
  z-index: 1;
  width: min(100%, 300px);
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: -2px;
}

.visualizer span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(#fff, var(--red));
  box-shadow: 0 0 14px rgba(255, 38, 56, .72);
  animation: bars .74s ease-in-out infinite alternate;
}

.visualizer span:nth-child(2n) {
  animation-duration: .58s;
}

.visualizer span:nth-child(3n) {
  animation-duration: .9s;
}

.visualizer span:nth-child(4n) {
  animation-delay: .16s;
}

.views {
  position: fixed;
  z-index: 4;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(8, 0, 1, .62);
  color: rgba(255, 228, 228, .86);
  font-size: 14px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 24px rgba(255, 0, 20, .22);
}

.views svg {
  width: 18px;
  height: 18px;
}

.volume {
  position: fixed;
  z-index: 5;
  top: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .45s ease, transform .45s ease;
}

body.entered .volume {
  opacity: 1;
  transform: translateY(0);
}

.volume-button {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 38, 56, .25);
  border-radius: 13px;
  background: rgba(8, 0, 1, .64);
  color: #fff;
  box-shadow: 0 0 18px rgba(255, 0, 20, .18);
  backdrop-filter: blur(8px);
}

.volume-button svg {
  width: 25px;
  height: 25px;
}

.volume-range {
  width: 108px;
  height: 4px;
  accent-color: var(--red);
}

@keyframes pulse {
  0%,
  100% {
    opacity: .74;
  }
  50% {
    opacity: 1;
  }
}

@keyframes title-hit {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
}

@keyframes sparkle {
  to {
    transform: translate3d(31px, 24px, 0);
  }
}

@keyframes scan {
  to {
    transform: translateY(12px);
  }
}

@keyframes sheen {
  0%,
  42% {
    transform: translateX(-75%);
  }
  60%,
  100% {
    transform: translateX(75%);
  }
}

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

@keyframes bars {
  from {
    height: 7px;
    opacity: .54;
  }
  to {
    height: 21px;
    opacity: 1;
  }
}

@media (max-width: 620px) {
  body {
    overflow: auto;
  }

  .background-video {
    filter: saturate(1.12) contrast(1.04) brightness(.68);
  }

  .fx-canvas {
    opacity: .38;
  }

  .profile-shell {
    min-height: 100svh;
    align-items: center;
    padding: 66px 14px 58px;
  }

  .top-tag {
    top: 14px;
    right: 14px;
    gap: 6px;
  }

  .top-tag span {
    padding: 7px 8px;
    font-size: 10px;
  }

  .top-tag span:last-child {
    display: none;
  }

  .profile-card {
    width: min(41rem, calc(100vw - 28px));
    gap: 11px;
    padding: 24px 12px 22px;
    transform: none;
  }

  .avatar {
    width: 92px;
  }

  .avatar-wrap::before {
    inset: -10px;
  }

  .avatar-wrap::after {
    inset: -16px;
  }

  .identity h1 {
    font-size: 35px;
  }

  .identity p {
    font-size: 14px;
  }

  .handle {
    font-size: 9.5px;
  }

  .signal-row span {
    padding: 5px 7px;
    font-size: 9.5px;
  }

  .discord-panel {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 11px 12px;
    text-align: center;
  }

  .discord-panel h2 {
    font-size: 16px;
  }

  .discord-panel p {
    font-size: 12px;
  }

  .feature-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(100%, 320px);
    gap: 8px;
  }

  .feature-links a {
    min-height: 45px;
    grid-template-columns: 1fr;
    align-items: center;
    align-content: center;
    padding: 8px 6px;
    text-align: center;
  }

  .feature-links span {
    width: auto;
    font-size: 9px;
  }

  .feature-links strong {
    font-size: 13px;
  }

  .socials {
    gap: 7px;
    max-width: 280px;
  }

  .socials a {
    width: 37px;
    height: 37px;
    border-radius: 12px;
  }

  .socials svg {
    width: 20px;
    height: 20px;
  }

  .socials a::after {
    display: none;
  }

  .volume {
    top: 14px;
    left: 14px;
  }

  .volume-range {
    width: 82px;
  }

  .views {
    right: auto;
    left: 14px;
    bottom: 14px;
  }

  .visualizer {
    height: 16px;
  }

  .visualizer span {
    width: 3px;
  }
}
