:root {
  --cream: #fff7e8;
  --soft: rgba(255, 247, 232, .72);
  --gold: #ffd36a;
  --amber: #f08a24;
  --copper: #b64a16;
  --shadow: rgba(62, 25, 5, .56);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #130903;
  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(--cream);
  font-family: "Onest", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
a,
input {
  cursor: inherit;
}

::selection {
  background: var(--gold);
  color: #241004;
}

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

.background-video {
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
  filter: sepia(.28) saturate(1.2) contrast(1.04) brightness(.92);
}

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

.shade {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 39%, rgba(255, 211, 106, .18), transparent 30%),
    linear-gradient(115deg, rgba(240, 138, 36, .42), transparent 35%, rgba(255, 184, 76, .18) 68%, rgba(91, 28, 5, .46)),
    linear-gradient(180deg, rgba(19, 9, 3, .22), rgba(19, 9, 3, .72));
}

.noise {
  z-index: 3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 221, 148, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 100% 3px, 68px 100%;
  mix-blend-mode: soft-light;
  opacity: .72;
  animation: scan 6s linear infinite;
}

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

.enter-mark {
  font-size: clamp(48px, 10vw, 84px);
  line-height: .9;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(255, 247, 232, .66), 0 0 42px rgba(240, 138, 36, .65);
}

.enter-copy {
  color: rgba(255, 247, 232, .76);
  font-size: 18px;
  font-weight: 500;
  text-transform: lowercase;
  text-shadow: 0 0 24px rgba(255, 211, 106, .36);
  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: 34px 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);
}

.profile-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  width: min(42rem, calc(100vw - 32px));
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: 28px 16px;
  text-align: center;
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: transform .18s ease;
  will-change: transform;
}

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

.avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -17px;
  border: 1px solid rgba(255, 211, 106, .34);
  border-radius: 34%;
  box-shadow: 0 0 42px rgba(240, 138, 36, .28);
  animation: rotate-ring 12s linear infinite;
}

.avatar {
  position: relative;
  z-index: 1;
  width: 122px;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 247, 232, .5);
  border-radius: 28%;
  object-fit: cover;
  box-shadow: 0 0 24px rgba(255, 247, 232, .2), 0 0 48px rgba(240, 138, 36, .48);
}

.identity {
  display: grid;
  justify-items: center;
  gap: 9px;
}

.identity h1 {
  margin: 0;
  color: var(--cream);
  font-size: clamp(46px, 9vw, 76px);
  line-height: .88;
  font-weight: 700;
  letter-spacing: 0;
  text-shadow: 0 0 14px rgba(255, 247, 232, .76), 0 0 36px rgba(240, 138, 36, .72);
}

.identity p {
  margin: 0;
  color: rgba(255, 247, 232, .86);
  font-size: clamp(17px, 3.1vw, 23px);
  font-weight: 500;
  letter-spacing: 0;
  text-shadow: 0 0 24px rgba(240, 138, 36, .48);
}

.socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  width: min(100%, 500px);
  margin-top: 3px;
}

.socials a {
  position: relative;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--cream);
  text-decoration: none;
  filter: drop-shadow(0 0 7px rgba(255, 247, 232, .72)) drop-shadow(0 0 15px rgba(240, 138, 36, .62));
  transition: transform .18s ease, color .18s ease, filter .18s ease;
}

.socials a:hover {
  color: var(--gold);
  filter: drop-shadow(0 0 8px rgba(255, 247, 232, .88)) drop-shadow(0 0 20px rgba(240, 138, 36, .82));
  transform: translateY(-3px) scale(1.08);
}

.socials svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: currentColor;
}

.views {
  position: fixed;
  z-index: 4;
  right: 22px;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 247, 232, .26);
  border-radius: 999px;
  background: rgba(32, 13, 3, .34);
  color: rgba(255, 247, 232, .72);
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 22px rgba(240, 138, 36, .18);
}

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

.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: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 247, 232, .16);
  border-radius: 12px;
  background: rgba(32, 13, 3, .26);
  color: var(--cream);
  box-shadow: 0 0 18px rgba(240, 138, 36, .16);
  backdrop-filter: blur(8px);
}

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

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

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

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

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

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

  .background-video {
    filter: sepia(.36) saturate(1.18) contrast(1.04) brightness(.78);
  }

  .fx-canvas {
    opacity: .22;
  }

  .profile-shell {
    min-height: 100svh;
    padding: 72px 14px 76px;
  }

  .profile-card {
    width: min(42rem, calc(100vw - 28px));
    gap: 16px;
    padding: 20px 10px;
    transform: none;
  }

  .avatar {
    width: 102px;
  }

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

  .identity p {
    max-width: 320px;
    font-size: 17px;
    line-height: 1.35;
  }

  .socials {
    max-width: 300px;
    gap: 15px;
  }

  .socials a {
    width: 32px;
    height: 32px;
  }

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

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

  .volume-range {
    width: 84px;
  }

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