/* =============================================
   NEXUS69 — Profile Card (guns.lol-Style)
   ============================================= */

:root {
  --bg-deep:      #08000d;
  --bg-base:      #0e0016;
  --bg-card:      #160020;
  --bg-card2:     #1e002e;
  --neon-purple:  #aa00ff;
  --neon-pink:    #ff2d78;
  --text-primary: #f0d0ff;
  --text-muted:   #8a5fa0;
  --text-dim:     #4a2a60;
  --border:       rgba(170, 0, 255, 0.22);
  --glow-purple:  0 0 24px rgba(170,0,255,0.35);
  --glow-pink:    0 0 24px rgba(255,45,120,0.35);
  --radius:       12px;
  --radius-lg:    22px;
}

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

html, body {
  width: 100%;
  min-height: 100%;
  cursor: none;
  background: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  overflow-x: hidden;
}

/* CUSTOM CURSOR */
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1.5px solid var(--neon-pink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, border-color .2s;
  mix-blend-mode: screen;
}
.cursor-ring.hovering {
  width: 48px; height: 48px;
  border-color: var(--neon-purple);
  box-shadow: var(--glow-purple);
}
.cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--neon-pink);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  box-shadow: var(--glow-pink);
}
@media (hover: none) {
  .cursor-ring, .cursor-dot { display: none; }
  html, body { cursor: auto; }
}

/* BACKGROUND */
#dotCanvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.6;
}
.bg-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
.bg-blob-1 {
  width: 480px; height: 480px;
  top: -160px; left: -140px;
  background: radial-gradient(circle, rgba(170,0,255,0.35), transparent 70%);
}
.bg-blob-2 {
  width: 420px; height: 420px;
  bottom: -160px; right: -120px;
  background: radial-gradient(circle, rgba(255,45,120,0.30), transparent 70%);
}

/* STAGE / CENTERING */
.stage {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 18px;
}

/* PROFILE CARD */
.profile-card {
  width: 100%;
  max-width: 380px;
  background: rgba(20, 0, 32, 0.55);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 26px 26px;
  text-align: center;
  box-shadow: 0 0 50px rgba(170,0,255,0.18), 0 20px 60px rgba(0,0,0,0.5);
}

/* AVATAR */
.avatar-wrap {
  position: relative;
  width: 92px; height: 92px;
  margin: 0 auto 16px;
}
.avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg-card);
  box-shadow: var(--glow-purple);
}
.status-dot {
  position: absolute;
  bottom: 2px; right: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 3px solid #1c0028;
}
.status-dot.online  { background: #00ff88; }
.status-dot.idle    { background: #ffb020; }
.status-dot.dnd     { background: #ff3860; }
.status-dot.offline { background: #5a5a6a; }

/* NAME / BADGES / TAGLINE */
.display-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 24px; font-weight: 700;
  letter-spacing: .02em;
}
.badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 10px;
  font-size: 14px;
  color: var(--neon-pink);
  filter: drop-shadow(0 0 6px rgba(255,45,120,0.5));
}
.tagline {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 22px;
  line-height: 1.5;
}

/* DISCORD WIDGET */
.discord-widget {
  background: var(--bg-base);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 20px;
  text-align: left;
}
.discord-widget-loading {
  font-size: 12px;
  color: var(--text-dim);
  text-align: center;
  padding: 6px 0;
}
.discord-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.discord-status-row .status-dot {
  position: static;
  width: 9px; height: 9px;
  border: none;
}
.discord-status-text {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  text-transform: capitalize;
}
.activity-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--bg-card2);
  border-left: 3px solid var(--neon-purple);
}
.activity-row + .activity-row { margin-top: 8px; }
.activity-row.spotify { border-left-color: #1db954; }
.activity-row img {
  width: 34px; height: 34px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: cover;
}
.activity-row-icon {
  width: 34px; height: 34px;
  border-radius: 6px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-card);
  font-size: 16px;
}
.activity-text { flex: 1; min-width: 0; }
.activity-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1px;
}
.activity-label.game    { color: var(--neon-purple); }
.activity-label.spotify { color: #1db954; }
.activity-name {
  font-size: 12.5px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity-sub {
  font-size: 10.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discord-empty {
  font-size: 11.5px;
  color: var(--text-dim);
  text-align: center;
  padding: 4px 0;
}

/* SITE LINKS */
.links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}
.link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  text-align: left;
  transition: border-color .25s, box-shadow .25s, transform .2s;
}
.link-row:hover {
  border-color: var(--neon-purple);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}
.link-icon { font-size: 20px; flex-shrink: 0; }
.link-text { flex: 1; min-width: 0; }
.link-name {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px; font-weight: 700;
}
.link-desc {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 300;
}
.link-arrow {
  font-size: 15px;
  color: var(--text-dim);
  transition: color .2s, transform .2s;
}
.link-row:hover .link-arrow { color: var(--neon-pink); transform: translate(2px, -2px); }

/* SMALL EXTRA LINKS */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.social-icons a {
  font-size: 15px;
  color: var(--text-dim);
  text-decoration: none;
  transition: color .2s, transform .2s;
}
.social-icons a:hover { color: var(--text-muted); transform: translateY(-2px); }

@media (max-width: 420px) {
  .profile-card { padding: 28px 18px 20px; }
}
