:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050202;
  color: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: -14px;
  z-index: -2;
  background:
    #100303
    url("/assets/hell-background-v2.png")
    center / cover no-repeat;
  filter: blur(2px) saturate(1.06) brightness(.63);
  transform: scale(1.018);
}

.shade {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 43%, rgba(5, 0, 0, .1) 0, rgba(7, 1, 1, .35) 53%, rgba(2, 0, 0, .68) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(23, 0, 0, .08));
}

.page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 38px 18px;
}

.links-card {
  width: min(430px, calc(100vw - 36px));
  min-width: 0;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(255, 79, 79, .3);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(13, 7, 7, .91), rgba(4, 2, 2, .88));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, .62),
    0 0 34px rgba(160, 0, 0, .13),
    inset 0 1px 0 rgba(255, 255, 255, .04);
  backdrop-filter: blur(15px);
}

.avatar-frame {
  width: 116px;
  height: 116px;
  margin: 0 auto 15px;
  border-radius: 50%;
  border: 2px solid rgba(229, 35, 35, .78);
  box-shadow: 0 0 25px rgba(216, 0, 0, .34);
  overflow: hidden;
  background: #050202;
}

.avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.22);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 2.65rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.subtitle {
  margin: 9px 0 25px;
  color: #a89c9c;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .19em;
  text-transform: uppercase;
}

.links {
  display: grid;
  gap: 10px;
}

.social-link {
  min-height: 58px;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  color: #f8f4f4;
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .045);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(225, 42, 42, .66);
  background: rgba(135, 13, 13, .2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .32);
  outline: none;
}

.icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #561111;
}

.icon img {
  width: 18px;
  height: 18px;
  display: block;
  filter: invert(1);
}

.arrow {
  color: #7f7272;
  font-size: 1.15rem;
  text-align: center;
  transition: color .18s ease, transform .18s ease;
}

.social-link:hover .arrow,
.social-link:focus-visible .arrow {
  color: #ff5656;
  transform: translate(2px, -2px);
}

.discord .icon { background: #5865f2; }
.tiktok .icon { background: #111; box-shadow: inset 3px 0 #25f4ee, inset -3px 0 #fe2c55; }
.twitch .icon { background: #9146ff; }
.kick .icon { background: #53fc18; }
.kick .icon img { filter: none; }
.youtube .icon { background: #f00; }

@media (max-width: 520px) {
  .page {
    padding: 22px 14px;
  }

  .links-card {
    padding: 24px 18px;
  }

  .avatar-frame {
    width: 100px;
    height: 100px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .social-link,
  .arrow {
    transition: none;
  }
}
