:root {
  --bg-1: #1a2027;
  --bg-2: #10151c;
  --ink: #edf3f8;
  --muted-ink: #bfd0de;
  --accent: #2a6fdb;
  --accent-strong: #1b49a8;
  --panel: rgba(20, 28, 38, 0.72);
  --panel-border: rgba(163, 189, 215, 0.18);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(64, 111, 214, 0.3), transparent 34%),
    linear-gradient(145deg, #2c343d 0%, #1b222b 42%, #0f1724 72%, #112957 100%);
  position: relative;
  overflow-x: hidden;
}

.background-glow {
  position: fixed;
  inset: auto -15vw -18vh auto;
  width: 70vw;
  height: 70vw;
  max-width: 780px;
  max-height: 780px;
  background: conic-gradient(from 210deg at 50% 50%, rgba(42, 111, 219, 0.24), rgba(110, 128, 150, 0.08), rgba(32, 76, 170, 0.28));
  filter: blur(64px);
  z-index: 0;
  pointer-events: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: min(100% - 3rem, 960px);
  margin: 0 auto;
  padding: 5rem 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero h1 {
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
  font-size: clamp(2.4rem, 10vw, 7.2rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 12ch;
  color: #f3f8fc;
  text-align: center;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
  animation: rise-in 700ms ease-out both;
}

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

.social-button {
  display: inline-flex;
  align-items: center;
  gap: 0.82rem;
  min-height: 4rem;
  padding: 0.78rem 1rem;
  border-radius: 0.95rem;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: var(--ink);
  transform: translateY(0);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.social-button:hover,
.social-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(15, 123, 108, 0.5);
  box-shadow: 0 18px 34px rgba(10, 39, 43, 0.2);
  outline: none;
}

.platform-icon,
.avatar-slot {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  flex: 0 0 auto;
  overflow: hidden;
}

.platform-icon iconify-icon,
.fallback-icon iconify-icon {
  font-size: 1.1rem;
}

.avatar-slot {
  position: relative;
}

.avatar-slot img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-slot.has-avatar img {
  display: block;
}

.avatar-slot.has-avatar .fallback-icon {
  display: none;
}

.fallback-icon {
  position: absolute;
  inset: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted-ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .page-shell {
    width: min(100% - 2rem, 720px);
    padding-top: 4.2rem;
    justify-content: center;
  }

  .links {
    grid-template-columns: 1fr;
  }

  .button-label {
    font-size: 1.04rem;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 1.25rem, 560px);
    padding-top: 3.1rem;
    padding-bottom: 1.8rem;
  }

  .hero {
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(2rem, 16vw, 3.7rem);
  }
}
