@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

:root {
  color-scheme: dark;
  font-family: Michroma, Arial, Helvetica, sans-serif;
  background: #030c19;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.landing {
  position: relative;
  min-height: 100svh;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.panorama {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.socials {
  position: absolute;
  top: 57.8%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.05vw, 36px);
}

.social {
  --glow: #b773ff;
  --tint: #29104a;
  position: relative;
  display: block;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}

.orb {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(62px, 5.75vw, 104px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--glow) 65%, transparent);
  background: radial-gradient(ellipse at 40% 20%, var(--tint), #08090ee6 74%);
  box-shadow: 0 0 5px var(--glow), 0 0 23px color-mix(in srgb, var(--glow) 40%, transparent), inset 0 0 0 4px #ffffff09, inset 0 0 18px var(--tint);
  transition: transform .25s ease, box-shadow .25s ease;
}

.orb::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  border-top: 2px solid #ffffffc9;
  transform: rotate(-32deg);
}

.orb svg {
  width: 48%;
  height: 48%;
  overflow: visible;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--glow) 55%, transparent));
}

.social::after {
  content: '';
  position: absolute;
  pointer-events: none;
  top: 116%;
  left: 16%;
  width: 68%;
  height: 95%;
  background: repeating-linear-gradient(178deg, transparent 0 5px, var(--glow) 6px 8px, transparent 10px 14px);
  opacity: .27;
  filter: blur(5px);
  transform: perspective(65px) rotateX(26deg);
  mask-image: linear-gradient(#000, transparent);
}

.label {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translate(-50%, 5px);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #000;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  z-index: 1;
}

.social:hover .orb,
.social:focus-visible .orb {
  transform: translateY(-7px) scale(1.07);
  box-shadow: 0 0 8px var(--glow), 0 0 36px color-mix(in srgb, var(--glow) 65%, transparent), inset 0 0 18px var(--tint);
}

.social:hover .label,
.social:focus-visible .label {
  opacity: 1;
  transform: translate(-50%, 0);
}

.social:focus-visible {
  outline: 2px solid white;
  outline-offset: 10px;
}

.youtube {
  --glow: #ff5959;
  --tint: #47070a;
}

.x {
  --glow: #9d9fa5;
  --tint: #202124;
}

.instagram {
  --glow: #ffc775;
  --tint: #b22cac;
}

.instagram .orb {
  background: radial-gradient(circle at 28% 108%, #ffde79 0, #ff9a36 24%, #fa245e 49%, #b62baa 72%, #5548a3 100%);
}

.tiktok {
  --glow: #969fb3;
  --tint: #10121a;
}

.tiktok .note {
  filter: drop-shadow(-2px -1px 0 #24f6ee) drop-shadow(2px 2px 0 #fe2857);
}

.discord {
  --glow: #709aff;
  --tint: #172c6a;
}

.youtube-disc,
.discord-disc {
  width: 61%;
  height: 61%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f00008;
  box-shadow: inset 0 2px 5px #ffffff55, 0 0 14px #fe181b55;
}

.discord-disc {
  background: linear-gradient(145deg, #829aff, #4355ed);
  box-shadow: inset 0 2px 5px #ffffff70, 0 0 14px #4169ff80;
}

.youtube-disc svg,
.discord-disc svg {
  width: 76%;
  height: 76%;
  filter: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 600px) {
  .panorama {
    object-position: 54% center;
  }

  .landing::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(transparent 40%, #030c1950 64%, #030c19b0);
  }

  .socials {
    top: 67%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 42px 30px;
  }

  .orb {
    width: clamp(64px, 19vw, 86px);
  }

  .label {
    opacity: 1;
    top: calc(100% + 10px);
    font-size: 11px;
    transform: translateX(-50%);
  }

  .social::after {
    height: 45%;
    opacity: .15;
  }
}

@media (prefers-reduced-motion: reduce) {

  .orb,
  .label {
    transition: none;
  }
}