:root {
  color-scheme: dark;
  --bg: #06070a;
  --panel: rgba(18, 21, 31, 0.9);
  --panel-strong: rgba(26, 29, 43, 0.96);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: #8d96b7;
  --accent: #6d7cff;
  --accent-2: #41e5b0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: #05070f;
  background-image:
    radial-gradient(circle at 10% 16%, rgba(86, 125, 255, 0.42), transparent 18%),
    radial-gradient(circle at 30% 24%, rgba(255, 92, 184, 0.18), transparent 16%),
    radial-gradient(circle at 75% 18%, rgba(38, 220, 176, 0.30), transparent 13%),
    linear-gradient(180deg, rgba(8, 10, 16, 0.98), rgba(6, 8, 14, 0.98));
  background-size: cover;
  background-attachment: fixed;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.1), transparent 18%),
    radial-gradient(circle at 84% 22%, rgba(108, 245, 206, 0.14), transparent 16%),
    radial-gradient(circle at 45% 80%, rgba(255, 122, 166, 0.08), transparent 18%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 45%, rgba(255, 255, 255, 0.01));
  opacity: 0.74;
  mix-blend-mode: screen;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 26% 70%, rgba(255, 255, 255, 0.04), transparent 14%),
    radial-gradient(circle at 66% 88%, rgba(255, 255, 255, 0.03), transparent 12%);
  opacity: 0.38;
  animation: drift 18s linear infinite;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-2%, 2%) scale(1.02);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

.background-glow {
  position: fixed;
  filter: blur(150px);
  opacity: 0.48;
  pointer-events: none;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.95;
}

main {
  position: relative;
  z-index: 1;
}

.glow-one {
  top: -90px;
  left: -80px;
  width: 260px;
  height: 260px;
  background: rgba(106, 118, 248, 0.78);
}

.glow-two {
  right: -90px;
  bottom: -20px;
  width: 320px;
  height: 320px;
  background: rgba(45, 218, 157, 0.72);
}

.shell {
  width: min(1100px, calc(100% - 32px));
  margin: 28px auto;
  display: grid;
  gap: 20px;
}

.hero-card,
.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.hero-card {
  border-radius: 28px;
  overflow: hidden;
}

.banner {
  height: 320px;
  background:
    linear-gradient(180deg, rgba(12, 15, 24, 0.04) 0%, rgba(12, 15, 24, 0.09) 100%),
    url("https://cdn.discordapp.com/banners/919704882523557918/5526b523d7a015c1d52ad283182ba0c4.png?size=1280") center/cover;
  background-size: cover;
  background-position: center;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 26px 28px 30px;
  margin-top: 0;
}

.avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 4px solid var(--panel);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  object-fit: cover;
}

.identity h1 {
  margin: 4px 0 8px;
  font-size: clamp(1.7rem, 2.7vw, 2.4rem);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.74rem;
  color: var(--accent-2);
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(109, 124, 255, 0.18);
  color: #d7dcff;
  font-size: 0.9rem;
}

.status-pill.subtle {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.panel {
  border-radius: 26px;
  padding: 24px;
  min-height: 620px;
}

.panel-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 18px;
}

.panel-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
}

.panel-header a,
.panel-note {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.spotify-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.spotify-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 1.2rem;
}

.spotify-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.spotify-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border-radius: 18px;
  min-height: 92px;
  text-decoration: none;
  color: var(--text);
  background: rgba(12, 18, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(109, 124, 255, 0.28);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
  background: rgba(20, 26, 40, 0.98);
}

.copy-card {
  cursor: pointer;
}

.link-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #dfe3ff;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.avatar-icon img,
.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.brand-icon {
  background: rgba(255, 255, 255, 0.08);
}

.spotify-icon,
.steam-icon,
.youtube-icon,
.xbox-icon,
.riot-icon {
  background: rgba(255, 255, 255, 0.08);
}

.link-card strong {
  display: block;
  font-size: 0.96rem;
}

.link-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
}

@media (max-width: 760px) {
  .hero-content {
    flex-direction: column;
    align-items: flex-start;
    margin-top: -24px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}
