/* Reset & Base */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  background: radial-gradient(1200px circle at 10% 10%, #1a0b2e 0%, #120622 38%, #0b0418 100%);
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
}

/* Hero */
.hero { padding: 48px 20px 24px; }
.hero-inner {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  align-items: center;
}
.hero-avatar {
  width: 140px; height: 140px; border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #c084fc);
  padding: 4px;
  box-shadow: 0 12px 36px rgba(124,58,237,0.35);
}
.hero-avatar { object-fit: cover; }
.hero-text h1 { margin: 0 0 6px; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.hero-text .tag { margin: 4px 0 10px; font-size: 16px; font-weight: 600; color: #d8b4fe; }
.hero-text .lead { margin: 0; max-width: 720px; color: rgba(255,255,255,0.85); }

/* Content */
.content { padding: 16px 20px 40px; }
.section { max-width: 980px; margin: 0 auto 24px; }
.section h2 { margin: 0 0 12px; font-size: 22px; font-weight: 700; }

.card {
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: 0 8px 28px rgba(2,6,23,0.35);
}

/* Info Grid */
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.info-item {
  display: flex; justify-content: space-between; align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px; padding: 12px 14px;
}
.label { color: rgba(255,255,255,0.75); font-weight: 600; }
.value { color: rgba(255,255,255,0.95); font-weight: 700; }

/* Skills */
.skills-list { display: grid; gap: 12px; }
.skill { background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.04)); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 12px 14px; }
.skill-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.skill-head .percent { color: #a5b4fc; font-weight: 700; }
.skill-bar { height: 10px; background: rgba(255,255,255,0.08); border-radius: 999px; overflow: hidden; }
.skill-progress {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #7c3aed, #c084fc);
  box-shadow: 0 6px 18px rgba(124,58,237,0.35);
  border-radius: 999px;
  transition: width 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsive */
@media (max-width: 780px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text .lead { margin: 0 auto; }
  .info-grid { grid-template-columns: 1fr; }
}

/* Discord Presence */
.presence { display: grid; gap: 8px; }
.presence-row { display: inline-flex; align-items: center; gap: 10px; }
.status-indicator { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255,255,255,0.12), 0 6px 18px rgba(124,58,237,0.25); }
.status-indicator.online { background: #22c55e; }
.status-indicator.idle { background: #f59e0b; }
.status-indicator.dnd { background: #ef4444; }
.status-indicator.offline { background: #6b7280; }
.status-text { color: rgba(255,255,255,0.9); font-weight: 600; }
.activity-text { color: rgba(255,255,255,0.8); }
.activity-detail { margin: 0; color: rgba(255,255,255,0.72); }
.username { margin: 0; color: rgba(255,255,255,0.72); }
.sep { color: rgba(255,255,255,0.35); }

/* Music Control */
.music-control {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(192,132,252,0.16));
  border: 1px solid rgba(216,180,252,0.35);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 10px 24px rgba(124,58,237,0.25);
  backdrop-filter: blur(8px);
}
.music-control .music-label { color: rgba(255,255,255,0.85); font-weight: 600; }
.music-control button {
  appearance: none;
  border: none;
  padding: 8px 12px;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, #7c3aed, #c084fc);
  box-shadow: 0 8px 18px rgba(124,58,237,0.35);
  font-weight: 700;
  cursor: pointer;
}
.music-control button[aria-pressed="true"] { background: linear-gradient(135deg, #6d28d9, #a78bfa); }
.music-control button:focus { outline: 2px solid rgba(216,180,252,0.55); outline-offset: 2px; }
.music-control .hide-btn {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(216,180,252,0.35);
  box-shadow: none;
}
.music-show {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: none;
  padding: 10px 12px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #c084fc);
  color: #fff;
  box-shadow: 0 8px 18px rgba(124,58,237,0.35);
  cursor: pointer;
}
.music-show:focus { outline: 2px solid rgba(216,180,252,0.55); outline-offset: 2px; }

.music-control input[type="range"] {
  width: 140px;
  height: 6px;
  background: transparent;
  cursor: pointer;
  accent-color: #a78bfa;
}
.music-control input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(90deg, #7c3aed, #c084fc);
  border-radius: 999px;
}
.music-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border: 2px solid #7c3aed;
  border-radius: 50%;
  margin-top: -4px;
  box-shadow: 0 4px 10px rgba(124,58,237,0.35);
}
.music-control input[type="range"]::-moz-range-track {
  height: 6px;
  background: linear-gradient(90deg, #7c3aed, #c084fc);
  border-radius: 999px;
}
.music-control input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #ffffff;
  border: 2px solid #7c3aed;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(124,58,237,0.35);
}