:root {
  --base: #24273a;
  --mantle: #1e2030;
  --crust: #181926;

  --text: #cad3f5;
  --subtext: #a5adcb;

  --surface0: #363a4f;
  --surface1: #494d64;
  --surface2: #5b6078;

  --red: #ed8796;
  --lavender: #b7bdf8;

  --overlay: #6e738d;
}

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

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--mantle);
  color: var(--text);
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 70px;
  background: var(--crust);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  gap: 1.2rem;
  border-right: 1px solid var(--surface0);
}

.sidebar a {
  color: var(--overlay);
  padding: 0.6rem;
  border-radius: 12px;
  transition: 0.2s;
}

.sidebar a:hover {
  background: var(--surface0);
  color: var(--lavender);
}

.sidebar a.active {
  background: linear-gradient(135deg, var(--red), var(--lavender));
  color: white;
}

.main {
  flex: 1;
  padding: 3rem;
  overflow-y: auto;
}

.hero {
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 3rem;
  background: linear-gradient(90deg, var(--red), var(--lavender));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  color: var(--subtext);
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}

.btn.primary {
  background: linear-gradient(135deg, var(--red), var(--lavender));
  color: white;
}

.btn.primary:hover {
  opacity: 0.85;
}

.btn.secondary {
  background: var(--surface0);
  color: var(--text);
}

.btn.secondary:hover {
  background: var(--surface1);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--base);
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--surface0);
  transition: 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--lavender);
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--subtext);
}