/* Paleta inspirada no pôr do sol de Vice City */
:root {
  --bg: #0b0614;
  --bg-2: #140a26;
  --cobalt: #3b4cca;
  --violet: #7a3cff;
  --magenta: #d6249f;
  --pink: #ff4fa3;
  --orange: #ff7a2f;
  --gold: #ffc14d;
  --turquoise: #2ee6d6;
  --text: #f7f2ff;
  --muted: #b9acd6;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --grad: linear-gradient(135deg, var(--violet), var(--magenta) 50%, var(--orange));
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

/* Fundo */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background: radial-gradient(120% 80% at 50% 0%, #2a1160 0%, var(--bg-2) 45%, var(--bg) 100%); }

.sun {
  position: absolute; left: 50%; top: 6%;
  width: min(80vw, 520px); aspect-ratio: 1; transform: translateX(-50%);
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold) 0%, var(--orange) 35%, var(--pink) 65%, var(--violet) 100%);
  filter: blur(2px); opacity: .22;
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 20px);
          mask-image: repeating-linear-gradient(180deg, #000 0 14px, transparent 14px 20px);
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}

.grid {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%;
  background-image:
    linear-gradient(rgba(255,79,163,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,60,255,.35) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(380px) rotateX(62deg);
  transform-origin: center top;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
  animation: move 6s linear infinite;
}

@keyframes move { to { background-position: 0 48px, 48px 0; } }

/* Layout */
.container {
  width: 100%; max-width: 520px; margin: 0 auto;
  padding: 48px 20px 40px;
}

/* Perfil */
.profile { text-align: center; margin-bottom: 36px; }

.avatar-ring {
  width: 132px; height: 132px; margin: 0 auto 18px; padding: 4px;
  border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 40px rgba(214, 36, 159, .55), 0 0 90px rgba(122, 60, 255, .35);
}
.avatar, .avatar-fallback {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
  border: 4px solid var(--bg); background: var(--bg-2);
}
.avatar-fallback {
  place-items: center; font-size: 3rem; font-weight: 800;
  background: var(--bg-2);
}

h1 {
  font-size: clamp(2rem, 7vw, 2.6rem); font-weight: 800; letter-spacing: -.02em;
  background: linear-gradient(90deg, #fff, #ffd1ea 60%, #ffb27a);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.handle { color: var(--pink); font-weight: 600; margin-top: 2px; }
.bio { color: var(--muted); margin: 14px auto 0; max-width: 380px; }
.bio strong { color: var(--text); }

.badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.badges li {
  font-size: .82rem; font-weight: 500; padding: 6px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--card-border);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* Grupos */
.group { margin-bottom: 28px; display: grid; gap: 12px; }
.group h2 {
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 8px; padding-left: 4px;
}
.live-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #ff3b57;
  box-shadow: 0 0 0 0 rgba(255,59,87,.7); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(255,59,87,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,59,87,0); }
}

/* Botões */
.link {
  --accent: var(--pink);
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--card-border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.link:hover, .link:focus-visible {
  transform: translateY(-3px);
  border-color: var(--accent);
  background: rgba(255,255,255,.1);
  box-shadow: 0 10px 30px -8px var(--accent);
  outline: none;
}
.link:active { transform: translateY(0) scale(.99); }
.link:focus-visible { outline: 2px solid var(--turquoise); outline-offset: 3px; }

.icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: var(--accent); color: #fff;
}
.icon svg { width: 24px; height: 24px; }

.text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.text strong { font-size: 1.05rem; font-weight: 700; }
.text small { color: var(--muted); font-size: .82rem; }

.arrow { color: var(--muted); font-size: 1.3rem; transition: transform .2s, color .2s; }
.link:hover .arrow { transform: translateX(4px); color: var(--text); }

/* Cores por rede */
.youtube   { --accent: #ff2d3d; }
.tiktok    { --accent: #25f4ee; }
.tiktok .icon { background: #101010; color: #fff; box-shadow: inset 2px 2px 0 #25f4ee, inset -2px -2px 0 #fe2c55; }
.instagram { --accent: #e1306c; }
.instagram .icon { background: linear-gradient(45deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 80%, #4f5bd5); }
.twitch    { --accent: #9146ff; }
.kick      { --accent: #53fc18; }
.kick .icon { background: #53fc18; color: #0b0614; }

/* Rodapé */
footer { text-align: center; color: var(--muted); font-size: .82rem; margin-top: 36px; }
.disclaimer { opacity: .7; font-size: .72rem; margin-top: 6px; }

/* Animação de entrada */
.profile, .group { animation: rise .7s ease both; }
.group:nth-of-type(1) { animation-delay: .1s; }
.group:nth-of-type(2) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

@media (min-width: 640px) { .container { padding-top: 72px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
