/* ============================================================
   ArthaxLive: Página Principal (link in bio)
============================================================ */

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ---- Design Tokens ---- */
:root {
  --bg:           #0a0d15;
  --bg-2:         #0e1120;
  --card:         #131929;
  --card-hover:   #1a2236;
  --border:       rgba(35,44,64,.8);
  --accent:       #8b5cf6;
  --accent-2:     #7c3aed;
  --cyan:         #34d6ee;
  --green:        #2bd47d;
  --text:         #eef2ff;
  --muted:        #8892a4;
  --font-display: 'Sora', sans-serif;
  --font-body:    'Inter', sans-serif;
  --ease:         cubic-bezier(.4,0,.2,1);
  --radius:       16px;
  --glow:         0 0 40px rgba(139,92,246,.35);
}

/* ---- Base ---- */
html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px 60px;
  position: relative;
  overflow-x: hidden;
}

/* ---- Particle canvas ---- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---- Background glows ---- */
.glow-top {
  position: fixed;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.15) 0%, transparent 70%);
  top: -200px; left: 50%; transform: translateX(-50%);
  pointer-events: none; z-index: 0;
}
.glow-bottom {
  position: fixed;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52,214,238,.08) 0%, transparent 70%);
  bottom: -100px; right: -100px;
  pointer-events: none; z-index: 0;
}

/* ---- Wrapper ---- */
.wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---- Profile ---- */
.profile-logo {
  width: 150px; height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(139,92,246,.5);
  box-shadow: 0 0 32px rgba(139,92,246,.35);
  margin-bottom: 16px;
  animation: fade-up .5s var(--ease) both;
}
.profile-logo img,
.profile-logo video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.profile-logo-fallback {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 6px;
  animation: fade-up .5s .08s var(--ease) both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.profile-bio {
  font-size: .875rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 320px;
  animation: fade-up .5s .16s var(--ease) both;
}

/* ---- Links list ---- */
.links-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  transition: transform .2s var(--ease), box-shadow .2s, background .2s, border-color .2s;
  position: relative;
  overflow: hidden;
  animation: fade-up .5s var(--ease) both;
}
.link-btn:hover  { transform: translateY(-2px); background: var(--card-hover); }
.link-btn:active { transform: translateY(0); }

/* Icon wrapper */
.link-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.link-text { flex: 1; }
.link-icon { align-self: center; }

.link-label {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 2px;
}
.link-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.link-title { display: block; }
.live-badge {
  display: inline-flex;
  align-items: center;
  background: #e53e3e;
  color: #fff;
  font-family: var(--font-display);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 2px 7px;
  border-radius: 999px;
  animation: live-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .65; }
}
.link-desc {
  display: block;
  font-size: .78rem;
  font-weight: 400;
  color: var(--muted);
  font-family: var(--font-body);
  line-height: 1.4;
  margin-top: 4px;
}

.link-arrow {
  color: var(--muted);
  font-size: .9rem;
  flex-shrink: 0;
  align-self: center;
  transition: transform .2s var(--ease), color .2s;
}
.link-btn:hover .link-arrow { transform: translateX(3px); color: var(--text); }

/* ---- Per-platform styles ---- */
.link-btn.sponsor { border-color: rgba(139,92,246,.4); background: linear-gradient(135deg, rgba(139,92,246,.1) 0%, var(--card) 60%); }
.link-btn.sponsor:hover  { border-color: rgba(139,92,246,.7); box-shadow: 0 8px 32px rgba(139,92,246,.2); }
.link-btn.sponsor .link-icon { background: rgba(139,92,246,.15); }

.link-btn.twitch:hover { border-color: rgba(145,70,255,.5); box-shadow: 0 8px 32px rgba(145,70,255,.15); }
.link-btn.twitch .link-icon { background: rgba(145,70,255,.15); }

.link-btn.youtube:hover { border-color: rgba(255,0,0,.4); box-shadow: 0 8px 32px rgba(255,0,0,.12); }
.link-btn.youtube .link-icon { background: rgba(255,0,0,.12); }

.link-btn.instagram:hover { border-color: rgba(225,48,108,.4); box-shadow: 0 8px 32px rgba(225,48,108,.12); }
.link-btn.instagram .link-icon { background: rgba(225,48,108,.12); }

.link-btn.tiktok:hover { border-color: rgba(105,201,208,.4); box-shadow: 0 8px 32px rgba(105,201,208,.12); }
.link-btn.tiktok .link-icon { background: rgba(0,0,0,.3); }

.link-btn.discord:hover { border-color: rgba(88,101,242,.5); box-shadow: 0 8px 32px rgba(88,101,242,.15); }
.link-btn.discord .link-icon { background: rgba(88,101,242,.15); }

/* ---- Stagger animation delays ---- */
.link-btn:nth-child(1) { animation-delay: .22s; }
.link-btn:nth-child(2) { animation-delay: .30s; }
.link-btn:nth-child(3) { animation-delay: .38s; }
.link-btn:nth-child(4) { animation-delay: .46s; }
.link-btn:nth-child(5) { animation-delay: .54s; }
.link-btn:nth-child(6) { animation-delay: .62s; }

/* ---- Footer ---- */
.footer-note {
  margin-top: 40px;
  font-size: .75rem;
  color: rgba(136,146,164,.5);
  text-align: center;
  animation: fade-up .5s .7s var(--ease) both;
}

/* ---- Animations ---- */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
