* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}

body {
  background: #0b0b0f;
  color: #e5e7eb;
}

.app {
  display: flex;
  height: 100vh;
}

/* SIDEBAR */
.sidebar {
  width: 260px;
  background: #07070a;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 25px;
}
.logo span { color: #a855f7; }

nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  background: none;
  border: none;
  color: #9ca3af;
  padding: 10px;
  border-radius: 10px;
  text-align: left;
  cursor: pointer;
}

.nav-item.active,
.nav-item:hover {
  background: #1a1a23;
  color: #fff;
}

.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.primary, .secondary, .outline {
  padding: 10px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
}

.primary {
  background: #7c3aed;
  color: white;
}

.secondary {
  background: #1f2937;
  color: white;
}

.outline {
  background: transparent;
  border: 1px solid #374151;
  color: white;
}

/* MAIN */
.main {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 20px 0;
}

.card {
  background: linear-gradient(145deg, #2a133d, #16081f);
  padding: 20px;
  border-radius: 16px;
}

.card small {
  color: #c084fc;
}

.card h2 {
  margin: 6px 0;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.stats-left,
.stats-right {
  background: #0f0f17;
  padding: 20px;
  border-radius: 16px;
}

.progress {
  height: 8px;
  background: #1f2937;
  border-radius: 999px;
  margin: 10px 0;
}

.bar {
  height: 100%;
  background: #a855f7;
  border-radius: 999px;
}

.notice {
  background: #1f1f2e;
  padding: 10px;
  border-radius: 10px;
  margin: 15px 0;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.actions button,
.stats-right button {
  padding: 10px;
  background: #1f2937;
  border: none;
  border-radius: 10px;
  color: white;
  cursor: pointer;
}

.actions .done {
  background: #14532d;
}

.premium {
  background: #7c3aed !important;
}

.connection {
  background: #1e40af;
  padding: 10px;
  border-radius: 10px;
  margin-top: 10px;
}
