/* Reset & base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif; color: #fff; }

/* Background layers */
#bg-video { position: fixed; inset: 0; width: 100vw; height: 100vh; object-fit: cover; z-index: -3; filter: saturate(105%); }
.bg-gradient { position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(1000px 800px at 20% 10%, rgba(0,0,0,.35), rgba(0,0,0,.6)),
  radial-gradient(1000px 800px at 80% 90%, rgba(0,0,0,.25), rgba(0,0,0,.6)); }
#rainCanvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
#cursorCanvas { position: fixed; inset: 0; z-index: 50; pointer-events: none; }

/* Layout */
.container { max-width: 980px; margin: 0 auto; padding: 40px 20px 80px; }
.card { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(10px) saturate(120%); border-radius: 18px; padding: 18px; margin-top: 18px; }
.card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 10px; margin-bottom: 12px; }
.card-title { display: flex; align-items: center; gap: 10px; }
.icon { width: 18px; height: 18px; fill: currentColor; }
.muted { color: rgba(255,255,255,0.6); }
.small { font-size: 12px; }

/* Profile */
.profile { display: flex; align-items: center; gap: 18px; }
.profile-left .avatar { width: 96px; height: 96px; border-radius: 18px; object-fit: cover; border: 2px solid rgba(255,255,255,0.25); }
.title { font-size: 32px; margin: 0; font-weight: 800; letter-spacing: 0.2px; }
.tagline { margin: 6px 0 4px; color: rgba(255,255,255,0.8); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; padding: 6px 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; display: inline-block; }
.dot-sky { background: #38bdf8; }
.dot.online { background: #34d399; }
.dot.idle { background: #f59e0b; }
.dot.dnd { background: #f43f5e; }
.dot.offline { background: #9ca3af; }

/* List / Social Hub */
.list { display: grid; grid-template-columns: 1fr; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 12px 8px; text-decoration: none; color: inherit; border-top: 1px solid rgba(255,255,255,0.1); }
.list-item:first-child { border-top: 0; }
.list-item:hover { background: rgba(255,255,255,0.06); }
.list-icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); display: grid; place-items: center; flex: 0 0 44px; }
.list-main { flex: 1; min-width: 0; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.list-sub { color: rgba(255,255,255,0.75); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.strong { font-weight: 600; }

/* Spotify */
.spotify-embed { overflow: hidden; border-radius: 12px; border: 1px solid rgba(255,255,255,0.15); }

/* Discord */
.discord { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.discord-avatar { width: 56px; height: 56px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.2); }
.discord-name { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.discord-activity { margin: 0; color: rgba(255,255,255,0.75); font-size: 14px; }

/* Music bar */
.music-bar { position: fixed; top: 14px; left: 14px; z-index: 60; display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(10px) saturate(120%); border-radius: 12px; }
.music-bar input[type="range"] { width: 140px; accent-color: #38bdf8; }
.music-bar #volLabel { font-size: 12px; color: rgba(255,255,255,0.8); }

/* Buttons */
.btn { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #fff; padding: 6px 12px; border-radius: 10px; cursor: pointer; }
.btn:hover { background: rgba(255,255,255,0.18); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.25); }
.btn.small { padding: 4px 8px; font-size: 12px; }

/* Footer */
.footer { text-align: center; color: rgba(255,255,255,0.65); font-size: 12px; padding: 18px 0 0; }
