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

:root {
  --bg: #090910;
  --border: rgba(255,255,255,0.07);
  --purple: #bb44ff;
  --pink: #ff2d9b;
  --cyan: #00d4ff;
  --text: #f5f5f7;
  --font-sans: 'Outfit', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  gap: 1.25rem;
  overflow-x: hidden;
}

/* ── TOP BAR ──────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 0.85rem 1.5rem;
  backdrop-filter: blur(12px);
  flex-shrink: 0;
}

.topbar__profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.topbar__name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.topbar__sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: 1px;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.topbar__link--ig {
  background: rgba(255,45,155,0.1);
  border-color: rgba(255,45,155,0.2);
  color: var(--pink);
}
.topbar__link--ig:hover { background: rgba(255,45,155,0.18); border-color: rgba(255,45,155,0.4); }

.topbar__link--gh {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
}
.topbar__link--gh:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.22); }

/* ── MAIN TWO-COLUMN ──────────────────────────── */
.main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.25rem;
  min-height: 0;
}

@media (max-width: 800px) {
  .main { grid-template-columns: 1fr; }
  .sidebar { display: none; }
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(187,68,255,0.25);
  border-radius: 1.5rem;
  box-shadow: 0 0 80px -12px rgba(187,68,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(187,68,255,0.12), transparent 65%);
  pointer-events: none;
  border-radius: 50%;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 3rem 2rem;
}

.hero__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  font-family: var(--font-display);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 20%, rgba(255,255,255,0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
}

/* GO button — spinning border */
.go-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;
  margin-top: 0.5rem;
}
.go-btn__border {
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, var(--purple), var(--pink), var(--purple));
  animation: spin 2.5s linear infinite;
  border-radius: 999px;
}
.go-btn__bg {
  position: absolute;
  inset: 3px;
  background: var(--bg);
  border-radius: 999px;
  transition: background 0.2s;
}
.go-btn:hover .go-btn__bg { background: #100a1a; }
.go-btn__label {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 3.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #fff;
  border-radius: 999px;
  transition: transform 0.1s;
}
.go-btn:active .go-btn__label { transform: scale(0.96); }

@keyframes spin { to { transform: rotate(360deg); } }

/* Mode tags */
.hero__modes {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.mode-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(255,45,155,0.08);
  border: 1px solid rgba(255,45,155,0.18);
  color: var(--pink);
}
.mode-tag--purple {
  background: rgba(187,68,255,0.08);
  border-color: rgba(187,68,255,0.18);
  color: var(--purple);
}
.mode-tag--cyan {
  background: rgba(0,212,255,0.08);
  border-color: rgba(0,212,255,0.18);
  color: var(--cyan);
}

/* ── SIDEBAR ──────────────────────────────────── */
.sidebar {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.sidebar__topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.sidebar__title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.sidebar__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  overflow-y: auto;
}

.sidebar__list::-webkit-scrollbar { width: 4px; }
.sidebar__list::-webkit-scrollbar-track { background: transparent; }
.sidebar__list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.65rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.15s;
  animation: fadeIn 0.3s ease;
}
.sidebar-item:hover { background: rgba(255,255,255,0.06); }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sidebar-item__art {
  width: 42px;
  height: 42px;
  border-radius: 0.4rem;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-item__track {
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-item__artist {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.sidebar-item__time {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.22);
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
}

.sidebar__empty {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,0.18);
  font-size: 0.85rem;
  line-height: 1.7;
}

.sidebar__cta {
  display: block;
  text-align: center;
  margin-top: 1.25rem;
  padding: 0.55rem;
  border-radius: 0.65rem;
  background: rgba(0,212,255,0.07);
  border: 1px solid rgba(0,212,255,0.15);
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.sidebar__cta:hover { background: rgba(0,212,255,0.13); border-color: rgba(0,212,255,0.3); }

/* ── UTILITY ──────────────────────────────────── */
.hidden { display: none !important; }
/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #bb44ff, #ff2d9b);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #cc66ff, #ff50b0);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #bb44ff transparent;
}